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, 18 insertions, 4 deletions
diff --git a/noncore/unsupported/oipkg/mainwindow.h b/noncore/unsupported/oipkg/mainwindow.h
index 7615b09..4a73b78 100644
--- a/noncore/unsupported/oipkg/mainwindow.h
+++ b/noncore/unsupported/oipkg/mainwindow.h
@@ -1,21 +1,23 @@
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"
11#include "packagelistlocal.h"
10#include "pmipkg.h" 12#include "pmipkg.h"
11#include "pksettings.h" 13#include "pksettings.h"
12#include "packagelistview.h" 14#include "packagelistview.h"
13 15
14class QComboBox; 16class QComboBox;
15class QPEToolBar; 17class QPEToolBar;
16class QLineEdit; 18class QLineEdit;
17class PackageListItem; 19class PackageListItem;
18class QCopChannel; 20class QCopChannel;
19class QMessageBox; 21class QMessageBox;
20class QCheckBox; 22class QCheckBox;
21 23
@@ -37,48 +39,60 @@ protected slots:
37 void displayList(); 39 void displayList();
38 void subSectionChanged(); 40 void subSectionChanged();
39 void sectionChanged(); 41 void sectionChanged();
40 void showSettings(); 42 void showSettings();
41 void showSettingsSrv(); 43 void showSettingsSrv();
42 void showSettingsDst(); 44 void showSettingsDst();
43 45
44public slots: 46public slots:
45 void sectionClose(); 47 void sectionClose();
46 void sectionShow(bool); 48 void sectionShow(bool);
47 void findClose(); 49 void findClose();
48 void findShow(bool); 50 void findShow(bool);
51 void searchClose();
52 void searchShow(bool);
49 void destClose(); 53 void destClose();
50 void destShow(bool); 54 void destShow(bool);
51 void filterList(); 55 void filterList();
56 void createLinks();
57 void removeLinks();
52 void receive (const QCString &, const QByteArray &); 58 void receive (const QCString &, const QByteArray &);
53 void setDocument (const QString &); 59 void setDocument (const QString &);
60 void remotePackageQuery();
54 61
55private: 62private:
56 void makeMenu(); 63 void makeMenu();
57 void setSections(); 64 void setSections();
58 void setSubSections(); 65 void setSubSections();
59 void installFile(const QString &); 66 void installFile(const QString &);
60 bool updateIcon; 67 bool updateIcon;
61 68
62 PmIpkg* ipkg; 69 PmIpkg* ipkg;
63 PackageManagerSettings *settings; 70 PackageManagerSettings *settings;
64 PackageList packageList; 71 PackageListLocal packageList;
72 PackageListRemote packageListSearch;
73 PackageListView *listViewPackages;
74// QCheckListItem* rootSearch;
75// QCheckListItem* rootLocal;
65 QAction *runAction; 76 QAction *runAction;
66 QAction *updateAction; 77 QAction *updateAction;
67 QAction *findAction; 78 QAction *findAction;
68 QAction *sectionAction;
69 QAction *destAction;
70 PackageListView *listViewPackages;
71 QPEToolBar *findBar; 79 QPEToolBar *findBar;
72 QLineEdit *findEdit; 80 QLineEdit *findEdit;
81 QAction *searchAction;
82 QAction *searchCommit;
83 QPEToolBar *searchBar;
84 QLineEdit *searchEdit;
85 QAction *sectionAction;
73 QPEToolBar *sectionBar; 86 QPEToolBar *sectionBar;
74 QComboBox *section; 87 QComboBox *section;
75 QComboBox *subsection; 88 QComboBox *subsection;
89 QAction *destAction;
76 QPEToolBar *destBar; 90 QPEToolBar *destBar;
77 QComboBox *destination; 91 QComboBox *destination;
78 QCheckBox* CheckBoxLink; 92 QCheckBox* CheckBoxLink;
79// QMessageBox *wait; 93// QMessageBox *wait;
80private slots: 94private slots:
81 void rotateUpdateIcon(); 95 void rotateUpdateIcon();
82}; 96};
83 97
84#endif 98#endif