author | ulf69 <ulf69> | 2004-09-21 19:47:57 (UTC) |
---|---|---|
committer | ulf69 <ulf69> | 2004-09-21 19:47:57 (UTC) |
commit | c2cce86fdb2d0b291c3d3bdfa9fac47452153d1a (patch) (side-by-side diff) | |
tree | 6f8ac380b5db0831f02e4cc35cd0a6fd5ece5ff9 /microkde/kutils/kcmultidialog.cpp | |
parent | 427906b75a4672531f2b7d86b2a4a27427f5d4a4 (diff) | |
download | kdepimpi-c2cce86fdb2d0b291c3d3bdfa9fac47452153d1a.zip kdepimpi-c2cce86fdb2d0b291c3d3bdfa9fac47452153d1a.tar.gz kdepimpi-c2cce86fdb2d0b291c3d3bdfa9fac47452153d1a.tar.bz2 |
added prefwriting prefreading for size and font object
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() //US moduleDict.setAutoDelete(true); } void KCMultiDialog::slotDefault() { - int curPageIndex = mMainWidget->activePageIndex(); + int curPageIndex = activePageIndex(); QPtrListIterator<KCModule> it(modules); for (; it.current(); ++it) { if (pageIndex((QWidget *)(*it)->parent()) == curPageIndex) { @@ -204,6 +204,24 @@ void KCMultiDialog::slotAboutToShow(QWidget *page) QApplication::restoreOverrideCursor(); */ qDebug("KCMultiDialog::slotAboutToShow not implemented"); } + + +bool KCMultiDialog::showPage( int index ) +{ + return(mMainWidget->showPage(index) ); +} + + +int KCMultiDialog::activePageIndex() const +{ + return( mMainWidget->activePageIndex() ); +} + + +int KCMultiDialog::pageIndex( QWidget *widget ) const +{ + return( mMainWidget->pageIndex( widget) ); +} |