summaryrefslogtreecommitdiffstats
path: root/kontact/src/profiledialog.cpp
diff options
context:
space:
mode:
authorMichele Calgaro <[email protected]>2024-01-14 12:33:20 +0900
committerMichele Calgaro <[email protected]>2024-01-14 12:43:48 +0900
commit3b3f9ec8f31978030c17309fae48335bea5c1587 (patch)
tree0b493383a1501860371aacd792ec6fc08d595824 /kontact/src/profiledialog.cpp
parent99e6e1d1f43610c3573e9824a2a8a38f69930cd0 (diff)
downloadtdepim-3b3f9ec8f31978030c17309fae48335bea5c1587.tar.gz
tdepim-3b3f9ec8f31978030c17309fae48335bea5c1587.zip
Use new TQ_METHOD, TQ_SIGNAL, TQ_SLOT defines
Signed-off-by: Michele Calgaro <[email protected]>
Diffstat (limited to 'kontact/src/profiledialog.cpp')
-rw-r--r--kontact/src/profiledialog.cpp44
1 files changed, 22 insertions, 22 deletions
diff --git a/kontact/src/profiledialog.cpp b/kontact/src/profiledialog.cpp
index e85d90c51..0c9c2a491 100644
--- a/kontact/src/profiledialog.cpp
+++ b/kontact/src/profiledialog.cpp
@@ -53,10 +53,10 @@ Kontact::ProfileDialog::ProfileDialog( TQWidget* parent, WFlags flags ) : KDialo
m_list->setRenameable( NameColumn, true );
m_list->setRenameable( DescriptionColumn, true );
- connect( m_list, TQT_SIGNAL( selectionChanged() ),
- this, TQT_SLOT( listSelectionChanged() ) );
- connect( m_list, TQT_SIGNAL( itemRenamed( TQListViewItem*, const TQString&, int ) ),
- this, TQT_SLOT( listItemRenamed( TQListViewItem*, const TQString&, int ) ) );
+ connect( m_list, TQ_SIGNAL( selectionChanged() ),
+ this, TQ_SLOT( listSelectionChanged() ) );
+ connect( m_list, TQ_SIGNAL( itemRenamed( TQListViewItem*, const TQString&, int ) ),
+ this, TQ_SLOT( listItemRenamed( TQListViewItem*, const TQString&, int ) ) );
horizontalLayout->addWidget( m_list );
TQVBoxLayout* buttonLayout = new TQVBoxLayout( horizontalLayout );
@@ -64,49 +64,49 @@ Kontact::ProfileDialog::ProfileDialog( TQWidget* parent, WFlags flags ) : KDialo
m_newProfileButton = new TQPushButton( mainWidget );
m_newProfileButton->setText( i18n("New Profile") );
- connect( m_newProfileButton, TQT_SIGNAL( clicked() ),
- this, TQT_SLOT( addNewProfile() ) );
+ connect( m_newProfileButton, TQ_SIGNAL( clicked() ),
+ this, TQ_SLOT( addNewProfile() ) );
buttonLayout->addWidget( m_newProfileButton );
m_deleteProfileButton = new TQPushButton( mainWidget );
m_deleteProfileButton->setText( i18n("Delete Profile") );
m_deleteProfileButton->setEnabled( false );
- connect( m_deleteProfileButton, TQT_SIGNAL( clicked() ),
- this, TQT_SLOT( deleteSelectedProfile() ) );
+ connect( m_deleteProfileButton, TQ_SIGNAL( clicked() ),
+ this, TQ_SLOT( deleteSelectedProfile() ) );
buttonLayout->addWidget( m_deleteProfileButton );
m_saveProfileButton = new TQPushButton( mainWidget );
m_saveProfileButton->setText( i18n("Save Profile") );
m_saveProfileButton->setEnabled( false );
- connect( m_saveProfileButton, TQT_SIGNAL( clicked() ),
- this, TQT_SLOT( saveToSelectedProfile() ) );
+ connect( m_saveProfileButton, TQ_SIGNAL( clicked() ),
+ this, TQ_SLOT( saveToSelectedProfile() ) );
buttonLayout->addWidget( m_saveProfileButton );
buttonLayout->addStretch();
m_importProfileButton = new TQPushButton( mainWidget );
m_importProfileButton->setText( i18n("Import Profile") );
- connect( m_importProfileButton, TQT_SIGNAL( clicked() ),
- this, TQT_SLOT( importProfile() ) );
+ connect( m_importProfileButton, TQ_SIGNAL( clicked() ),
+ this, TQ_SLOT( importProfile() ) );
buttonLayout->addWidget( m_importProfileButton );
m_exportProfileButton = new TQPushButton( mainWidget );
m_exportProfileButton->setText( i18n("Export Profile") );
m_exportProfileButton->setEnabled( false );
- connect( m_exportProfileButton, TQT_SIGNAL( clicked() ),
- this, TQT_SLOT( exportSelectedProfile() ) );
+ connect( m_exportProfileButton, TQ_SIGNAL( clicked() ),
+ this, TQ_SLOT( exportSelectedProfile() ) );
buttonLayout->addWidget( m_exportProfileButton );
setMainWidget( mainWidget );
- connect( Kontact::ProfileManager::self(), TQT_SIGNAL( profileAdded( const TQString& ) ),
- this, TQT_SLOT( profileAdded( const TQString& ) ) );
- connect( Kontact::ProfileManager::self(), TQT_SIGNAL( profileRemoved( const TQString& ) ),
- this, TQT_SLOT( profileRemoved( const TQString& ) ) );
- connect( Kontact::ProfileManager::self(), TQT_SIGNAL( profileLoaded( const TQString& ) ),
- this, TQT_SLOT( profileLoaded( const TQString& ) ) );
- connect( Kontact::ProfileManager::self(), TQT_SIGNAL( profileUpdated( const TQString& ) ),
- this, TQT_SLOT( profileUpdated( const TQString& ) ) );
+ connect( Kontact::ProfileManager::self(), TQ_SIGNAL( profileAdded( const TQString& ) ),
+ this, TQ_SLOT( profileAdded( const TQString& ) ) );
+ connect( Kontact::ProfileManager::self(), TQ_SIGNAL( profileRemoved( const TQString& ) ),
+ this, TQ_SLOT( profileRemoved( const TQString& ) ) );
+ connect( Kontact::ProfileManager::self(), TQ_SIGNAL( profileLoaded( const TQString& ) ),
+ this, TQ_SLOT( profileLoaded( const TQString& ) ) );
+ connect( Kontact::ProfileManager::self(), TQ_SIGNAL( profileUpdated( const TQString& ) ),
+ this, TQ_SLOT( profileUpdated( const TQString& ) ) );
const TQValueList<Kontact::Profile> profiles = Kontact::ProfileManager::self()->profiles();
for ( TQValueList<Kontact::Profile>::ConstIterator it = profiles.begin(), end = profiles.end(); it != end; ++it )