summaryrefslogtreecommitdiffstats
path: root/languages/lib
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-21 23:12:29 +0900
commit0b6a83b773c37ee6949d73346c4a669aa1fc98b8 (patch)
tree03606cf5d79c9c08b77909997c4301fb34bc783c /languages/lib
parent19ccb502fc61ce7dfa1d030d833d2b1f898051f4 (diff)
downloadtdevelop-0b6a83b773c37ee6949d73346c4a669aa1fc98b8.tar.gz
tdevelop-0b6a83b773c37ee6949d73346c4a669aa1fc98b8.zip
Use new TQ_METHOD, TQ_SIGNAL, TQ_SLOT defines
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it> (cherry picked from commit 35fbd60457d1e51e6a0df5d181d1a0f00ad75a2c)
Diffstat (limited to 'languages/lib')
-rw-r--r--languages/lib/debugger/Mainpage.dox12
-rw-r--r--languages/lib/debugger/debugger.cpp10
2 files changed, 11 insertions, 11 deletions
diff --git a/languages/lib/debugger/Mainpage.dox b/languages/lib/debugger/Mainpage.dox
index 3e0641a9..9a804a36 100644
--- a/languages/lib/debugger/Mainpage.dox
+++ b/languages/lib/debugger/Mainpage.dox
@@ -16,12 +16,12 @@ an instance of @ref Debugger class and connect its Q_SIGNALS, for example:
@code
m_debugger = new Debugger( partController() );
-connect( m_debugger, SIGNAL(toggledBreakpoint(const TQString &, int)),
- debuggerBreakpointWidget, SLOT(slotToggleBreakpoint(const TQString &, int)) );
-connect( m_debugger, SIGNAL(editedBreakpoint(const TQString &, int)),
- debuggerBreakpointWidget, SLOT(slotEditBreakpoint(const TQString &, int)) );
-connect( m_debugger, SIGNAL(toggledBreakpointEnabled(const TQString &, int)),
- debuggerBreakpointWidget, SLOT(slotToggleBreakpointEnabled(const TQString &, int)) );
+connect( m_debugger, TQ_SIGNAL(toggledBreakpoint(const TQString &, int)),
+ debuggerBreakpointWidget, TQ_SLOT(slotToggleBreakpoint(const TQString &, int)) );
+connect( m_debugger, TQ_SIGNAL(editedBreakpoint(const TQString &, int)),
+ debuggerBreakpointWidget, TQ_SLOT(slotEditBreakpoint(const TQString &, int)) );
+connect( m_debugger, TQ_SIGNAL(toggledBreakpointEnabled(const TQString &, int)),
+ debuggerBreakpointWidget, TQ_SLOT(slotToggleBreakpointEnabled(const TQString &, int)) );
@endcode
Then m_debugger instance can be used for example, to jump to the execution point:
@code
diff --git a/languages/lib/debugger/debugger.cpp b/languages/lib/debugger/debugger.cpp
index bc8356b7..111ca93c 100644
--- a/languages/lib/debugger/debugger.cpp
+++ b/languages/lib/debugger/debugger.cpp
@@ -16,8 +16,8 @@ Debugger *Debugger::s_instance = 0;
Debugger::Debugger(KDevPartController *partController)
:m_partController(partController)
{
- connect( m_partController, TQT_SIGNAL(partAdded(KParts::Part*)),
- this, TQT_SLOT(partAdded(KParts::Part*)) );
+ connect( m_partController, TQ_SIGNAL(partAdded(KParts::Part*)),
+ this, TQ_SLOT(partAdded(KParts::Part*)) );
}
@@ -46,7 +46,7 @@ void Debugger::setBreakpoint(const TQString &fileName, int lineNum, int id, bool
// Temporarily disconnect so we don't get confused by receiving extra
// marksChanged signals
- disconnect( part, TQT_SIGNAL(marksChanged()), this, TQT_SLOT(marksChanged()) );
+ disconnect( part, TQ_SIGNAL(marksChanged()), this, TQ_SLOT(marksChanged()) );
iface->removeMark( lineNum, Breakpoint | ActiveBreakpoint | ReachedBreakpoint | DisabledBreakpoint );
BPItem bpItem(fileName, lineNum);
@@ -71,7 +71,7 @@ void Debugger::setBreakpoint(const TQString &fileName, int lineNum, int id, bool
BPList.append(BPItem(fileName, lineNum));
}
- connect( part, TQT_SIGNAL(marksChanged()), this, TQT_SLOT(marksChanged()) );
+ connect( part, TQ_SIGNAL(marksChanged()), this, TQ_SLOT(marksChanged()) );
}
@@ -203,7 +203,7 @@ void Debugger::partAdded( KParts::Part* part )
iface->setPixmap((MarkInterface::MarkTypes)ExecutionPoint, *executionPointPixmap());
iface->setMarksUserChangable( Bookmark | Breakpoint );
- connect( part, TQT_SIGNAL(marksChanged()), this, TQT_SLOT(marksChanged()) );
+ connect( part, TQ_SIGNAL(marksChanged()), this, TQ_SLOT(marksChanged()) );
}
#include "debugger.moc"