Diffstat (limited to 'microkde/kresources/syncwidget.h') (more/less context) (ignore whitespace changes)
-rw-r--r-- | microkde/kresources/syncwidget.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/microkde/kresources/syncwidget.h b/microkde/kresources/syncwidget.h index e94252c..6632b69 100644 --- a/microkde/kresources/syncwidget.h +++ b/microkde/kresources/syncwidget.h | |||
@@ -37,26 +37,36 @@ class SyncWidget : public QWidget | |||
37 | 37 | ||
38 | public: | 38 | public: |
39 | SyncWidget( QWidget *parent = 0, const char *name = 0 ); | 39 | SyncWidget( QWidget *parent = 0, const char *name = 0 ); |
40 | 40 | ||
41 | /** | 41 | /** |
42 | Sets the widget to 'edit' mode. Reimplement this method if you are | 42 | Sets the widget to 'edit' mode. Reimplement this method if you are |
43 | interested in the mode change (to disable some GUI element for | 43 | interested in the mode change (to disable some GUI element for |
44 | example). By default the widget is in 'create new' mode. | 44 | example). By default the widget is in 'create new' mode. |
45 | */ | 45 | */ |
46 | virtual void setInEditMode( bool value ); | 46 | virtual void setInEditMode( bool value ); |
47 | 47 | ||
48 | public slots: | 48 | public slots: |
49 | virtual void loadSettings( Resource *resource ); | 49 | virtual void loadSettings( Resource *resource ); |
50 | virtual void saveSettings( Resource *resource ); | 50 | virtual void saveSettings( Resource *resource ); |
51 | 51 | ||
52 | signals: | 52 | signals: |
53 | //US void setReadOnly( bool value ); | 53 | //US void setReadOnly( bool value ); |
54 | //US void setPersistentReadOnly( bool value ); | 54 | //US void setPersistentReadOnly( bool value ); |
55 | 55 | ||
56 | 56 | ||
57 | protected: | 57 | protected: |
58 | //US Resource* mResource; | 58 | //US Resource* mResource; |
59 | }; | 59 | }; |
60 | 60 | ||
61 | class SyncWidgetContainer : public QObject | ||
62 | { | ||
63 | Q_OBJECT | ||
64 | |||
65 | public: | ||
66 | virtual SyncWidget* generateSettingsTab(QWidget *parent = 0, const char *name = 0) = 0; | ||
67 | virtual SyncWidget* generateConflictsTab(QWidget *parent = 0, const char *name = 0) = 0; | ||
68 | virtual SyncWidget* generateRemoteTab(QWidget *parent = 0, const char *name = 0) = 0; | ||
69 | }; | ||
70 | |||
61 | } | 71 | } |
62 | #endif | 72 | #endif |