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 /korganizer/templatemanagementdialog.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 'korganizer/templatemanagementdialog.cpp')
-rw-r--r-- | korganizer/templatemanagementdialog.cpp | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/korganizer/templatemanagementdialog.cpp b/korganizer/templatemanagementdialog.cpp index 57209cd0..3d673c37 100644 --- a/korganizer/templatemanagementdialog.cpp +++ b/korganizer/templatemanagementdialog.cpp @@ -52,15 +52,15 @@ TemplateManagementDialog::TemplateManagementDialog(TQWidget *parent, const TQStr { m_base = new TemplateManagementDialog_base( this, "template_management_dialog_base" ); setMainWidget( m_base ); - connect( m_base->m_buttonAdd, TQT_SIGNAL( clicked() ), - TQT_SLOT( slotAddTemplate() ) ); - connect( m_base->m_buttonDelete, TQT_SIGNAL( clicked() ), - TQT_SLOT( slotDeleteTemplate() ) ); + connect( m_base->m_buttonAdd, TQ_SIGNAL( clicked() ), + TQ_SLOT( slotAddTemplate() ) ); + connect( m_base->m_buttonDelete, TQ_SIGNAL( clicked() ), + TQ_SLOT( slotDeleteTemplate() ) ); m_base->m_listBox->insertStringList( m_templates ); - connect( m_base->m_listBox, TQT_SIGNAL( selectionChanged( TQListBoxItem * ) ), - TQT_SLOT( slotUpdateDeleteButton( TQListBoxItem * ) ) ); - connect( m_base->m_buttonApply, TQT_SIGNAL( clicked() ), - TQT_SLOT( slotApplyTemplate() ) ); + connect( m_base->m_listBox, TQ_SIGNAL( selectionChanged( TQListBoxItem * ) ), + TQ_SLOT( slotUpdateDeleteButton( TQListBoxItem * ) ) ); + connect( m_base->m_buttonApply, TQ_SIGNAL( clicked() ), + TQ_SLOT( slotApplyTemplate() ) ); } @@ -75,7 +75,7 @@ void TemplateManagementDialog::slotAddTemplate() if ( m_templates.find( newTemplate) != m_templates.end() ) { int rc = KMessageBox::warningContinueCancel( this, i18n("A template with that name already exists, do you want to overwrite it?."), i18n("Duplicate Template Name"), i18n("Overwrite")); if ( rc == KMessageBox::Cancel ) { - TQTimer::singleShot(0, this, TQT_SLOT( slotAddTemplate() ) ); + TQTimer::singleShot(0, this, TQ_SLOT( slotAddTemplate() ) ); return; } duplicate = true; |