summaryrefslogtreecommitdiffstats
path: root/parts/texttools
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2024-01-14 14:24:33 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2024-01-14 14:24:33 +0900
commit35fbd60457d1e51e6a0df5d181d1a0f00ad75a2c (patch)
treebb3c7d39dd8592f3676cbd663a3cc42c7b288b41 /parts/texttools
parent59f10590f7686267df6e294111a2ff5661089026 (diff)
downloadtdevelop-35fbd60457d1e51e6a0df5d181d1a0f00ad75a2c.tar.gz
tdevelop-35fbd60457d1e51e6a0df5d181d1a0f00ad75a2c.zip
Use new TQ_METHOD, TQ_SIGNAL, TQ_SLOT defines
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'parts/texttools')
-rw-r--r--parts/texttools/texttoolspart.cpp4
-rw-r--r--parts/texttools/texttoolswidget.cpp32
2 files changed, 18 insertions, 18 deletions
diff --git a/parts/texttools/texttoolspart.cpp b/parts/texttools/texttoolspart.cpp
index 7e38f061..26cb14de 100644
--- a/parts/texttools/texttoolspart.cpp
+++ b/parts/texttools/texttoolspart.cpp
@@ -36,8 +36,8 @@ TextToolsPart::TextToolsPart(TQObject *parent, const char *name, const TQStringL
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/texttoolswidget.cpp b/parts/texttools/texttoolswidget.cpp
index c6df3310..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&)) );
}
@@ -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: ;
}