diff options
Diffstat (limited to 'systemsettings/kcmultiwidget.cpp')
-rw-r--r-- | systemsettings/kcmultiwidget.cpp | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/systemsettings/kcmultiwidget.cpp b/systemsettings/kcmultiwidget.cpp index d7d1bd0..da4484f 100644 --- a/systemsettings/kcmultiwidget.cpp +++ b/systemsettings/kcmultiwidget.cpp @@ -62,18 +62,18 @@ class KCMultiWidget::KCMultiWidgetPrivate }; -KCMultiWidget::KCMultiWidget(TQWidget *tqparent, const char *name, bool modal) +KCMultiWidget::KCMultiWidget(TQWidget *parent, const char *name, bool modal) : KDialogBase(IconList, i18n("Configure"), Help | Default |Cancel | Apply | - Ok | User1 | User2 | User3, Ok, tqparent, name, modal, true, + Ok | User1 | User2 | User3, Ok, parent, name, modal, true, KStdGuiItem::reset(), KStdGuiItem::close(), KStdGuiItem::adminMode()) , dialogface( IconList ), d( new KCMultiWidgetPrivate ) { init(); } -KCMultiWidget::KCMultiWidget( int dialogFace, TQWidget * tqparent, const char * name, bool modal ) +KCMultiWidget::KCMultiWidget( int dialogFace, TQWidget * parent, const char * name, bool modal ) : KDialogBase( dialogFace, "Caption", Help | Default | Cancel | Apply | Ok | - User1 | User2 | User3, Ok, tqparent, name, modal, true, + User1 | User2 | User3, Ok, parent, name, modal, true, KStdGuiItem::reset(), KStdGuiItem::close(), KStdGuiItem::adminMode()) , dialogface( dialogFace ), d( new KCMultiWidgetPrivate ) { @@ -111,7 +111,7 @@ void KCMultiWidget::slotDefault() ModuleList::Iterator end = m_modules.end(); for( ModuleList::Iterator it = m_modules.begin(); it != end; ++it ) - if( pageIndex( ( TQWidget * )( *it ).kcm->tqparent() ) == curPageIndex ) + if( pageIndex( ( TQWidget * )( *it ).kcm->parent() ) == curPageIndex ) { ( *it ).kcm->defaults(); clientChanged( true ); @@ -126,7 +126,7 @@ void KCMultiWidget::slotUser1() ModuleList::Iterator end = m_modules.end(); for( ModuleList::Iterator it = m_modules.begin(); it != end; ++it ) - if( pageIndex( ( TQWidget * )( *it ).kcm->tqparent() ) == curPageIndex ) + if( pageIndex( ( TQWidget * )( *it ).kcm->parent() ) == curPageIndex ) { ( *it ).kcm->load(); clientChanged( false ); @@ -186,7 +186,7 @@ void KCMultiWidget::slotHelp() int curPageIndex = activePageIndex(); ModuleList::Iterator end = m_modules.end(); for( ModuleList::Iterator it = m_modules.begin(); it != end; ++it ) - if( pageIndex( ( TQWidget * )( *it ).kcm->tqparent() ) == curPageIndex ) + if( pageIndex( ( TQWidget * )( *it ).kcm->parent() ) == curPageIndex ) { docPath = ( *it ).kcm->moduleInfo().docPath(); break; |