diff options
author | Michele Calgaro <[email protected]> | 2024-01-05 10:21:25 +0900 |
---|---|---|
committer | Michele Calgaro <[email protected]> | 2024-01-07 19:43:32 +0900 |
commit | 498895cfde9bb141db091b20fe897e0829a171e3 (patch) | |
tree | 450d3b01856e3ded26601fcbcaeb6845b654e4e7 /systemsettings/kcmultiwidget.cpp | |
parent | f614f05c1aff2549c551e33fa46f3e89c614d201 (diff) | |
download | tde-systemsettings-498895cfde9bb141db091b20fe897e0829a171e3.tar.gz tde-systemsettings-498895cfde9bb141db091b20fe897e0829a171e3.zip |
Use new TQ_METHOD, TQ_SIGNAL, TQ_SLOT defines
Signed-off-by: Michele Calgaro <[email protected]>
(cherry picked from commit ae979b35ee81e4a169564225f17aac43f5f5e328)
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 e54fef1..61c8225 100644 --- a/systemsettings/kcmultiwidget.cpp +++ b/systemsettings/kcmultiwidget.cpp @@ -82,7 +82,7 @@ KCMultiWidget::KCMultiWidget( int dialogFace, TQWidget * parent, const char * na inline void KCMultiWidget::init() { - connect( this, TQT_SIGNAL( finished()), TQT_SLOT( dialogClosed())); + connect( this, TQ_SIGNAL( finished()), TQ_SLOT( dialogClosed())); showButton( Ok, false ); showButton( Cancel, false ); showButton( User1, true ); // Reset button @@ -92,7 +92,7 @@ inline void KCMultiWidget::init() enableButton(Apply, false); enableButton(User1, false); - connect(this, TQT_SIGNAL(aboutToShowPage(TQWidget *)), this, TQT_SLOT(slotAboutToShow(TQWidget *))); + connect(this, TQ_SIGNAL(aboutToShowPage(TQWidget *)), this, TQ_SLOT(slotAboutToShow(TQWidget *))); setInitialSize(TQSize(640,480)); moduleParentComponents.setAutoDelete( true ); } @@ -305,7 +305,7 @@ void KCMultiWidget::addModule(const TDECModuleInfo& moduleinfo, moduleParentComponents.insert( module, new TQStringList( parentComponents ) ); - connect(module, TQT_SIGNAL(changed(bool)), this, TQT_SLOT(clientChanged(bool))); + connect(module, TQ_SIGNAL(changed(bool)), this, TQ_SLOT(clientChanged(bool))); } @@ -391,14 +391,14 @@ void KCMultiWidget::slotAboutToShow(TQWidget *page) enableButton( KDialogBase::Help, buttons & TDECModule::Help ); enableButton( KDialogBase::Default, buttons & TDECModule::Default ); - disconnect( this, TQT_SIGNAL(user3Clicked()), 0, 0 ); + disconnect( this, TQ_SIGNAL(user3Clicked()), 0, 0 ); if (d->currentModule->moduleInfo().needsRootPrivileges() && !d->currentModule->rootMode() ) { /* Enable the Admin Mode button */ enableButton( User3, true ); - connect( this, TQT_SIGNAL(user3Clicked()), d->currentModule, TQT_SLOT( runAsRoot() )); - connect( this, TQT_SIGNAL(user3Clicked()), TQT_SLOT( disableRModeButton() )); + connect( this, TQ_SIGNAL(user3Clicked()), d->currentModule, TQ_SLOT( runAsRoot() )); + connect( this, TQ_SIGNAL(user3Clicked()), TQ_SLOT( disableRModeButton() )); } else { enableButton( User3, false ); } @@ -412,7 +412,7 @@ void KCMultiWidget::rootExit() void KCMultiWidget::disableRModeButton() { enableButton( User3, false ); - connect ( d->currentModule, TQT_SIGNAL( childClosed() ), TQT_SLOT( rootExit() ) ); + connect ( d->currentModule, TQ_SIGNAL( childClosed() ), TQ_SLOT( rootExit() ) ); } void KCMultiWidget::slotCancel() { |