author | tille <tille> | 2002-04-26 00:50:30 (UTC) |
---|---|---|
committer | tille <tille> | 2002-04-26 00:50:30 (UTC) |
commit | a111f57eedcf27623e9bff2816c83d3287272aff (patch) (unidiff) | |
tree | b43ac41ffbdc741f731cf3f91aab064ba94ab0f3 /noncore/unsupported/oipkg/settings.h | |
parent | 5198d98daeaa1e8eb8568ccd3c516ab70fbed512 (diff) | |
download | opie-a111f57eedcf27623e9bff2816c83d3287272aff.zip opie-a111f57eedcf27623e9bff2816c83d3287272aff.tar.gz opie-a111f57eedcf27623e9bff2816c83d3287272aff.tar.bz2 |
added support for scipt ipkg (again;)
Diffstat (limited to 'noncore/unsupported/oipkg/settings.h') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/unsupported/oipkg/settings.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/noncore/unsupported/oipkg/settings.h b/noncore/unsupported/oipkg/settings.h index d4b1072..5df522b 100644 --- a/noncore/unsupported/oipkg/settings.h +++ b/noncore/unsupported/oipkg/settings.h | |||
@@ -1,45 +1,48 @@ | |||
1 | #ifndef PACKAGEMANAGERSETTINGS_H | 1 | #ifndef PACKAGEMANAGERSETTINGS_H |
2 | #define PACKAGEMANAGERSETTINGS_H | 2 | #define PACKAGEMANAGERSETTINGS_H |
3 | 3 | ||
4 | #include "pksettingsbase.h" | 4 | #include "pksettingsbase.h" |
5 | #include <qintdict.h> | 5 | #include <qintdict.h> |
6 | 6 | ||
7 | 7 | ||
8 | class PackageManagerSettings : private PackageManagerSettingsBase | 8 | class PackageManagerSettings : public PackageManagerSettingsBase |
9 | //class PackageManagerSettings : private PackageManagerSettingsBase | ||
9 | { | 10 | { |
10 | // Q_OBJECT | 11 | // Q_OBJECT |
11 | public: | 12 | public: |
12 | PackageManagerSettings( QWidget* , const char* , WFlags ); | 13 | PackageManagerSettings( QWidget* , const char* , WFlags ); |
13 | ~PackageManagerSettings(); | 14 | ~PackageManagerSettings(); |
14 | 15 | ||
15 | bool showDialog( int ) ; | 16 | bool showDialog( int ) ; |
16 | QString getDestinationUrl(); | 17 | QString getDestinationUrl(); |
17 | QString getDestinationName(); | 18 | QString getDestinationName(); |
18 | QString getLinkDestinationName(); | 19 | QString getLinkDestinationName(); |
19 | bool createLinks(); | 20 | bool createLinks(); |
20 | QStringList getActiveServers(); | 21 | QStringList getActiveServers(); |
21 | QStringList getDestinationUrls(); | 22 | QStringList getDestinationUrls(); |
23 | /** No descriptions */ | ||
24 | QComboBox getActiveDestinationCombo(); | ||
22 | 25 | ||
23 | private: | 26 | private: |
24 | QIntDict<QString> serverurlDic; | 27 | QIntDict<QString> serverurlDic; |
25 | QIntDict<QString> destinationurlDic; | 28 | QIntDict<QString> destinationurlDic; |
26 | int ipkg_old; | 29 | int ipkg_old; |
27 | int editedserver; | 30 | int editedserver; |
28 | int editeddestination; | 31 | int editeddestination; |
29 | int currentSetting; | 32 | int currentSetting; |
30 | int installationSettingsCount; | 33 | int installationSettingsCount; |
31 | bool changed; | 34 | bool changed; |
32 | 35 | ||
33 | bool readIpkgConfig(const QString&); | 36 | bool readIpkgConfig(const QString&); |
34 | void writeIpkgConfig(const QString&); | 37 | void writeIpkgConfig(const QString&); |
35 | void writeSettings(); | 38 | void writeSettings(); |
36 | void readSettings(); | 39 | void readSettings(); |
37 | 40 | ||
38 | public slots: | 41 | public slots: |
39 | void writeInstallationSettings(); | 42 | void writeInstallationSettings(); |
40 | void readInstallationSettings(); | 43 | void readInstallationSettings(); |
41 | void writeCurrentInstallationSetting(); | 44 | void writeCurrentInstallationSetting(); |
42 | void readInstallationSetting(int); | 45 | void readInstallationSetting(int); |
43 | void installationSettingSetName(const QString &); | 46 | void installationSettingSetName(const QString &); |
44 | 47 | ||
45 | void newServer(); | 48 | void newServer(); |