Diffstat (limited to 'microkde/kutils/kcmultidialog.h') (more/less context) (ignore whitespace changes)
-rw-r--r-- | microkde/kutils/kcmultidialog.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/microkde/kutils/kcmultidialog.h b/microkde/kutils/kcmultidialog.h index 1aa66b2..768faea 100644 --- a/microkde/kutils/kcmultidialog.h +++ b/microkde/kutils/kcmultidialog.h | |||
@@ -67,80 +67,82 @@ public: | |||
67 | * @param module Specify the name of the module that is to be added | 67 | * @param module Specify the name of the module that is to be added |
68 | * to the list of modules the dialog will show. | 68 | * to the list of modules the dialog will show. |
69 | * | 69 | * |
70 | * @param withfallback Try harder to load the module. Might result | 70 | * @param withfallback Try harder to load the module. Might result |
71 | * in the module appearing outside the dialog. | 71 | * in the module appearing outside the dialog. |
72 | **/ | 72 | **/ |
73 | //US void addModule(const QString& module, bool withfallback=true); | 73 | //US void addModule(const QString& module, bool withfallback=true); |
74 | 74 | ||
75 | 75 | ||
76 | //US special method for microkde. We dop noty want to load everything dynamically. | 76 | //US special method for microkde. We dop noty want to load everything dynamically. |
77 | void addModule(KCModule* module );//, const QString& modulename, const QString& iconname); | 77 | void addModule(KCModule* module );//, const QString& modulename, const QString& iconname); |
78 | QVBox* getNewVBoxPage(const QString & modulename) ; | 78 | QVBox* getNewVBoxPage(const QString & modulename) ; |
79 | 79 | ||
80 | 80 | ||
81 | 81 | ||
82 | protected slots: | 82 | protected slots: |
83 | /** | 83 | /** |
84 | * This slot is called when the user presses the "Default" Button | 84 | * This slot is called when the user presses the "Default" Button |
85 | * You can reimplement it if needed. | 85 | * You can reimplement it if needed. |
86 | * | 86 | * |
87 | * @note Make sure you call the original implementation! | 87 | * @note Make sure you call the original implementation! |
88 | **/ | 88 | **/ |
89 | virtual void slotDefault(); | 89 | virtual void slotDefault(); |
90 | 90 | ||
91 | /** | 91 | /** |
92 | * This slot is called when the user presses the "Apply" Button | 92 | * This slot is called when the user presses the "Apply" Button |
93 | * You can reimplement it if needed | 93 | * You can reimplement it if needed |
94 | * | 94 | * |
95 | * @note Make sure you call the original implementation! | 95 | * @note Make sure you call the original implementation! |
96 | **/ | 96 | **/ |
97 | virtual void slotApply(); | 97 | virtual void slotApply(); |
98 | 98 | ||
99 | /** | 99 | /** |
100 | * This slot is called when the user presses the "OK" Button | 100 | * This slot is called when the user presses the "OK" Button |
101 | * You can reimplement it if needed | 101 | * You can reimplement it if needed |
102 | * | 102 | * |
103 | * @note Make sure you call the original implementation! | 103 | * @note Make sure you call the original implementation! |
104 | **/ | 104 | **/ |
105 | virtual void slotOk(); | 105 | virtual void slotOk(); |
106 | 106 | ||
107 | /** | 107 | /** |
108 | * This slot is called when the user presses the "Help" Button | 108 | * This slot is called when the user presses the "Help" Button |
109 | * You can reimplement it if needed | 109 | * You can reimplement it if needed |
110 | * | 110 | * |
111 | * @note Make sure you call the original implementation! | 111 | * @note Make sure you call the original implementation! |
112 | **/ | 112 | **/ |
113 | virtual void slotHelp(); | 113 | virtual void slotHelp(); |
114 | 114 | ||
115 | void accept(); | ||
116 | |||
115 | private slots: | 117 | private slots: |
116 | 118 | ||
117 | void slotAboutToShow(QWidget *); | 119 | void slotAboutToShow(QWidget *); |
118 | 120 | ||
119 | void clientChanged(bool state); | 121 | void clientChanged(bool state); |
120 | 122 | ||
121 | private: | 123 | private: |
122 | /*US | 124 | /*US |
123 | struct LoadInfo { | 125 | struct LoadInfo { |
124 | LoadInfo(const QString &_path, bool _withfallback) | 126 | LoadInfo(const QString &_path, bool _withfallback) |
125 | : path(_path), withfallback(_withfallback) | 127 | : path(_path), withfallback(_withfallback) |
126 | { } | 128 | { } |
127 | QString path; | 129 | QString path; |
128 | bool withfallback; | 130 | bool withfallback; |
129 | }; | 131 | }; |
130 | */ | 132 | */ |
131 | QPtrList<KCModule> modules; | 133 | QPtrList<KCModule> modules; |
132 | /* | 134 | /* |
133 | QPtrDict<LoadInfo> moduleDict; | 135 | QPtrDict<LoadInfo> moduleDict; |
134 | QString _docPath; | 136 | QString _docPath; |
135 | */ | 137 | */ |
136 | QString _baseGroup; | 138 | QString _baseGroup; |
137 | 139 | ||
138 | //US | 140 | //US |
139 | KJanusWidget* mMainWidget; | 141 | KJanusWidget* mMainWidget; |
140 | 142 | ||
141 | // For future use | 143 | // For future use |
142 | class KCMultiDialogPrivate; | 144 | class KCMultiDialogPrivate; |
143 | KCMultiDialogPrivate *d; | 145 | KCMultiDialogPrivate *d; |
144 | }; | 146 | }; |
145 | 147 | ||
146 | #endif //KCMULTIDIALOG_H | 148 | #endif //KCMULTIDIALOG_H |