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.h6
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,35 +1,36 @@
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
16class QComboBox; 17class QComboBox;
17class QPEToolBar; 18class QPEToolBar;
18class QLineEdit; 19class QLineEdit;
19class PackageListItem; 20class PackageListItem;
20class QCopChannel; 21class QCopChannel;
21class QMessageBox; 22class QMessageBox;
22class QCheckBox; 23class QCheckBox;
23 24
24class MainWindow : public QMainWindow 25class MainWindow : public QMainWindow
25{ 26{
26 Q_OBJECT 27 Q_OBJECT
27 28
28 29
29public: 30public:
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
@@ -47,52 +48,51 @@ 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
62private: 63private:
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;
94private slots: 94private slots:
95 void rotateUpdateIcon(); 95 void rotateUpdateIcon();
96}; 96};
97 97
98#endif 98#endif