summaryrefslogtreecommitdiffstats
path: root/languages/lib/debugger
diff options
context:
space:
mode:
Diffstat (limited to 'languages/lib/debugger')
-rw-r--r--languages/lib/debugger/Mainpage.dox2
-rw-r--r--languages/lib/debugger/debugger.cpp2
-rw-r--r--languages/lib/debugger/debugger.h3
-rw-r--r--languages/lib/debugger/kdevdebugger.cpp4
-rw-r--r--languages/lib/debugger/kdevdebugger.h5
5 files changed, 9 insertions, 7 deletions
diff --git a/languages/lib/debugger/Mainpage.dox b/languages/lib/debugger/Mainpage.dox
index 2e141fd3..6dfb64ab 100644
--- a/languages/lib/debugger/Mainpage.dox
+++ b/languages/lib/debugger/Mainpage.dox
@@ -12,7 +12,7 @@ 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 signals, for example:
+an instance of @ref Debugger class and connect its Q_SIGNALS, for example:
@code
m_debugger = new Debugger( partController() );
diff --git a/languages/lib/debugger/debugger.cpp b/languages/lib/debugger/debugger.cpp
index 5d33ee8c..8bfebb33 100644
--- a/languages/lib/debugger/debugger.cpp
+++ b/languages/lib/debugger/debugger.cpp
@@ -50,7 +50,7 @@ void Debugger::setBreakpoint(const TQString &fileName, int lineNum, int id, bool
iface->removeMark( lineNum, Breakpoint | ActiveBreakpoint | ReachedBreakpoint | DisabledBreakpoint );
BPItem bpItem(fileName, lineNum);
- TQValueList<BPItem>::Iterator it = BPList.find(bpItem);
+ TQValueList<BPItem>::Iterator it = BPList.tqfind(bpItem);
if (it != BPList.end())
{
// kdDebug(9012) << "Removing BP=" << fileName << ":" << lineNum << endl;
diff --git a/languages/lib/debugger/debugger.h b/languages/lib/debugger/debugger.h
index f1a48452..0b813f66 100644
--- a/languages/lib/debugger/debugger.h
+++ b/languages/lib/debugger/debugger.h
@@ -24,7 +24,7 @@ class BPItem
{
public:
/**
- * default ctor - required from QValueList
+ * default ctor - required from TQValueList
*/
BPItem() : m_fileName(""), m_lineNum(0)
{}
@@ -57,6 +57,7 @@ private:
class Debugger : public KDevDebugger
{
Q_OBJECT
+ TQ_OBJECT
public:
diff --git a/languages/lib/debugger/kdevdebugger.cpp b/languages/lib/debugger/kdevdebugger.cpp
index b9ee4a05..416f567c 100644
--- a/languages/lib/debugger/kdevdebugger.cpp
+++ b/languages/lib/debugger/kdevdebugger.cpp
@@ -19,8 +19,8 @@
*/
#include "kdevdebugger.h"
-KDevDebugger::KDevDebugger(TQObject *parent, const char *name)
- : TQObject(parent, name)
+KDevDebugger::KDevDebugger(TQObject *tqparent, const char *name)
+ : TQObject(tqparent, name)
{
}
diff --git a/languages/lib/debugger/kdevdebugger.h b/languages/lib/debugger/kdevdebugger.h
index 288854e5..f1e50987 100644
--- a/languages/lib/debugger/kdevdebugger.h
+++ b/languages/lib/debugger/kdevdebugger.h
@@ -31,13 +31,14 @@
* Base class to handle signals from the editor that relate to breakpoints
* and the execution point of the debugger.
*/
-class KDevDebugger : public QObject
+class KDevDebugger : public TQObject
{
Q_OBJECT
+ TQ_OBJECT
public:
- KDevDebugger(TQObject *parent=0, const char *name=0);
+ KDevDebugger(TQObject *tqparent=0, const char *name=0);
~KDevDebugger();
/**