summaryrefslogtreecommitdiffstats
path: root/parts/snippet/snippet_part.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-06-14 16:45:05 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-06-14 16:45:05 +0000
commit48d4a26399959121f33d2bc3bfe51c7827b654fc (patch)
tree5ae5e6e00d3ba330b7b8be9bc097154b6bc739e8 /parts/snippet/snippet_part.cpp
parent7e701ace6592d09e1f2c0cf28c7d6d872d78f4f5 (diff)
downloadtdevelop-48d4a26399959121f33d2bc3bfe51c7827b654fc.tar.gz
tdevelop-48d4a26399959121f33d2bc3bfe51c7827b654fc.zip
TQt4 port kdevelop
This enables compilation under both Qt3 and Qt4 git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdevelop@1236710 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
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 eb1c47ac..e130d1e6 100644
--- a/parts/snippet/snippet_part.cpp
+++ b/parts/snippet/snippet_part.cpp
@@ -37,8 +37,8 @@ static const KDevPluginInfo data("kdevsnippet");
typedef KDevGenericFactory<SnippetPart> snippetFactory;
K_EXPORT_COMPONENT_FACTORY( libkdevsnippet, snippetFactory( data ) )
-SnippetPart::SnippetPart(TQObject *parent, const char *name, const TQStringList& )
- : KDevPlugin(&data, parent, name ? name : "SnippetPart" )
+SnippetPart::SnippetPart(TQObject *tqparent, const char *name, const TQStringList& )
+ : KDevPlugin(&data, tqparent, name ? name : "SnippetPart" )
{
setInstance(snippetFactory::instance());
setXMLFile("kdevpart_snippet.rc");
@@ -112,9 +112,9 @@ void SnippetPart::slotConfigWidget( KDialogBase *dlg )
TQStringList SnippetPart::getAllLanguages()
{
KTrader::OfferList languageSupportOffers =
- KTrader::self()->query(TQString::fromLatin1("KDevelop/LanguageSupport"),
- TQString::fromLatin1("[X-KDevelop-Version] == %1"
- ).arg( KDEVELOP_PLUGIN_VERSION ));
+ KTrader::self()->query(TQString::tqfromLatin1("KDevelop/LanguageSupport"),
+ TQString::tqfromLatin1("[X-KDevelop-Version] == %1"
+ ).tqarg( KDEVELOP_PLUGIN_VERSION ));
TQStringList languages;