Diffstat (limited to 'microkde/kresources/managerimpl.h') (more/less context) (ignore whitespace changes)
-rw-r--r-- | microkde/kresources/managerimpl.h | 19 |
1 files changed, 16 insertions, 3 deletions
diff --git a/microkde/kresources/managerimpl.h b/microkde/kresources/managerimpl.h index a049bcc..0425279 100644 --- a/microkde/kresources/managerimpl.h +++ b/microkde/kresources/managerimpl.h | |||
@@ -22,4 +22,11 @@ | |||
22 | */ | 22 | */ |
23 | 23 | ||
24 | /* | ||
25 | Enhanced Version of the file for platform independent KDE tools. | ||
26 | Copyright (c) 2004 Ulf Schenk | ||
27 | |||
28 | $Id$ | ||
29 | */ | ||
30 | |||
24 | #ifndef KRESOURCES_MANAGERIMPL_H | 31 | #ifndef KRESOURCES_MANAGERIMPL_H |
25 | #define KRESOURCES_MANAGERIMPL_H | 32 | #define KRESOURCES_MANAGERIMPL_H |
@@ -59,5 +66,5 @@ class ManagerImpl : public QObject | |||
59 | Q_OBJECT | 66 | Q_OBJECT |
60 | public: | 67 | public: |
61 | ManagerImpl( const QString &family ); | 68 | ManagerImpl( const QString &family, bool syncable); |
62 | ~ManagerImpl(); | 69 | ~ManagerImpl(); |
63 | 70 | ||
@@ -84,4 +91,9 @@ class ManagerImpl : public QObject | |||
84 | void setListener( ManagerImplListener *listener ); | 91 | void setListener( ManagerImplListener *listener ); |
85 | 92 | ||
93 | /** | ||
94 | Return true, if the manager manages syncable resources. | ||
95 | */ | ||
96 | bool manageSyncable() const; | ||
97 | |||
86 | public slots: | 98 | public slots: |
87 | void resourceChanged( Resource *resource ); | 99 | void resourceChanged( Resource *resource ); |
@@ -92,8 +104,8 @@ class ManagerImpl : public QObject | |||
92 | private: | 104 | private: |
93 | void createStandardConfig(); | 105 | void createStandardConfig(); |
94 | 106 | ||
95 | Resource *readResourceConfig( const QString& identifier, bool checkActive ); | 107 | Resource *readResourceConfig( const QString& identifier, bool checkActive ); |
96 | void writeResourceConfig( Resource *resource, bool checkActive ); | 108 | void writeResourceConfig( Resource *resource, bool checkActive ); |
97 | 109 | ||
98 | void removeResource( Resource *resource ); | 110 | void removeResource( Resource *resource ); |
99 | Resource *getResource( Resource *resource ); | 111 | Resource *getResource( Resource *resource ); |
@@ -101,4 +113,5 @@ class ManagerImpl : public QObject | |||
101 | 113 | ||
102 | QString mFamily; | 114 | QString mFamily; |
115 | bool mSyncable; | ||
103 | KConfig *mConfig; | 116 | KConfig *mConfig; |
104 | KConfig *mStdConfig; | 117 | KConfig *mStdConfig; |