Diffstat (limited to 'noncore/unsupported/oipkg/mainwindow.h') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/unsupported/oipkg/mainwindow.h | 22 |
1 files changed, 5 insertions, 17 deletions
diff --git a/noncore/unsupported/oipkg/mainwindow.h b/noncore/unsupported/oipkg/mainwindow.h index 34943f2..bcb0cc9 100644 --- a/noncore/unsupported/oipkg/mainwindow.h +++ b/noncore/unsupported/oipkg/mainwindow.h | |||
@@ -8,14 +8,13 @@ | |||
8 | 8 | ||
9 | #include "packagelist.h" | 9 | #include "packagelist.h" |
10 | #include "pmipkg.h" | 10 | #include "pmipkg.h" |
11 | #include "pksettings.h" | 11 | #include "pksettings.h" |
12 | #include "pkdesc.h" | 12 | #include "packagelistview.h" |
13 | 13 | ||
14 | class QComboBox; | 14 | class QComboBox; |
15 | class QPEToolBar; | 15 | class QPEToolBar; |
16 | class QLineEdit; | 16 | class QLineEdit; |
17 | class QListView; | ||
18 | class PackageListItem; | 17 | class PackageListItem; |
19 | class QCopChannel; | 18 | class QCopChannel; |
20 | 19 | ||
21 | class MainWindow : public QMainWindow | 20 | class MainWindow : public QMainWindow |
@@ -38,50 +37,39 @@ protected slots: | |||
38 | void sectionChanged(); | 37 | void sectionChanged(); |
39 | void showSettings(); | 38 | void showSettings(); |
40 | void showSettingsSrv(); | 39 | void showSettingsSrv(); |
41 | void showSettingsDst(); | 40 | void showSettingsDst(); |
42 | void setDocument (const QString &); | ||
43 | 41 | ||
44 | public slots: | 42 | public slots: |
45 | void showDetails(); | ||
46 | void toggleActivePackage(); | ||
47 | void setCurrent( QListViewItem* ); | ||
48 | void sectionClose(); | 43 | void sectionClose(); |
49 | void sectionShow(bool); | 44 | void sectionShow(bool); |
50 | void findClose(); | 45 | void findClose(); |
51 | void findShow(bool); | 46 | void findShow(bool); |
52 | void filterList(); | 47 | void filterList(); |
53 | void showPopup(); | ||
54 | void changePackageDest( int ); | ||
55 | void stopTimer( QListViewItem* ); | ||
56 | void receive (const QCString &, const QByteArray &); | 48 | void receive (const QCString &, const QByteArray &); |
49 | void setDocument (const QString &); | ||
57 | 50 | ||
58 | private: | 51 | private: |
59 | void makeMenu(); | 52 | void makeMenu(); |
60 | void setSections(); | 53 | void setSections(); |
61 | void setSubSections(); | 54 | void setSubSections(); |
55 | void installFile(const QString &); | ||
56 | bool updateIcon; | ||
62 | 57 | ||
63 | PmIpkg* ipkg; | 58 | PmIpkg* ipkg; |
64 | PackageManagerSettings *settings; | 59 | PackageManagerSettings *settings; |
65 | PackageDetails* details; | ||
66 | PackageList packageList; | 60 | PackageList packageList; |
67 | Package *activePackage; | ||
68 | PackageListItem *activePackageListItem; | ||
69 | QAction *runAction; | 61 | QAction *runAction; |
70 | QAction *detailsAction; | 62 | QAction *detailsAction; |
71 | QAction *updateAction; | 63 | QAction *updateAction; |
72 | QAction *findAction; | 64 | QAction *findAction; |
73 | QAction *sectionAction; | 65 | QAction *sectionAction; |
74 | QListView *listViewPackages; | 66 | PackageListView *listViewPackages; |
75 | QPEToolBar *findBar; | 67 | QPEToolBar *findBar; |
76 | QLineEdit *findEdit; | 68 | QLineEdit *findEdit; |
77 | QPEToolBar *sectionBar; | 69 | QPEToolBar *sectionBar; |
78 | QComboBox *section; | 70 | QComboBox *section; |
79 | QComboBox *subsection; | 71 | QComboBox *subsection; |
80 | QTimer *popupTimer; | ||
81 | QPopupMenu *popupMenu; | ||
82 | QPopupMenu *destsMenu; | ||
83 | bool updateIcon; | ||
84 | private slots: | 72 | private slots: |
85 | void rotateUpdateIcon(); | 73 | void rotateUpdateIcon(); |
86 | }; | 74 | }; |
87 | 75 | ||