summaryrefslogtreecommitdiffstats
path: root/parts/texttools
diff options
context:
space:
mode:
Diffstat (limited to 'parts/texttools')
-rw-r--r--parts/texttools/texttoolspart.cpp10
-rw-r--r--parts/texttools/texttoolspart.h2
-rw-r--r--parts/texttools/texttoolswidget.cpp36
-rw-r--r--parts/texttools/texttoolswidget.h2
4 files changed, 25 insertions, 25 deletions
diff --git a/parts/texttools/texttoolspart.cpp b/parts/texttools/texttoolspart.cpp
index 4453030a..26cb14de 100644
--- a/parts/texttools/texttoolspart.cpp
+++ b/parts/texttools/texttoolspart.cpp
@@ -25,19 +25,19 @@
typedef KDevGenericFactory<TextToolsPart> TextToolsFactory;
-static const KDevPluginInfo data("kdevtexttools");
-K_EXPORT_COMPONENT_FACTORY( libkdevtexttools, TextToolsFactory( data ) )
+static const KDevPluginInfo pluginData("kdevtexttools");
+K_EXPORT_COMPONENT_FACTORY( libkdevtexttools, TextToolsFactory( pluginData ) )
TextToolsPart::TextToolsPart(TQObject *parent, const char *name, const TQStringList &)
- : KDevPlugin(&data, parent, name ? name : "TextToolsPart")
+ : KDevPlugin(&pluginData, parent, name ? name : "TextToolsPart")
{
setInstance(TextToolsFactory::instance());
// setXMLFile("kdevfileview.rc");
m_widget = 0;
- connect( partController(), TQT_SIGNAL(activePartChanged(KParts::Part*)),
- this, TQT_SLOT(activePartChanged(KParts::Part*)) );
+ connect( partController(), TQ_SIGNAL(activePartChanged(KParts::Part*)),
+ this, TQ_SLOT(activePartChanged(KParts::Part*)) );
}
diff --git a/parts/texttools/texttoolspart.h b/parts/texttools/texttoolspart.h
index 0d822a65..7b428c83 100644
--- a/parts/texttools/texttoolspart.h
+++ b/parts/texttools/texttoolspart.h
@@ -21,7 +21,7 @@ class TextToolsWidget;
class TextToolsPart : public KDevPlugin
{
- Q_OBJECT
+ TQ_OBJECT
public:
diff --git a/parts/texttools/texttoolswidget.cpp b/parts/texttools/texttoolswidget.cpp
index db2f0acc..f1e31ca1 100644
--- a/parts/texttools/texttoolswidget.cpp
+++ b/parts/texttools/texttoolswidget.cpp
@@ -68,14 +68,14 @@ TextToolsWidget::TextToolsWidget(TextToolsPart *part, TQWidget *parent, const ch
m_part = part;
m_timer = new TQTimer(this);
- connect( this, TQT_SIGNAL(mouseButtonPressed(int, TQListViewItem*, const TQPoint&, int)),
- this, TQT_SLOT(slotItemPressed(int,TQListViewItem*)) );
- // connect( this, TQT_SIGNAL(doubleClicked(TQListViewItem*)),
- // this, TQT_SLOT(slotItemPressed(int,TQListViewItem*)) );
- connect( this, TQT_SIGNAL(returnPressed(TQListViewItem*)),
- this, TQT_SLOT(slotReturnPressed(TQListViewItem*)) );
- connect( this, TQT_SIGNAL(contextMenu(TDEListView*, TQListViewItem*, const TQPoint&)),
- this, TQT_SLOT(slotContextMenu(TDEListView*, TQListViewItem*, const TQPoint&)) );
+ connect( this, TQ_SIGNAL(mouseButtonPressed(int, TQListViewItem*, const TQPoint&, int)),
+ this, TQ_SLOT(slotItemPressed(int,TQListViewItem*)) );
+ // connect( this, TQ_SIGNAL(doubleClicked(TQListViewItem*)),
+ // this, TQ_SLOT(slotItemPressed(int,TQListViewItem*)) );
+ connect( this, TQ_SIGNAL(returnPressed(TQListViewItem*)),
+ this, TQ_SLOT(slotReturnPressed(TQListViewItem*)) );
+ connect( this, TQ_SIGNAL(contextMenu(TDEListView*, TQListViewItem*, const TQPoint&)),
+ this, TQ_SLOT(slotContextMenu(TDEListView*, TQListViewItem*, const TQPoint&)) );
}
@@ -128,7 +128,7 @@ void TextToolsWidget::slotItemPressed(int button, TQListViewItem *item)
cursorIface->setCursorPosition(line, col);
}
- if (button == Qt::MidButton) {
+ if (button == TQt::MidButton) {
KTextEditor::SelectionInterface *selectionIface
= dynamic_cast<KTextEditor::SelectionInterface*>(rwpart);
if (selectionIface) {
@@ -144,7 +144,7 @@ void TextToolsWidget::slotItemPressed(int button, TQListViewItem *item)
void TextToolsWidget::slotReturnPressed(TQListViewItem *item)
{
- slotItemPressed(Qt::LeftButton, item);
+ slotItemPressed(TQt::LeftButton, item);
}
@@ -171,8 +171,8 @@ void TextToolsWidget::stop()
void TextToolsWidget::setMode(Mode mode, KParts::Part *part)
{
- connect( part, TQT_SIGNAL(textChanged()),
- this, TQT_SLOT(startTimer()) );
+ connect( part, TQ_SIGNAL(textChanged()),
+ this, TQ_SLOT(startTimer()) );
m_editIface = dynamic_cast<KTextEditor::EditInterface*>(part);
switch (mode) {
@@ -181,18 +181,18 @@ void TextToolsWidget::setMode(Mode mode, KParts::Part *part)
<< "table" << "tr";
m_emptyTags << "br" << "hr" << "img" << "input" << "p" << "meta";
- connect( m_timer, TQT_SIGNAL(timeout()),
- this, TQT_SLOT(parseXML()) );
+ connect( m_timer, TQ_SIGNAL(timeout()),
+ this, TQ_SLOT(parseXML()) );
break;
case Docbook:
m_relevantTags << "chapter" << "sect1" << "sect2"
<< "para" << "formalpara";
- connect( m_timer, TQT_SIGNAL(timeout()),
- this, TQT_SLOT(parseXML()) );
+ connect( m_timer, TQ_SIGNAL(timeout()),
+ this, TQ_SLOT(parseXML()) );
break;
case LaTeX:
- connect( m_timer, TQT_SIGNAL(timeout()),
- this, TQT_SLOT(parseLaTeX()) );
+ connect( m_timer, TQ_SIGNAL(timeout()),
+ this, TQ_SLOT(parseLaTeX()) );
break;
default: ;
}
diff --git a/parts/texttools/texttoolswidget.h b/parts/texttools/texttoolswidget.h
index eaca3ac7..0b435ac4 100644
--- a/parts/texttools/texttoolswidget.h
+++ b/parts/texttools/texttoolswidget.h
@@ -23,7 +23,7 @@ namespace KTextEditor { class EditInterface; }
class TextToolsWidget : public TDEListView
{
- Q_OBJECT
+ TQ_OBJECT
public: