Diffstat (limited to 'core/pim/osearch/mainwindow.h') (more/less context) (ignore whitespace changes)
-rw-r--r-- | core/pim/osearch/mainwindow.h | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/core/pim/osearch/mainwindow.h b/core/pim/osearch/mainwindow.h index 2773205..939762e 100644 --- a/core/pim/osearch/mainwindow.h +++ b/core/pim/osearch/mainwindow.h | |||
@@ -34,39 +34,43 @@ class SearchGroup; | |||
34 | class MainWindow : public QMainWindow | 34 | class MainWindow : public QMainWindow |
35 | { | 35 | { |
36 | Q_OBJECT | 36 | Q_OBJECT |
37 | 37 | ||
38 | 38 | ||
39 | public: | 39 | public: |
40 | MainWindow( QWidget *parent = 0, const char *name = 0, WFlags f = 0 ); | 40 | MainWindow( QWidget *parent = 0, const char *name = 0, WFlags f = 0 ); |
41 | ~MainWindow(); | 41 | ~MainWindow(); |
42 | 42 | ||
43 | 43 | ||
44 | public slots: | 44 | public slots: |
45 | void setCurrent(QListViewItem*); | 45 | void setCurrent(QListViewItem*); |
46 | void showPopup(); | ||
47 | void stopTimer( QListViewItem* ); | ||
48 | void setSearch( const QString& ); | 46 | void setSearch( const QString& ); |
49 | void searchAll(); | 47 | void searchAll(); |
50 | 48 | ||
51 | protected slots: | 49 | protected slots: |
52 | void slotAction(int); | 50 | void slotAction(int); |
53 | 51 | void showPopup(); | |
52 | void stopTimer( QListViewItem* ); | ||
53 | void searchStringChanged(); | ||
54 | |||
54 | private: | 55 | private: |
55 | OListView *resultsList; | 56 | OListView *resultsList; |
56 | QTextView *richEdit; | 57 | QTextView *richEdit; |
57 | OListViewItem *_currentItem; | 58 | OListViewItem *_currentItem; |
58 | QVBoxLayout *mainLayout; | 59 | QVBoxLayout *mainLayout; |
59 | QHBoxLayout *buttonLayout; | 60 | QHBoxLayout *buttonLayout; |
60 | QFrame *detailsFrame; | 61 | QFrame *detailsFrame; |
61 | QTimer *popupTimer; | 62 | QTimer *popupTimer; |
63 | QTimer *searchTimer; | ||
62 | 64 | ||
65 | QString _searchString; | ||
63 | QList<SearchGroup> searches; | 66 | QList<SearchGroup> searches; |
64 | QHButtonGroup *buttonGroupActions; | 67 | QHButtonGroup *buttonGroupActions; |
68 | QAction *SearchAllAction; | ||
65 | QAction *actionCaseSensitiv; | 69 | QAction *actionCaseSensitiv; |
66 | QAction *actionWildcards; | 70 | QAction *actionWildcards; |
67 | uint _buttonCount; | 71 | uint _buttonCount; |
68 | void makeMenu(); | 72 | void makeMenu(); |
69 | }; | 73 | }; |
70 | 74 | ||
71 | #endif | 75 | #endif |
72 | 76 | ||