summaryrefslogtreecommitdiffstats
path: root/languages/cpp/debugger/breakpoint.h
diff options
context:
space:
mode:
Diffstat (limited to 'languages/cpp/debugger/breakpoint.h')
-rw-r--r--languages/cpp/debugger/breakpoint.h88
1 files changed, 44 insertions, 44 deletions
diff --git a/languages/cpp/debugger/breakpoint.h b/languages/cpp/debugger/breakpoint.h
index f06fc3d3..8470617c 100644
--- a/languages/cpp/debugger/breakpoint.h
+++ b/languages/cpp/debugger/breakpoint.h
@@ -18,9 +18,9 @@
#include <klocale.h>
-#include <qobject.h>
-#include <qstring.h>
-#include <qstringlist.h>
+#include <tqobject.h>
+#include <tqstring.h>
+#include <tqstringlist.h>
/***************************************************************************/
/***************************************************************************/
@@ -60,8 +60,8 @@ public:
- virtual QString dbgSetCommand(GDBController *) const = 0;
- virtual QString dbgRemoveCommand() const;
+ virtual TQString dbgSetCommand(GDBController *) const = 0;
+ virtual TQString dbgRemoveCommand() const;
/** Returns true if 'breakpoint' is identical to *this.
Checks for trival cases like pointer equality and
differing typeid() and then calls virtual
@@ -95,11 +95,11 @@ public:
void setIgnoreCount(int ignoreCount) { ignoreCount_ = ignoreCount; }
int ignoreCount() const { return ignoreCount_; }
- void setAddress(const QString &address) { address_ = address; }
- QString address() const { return address_; }
+ void setAddress(const TQString &address) { address_ = address; }
+ TQString address() const { return address_; }
- void setConditional(const QString &condition) { condition_ = condition; }
- QString conditional() const { return condition_; }
+ void setConditional(const TQString &condition) { condition_ = condition; }
+ TQString conditional() const { return condition_; }
void setPending(bool pending) { s_pending_ = pending; }
bool isPending() const { return s_pending_; }
@@ -127,27 +127,27 @@ public:
void setHits(int hits) { hits_ = hits; }
int hits() const { return hits_; }
- virtual QString statusDisplay(int activeFlag) const;
+ virtual TQString statusDisplay(int activeFlag) const;
virtual BP_TYPES type() const { return BP_TYPE_Invalid; }
- virtual QString displayType() const { return i18n( "Invalid" ); }
+ virtual TQString displayType() const { return i18n( "Invalid" ); }
bool tracingEnabled() const { return s_tracingEnabled_; }
void setTracingEnabled(bool enable) { s_tracingEnabled_ = enable; }
- const QStringList& tracedExpressions() const { return tracedExpressions_; }
- void setTracedExpressions(const QStringList& l) { tracedExpressions_ = l; }
+ const TQStringList& tracedExpressions() const { return tracedExpressions_; }
+ void setTracedExpressions(const TQStringList& l) { tracedExpressions_ = l; }
bool traceFormatStringEnabled() const { return s_traceFormatStringEnabled_; }
void setTraceFormatStringEnabled(bool en) { s_traceFormatStringEnabled_ = en; }
- const QString& traceFormatString() const { return traceFormatString_; }
- void setTraceFormatString(const QString& s) { traceFormatString_ = s; }
+ const TQString& traceFormatString() const { return traceFormatString_; }
+ void setTraceFormatString(const TQString& s) { traceFormatString_ = s; }
- QString traceRealFormatString() const;
+ TQString traceRealFormatString() const;
- virtual QString location(bool compact=true) const = 0;
- virtual void setLocation(const QString& ) = 0;
+ virtual TQString location(bool compact=true) const = 0;
+ virtual void setLocation(const TQString& ) = 0;
virtual bool isValid() const = 0;
signals:
@@ -187,10 +187,10 @@ private:
int active_; // counter incremented on receipt of all BP's
int ignoreCount_;
- QString address_;
- QString condition_;
- QStringList tracedExpressions_;
- QString traceFormatString_;
+ TQString address_;
+ TQString condition_;
+ TQStringList tracedExpressions_;
+ TQString traceFormatString_;
GDBController* controller_;
};
@@ -203,20 +203,20 @@ class FilePosBreakpoint : public Breakpoint
public:
FilePosBreakpoint();
- FilePosBreakpoint(const QString &fileName, int lineNum,
+ FilePosBreakpoint(const TQString &fileName, int lineNum,
bool temporary=false, bool enabled=true);
virtual ~FilePosBreakpoint();
- virtual QString dbgSetCommand(GDBController *) const;
+ virtual TQString dbgSetCommand(GDBController *) const;
virtual bool match_data(const Breakpoint *brkpt) const;
BP_TYPES type () const { return BP_TYPE_FilePos; }
- QString displayType() const;
- QString location(bool compact=true) const;
- void setLocation(const QString& location);
+ TQString displayType() const;
+ TQString location(bool compact=true) const;
+ void setLocation(const TQString& location);
bool isValid() const;
bool hasFileAndLine() const;
- QString fileName() const;
+ TQString fileName() const;
unsigned lineNum() const;
protected:
@@ -228,8 +228,8 @@ private:
enum subtype { filepos = 1, function, address };
subtype subtype_;
- QString location_;
- QString fileName_;
+ TQString location_;
+ TQString fileName_;
int line_;
};
/***************************************************************************/
@@ -240,7 +240,7 @@ private:
//public:
// RegExpBreakpoint(bool temporary=false, bool enabled=true);
// virtual ~RegExpBreakpoint();
-// virtual QString dbgSetCommand() const;
+// virtual TQString dbgSetCommand() const;
//};
/***************************************************************************/
/***************************************************************************/
@@ -250,7 +250,7 @@ private:
//public:
// CatchBreakpoint(bool temporary=false, bool enabled=true);
// virtual ~CatchBreakpoint();
-// virtual QString dbgSetCommand() const;
+// virtual TQString dbgSetCommand() const;
// virtual CatchBreakpoint& operator=(const CatchBreakpoint& rhs);
//};
/***************************************************************************/
@@ -261,7 +261,7 @@ private:
//public:
// ExitBreakpoint(bool temporary=false, bool enabled=true);
// virtual ~ExitBreakpoint();
-// virtual QString dbgSetCommand() const;
+// virtual TQString dbgSetCommand() const;
// bool match(const Breakpoint* brkpt) const;
// virtual void configureDisplay();
//};
@@ -271,9 +271,9 @@ private:
class Watchpoint : public Breakpoint
{
public:
- Watchpoint(const QString &varName, bool temporary=false, bool enabled=true);
+ Watchpoint(const TQString &varName, bool temporary=false, bool enabled=true);
virtual ~Watchpoint();
- virtual QString dbgSetCommand(GDBController *) const;
+ virtual TQString dbgSetCommand(GDBController *) const;
void applicationExited(GDBController*);
void removedInGdb();
@@ -281,31 +281,31 @@ public:
bool match_data(const Breakpoint *brkpt) const;
BP_TYPES type () const { return BP_TYPE_Watchpoint; }
- QString displayType() const { return i18n("Watchpoint"); }
- void setVarName(const QString& varName) { varName_ = varName; }
- QString varName() const { return varName_; }
+ TQString displayType() const { return i18n("Watchpoint"); }
+ void setVarName(const TQString& varName) { varName_ = varName; }
+ TQString varName() const { return varName_; }
unsigned long long address() const { return address_; }
- QString location(bool) const { return varName_; }
- void setLocation(const QString& location) { varName_ = location; }
+ TQString location(bool) const { return varName_; }
+ void setLocation(const TQString& location) { varName_ = location; }
bool isValid() const { return !varName_.isEmpty(); }
private:
void setBreakpoint(GDBController* controller);
void handleAddressComputed(const GDBMI::ResultRecord&);
- QString varName_;
+ TQString varName_;
unsigned long long address_;
};
class ReadWatchpoint : public Watchpoint
{
public:
- ReadWatchpoint(const QString &varName, bool temporary=false, bool enabled=true);
- virtual QString dbgSetCommand(GDBController *) const;
+ ReadWatchpoint(const TQString &varName, bool temporary=false, bool enabled=true);
+ virtual TQString dbgSetCommand(GDBController *) const;
bool match_data(const Breakpoint *brkpt) const;
BP_TYPES type () const { return BP_TYPE_ReadWatchpoint; }
- QString displayType() const { return i18n("Read Watchpoint"); }
+ TQString displayType() const { return i18n("Read Watchpoint"); }
};
}