#ifndef MESSAGESPROXYMODEL_H #define MESSAGESPROXYMODEL_H #include 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