Diffstat (limited to 'microkde/kresources/configwidget.h') (more/less context) (ignore whitespace changes)
-rw-r--r-- | microkde/kresources/configwidget.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/microkde/kresources/configwidget.h b/microkde/kresources/configwidget.h index b97e278..aecdda9 100644 --- a/microkde/kresources/configwidget.h +++ b/microkde/kresources/configwidget.h | |||
@@ -22,40 +22,40 @@ | |||
22 | #ifndef KRESOURCES_CONFIGWIDGET_H | 22 | #ifndef KRESOURCES_CONFIGWIDGET_H |
23 | #define KRESOURCES_CONFIGWIDGET_H | 23 | #define KRESOURCES_CONFIGWIDGET_H |
24 | 24 | ||
25 | #include <qwidget.h> | 25 | #include <qwidget.h> |
26 | 26 | ||
27 | #include <kconfig.h> | 27 | #include <kconfig.h> |
28 | 28 | ||
29 | #include "resource.h" | 29 | #include "resource.h" |
30 | 30 | ||
31 | namespace KRES { | 31 | namespace KRES { |
32 | 32 | ||
33 | class ConfigWidget : public QWidget | 33 | class ConfigWidget : public QWidget |
34 | { | 34 | { |
35 | Q_OBJECT | 35 | Q_OBJECT |
36 | 36 | ||
37 | public: | 37 | public: |
38 | ConfigWidget( QWidget *parent = 0, const char *name = 0 ); | 38 | ConfigWidget( QWidget *parent = 0, const char *name = 0 ); |
39 | 39 | ||
40 | /** | 40 | /** |
41 | Sets the widget to 'edit' mode. Reimplement this method if you are | 41 | Sets the widget to 'edit' mode. Reimplement this method if you are |
42 | interested in the mode change (to disable some GUI element for | 42 | interested in the mode change (to disable some GUI element for |
43 | example). By default the widget is in 'create new' mode. | 43 | example). By default the widget is in 'create new' mode. |
44 | */ | 44 | */ |
45 | virtual void setInEditMode( bool value ); | 45 | virtual void setInEditMode( bool value ); |
46 | 46 | ||
47 | public slots: | 47 | public slots: |
48 | virtual void loadSettings( Resource *resource ); | 48 | virtual void loadSettings( Resource *resource ); |
49 | virtual void saveSettings( Resource *resource ); | 49 | virtual void saveSettings( Resource *resource ); |
50 | 50 | ||
51 | signals: | 51 | signals: |
52 | void setReadOnly( bool value ); | 52 | void setReadOnly( bool value ); |
53 | void setPersistentReadOnly( bool value ); | 53 | void setPersistentReadOnly( bool value ); |
54 | 54 | void setIncludeInSync(bool); | |
55 | 55 | ||
56 | protected: | 56 | protected: |
57 | Resource* mResource; | 57 | Resource* mResource; |
58 | }; | 58 | }; |
59 | 59 | ||
60 | } | 60 | } |
61 | #endif | 61 | #endif |