diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2024-01-14 12:33:20 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2024-01-14 12:43:48 +0900 |
commit | 3b3f9ec8f31978030c17309fae48335bea5c1587 (patch) | |
tree | 0b493383a1501860371aacd792ec6fc08d595824 /kaddressbook/extensionmanager.cpp | |
parent | 99e6e1d1f43610c3573e9824a2a8a38f69930cd0 (diff) | |
download | tdepim-3b3f9ec8f31978030c17309fae48335bea5c1587.tar.gz tdepim-3b3f9ec8f31978030c17309fae48335bea5c1587.zip |
Use new TQ_METHOD, TQ_SIGNAL, TQ_SLOT defines
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'kaddressbook/extensionmanager.cpp')
-rw-r--r-- | kaddressbook/extensionmanager.cpp | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/kaddressbook/extensionmanager.cpp b/kaddressbook/extensionmanager.cpp index 735ebe0c0..bdc0801d2 100644 --- a/kaddressbook/extensionmanager.cpp +++ b/kaddressbook/extensionmanager.cpp @@ -60,7 +60,7 @@ ExtensionManager::ExtensionManager( TQWidget* extensionBar, TQWidgetStack* detai mActionCollection = new TDEActionCollection( this, "ActionCollection" ); extensionBar->setShown( false ); - TQTimer::singleShot( 0, this, TQT_SLOT( createActions() ) ); + TQTimer::singleShot( 0, this, TQ_SLOT( createActions() ) ); } ExtensionManager::~ExtensionManager() @@ -162,13 +162,13 @@ void ExtensionManager::createActions() delete mMapper; mMapper = new TQSignalMapper( this, "SignalMapper" ); - connect( mMapper, TQT_SIGNAL( mapped( const TQString& ) ), - this, TQT_SLOT( activationToggled( const TQString& ) ) ); + connect( mMapper, TQ_SIGNAL( mapped( const TQString& ) ), + this, TQ_SLOT( activationToggled( const TQString& ) ) ); ExtensionData::List::ConstIterator it; for ( TQMap<TQString, ExtensionData>::Iterator it = mExtensionMap.begin(), end = mExtensionMap.end(); it != end; ++it ) { ExtensionData& data = it.data(); - data.action = new TDEToggleAction( data.title, 0, mMapper, TQT_SLOT( map() ), + data.action = new TDEToggleAction( data.title, 0, mMapper, TQ_SLOT( map() ), mActionCollection, TQString( data.identifier + "_extension" ).latin1() ); mMapper->setMapping( data.action, data.identifier ); @@ -202,10 +202,10 @@ void ExtensionManager::createExtensionWidgets() wdg = new AddresseeEditorExtension( mCore, mDetailsStack ); wdg->hide(); - connect( wdg, TQT_SIGNAL( modified( const TDEABC::Addressee::List& ) ), - TQT_SIGNAL( modified( const TDEABC::Addressee::List& ) ) ); - connect( wdg, TQT_SIGNAL( deleted( const TQStringList& ) ), - TQT_SIGNAL( deleted( const TQStringList& ) ) ); + connect( wdg, TQ_SIGNAL( modified( const TDEABC::Addressee::List& ) ), + TQ_SIGNAL( modified( const TDEABC::Addressee::List& ) ) ); + connect( wdg, TQ_SIGNAL( deleted( const TQStringList& ) ), + TQ_SIGNAL( deleted( const TQStringList& ) ) ); ExtensionData data; data.identifier = wdg->identifier(); @@ -239,10 +239,10 @@ void ExtensionManager::createExtensionWidgets() if ( wdg->identifier() == "distribution_list_editor_ng" ) mSplitter->moveToFirst( wdg ); wdg->hide(); - connect( wdg, TQT_SIGNAL( modified( const TDEABC::Addressee::List& ) ), - TQT_SIGNAL( modified( const TDEABC::Addressee::List& ) ) ); - connect( wdg, TQT_SIGNAL( deleted( const TQStringList& ) ), - TQT_SIGNAL( deleted( const TQStringList& ) ) ); + connect( wdg, TQ_SIGNAL( modified( const TDEABC::Addressee::List& ) ), + TQ_SIGNAL( modified( const TDEABC::Addressee::List& ) ) ); + connect( wdg, TQ_SIGNAL( deleted( const TQStringList& ) ), + TQ_SIGNAL( deleted( const TQStringList& ) ) ); ExtensionData data; data.identifier = wdg->identifier(); |