summaryrefslogtreecommitdiffstats
path: root/parts/snippet/snippet_part.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'parts/snippet/snippet_part.cpp')
-rw-r--r--parts/snippet/snippet_part.cpp16
1 files changed, 8 insertions, 8 deletions
diff --git a/parts/snippet/snippet_part.cpp b/parts/snippet/snippet_part.cpp
index 82969151..75815de5 100644
--- a/parts/snippet/snippet_part.cpp
+++ b/parts/snippet/snippet_part.cpp
@@ -33,12 +33,12 @@
#include "snippetsettings.h"
#include "snippetconfig.h"
-static const KDevPluginInfo data("kdevsnippet");
+static const KDevPluginInfo pluginData("kdevsnippet");
typedef KDevGenericFactory<SnippetPart> snippetFactory;
-K_EXPORT_COMPONENT_FACTORY( libkdevsnippet, snippetFactory( data ) )
+K_EXPORT_COMPONENT_FACTORY( libkdevsnippet, snippetFactory( pluginData ) )
SnippetPart::SnippetPart(TQObject *parent, const char *name, const TQStringList& )
- : KDevPlugin(&data, parent, name ? name : "SnippetPart" )
+ : KDevPlugin(&pluginData, parent, name ? name : "SnippetPart" )
{
setInstance(snippetFactory::instance());
setXMLFile("kdevpart_snippet.rc");
@@ -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()) );
}