summaryrefslogtreecommitdiff
path: root/noncore/unsupported/oipkg/mainwindow.h
Unidiff
Diffstat (limited to 'noncore/unsupported/oipkg/mainwindow.h') (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/unsupported/oipkg/mainwindow.h22
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
@@ -9,12 +9,11 @@
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
14class QComboBox; 14class QComboBox;
15class QPEToolBar; 15class QPEToolBar;
16class QLineEdit; 16class QLineEdit;
17class QListView;
18class PackageListItem; 17class PackageListItem;
19class QCopChannel; 18class QCopChannel;
20 19
@@ -39,48 +38,37 @@ protected slots:
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
44public slots: 42public 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
58private: 51private:
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;
84private slots: 72private slots:
85 void rotateUpdateIcon(); 73 void rotateUpdateIcon();
86}; 74};