22 lines
405 B
C++
22 lines
405 B
C++
#ifndef MESSAGESPROXYMODEL_H
|
|
#define MESSAGESPROXYMODEL_H
|
|
|
|
#include <QSortFilterProxyModel>
|
|
|
|
|
|
class MessagesModel;
|
|
|
|
class MessagesProxyModel : public QSortFilterProxyModel {
|
|
Q_OBJECT
|
|
|
|
public:
|
|
// Constructors and destructors.
|
|
explicit MessagesProxyModel(QObject *parent = 0);
|
|
virtual ~MessagesProxyModel();
|
|
|
|
private:
|
|
MessagesModel *m_sourceModel;
|
|
};
|
|
|
|
#endif // MESSAGESPROXYMODEL_H
|