Diffstat (limited to 'microkde/kutils/kcmultidialog.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r-- | microkde/kutils/kcmultidialog.cpp | 20 |
1 files changed, 19 insertions, 1 deletions
diff --git a/microkde/kutils/kcmultidialog.cpp b/microkde/kutils/kcmultidialog.cpp index e7aa9d1..c4ccede 100644 --- a/microkde/kutils/kcmultidialog.cpp +++ b/microkde/kutils/kcmultidialog.cpp | |||
@@ -64,13 +64,13 @@ KCMultiDialog::~KCMultiDialog() | |||
64 | //US moduleDict.setAutoDelete(true); | 64 | //US moduleDict.setAutoDelete(true); |
65 | } | 65 | } |
66 | 66 | ||
67 | void KCMultiDialog::slotDefault() | 67 | void KCMultiDialog::slotDefault() |
68 | { | 68 | { |
69 | 69 | ||
70 | int curPageIndex = mMainWidget->activePageIndex(); | 70 | int curPageIndex = activePageIndex(); |
71 | 71 | ||
72 | QPtrListIterator<KCModule> it(modules); | 72 | QPtrListIterator<KCModule> it(modules); |
73 | for (; it.current(); ++it) | 73 | for (; it.current(); ++it) |
74 | { | 74 | { |
75 | if (pageIndex((QWidget *)(*it)->parent()) == curPageIndex) | 75 | if (pageIndex((QWidget *)(*it)->parent()) == curPageIndex) |
76 | { | 76 | { |
@@ -204,6 +204,24 @@ void KCMultiDialog::slotAboutToShow(QWidget *page) | |||
204 | 204 | ||
205 | QApplication::restoreOverrideCursor(); | 205 | QApplication::restoreOverrideCursor(); |
206 | */ | 206 | */ |
207 | 207 | ||
208 | qDebug("KCMultiDialog::slotAboutToShow not implemented"); | 208 | qDebug("KCMultiDialog::slotAboutToShow not implemented"); |
209 | } | 209 | } |
210 | |||
211 | |||
212 | bool KCMultiDialog::showPage( int index ) | ||
213 | { | ||
214 | return(mMainWidget->showPage(index) ); | ||
215 | } | ||
216 | |||
217 | |||
218 | int KCMultiDialog::activePageIndex() const | ||
219 | { | ||
220 | return( mMainWidget->activePageIndex() ); | ||
221 | } | ||
222 | |||
223 | |||
224 | int KCMultiDialog::pageIndex( QWidget *widget ) const | ||
225 | { | ||
226 | return( mMainWidget->pageIndex( widget) ); | ||
227 | } | ||