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-16 19:01:53 +0900 |
commit | b0f8eef013163b2098c2bb07e93cb9b194338b80 (patch) | |
tree | c35221250699030822f3c616b393f77e1ce47036 /korganizer/templatemanagementdialog.cpp | |
parent | c2138cbe92142437d50f2e6cec6f8909da959234 (diff) | |
download | tdepim-b0f8eef013163b2098c2bb07e93cb9b194338b80.tar.gz tdepim-b0f8eef013163b2098c2bb07e93cb9b194338b80.zip |
Use new TQ_METHOD, TQ_SIGNAL, TQ_SLOT defines
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
(cherry picked from commit 3b3f9ec8f31978030c17309fae48335bea5c1587)
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 57209cd05..3d673c377 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; |