Diffstat (limited to 'noncore/unsupported/oipkg/settings.h') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/unsupported/oipkg/settings.h | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/noncore/unsupported/oipkg/settings.h b/noncore/unsupported/oipkg/settings.h index 3be4334..bab7a4f 100644 --- a/noncore/unsupported/oipkg/settings.h +++ b/noncore/unsupported/oipkg/settings.h | |||
@@ -1,67 +1,66 @@ | |||
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 : public PackageManagerSettingsBase | 8 | class PackageManagerSettings : public PackageManagerSettingsBase |
9 | //class PackageManagerSettings : private PackageManagerSettingsBase | 9 | //class PackageManagerSettings : private PackageManagerSettingsBase |
10 | { | 10 | { |
11 | // Q_OBJECT | 11 | // Q_OBJECT |
12 | public: | 12 | public: |
13 | PackageManagerSettings( QWidget* , const char* , WFlags ); | 13 | PackageManagerSettings( QWidget* , const char* , WFlags ); |
14 | ~PackageManagerSettings(); | 14 | ~PackageManagerSettings(); |
15 | 15 | ||
16 | bool showDialog( int ) ; | 16 | bool showDialog( int ) ; |
17 | QString getDestinationUrl(); | 17 | QString getDestinationUrl(); |
18 | QString getDestinationName(); | 18 | QString getDestinationName(); |
19 | QString getLinkDestinationName(); | 19 | QString getLinkDestinationName(); |
20 | bool createLinks(); | 20 | bool createLinks(); |
21 | QStringList getActiveServers(); | 21 | QStringList getActiveServers(); |
22 | QStringList getDestinationUrls(); | 22 | QStringList getDestinationUrls(); |
23 | 23 | ||
24 | public slots: | 24 | public slots: /** No descriptions */ |
25 | void createLinks(); | ||
26 | void removeLinks(); | ||
25 | void writeInstallationSettings(); | 27 | void writeInstallationSettings(); |
26 | void readInstallationSettings(); | 28 | void readInstallationSettings(); |
27 | void writeCurrentInstallationSetting(); | 29 | void writeCurrentInstallationSetting(); |
28 | void readInstallationSetting(int); | 30 | void readInstallationSetting(int); |
29 | void installationSettingSetName(const QString &); | 31 | void installationSettingSetName(const QString &); |
30 | void activeDestinationChange(int) | 32 | void activeDestinationChange(int) |
31 | void newServer(); | 33 | void newServer(); |
32 | void editServer(int); | 34 | void editServer(int); |
33 | void removeDestination(); | 35 | void removeDestination(); |
34 | void newDestination(); | 36 | void newDestination(); |
35 | void editDestination(int); | 37 | void editDestination(int); |
36 | void linkEnabled(bool); | 38 | void linkEnabled(bool); |
37 | void removeServer(); | 39 | void removeServer(); |
38 | void serverNameChanged(const QString&); | 40 | void serverNameChanged(const QString&); |
39 | void serverUrlChanged(const QString&); | 41 | void serverUrlChanged(const QString&); |
40 | void destNameChanged(const QString&); | 42 | void destNameChanged(const QString&); |
41 | void destUrlChanged(const QString&); | 43 | void destUrlChanged(const QString&); |
42 | void installationSettingChange(int); | 44 | void installationSettingChange(int); |
43 | void newInstallationSetting(); | 45 | void newInstallationSetting(); |
44 | void removeInstallationSetting(); | 46 | void removeInstallationSetting(); |
45 | void renameInstallationSetting(); | 47 | void renameInstallationSetting(); |
46 | 48 | ||
47 | private: | 49 | private: |
48 | QIntDict<QString> serverurlDic; | 50 | QIntDict<QString> serverurlDic; |
49 | QIntDict<QString> destinationurlDic; | 51 | QIntDict<QString> destinationurlDic; |
50 | int ipkg_old; | 52 | int ipkg_old; |
51 | int editedserver; | 53 | int editedserver; |
52 | int editeddestination; | 54 | int editeddestination; |
53 | int currentSetting; | 55 | int currentSetting; |
54 | int installationSettingsCount; | 56 | int installationSettingsCount; |
55 | bool changed; | 57 | bool changed; |
56 | 58 | ||
57 | bool readIpkgConfig(const QString&); | 59 | bool readIpkgConfig(const QString&); |
58 | void writeIpkgConfig(const QString&); | 60 | void writeIpkgConfig(const QString&); |
59 | void writeSettings(); | 61 | void writeSettings(); |
60 | void readSettings(); | 62 | void readSettings(); |
61 | }; | 63 | }; |
62 | 64 | ||
63 | #endif | 65 | #endif |
64 | /** No descriptions */ | 66 | |
65 | void createLinks(); | ||
66 | /** No descriptions */ | ||
67 | void removeLinks(); | ||