author | tille <tille> | 2002-04-24 19:15:02 (UTC) |
---|---|---|
committer | tille <tille> | 2002-04-24 19:15:02 (UTC) |
commit | 17eb865ad8248b1f47c565b074b9b6bbbd44935b (patch) (unidiff) | |
tree | c494b5050ce910df3c74e2a21c5579571792d926 /noncore/unsupported/oipkg/mainwindow.h | |
parent | 997b7685dcc48cc36737240ca53331f83b66dbeb (diff) | |
download | opie-17eb865ad8248b1f47c565b074b9b6bbbd44935b.zip opie-17eb865ad8248b1f47c565b074b9b6bbbd44935b.tar.gz opie-17eb865ad8248b1f47c565b074b9b6bbbd44935b.tar.bz2 |
added find
Diffstat (limited to 'noncore/unsupported/oipkg/mainwindow.h') (more/less context) (ignore 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 | |||
@@ -10,7 +10,11 @@ | |||
10 | #include "pksettings.h" | 10 | #include "pksettings.h" |
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 |
16 | { | 20 | { |
@@ -21,16 +25,10 @@ public: | |||
21 | MainWindow( QWidget *parent = 0, const char *name = 0, WFlags f = 0 ); | 25 | MainWindow( QWidget *parent = 0, const char *name = 0, WFlags f = 0 ); |
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(); |
36 | void sectionChanged(); | 34 | void sectionChanged(); |
@@ -42,6 +40,11 @@ public slots: | |||
42 | void showDetails(); | 40 | void showDetails(); |
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: |
47 | void makeMenu(); | 50 | void makeMenu(); |
@@ -56,7 +59,16 @@ private: | |||
56 | QAction *runAction; | 59 | QAction *runAction; |
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 | ||
62 | #endif | 74 | #endif |