author | tille <tille> | 2002-05-02 19:11:55 (UTC) |
---|---|---|
committer | tille <tille> | 2002-05-02 19:11:55 (UTC) |
commit | ce6758eccada41f5c3fef13e6b4808c525213bee (patch) (unidiff) | |
tree | 236d015e4c037254d7862620e41bd75ab701a696 /noncore/unsupported/oipkg/mainwindow.h | |
parent | b4f04de71fea42fa32a048f42d27e4f5be6804f9 (diff) | |
download | opie-ce6758eccada41f5c3fef13e6b4808c525213bee.zip opie-ce6758eccada41f5c3fef13e6b4808c525213bee.tar.gz opie-ce6758eccada41f5c3fef13e6b4808c525213bee.tar.bz2 |
added doclnk support
Diffstat (limited to 'noncore/unsupported/oipkg/mainwindow.h') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/unsupported/oipkg/mainwindow.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/noncore/unsupported/oipkg/mainwindow.h b/noncore/unsupported/oipkg/mainwindow.h index 4a73b78..f6023b0 100644 --- a/noncore/unsupported/oipkg/mainwindow.h +++ b/noncore/unsupported/oipkg/mainwindow.h | |||
@@ -1,98 +1,98 @@ | |||
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 <qtimer.h> |
7 | #include <qpopupmenu.h> | 7 | #include <qpopupmenu.h> |
8 | 8 | ||
9 | #include "packagelist.h" | 9 | #include "packagelist.h" |
10 | #include "packagelistremote.h" | 10 | #include "packagelistremote.h" |
11 | #include "packagelistlocal.h" | 11 | #include "packagelistlocal.h" |
12 | #include "packagelistdoclnk.h" | ||
12 | #include "pmipkg.h" | 13 | #include "pmipkg.h" |
13 | #include "pksettings.h" | 14 | #include "pksettings.h" |
14 | #include "packagelistview.h" | 15 | #include "packagelistview.h" |
15 | 16 | ||
16 | class QComboBox; | 17 | class QComboBox; |
17 | class QPEToolBar; | 18 | class QPEToolBar; |
18 | class QLineEdit; | 19 | class QLineEdit; |
19 | class PackageListItem; | 20 | class PackageListItem; |
20 | class QCopChannel; | 21 | class QCopChannel; |
21 | class QMessageBox; | 22 | class QMessageBox; |
22 | class QCheckBox; | 23 | class QCheckBox; |
23 | 24 | ||
24 | class MainWindow : public QMainWindow | 25 | class MainWindow : public QMainWindow |
25 | { | 26 | { |
26 | Q_OBJECT | 27 | Q_OBJECT |
27 | 28 | ||
28 | 29 | ||
29 | public: | 30 | public: |
30 | MainWindow( QWidget *parent = 0, const char *name = 0, WFlags f = 0 ); | 31 | MainWindow( QWidget *parent = 0, const char *name = 0, WFlags f = 0 ); |
31 | ~MainWindow(); | 32 | ~MainWindow(); |
32 | void makeChannel(); | 33 | void makeChannel(); |
33 | 34 | ||
34 | QCopChannel *channel; | 35 | QCopChannel *channel; |
35 | 36 | ||
36 | protected slots: | 37 | protected slots: |
37 | void runIpkg(); | 38 | void runIpkg(); |
38 | void updateList(); | 39 | void updateList(); |
39 | void displayList(); | 40 | void displayList(); |
40 | void subSectionChanged(); | 41 | void subSectionChanged(); |
41 | void sectionChanged(); | 42 | void sectionChanged(); |
42 | void showSettings(); | 43 | void showSettings(); |
43 | void showSettingsSrv(); | 44 | void showSettingsSrv(); |
44 | void showSettingsDst(); | 45 | void showSettingsDst(); |
45 | 46 | ||
46 | public slots: | 47 | public slots: |
47 | void sectionClose(); | 48 | void sectionClose(); |
48 | void sectionShow(bool); | 49 | void sectionShow(bool); |
49 | void findClose(); | 50 | void findClose(); |
50 | void findShow(bool); | 51 | void findShow(bool); |
51 | void searchClose(); | 52 | void searchClose(); |
52 | void searchShow(bool); | 53 | void searchShow(bool); |
53 | void destClose(); | 54 | void destClose(); |
54 | void destShow(bool); | 55 | void destShow(bool); |
55 | void filterList(); | 56 | void filterList(); |
56 | void createLinks(); | 57 | void createLinks(); |
57 | void removeLinks(); | 58 | void removeLinks(); |
58 | void receive (const QCString &, const QByteArray &); | 59 | void receive (const QCString &, const QByteArray &); |
59 | void setDocument (const QString &); | 60 | void setDocument (const QString &); |
60 | void remotePackageQuery(); | 61 | void remotePackageQuery(); |
61 | 62 | ||
62 | private: | 63 | private: |
63 | void makeMenu(); | 64 | void makeMenu(); |
64 | void setSections(); | 65 | void setSections(); |
65 | void setSubSections(); | 66 | void setSubSections(); |
66 | void installFile(const QString &); | 67 | void installFile(const QString &); |
67 | bool updateIcon; | 68 | bool updateIcon; |
68 | 69 | ||
69 | PmIpkg* ipkg; | 70 | PmIpkg* ipkg; |
70 | PackageManagerSettings *settings; | 71 | PackageManagerSettings *settings; |
71 | PackageListLocal packageList; | 72 | PackageListLocal packageListServers; |
72 | PackageListRemote packageListSearch; | 73 | PackageListRemote packageListSearch; |
74 | PackageListDocLnk packageListDocLnk; | ||
73 | PackageListView *listViewPackages; | 75 | PackageListView *listViewPackages; |
74 | // QCheckListItem* rootSearch; | ||
75 | // QCheckListItem* rootLocal; | ||
76 | QAction *runAction; | 76 | QAction *runAction; |
77 | QAction *updateAction; | 77 | QAction *updateAction; |
78 | QAction *findAction; | 78 | QAction *findAction; |
79 | QPEToolBar *findBar; | 79 | QPEToolBar *findBar; |
80 | QLineEdit *findEdit; | 80 | QLineEdit *findEdit; |
81 | QAction *searchAction; | 81 | QAction *searchAction; |
82 | QAction *searchCommit; | 82 | QAction *searchCommit; |
83 | QPEToolBar *searchBar; | 83 | QPEToolBar *searchBar; |
84 | QLineEdit *searchEdit; | 84 | QLineEdit *searchEdit; |
85 | QAction *sectionAction; | 85 | QAction *sectionAction; |
86 | QPEToolBar *sectionBar; | 86 | QPEToolBar *sectionBar; |
87 | QComboBox *section; | 87 | QComboBox *section; |
88 | QComboBox *subsection; | 88 | QComboBox *subsection; |
89 | QAction *destAction; | 89 | QAction *destAction; |
90 | QPEToolBar *destBar; | 90 | QPEToolBar *destBar; |
91 | QComboBox *destination; | 91 | QComboBox *destination; |
92 | QCheckBox* CheckBoxLink; | 92 | QCheckBox* CheckBoxLink; |
93 | // QMessageBox *wait; | 93 | // QMessageBox *wait; |
94 | private slots: | 94 | private slots: |
95 | void rotateUpdateIcon(); | 95 | void rotateUpdateIcon(); |
96 | }; | 96 | }; |
97 | 97 | ||
98 | #endif | 98 | #endif |