author | tille <tille> | 2002-04-27 14:35:48 (UTC) |
---|---|---|
committer | tille <tille> | 2002-04-27 14:35:48 (UTC) |
commit | 320532727fc7dfbe9760d0eea0e17b8e1230fc8e (patch) (unidiff) | |
tree | d65575cdd4c89e6a531b178de04198f39d8276c0 /noncore/unsupported/oipkg/mainwindow.h | |
parent | db90999f6298c1107888f062f2c25cb8817b528a (diff) | |
download | opie-320532727fc7dfbe9760d0eea0e17b8e1230fc8e.zip opie-320532727fc7dfbe9760d0eea0e17b8e1230fc8e.tar.gz opie-320532727fc7dfbe9760d0eea0e17b8e1230fc8e.tar.bz2 |
added setDocument and a qcop call to install a file
Diffstat (limited to 'noncore/unsupported/oipkg/mainwindow.h') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/unsupported/oipkg/mainwindow.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/noncore/unsupported/oipkg/mainwindow.h b/noncore/unsupported/oipkg/mainwindow.h index adc5e78..34943f2 100644 --- a/noncore/unsupported/oipkg/mainwindow.h +++ b/noncore/unsupported/oipkg/mainwindow.h | |||
@@ -7,57 +7,62 @@ | |||
7 | #include <qpopupmenu.h> | 7 | #include <qpopupmenu.h> |
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 "pkdesc.h" |
13 | 13 | ||
14 | class QComboBox; | 14 | class QComboBox; |
15 | class QPEToolBar; | 15 | class QPEToolBar; |
16 | class QLineEdit; | 16 | class QLineEdit; |
17 | class QListView; | 17 | class QListView; |
18 | class PackageListItem; | 18 | class PackageListItem; |
19 | class QCopChannel; | ||
19 | 20 | ||
20 | class MainWindow : public QMainWindow | 21 | class MainWindow : public QMainWindow |
21 | { | 22 | { |
22 | Q_OBJECT | 23 | Q_OBJECT |
23 | 24 | ||
24 | 25 | ||
25 | public: | 26 | public: |
26 | MainWindow( QWidget *parent = 0, const char *name = 0, WFlags f = 0 ); | 27 | MainWindow( QWidget *parent = 0, const char *name = 0, WFlags f = 0 ); |
27 | ~MainWindow(); | 28 | ~MainWindow(); |
28 | 29 | ||
30 | QCopChannel *channel; | ||
31 | |||
29 | protected slots: | 32 | protected slots: |
30 | void runIpkg(); | 33 | void runIpkg(); |
31 | void getList(); | 34 | void getList(); |
32 | void updateList(); | 35 | void updateList(); |
33 | void displayList(); | 36 | void displayList(); |
34 | void subSectionChanged(); | 37 | void subSectionChanged(); |
35 | void sectionChanged(); | 38 | void sectionChanged(); |
36 | void showSettings(); | 39 | void showSettings(); |
37 | void showSettingsSrv(); | 40 | void showSettingsSrv(); |
38 | void showSettingsDst(); | 41 | void showSettingsDst(); |
42 | void setDocument (const QString &); | ||
39 | 43 | ||
40 | public slots: | 44 | public slots: |
41 | void showDetails(); | 45 | void showDetails(); |
42 | void toggleActivePackage(); | 46 | void toggleActivePackage(); |
43 | void setCurrent( QListViewItem* ); | 47 | void setCurrent( QListViewItem* ); |
44 | void sectionClose(); | 48 | void sectionClose(); |
45 | void sectionShow(bool); | 49 | void sectionShow(bool); |
46 | void findClose(); | 50 | void findClose(); |
47 | void findShow(bool); | 51 | void findShow(bool); |
48 | void filterList(); | 52 | void filterList(); |
49 | void showPopup(); | 53 | void showPopup(); |
50 | void changePackageDest( int ); | 54 | void changePackageDest( int ); |
51 | void stopTimer( QListViewItem* ); | 55 | void stopTimer( QListViewItem* ); |
56 | void receive (const QCString &, const QByteArray &); | ||
52 | 57 | ||
53 | private: | 58 | private: |
54 | void makeMenu(); | 59 | void makeMenu(); |
55 | void setSections(); | 60 | void setSections(); |
56 | void setSubSections(); | 61 | void setSubSections(); |
57 | 62 | ||
58 | PmIpkg* ipkg; | 63 | PmIpkg* ipkg; |
59 | PackageManagerSettings *settings; | 64 | PackageManagerSettings *settings; |
60 | PackageDetails* details; | 65 | PackageDetails* details; |
61 | PackageList packageList; | 66 | PackageList packageList; |
62 | Package *activePackage; | 67 | Package *activePackage; |
63 | PackageListItem *activePackageListItem; | 68 | PackageListItem *activePackageListItem; |