summaryrefslogtreecommitdiffstats
path: root/languages/lib/debugger
diff options
context:
space:
mode:
Diffstat (limited to 'languages/lib/debugger')
-rw-r--r--languages/lib/debugger/Mainpage.dox14
-rw-r--r--languages/lib/debugger/debugger.cpp10
-rw-r--r--languages/lib/debugger/debugger.h2
-rw-r--r--languages/lib/debugger/kdevdebugger.h2
4 files changed, 14 insertions, 14 deletions
diff --git a/languages/lib/debugger/Mainpage.dox b/languages/lib/debugger/Mainpage.dox
index 90c16a2a..c0e6b077 100644
--- a/languages/lib/debugger/Mainpage.dox
+++ b/languages/lib/debugger/Mainpage.dox
@@ -12,16 +12,16 @@ This library contains classes to implement debugger support for a programming la
Each debugger support plugin must interact with an editor to set breakpoints,
jump to execution points, etc. This kind of interaction is implemented in
@ref Debugger class. Your debugger support plugin just need to create
-an instance of @ref Debugger class and connect its Q_SIGNALS, for example:
+an instance of @ref Debugger class and connect its signals, for example:
@code
m_debugger = new Debugger( partController() );
-connect( m_debugger, SIGNAL(toggledBreakpoint(const QString &, int)),
- debuggerBreakpointWidget, SLOT(slotToggleBreakpoint(const QString &, int)) );
-connect( m_debugger, SIGNAL(editedBreakpoint(const QString &, int)),
- debuggerBreakpointWidget, SLOT(slotEditBreakpoint(const QString &, int)) );
-connect( m_debugger, SIGNAL(toggledBreakpointEnabled(const QString &, int)),
- debuggerBreakpointWidget, SLOT(slotToggleBreakpointEnabled(const QString &, 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"
diff --git a/languages/lib/debugger/debugger.h b/languages/lib/debugger/debugger.h
index d4112490..ca689170 100644
--- a/languages/lib/debugger/debugger.h
+++ b/languages/lib/debugger/debugger.h
@@ -56,7 +56,7 @@ private:
*/
class Debugger : public KDevDebugger
{
- Q_OBJECT
+ TQ_OBJECT
public:
diff --git a/languages/lib/debugger/kdevdebugger.h b/languages/lib/debugger/kdevdebugger.h
index 4cb7df3f..ba2dc352 100644
--- a/languages/lib/debugger/kdevdebugger.h
+++ b/languages/lib/debugger/kdevdebugger.h
@@ -33,7 +33,7 @@
*/
class KDevDebugger : public TQObject
{
- Q_OBJECT
+ TQ_OBJECT
public: