-rw-r--r-- | noncore/unsupported/oipkg/mainwindow.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/noncore/unsupported/oipkg/mainwindow.h b/noncore/unsupported/oipkg/mainwindow.h index f32352b..7446135 100644 --- a/noncore/unsupported/oipkg/mainwindow.h +++ b/noncore/unsupported/oipkg/mainwindow.h | |||
@@ -22,81 +22,81 @@ | |||
22 | #include "packagelist.h" | 22 | #include "packagelist.h" |
23 | #include "packagelistremote.h" | 23 | #include "packagelistremote.h" |
24 | #include "packagelistlocal.h" | 24 | #include "packagelistlocal.h" |
25 | #include "packagelistdoclnk.h" | 25 | #include "packagelistdoclnk.h" |
26 | #include "pmipkg.h" | 26 | #include "pmipkg.h" |
27 | #include "pksettings.h" | 27 | #include "pksettings.h" |
28 | #include "packagelistview.h" | 28 | #include "packagelistview.h" |
29 | 29 | ||
30 | class QComboBox; | 30 | class QComboBox; |
31 | class QPEToolBar; | 31 | class QPEToolBar; |
32 | class QLineEdit; | 32 | class QLineEdit; |
33 | class PackageListItem; | 33 | class PackageListItem; |
34 | class QCopChannel; | 34 | class QCopChannel; |
35 | class QMessageBox; | 35 | class QMessageBox; |
36 | class QCheckBox; | 36 | class QCheckBox; |
37 | 37 | ||
38 | class MainWindow : public QMainWindow | 38 | class MainWindow : public QMainWindow |
39 | { | 39 | { |
40 | Q_OBJECT | 40 | Q_OBJECT |
41 | 41 | ||
42 | 42 | ||
43 | public: | 43 | public: |
44 | MainWindow( QWidget *parent = 0, const char *name = 0, WFlags f = 0 ); | 44 | MainWindow( QWidget *parent = 0, const char *name = 0, WFlags f = 0 ); |
45 | ~MainWindow(); | 45 | ~MainWindow(); |
46 | void makeChannel(); | ||
47 | 46 | ||
48 | QCopChannel *channel; | 47 | QCopChannel *channel; |
49 | 48 | ||
50 | protected slots: | 49 | protected slots: |
51 | void runIpkg(); | 50 | void runIpkg(); |
52 | void updateList(); | 51 | void updateList(); |
53 | void displayList(); | 52 | void displayList(); |
54 | void subSectionChanged(); | 53 | void subSectionChanged(); |
55 | void sectionChanged(); | 54 | void sectionChanged(); |
56 | void showSettings(int); | 55 | void showSettings(int); |
57 | void showSettingsSetup(); | 56 | void showSettingsSetup(); |
58 | void showSettingsSrv(); | 57 | void showSettingsSrv(); |
59 | void showSettingsDst(); | 58 | void showSettingsDst(); |
60 | 59 | ||
61 | public slots: | 60 | public slots: |
62 | void sectionClose(); | 61 | void sectionClose(); |
63 | void sectionShow(bool); | 62 | void sectionShow(bool); |
64 | void findClose(); | 63 | void findClose(); |
65 | void findShow(bool); | 64 | void findShow(bool); |
66 | void searchClose(); | 65 | void searchClose(); |
67 | void searchShow(bool); | 66 | void searchShow(bool); |
68 | void destClose(); | 67 | void destClose(); |
69 | void destShow(bool); | 68 | void destShow(bool); |
70 | void filterList(); | 69 | void filterList(); |
71 | void createLinks(); | 70 | void createLinks(); |
72 | void removeLinks(); | 71 | void removeLinks(); |
73 | void receive (const QCString &, const QByteArray &); | 72 | void receive (const QCString &, const QByteArray &); |
74 | void setDocument (const QString &); | 73 | void setDocument (const QString &); |
75 | void remotePackageQuery(); | 74 | void remotePackageQuery(); |
76 | 75 | ||
77 | private: | 76 | private: |
78 | void makeMenu(); | 77 | void makeMenu(); |
78 | void makeChannel(); | ||
79 | void setSections(); | 79 | void setSections(); |
80 | void setSubSections(); | 80 | void setSubSections(); |
81 | bool updateIcon; | 81 | bool updateIcon; |
82 | 82 | ||
83 | PmIpkg* ipkg; | 83 | PmIpkg* ipkg; |
84 | PackageManagerSettings *settings; | 84 | PackageManagerSettings *settings; |
85 | PackageListLocal packageListServers; | 85 | PackageListLocal packageListServers; |
86 | PackageListRemote packageListSearch; | 86 | PackageListRemote packageListSearch; |
87 | PackageListDocLnk packageListDocLnk; | 87 | PackageListDocLnk packageListDocLnk; |
88 | PackageListView *listViewPackages; | 88 | PackageListView *listViewPackages; |
89 | QAction *runAction; | 89 | QAction *runAction; |
90 | QAction *updateAction; | 90 | QAction *updateAction; |
91 | QAction *findAction; | 91 | QAction *findAction; |
92 | QPEToolBar *findBar; | 92 | QPEToolBar *findBar; |
93 | QLineEdit *findEdit; | 93 | QLineEdit *findEdit; |
94 | QAction *searchAction; | 94 | QAction *searchAction; |
95 | QAction *searchCommit; | 95 | QAction *searchCommit; |
96 | QPEToolBar *searchBar; | 96 | QPEToolBar *searchBar; |
97 | QLineEdit *searchEdit; | 97 | QLineEdit *searchEdit; |
98 | QAction *sectionAction; | 98 | QAction *sectionAction; |
99 | QPEToolBar *sectionBar; | 99 | QPEToolBar *sectionBar; |
100 | QComboBox *section; | 100 | QComboBox *section; |
101 | QComboBox *subsection; | 101 | QComboBox *subsection; |
102 | QAction *destAction; | 102 | QAction *destAction; |