diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-07-31 19:56:07 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-07-31 19:56:07 +0000 |
commit | d6f8bbb45b267065a6907e71ff9c98bb6d161241 (patch) | |
tree | d109539636691d7b03036ca1c0ed29dbae6577cf /parts/texttools/texttoolspart.cpp | |
parent | 3331a47a9cad24795c7440ee8107143ce444ef34 (diff) | |
download | tdevelop-d6f8bbb45b267065a6907e71ff9c98bb6d161241.tar.gz tdevelop-d6f8bbb45b267065a6907e71ff9c98bb6d161241.zip |
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdevelop@1157658 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'parts/texttools/texttoolspart.cpp')
-rw-r--r-- | parts/texttools/texttoolspart.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/parts/texttools/texttoolspart.cpp b/parts/texttools/texttoolspart.cpp index 7eb439da..332d97e3 100644 --- a/parts/texttools/texttoolspart.cpp +++ b/parts/texttools/texttoolspart.cpp @@ -11,7 +11,7 @@ #include "texttoolspart.h" -#include <qwhatsthis.h> +#include <tqwhatsthis.h> #include <kdebug.h> #include <klocale.h> #include <kdevgenericfactory.h> @@ -28,7 +28,7 @@ typedef KDevGenericFactory<TextToolsPart> TextToolsFactory; static const KDevPluginInfo data("kdevtexttools"); K_EXPORT_COMPONENT_FACTORY( libkdevtexttools, TextToolsFactory( data ) ) -TextToolsPart::TextToolsPart(QObject *parent, const char *name, const QStringList &) +TextToolsPart::TextToolsPart(TQObject *parent, const char *name, const TQStringList &) : KDevPlugin(&data, parent, name ? name : "TextToolsPart") { setInstance(TextToolsFactory::instance()); @@ -36,8 +36,8 @@ TextToolsPart::TextToolsPart(QObject *parent, const char *name, const QStringLis m_widget = 0; - connect( partController(), SIGNAL(activePartChanged(KParts::Part*)), - this, SLOT(activePartChanged(KParts::Part*)) ); + connect( partController(), TQT_SIGNAL(activePartChanged(KParts::Part*)), + this, TQT_SLOT(activePartChanged(KParts::Part*)) ); } @@ -59,7 +59,7 @@ void TextToolsPart::createWidget() m_widget = new TextToolsWidget(this); m_widget->setCaption(i18n("Text Structure")); - QWhatsThis::add(m_widget, i18n("<b>Text Structure</b><p>" + TQWhatsThis::add(m_widget, i18n("<b>Text Structure</b><p>" "This browser shows the structure of the text.")); mainWindow()->embedSelectView(m_widget, i18n("Text Structure"), i18n("Text structure")); } @@ -75,7 +75,7 @@ void TextToolsPart::activePartChanged(KParts::Part *part) KParts::ReadWritePart *rwpart = dynamic_cast<KParts::ReadWritePart*>(part); if (!rwpart) return; - QString url = rwpart->url().url(); + TQString url = rwpart->url().url(); if (url.endsWith(".html")) { kdDebug(9030) << "set mode html" << endl; |