summaryrefslogtreecommitdiffstats
path: root/parts/texttools/texttoolspart.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'parts/texttools/texttoolspart.cpp')
-rw-r--r--parts/texttools/texttoolspart.cpp12
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;