Diffstat (limited to 'microkde/kresources/configdialog.h') (more/less context) (ignore whitespace changes)
-rw-r--r-- | microkde/kresources/configdialog.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/microkde/kresources/configdialog.h b/microkde/kresources/configdialog.h index 6acc5d9..ba66f8e 100644 --- a/microkde/kresources/configdialog.h +++ b/microkde/kresources/configdialog.h | |||
@@ -36,25 +36,28 @@ class ConfigDialog : public KDialogBase | |||
36 | { | 36 | { |
37 | Q_OBJECT | 37 | Q_OBJECT |
38 | public: | 38 | public: |
39 | // Resource=0: create new resource | 39 | // Resource=0: create new resource |
40 | ConfigDialog( QWidget *parent, const QString& resourceFamily, | 40 | ConfigDialog( QWidget *parent, const QString& resourceFamily, |
41 | Resource* resource, const char *name = 0); | 41 | Resource* resource, const char *name = 0); |
42 | 42 | ||
43 | void setInEditMode( bool value ); | 43 | void setInEditMode( bool value ); |
44 | 44 | ||
45 | protected slots: | 45 | protected slots: |
46 | void accept(); | 46 | void accept(); |
47 | void setReadOnly( bool value ); | 47 | void setReadOnly( bool value ); |
48 | void setPersistentReadOnly( bool value ); | ||
48 | void slotNameChanged( const QString &text); | 49 | void slotNameChanged( const QString &text); |
49 | 50 | ||
50 | private: | 51 | private: |
51 | ConfigWidget *mConfigWidget; | 52 | ConfigWidget *mConfigWidget; |
52 | Resource* mResource; | 53 | Resource* mResource; |
53 | 54 | ||
54 | KLineEdit *mName; | 55 | KLineEdit *mName; |
55 | QCheckBox *mReadOnly; | 56 | QCheckBox *mReadOnly; |
57 | //US add a persistent readonly flag. We need that for opie and qtopia addressbooks. | ||
58 | bool mPersistentReadOnly; | ||
56 | }; | 59 | }; |
57 | 60 | ||
58 | } | 61 | } |
59 | 62 | ||
60 | #endif | 63 | #endif |