equal
deleted
inserted
replaced
29 { |
29 { |
30 Q_OBJECT |
30 Q_OBJECT |
31 |
31 |
32 public: |
32 public: |
33 // constructor |
33 // constructor |
34 LocationPickerProxyModel(QObject *parent = 0); |
34 LocationPickerProxyModel(Qt::Orientations aOrientation , QObject *parent = 0); |
35 |
35 |
36 // used to |
36 // used to |
37 void filterParameterChanged(QString aSearchText); |
37 void filterParameterChanged(QString aSearchText); |
38 |
38 |
39 protected: |
39 protected: |
43 bool lessThan(const QModelIndex &left, const QModelIndex &right) const; |
43 bool lessThan(const QModelIndex &left, const QModelIndex &right) const; |
44 |
44 |
45 private: |
45 private: |
46 // search string |
46 // search string |
47 QString mSearchText; |
47 QString mSearchText; |
|
48 Qt::Orientations mOrientation; |
48 }; |
49 }; |
49 |
50 |
50 |
51 |
51 #endif // LOCATIONPICKERPROXYMODEL_H |
52 #endif // LOCATIONPICKERPROXYMODEL_H |