Diffstat (limited to 'noncore/unsupported/oipkg/mainwindow.h') (more/less context) (show whitespace changes)
-rw-r--r-- | noncore/unsupported/oipkg/mainwindow.h | 26 |
1 files changed, 19 insertions, 7 deletions
diff --git a/noncore/unsupported/oipkg/mainwindow.h b/noncore/unsupported/oipkg/mainwindow.h index 95dcc90..0c1e474 100644 --- a/noncore/unsupported/oipkg/mainwindow.h +++ b/noncore/unsupported/oipkg/mainwindow.h | |||
@@ -11,5 +11,9 @@ | |||
11 | #include "pkdesc.h" | 11 | #include "pkdesc.h" |
12 | 12 | ||
13 | #include "pkwindow.h" | 13 | class QComboBox; |
14 | class QPEToolBar; | ||
15 | class QLineEdit; | ||
16 | class QListView; | ||
17 | |||
14 | 18 | ||
15 | class MainWindow : public QMainWindow | 19 | class MainWindow : public QMainWindow |
@@ -22,14 +26,8 @@ public: | |||
22 | ~MainWindow(); | 26 | ~MainWindow(); |
23 | 27 | ||
24 | |||
25 | protected: | ||
26 | PackageWindow *table; | ||
27 | |||
28 | |||
29 | protected slots: | 28 | protected slots: |
30 | void runIpkg(); | 29 | void runIpkg(); |
31 | void getList(); | 30 | void getList(); |
32 | void updateList(); | 31 | void updateList(); |
33 | void filterList(); | ||
34 | void displayList(); | 32 | void displayList(); |
35 | void subSectionChanged(); | 33 | void subSectionChanged(); |
@@ -43,4 +41,9 @@ public slots: | |||
43 | void toggleActivePackage(); | 41 | void toggleActivePackage(); |
44 | void setCurrent( QListViewItem* ); | 42 | void setCurrent( QListViewItem* ); |
43 | void sectionClose(); | ||
44 | void sectionShow(bool); | ||
45 | void findClose(); | ||
46 | void findShow(bool); | ||
47 | void filterList(); | ||
45 | 48 | ||
46 | private: | 49 | private: |
@@ -57,5 +60,14 @@ private: | |||
57 | QAction *detailsAction; | 60 | QAction *detailsAction; |
58 | QAction *updateAction; | 61 | QAction *updateAction; |
62 | QAction *findAction; | ||
63 | QAction *sectionAction; | ||
64 | QListView *listViewPackages; | ||
59 | QPopupMenu *contextMenu; | 65 | QPopupMenu *contextMenu; |
66 | QPEToolBar *findBar; | ||
67 | QLineEdit *findEdit; | ||
68 | QPEToolBar *sectionBar; | ||
69 | QComboBox *section; | ||
70 | QComboBox *subsection; | ||
71 | QPopupMenu *popupMenu; | ||
60 | }; | 72 | }; |
61 | 73 | ||