author | tille <tille> | 2002-04-26 00:50:30 (UTC) |
---|---|---|
committer | tille <tille> | 2002-04-26 00:50:30 (UTC) |
commit | a111f57eedcf27623e9bff2816c83d3287272aff (patch) (unidiff) | |
tree | b43ac41ffbdc741f731cf3f91aab064ba94ab0f3 /noncore/unsupported/oipkg/mainwindow.h | |
parent | 5198d98daeaa1e8eb8568ccd3c516ab70fbed512 (diff) | |
download | opie-a111f57eedcf27623e9bff2816c83d3287272aff.zip opie-a111f57eedcf27623e9bff2816c83d3287272aff.tar.gz opie-a111f57eedcf27623e9bff2816c83d3287272aff.tar.bz2 |
added support for scipt ipkg (again;)
Diffstat (limited to 'noncore/unsupported/oipkg/mainwindow.h') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/unsupported/oipkg/mainwindow.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/noncore/unsupported/oipkg/mainwindow.h b/noncore/unsupported/oipkg/mainwindow.h index 0c1e474..892d5e8 100644 --- a/noncore/unsupported/oipkg/mainwindow.h +++ b/noncore/unsupported/oipkg/mainwindow.h | |||
@@ -1,74 +1,78 @@ | |||
1 | #ifndef MAINWINDOW_H | 1 | #ifndef MAINWINDOW_H |
2 | #define MAINWINDOW_H | 2 | #define MAINWINDOW_H |
3 | 3 | ||
4 | #include <qmainwindow.h> | 4 | #include <qmainwindow.h> |
5 | #include <qaction.h> | 5 | #include <qaction.h> |
6 | #include <qtimer.h> | ||
6 | #include <qpopupmenu.h> | 7 | #include <qpopupmenu.h> |
7 | 8 | ||
8 | #include "packagelist.h" | 9 | #include "packagelist.h" |
9 | #include "pmipkg.h" | 10 | #include "pmipkg.h" |
10 | #include "pksettings.h" | 11 | #include "pksettings.h" |
11 | #include "pkdesc.h" | 12 | #include "pkdesc.h" |
12 | 13 | ||
13 | class QComboBox; | 14 | class QComboBox; |
14 | class QPEToolBar; | 15 | class QPEToolBar; |
15 | class QLineEdit; | 16 | class QLineEdit; |
16 | class QListView; | 17 | class QListView; |
17 | 18 | ||
18 | 19 | ||
19 | class MainWindow : public QMainWindow | 20 | class MainWindow : public QMainWindow |
20 | { | 21 | { |
21 | Q_OBJECT | 22 | Q_OBJECT |
22 | 23 | ||
23 | 24 | ||
24 | public: | 25 | public: |
25 | MainWindow( QWidget *parent = 0, const char *name = 0, WFlags f = 0 ); | 26 | MainWindow( QWidget *parent = 0, const char *name = 0, WFlags f = 0 ); |
26 | ~MainWindow(); | 27 | ~MainWindow(); |
27 | 28 | ||
28 | protected slots: | 29 | protected slots: |
29 | void runIpkg(); | 30 | void runIpkg(); |
30 | void getList(); | 31 | void getList(); |
31 | void updateList(); | 32 | void updateList(); |
32 | void displayList(); | 33 | void displayList(); |
33 | void subSectionChanged(); | 34 | void subSectionChanged(); |
34 | void sectionChanged(); | 35 | void sectionChanged(); |
35 | void showSettings(); | 36 | void showSettings(); |
36 | void showSettingsSrv(); | 37 | void showSettingsSrv(); |
37 | void showSettingsDst(); | 38 | void showSettingsDst(); |
38 | 39 | ||
39 | public slots: | 40 | public slots: |
40 | void showDetails(); | 41 | void showDetails(); |
41 | void toggleActivePackage(); | 42 | void toggleActivePackage(); |
42 | void setCurrent( QListViewItem* ); | 43 | void setCurrent( QListViewItem* ); |
43 | void sectionClose(); | 44 | void sectionClose(); |
44 | void sectionShow(bool); | 45 | void sectionShow(bool); |
45 | void findClose(); | 46 | void findClose(); |
46 | void findShow(bool); | 47 | void findShow(bool); |
47 | void filterList(); | 48 | void filterList(); |
48 | 49 | ||
49 | private: | 50 | private: |
50 | void makeMenu(); | 51 | void makeMenu(); |
51 | void setSections(); | 52 | void setSections(); |
52 | void setSubSections(); | 53 | void setSubSections(); |
53 | 54 | ||
54 | PmIpkg* ipkg; | 55 | PmIpkg* ipkg; |
55 | PackageManagerSettings *settings; | 56 | PackageManagerSettings *settings; |
56 | PackageDetails* details; | 57 | PackageDetails* details; |
57 | PackageList packageList; | 58 | PackageList packageList; |
58 | Package *activePackage; | 59 | Package *activePackage; |
59 | QAction *runAction; | 60 | QAction *runAction; |
60 | QAction *detailsAction; | 61 | QAction *detailsAction; |
61 | QAction *updateAction; | 62 | QAction *updateAction; |
62 | QAction *findAction; | 63 | QAction *findAction; |
63 | QAction *sectionAction; | 64 | QAction *sectionAction; |
64 | QListView *listViewPackages; | 65 | QListView *listViewPackages; |
65 | QPopupMenu *contextMenu; | 66 | QPopupMenu *contextMenu; |
66 | QPEToolBar *findBar; | 67 | QPEToolBar *findBar; |
67 | QLineEdit *findEdit; | 68 | QLineEdit *findEdit; |
68 | QPEToolBar *sectionBar; | 69 | QPEToolBar *sectionBar; |
69 | QComboBox *section; | 70 | QComboBox *section; |
70 | QComboBox *subsection; | 71 | QComboBox *subsection; |
71 | QPopupMenu *popupMenu; | 72 | QPopupMenu *popupMenu; |
73 | bool updateIcon; | ||
74 | private slots: | ||
75 | void rotateUpdateIcon(); | ||
72 | }; | 76 | }; |
73 | 77 | ||
74 | #endif | 78 | #endif |