summaryrefslogtreecommitdiff
path: root/noncore/unsupported/oipkg/pksettings.h
authortille <tille>2002-05-01 14:00:09 (UTC)
committer tille <tille>2002-05-01 14:00:09 (UTC)
commite729a9bdd9f37f4bd610d10122f002a0540c93ed (patch) (unidiff)
treea23696d8742a36b57256281dc7e2f7848407be61 /noncore/unsupported/oipkg/pksettings.h
parent7e5615473c1d103db66f42ae60bf9ed57d52566c (diff)
downloadopie-e729a9bdd9f37f4bd610d10122f002a0540c93ed.zip
opie-e729a9bdd9f37f4bd610d10122f002a0540c93ed.tar.gz
opie-e729a9bdd9f37f4bd610d10122f002a0540c93ed.tar.bz2
added ipkgfind remote query
Diffstat (limited to 'noncore/unsupported/oipkg/pksettings.h') (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/unsupported/oipkg/pksettings.h42
1 files changed, 24 insertions, 18 deletions
diff --git a/noncore/unsupported/oipkg/pksettings.h b/noncore/unsupported/oipkg/pksettings.h
index fbb3b99..1632d4a 100644
--- a/noncore/unsupported/oipkg/pksettings.h
+++ b/noncore/unsupported/oipkg/pksettings.h
@@ -2,10 +2,12 @@
2#define PACKAGEMANAGERSETTINGS_H 2#define PACKAGEMANAGERSETTINGS_H
3 3
4#include "pksettingsbase.h" 4#include "pksettingsbase.h"
5//#include "pmipkg.h"
5#include <qintdict.h> 6#include <qintdict.h>
7#include <qobject.h>
6 8
7 9
8class PackageManagerSettings : private PackageManagerSettingsBase 10class PackageManagerSettings : public PackageManagerSettingsBase
9{ 11{
10 // Q_OBJECT 12 // Q_OBJECT
11public: 13public:
@@ -22,23 +24,8 @@ public:
22 QStringList getDestinationUrls(); 24 QStringList getDestinationUrls();
23 QStringList getDestinationNames(); 25 QStringList getDestinationNames();
24 QString getDestinationUrlByName(QString); 26 QString getDestinationUrlByName(QString);
25 /** No descriptions */
26 QComboBox* getDestCombo(); 27 QComboBox* getDestCombo();
27 28// void setIpkg( PmIpkg* );
28private:
29 QIntDict<QString> serverurlDic;
30 QIntDict<QString> destinationurlDic;
31 int ipkg_old;
32 int editedserver;
33 int editeddestination;
34 int currentSetting;
35 int installationSettingsCount;
36 bool changed;
37
38 bool readIpkgConfig(const QString&);
39 void writeIpkgConfig(const QString&);
40 void writeSettings();
41 void readSettings();
42 29
43public slots: 30public slots:
44 void writeInstallationSettings(); 31 void writeInstallationSettings();
@@ -46,7 +33,8 @@ public slots:
46 void writeCurrentInstallationSetting(); 33 void writeCurrentInstallationSetting();
47 void readInstallationSetting(int); 34 void readInstallationSetting(int);
48 void installationSettingSetName(const QString &); 35 void installationSettingSetName(const QString &);
49 36 void removeLinksToDest();
37 void createLinksToDest();
50 void newServer(); 38 void newServer();
51 void editServer(int); 39 void editServer(int);
52 void removeDestination(); 40 void removeDestination();
@@ -63,6 +51,24 @@ public slots:
63 void removeInstallationSetting(); 51 void removeInstallationSetting();
64 void renameInstallationSetting(); 52 void renameInstallationSetting();
65 void activeServerChanged(); 53 void activeServerChanged();
54signals:
55// void doCreateLinks( QString dest );
56// void doRemoveLinks( QString dest );
57
58private:
59 QIntDict<QString> serverurlDic;
60 QIntDict<QString> destinationurlDic;
61 int ipkg_old;
62 int editedserver;
63 int editeddestination;
64 int currentSetting;
65 int installationSettingsCount;
66 bool changed;
67
68 bool readIpkgConfig(const QString&);
69 void writeIpkgConfig(const QString&);
70 void writeSettings();
71 void readSettings();
66}; 72};
67 73
68#endif 74#endif