summaryrefslogtreecommitdiffstats
path: root/parts/snippet/snippet_part.cpp
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2024-01-14 14:24:33 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2024-01-14 14:24:33 +0900
commit35fbd60457d1e51e6a0df5d181d1a0f00ad75a2c (patch)
treebb3c7d39dd8592f3676cbd663a3cc42c7b288b41 /parts/snippet/snippet_part.cpp
parent59f10590f7686267df6e294111a2ff5661089026 (diff)
downloadtdevelop-35fbd60457d1e51e6a0df5d181d1a0f00ad75a2c.tar.gz
tdevelop-35fbd60457d1e51e6a0df5d181d1a0f00ad75a2c.zip
Use new TQ_METHOD, TQ_SIGNAL, TQ_SLOT defines
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'parts/snippet/snippet_part.cpp')
-rw-r--r--parts/snippet/snippet_part.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/parts/snippet/snippet_part.cpp b/parts/snippet/snippet_part.cpp
index 1c650ce2..75815de5 100644
--- a/parts/snippet/snippet_part.cpp
+++ b/parts/snippet/snippet_part.cpp
@@ -51,12 +51,12 @@ SnippetPart::SnippetPart(TQObject *parent, const char *name, const TQStringList&
mainWindow()->embedSelectViewRight( m_widget, i18n("Code Snippets"), i18n("Insert a code snippet") );
- connect( core(), TQT_SIGNAL( configWidget( KDialogBase * ) ), this, TQT_SLOT( slotConfigWidget( KDialogBase * ) ) );
+ connect( core(), TQ_SIGNAL( configWidget( KDialogBase * ) ), this, TQ_SLOT( slotConfigWidget( KDialogBase * ) ) );
/*The next two connects are used to check if certain SnippetGroups need to be opened
according to the languages supported by this project*/
- connect( core(), TQT_SIGNAL( projectOpened() ), m_widget, TQT_SLOT( languageChanged() ) );
- connect( core(), TQT_SIGNAL( languageChanged() ), m_widget, TQT_SLOT( languageChanged() ) );
+ connect( core(), TQ_SIGNAL( projectOpened() ), m_widget, TQ_SLOT( languageChanged() ) );
+ connect( core(), TQ_SIGNAL( languageChanged() ), m_widget, TQ_SLOT( languageChanged() ) );
setupActions();
}
@@ -73,7 +73,7 @@ SnippetPart::~SnippetPart()
void SnippetPart::setupActions()
{
- new TDEAction( i18n("Show Snippet Tree"), CTRL+ALT+SHIFT+Key_S, this, TQT_SLOT(slotShowView()), actionCollection(), "snippet_showview");
+ new TDEAction( i18n("Show Snippet Tree"), CTRL+ALT+SHIFT+Key_S, this, TQ_SLOT(slotShowView()), actionCollection(), "snippet_showview");
}
/*!
@@ -105,7 +105,7 @@ void SnippetPart::slotConfigWidget( KDialogBase *dlg )
w->leDelimiter->setText(m_widget->getSnippetConfig()->getDelimiter());
w->cbToolTip->setChecked(m_widget->getSnippetConfig()->useToolTips());
w->btnGroupAutoOpen->setButton(m_widget->getSnippetConfig()->getAutoOpenGroups());
- connect( dlg, TQT_SIGNAL(okClicked()), w, TQT_SLOT(slotOKClicked()) );
+ connect( dlg, TQ_SIGNAL(okClicked()), w, TQ_SLOT(slotOKClicked()) );
}