QCAD Application Framework
CAD Application Development and Automation.
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
qtscriptshell_QSortFilterProxyModel.h
Go to the documentation of this file.
1 #ifndef QTSCRIPTSHELL_QSORTFILTERPROXYMODEL_H
2 #define QTSCRIPTSHELL_QSORTFILTERPROXYMODEL_H
3 
4 #include <qsortfilterproxymodel.h>
5 
6 #include <QtScript/qscriptvalue.h>
7 
8 class QtScriptShell_QSortFilterProxyModel : public QSortFilterProxyModel
9 {
10 public:
11  QtScriptShell_QSortFilterProxyModel(QObject* parent = 0);
13 
14  bool filterAcceptsColumn(int source_column, const QModelIndex& source_parent) const;
15  bool filterAcceptsRow(int source_row, const QModelIndex& source_parent) const;
16  bool lessThan(const QModelIndex& left, const QModelIndex& right) const;
17 
18  QScriptValue __qtscript_self;
19 };
20 
21 #endif // QTSCRIPTSHELL_QSORTFILTERPROXYMODEL_H