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, 18 insertions, 4 deletions
diff --git a/noncore/unsupported/oipkg/mainwindow.h b/noncore/unsupported/oipkg/mainwindow.h index 7615b09..4a73b78 100644 --- a/noncore/unsupported/oipkg/mainwindow.h +++ b/noncore/unsupported/oipkg/mainwindow.h | |||
@@ -4,12 +4,14 @@ | |||
4 | #include <qmainwindow.h> | 4 | #include <qmainwindow.h> |
5 | #include <qaction.h> | 5 | #include <qaction.h> |
6 | #include <qtimer.h> | 6 | #include <qtimer.h> |
7 | #include <qpopupmenu.h> | 7 | #include <qpopupmenu.h> |
8 | 8 | ||
9 | #include "packagelist.h" | 9 | #include "packagelist.h" |
10 | #include "packagelistremote.h" | ||
11 | #include "packagelistlocal.h" | ||
10 | #include "pmipkg.h" | 12 | #include "pmipkg.h" |
11 | #include "pksettings.h" | 13 | #include "pksettings.h" |
12 | #include "packagelistview.h" | 14 | #include "packagelistview.h" |
13 | 15 | ||
14 | class QComboBox; | 16 | class QComboBox; |
15 | class QPEToolBar; | 17 | class QPEToolBar; |
@@ -43,39 +45,51 @@ protected slots: | |||
43 | 45 | ||
44 | public slots: | 46 | public slots: |
45 | void sectionClose(); | 47 | void sectionClose(); |
46 | void sectionShow(bool); | 48 | void sectionShow(bool); |
47 | void findClose(); | 49 | void findClose(); |
48 | void findShow(bool); | 50 | void findShow(bool); |
51 | void searchClose(); | ||
52 | void searchShow(bool); | ||
49 | void destClose(); | 53 | void destClose(); |
50 | void destShow(bool); | 54 | void destShow(bool); |
51 | void filterList(); | 55 | void filterList(); |
56 | void createLinks(); | ||
57 | void removeLinks(); | ||
52 | void receive (const QCString &, const QByteArray &); | 58 | void receive (const QCString &, const QByteArray &); |
53 | void setDocument (const QString &); | 59 | void setDocument (const QString &); |
60 | void remotePackageQuery(); | ||
54 | 61 | ||
55 | private: | 62 | private: |
56 | void makeMenu(); | 63 | void makeMenu(); |
57 | void setSections(); | 64 | void setSections(); |
58 | void setSubSections(); | 65 | void setSubSections(); |
59 | void installFile(const QString &); | 66 | void installFile(const QString &); |
60 | bool updateIcon; | 67 | bool updateIcon; |
61 | 68 | ||
62 | PmIpkg* ipkg; | 69 | PmIpkg* ipkg; |
63 | PackageManagerSettings *settings; | 70 | PackageManagerSettings *settings; |
64 | PackageList packageList; | 71 | PackageListLocal packageList; |
72 | PackageListRemote packageListSearch; | ||
73 | PackageListView *listViewPackages; | ||
74 | // QCheckListItem* rootSearch; | ||
75 | // QCheckListItem* rootLocal; | ||
65 | QAction *runAction; | 76 | QAction *runAction; |
66 | QAction *updateAction; | 77 | QAction *updateAction; |
67 | QAction *findAction; | 78 | QAction *findAction; |
68 | QAction *sectionAction; | ||
69 | QAction *destAction; | ||
70 | PackageListView *listViewPackages; | ||
71 | QPEToolBar *findBar; | 79 | QPEToolBar *findBar; |
72 | QLineEdit *findEdit; | 80 | QLineEdit *findEdit; |
81 | QAction *searchAction; | ||
82 | QAction *searchCommit; | ||
83 | QPEToolBar *searchBar; | ||
84 | QLineEdit *searchEdit; | ||
85 | QAction *sectionAction; | ||
73 | QPEToolBar *sectionBar; | 86 | QPEToolBar *sectionBar; |
74 | QComboBox *section; | 87 | QComboBox *section; |
75 | QComboBox *subsection; | 88 | QComboBox *subsection; |
89 | QAction *destAction; | ||
76 | QPEToolBar *destBar; | 90 | QPEToolBar *destBar; |
77 | QComboBox *destination; | 91 | QComboBox *destination; |
78 | QCheckBox* CheckBoxLink; | 92 | QCheckBox* CheckBoxLink; |
79 | // QMessageBox *wait; | 93 | // QMessageBox *wait; |
80 | private slots: | 94 | private slots: |
81 | void rotateUpdateIcon(); | 95 | void rotateUpdateIcon(); |