summaryrefslogtreecommitdiff
path: root/noncore/unsupported/oipkg/mainwindow.h
Unidiff
Diffstat (limited to 'noncore/unsupported/oipkg/mainwindow.h') (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/unsupported/oipkg/mainwindow.h26
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" 13class QComboBox;
14class QPEToolBar;
15class QLineEdit;
16class QListView;
17
14 18
15class MainWindow : public QMainWindow 19class 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
25protected:
26 PackageWindow *table;
27
28
29protected slots: 28protected 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
46private: 49private:
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