summaryrefslogtreecommitdiffstats
path: root/languages/ruby/debugger/breakpoint.h
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:56:07 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:56:07 +0000
commitd6f8bbb45b267065a6907e71ff9c98bb6d161241 (patch)
treed109539636691d7b03036ca1c0ed29dbae6577cf /languages/ruby/debugger/breakpoint.h
parent3331a47a9cad24795c7440ee8107143ce444ef34 (diff)
downloadtdevelop-d6f8bbb45b267065a6907e71ff9c98bb6d161241.tar.gz
tdevelop-d6f8bbb45b267065a6907e71ff9c98bb6d161241.zip
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdevelop@1157658 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'languages/ruby/debugger/breakpoint.h')
-rw-r--r--languages/ruby/debugger/breakpoint.h82
1 files changed, 41 insertions, 41 deletions
diff --git a/languages/ruby/debugger/breakpoint.h b/languages/ruby/debugger/breakpoint.h
index e45e3856..91f1c8db 100644
--- a/languages/ruby/debugger/breakpoint.h
+++ b/languages/ruby/debugger/breakpoint.h
@@ -24,7 +24,7 @@
#include <klocale.h>
-#include <qstring.h>
+#include <tqstring.h>
/***************************************************************************/
/***************************************************************************/
@@ -48,8 +48,8 @@ public:
Breakpoint(bool temporary=false, bool enabled=true);
virtual ~Breakpoint();
- virtual QString dbgSetCommand() const = 0;
- virtual QString dbgRemoveCommand() const;
+ virtual TQString dbgSetCommand() const = 0;
+ virtual TQString dbgRemoveCommand() const;
virtual bool match(const Breakpoint* brkpt) const = 0;
virtual void reset();
@@ -84,12 +84,12 @@ public:
void setDbgId(int dbgId) { dbgId_ = dbgId; }
int dbgId() const { return dbgId_; }
- 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" ); }
- virtual QString location(bool compact=true) = 0;
- virtual void setLocation(const QString& ) = 0;
+ virtual TQString location(bool compact=true) = 0;
+ virtual void setLocation(const TQString& ) = 0;
virtual bool isValid() const = 0;
private:
@@ -109,8 +109,8 @@ private:
int active_; // counter incremented on receipt of all BP's
int ignoreCount_;
- QString condition_;
-// QString type_;
+ TQString condition_;
+// TQString type_;
};
/***************************************************************************/
@@ -119,24 +119,24 @@ private:
class FilePosBreakpoint : public Breakpoint
{
public:
- FilePosBreakpoint(const QString &fileName, int lineNum,
+ FilePosBreakpoint(const TQString &fileName, int lineNum,
bool temporary=false, bool enabled=true);
virtual ~FilePosBreakpoint();
- virtual QString dbgSetCommand() const;
+ virtual TQString dbgSetCommand() const;
virtual bool match(const Breakpoint *brkpt) const;
BP_TYPES type () const { return BP_TYPE_FilePos; }
- QString displayType() const { return i18n( "File:line" ); }
- void setFileName(const QString& fileName) { fileName_ = fileName; }
- QString fileName() const { return fileName_; }
+ TQString displayType() const { return i18n( "File:line" ); }
+ void setFileName(const TQString& fileName) { fileName_ = fileName; }
+ TQString fileName() const { return fileName_; }
void setLineNum(int lineNum) { lineNo_ = lineNum; }
int lineNum() const { return lineNo_; }
- QString location(bool compact=true);
- void setLocation(const QString& location);
+ TQString location(bool compact=true);
+ void setLocation(const TQString& location);
bool isValid() const { return lineNo_>0 && !fileName_.isEmpty(); }
private:
- QString fileName_;
+ TQString fileName_;
int lineNo_;
};
@@ -146,21 +146,21 @@ 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() const;
+ virtual TQString dbgSetCommand() const;
bool match(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_; }
- QString location(bool) { return varName_; }
- void setLocation(const QString& location) { varName_ = location; }
+ TQString displayType() const { return i18n("Watchpoint"); }
+ void setVarName(const TQString& varName) { varName_ = varName; }
+ TQString varName() const { return varName_; }
+ TQString location(bool) { return varName_; }
+ void setLocation(const TQString& location) { varName_ = location; }
bool isValid() const { return !varName_.isEmpty(); }
private:
- QString varName_;
+ TQString varName_;
};
/***************************************************************************/
@@ -169,21 +169,21 @@ private:
class Catchpoint : public Breakpoint
{
public:
- Catchpoint(const QString &varName, bool temporary=false, bool enabled=true);
+ Catchpoint(const TQString &varName, bool temporary=false, bool enabled=true);
virtual ~Catchpoint();
- virtual QString dbgSetCommand() const;
+ virtual TQString dbgSetCommand() const;
bool match(const Breakpoint *brkpt) const;
BP_TYPES type () const { return BP_TYPE_Catchpoint; }
- QString displayType() const { return i18n("Catchpoint"); }
- void setVarName(const QString& varName) { varName_ = varName; }
- QString varName() const { return varName_; }
- QString location(bool) { return varName_; }
- void setLocation(const QString& location) { varName_ = location; }
+ TQString displayType() const { return i18n("Catchpoint"); }
+ void setVarName(const TQString& varName) { varName_ = varName; }
+ TQString varName() const { return varName_; }
+ TQString location(bool) { return varName_; }
+ void setLocation(const TQString& location) { varName_ = location; }
bool isValid() const { return !varName_.isEmpty(); }
private:
- QString varName_;
+ TQString varName_;
};
/***************************************************************************/
@@ -192,21 +192,21 @@ private:
class FunctionBreakpoint : public Breakpoint
{
public:
- FunctionBreakpoint(const QString &functionName, bool temporary=false, bool enabled=true);
+ FunctionBreakpoint(const TQString &functionName, bool temporary=false, bool enabled=true);
virtual ~FunctionBreakpoint();
- virtual QString dbgSetCommand() const;
+ virtual TQString dbgSetCommand() const;
bool match(const Breakpoint *brkpt) const;
BP_TYPES type () const { return BP_TYPE_Function; }
- QString displayType() const { return i18n("Method()"); }
- void setfunctionName(const QString& functionName) { m_functionName = functionName; }
- QString functionName() const { return m_functionName; }
- QString location(bool) { return m_functionName; };
- void setLocation(const QString& location) { m_functionName = location; }
+ TQString displayType() const { return i18n("Method()"); }
+ void setfunctionName(const TQString& functionName) { m_functionName = functionName; }
+ TQString functionName() const { return m_functionName; }
+ TQString location(bool) { return m_functionName; };
+ void setLocation(const TQString& location) { m_functionName = location; }
bool isValid() const { return !m_functionName.isEmpty(); }
private:
- QString m_functionName;
+ TQString m_functionName;
};
}