diff options
Diffstat (limited to 'languages/ruby/debugger/variablewidget.h')
-rw-r--r-- | languages/ruby/debugger/variablewidget.h | 30 |
1 files changed, 16 insertions, 14 deletions
diff --git a/languages/ruby/debugger/variablewidget.h b/languages/ruby/debugger/variablewidget.h index 4104ae93..830acf64 100644 --- a/languages/ruby/debugger/variablewidget.h +++ b/languages/ruby/debugger/variablewidget.h @@ -60,12 +60,13 @@ enum DataType { STRING_TYPE }; -class VariableWidget : public QWidget +class VariableWidget : public TQWidget { Q_OBJECT + TQ_OBJECT public: - VariableWidget( TQWidget *parent=0, const char *name=0 ); + VariableWidget( TQWidget *tqparent=0, const char *name=0 ); VariableTree *varTree() const { return varTree_; } @@ -91,14 +92,15 @@ private: /***************************************************************************/ /***************************************************************************/ -class VariableTree : public KListView, public QToolTip +class VariableTree : public KListView, public TQToolTip { Q_OBJECT + TQ_OBJECT //we need this to be able to emit expandItem() from within LazyFetchItem friend class LazyFetchItem; public: - VariableTree( VariableWidget *parent, const char *name=0 ); + VariableTree( VariableWidget *tqparent, const char *name=0 ); virtual ~VariableTree(); // Clear everything but the Watch frame @@ -170,8 +172,8 @@ private: class LazyFetchItem : public KListViewItem { public: - LazyFetchItem(VariableTree *parent); - LazyFetchItem(LazyFetchItem *parent); + LazyFetchItem(VariableTree *tqparent); + LazyFetchItem(LazyFetchItem *tqparent); virtual ~LazyFetchItem(); @@ -204,7 +206,7 @@ private: class VarItem : public LazyFetchItem { public: - VarItem( LazyFetchItem *parent, const TQString &varName, DataType dataType ); + VarItem( LazyFetchItem *tqparent, const TQString &varName, DataType dataType ); virtual ~VarItem(); @@ -247,7 +249,7 @@ private: class WatchVarItem : public VarItem { public: - WatchVarItem( LazyFetchItem *parent, const TQString &varName, DataType dataType, int displayId = -1); + WatchVarItem( LazyFetchItem *tqparent, const TQString &varName, DataType dataType, int displayId = -1); virtual ~WatchVarItem(); @@ -268,13 +270,13 @@ private: class VarFrameRoot : public LazyFetchItem { public: - VarFrameRoot(VariableTree *parent, int frame, int thread); + VarFrameRoot(VariableTree *tqparent, int frame, int thread); virtual ~VarFrameRoot(); virtual int rtti() const { return RTTI_VAR_FRAME_ROOT; } virtual TQString key(int column, bool /*ascending*/) const { - return TQString("%1%2").arg(RTTI_VAR_FRAME_ROOT).arg(text(column)); + return TQString("%1%2").tqarg(RTTI_VAR_FRAME_ROOT).tqarg(text(column)); } void addLocals(char *variables); @@ -303,13 +305,13 @@ private: class WatchRoot : public LazyFetchItem { public: - WatchRoot(VariableTree * parent); + WatchRoot(VariableTree * tqparent); virtual ~WatchRoot(); virtual int rtti() const { return RTTI_WATCH_ROOT; } virtual TQString key(int column, bool /*ascending*/) const { - return TQString("%1%2").arg(RTTI_WATCH_ROOT).arg(text(column)); + return TQString("%1%2").tqarg(RTTI_WATCH_ROOT).tqarg(text(column)); } void setWatchExpression(char * buf, char * expr); @@ -326,13 +328,13 @@ public: class GlobalRoot : public LazyFetchItem { public: - GlobalRoot(VariableTree * parent); + GlobalRoot(VariableTree * tqparent); virtual ~GlobalRoot(); virtual int rtti() const { return RTTI_GLOBAL_ROOT; } virtual TQString key(int column, bool /*ascending*/) const { - return TQString("%1%2").arg(RTTI_GLOBAL_ROOT).arg(text(column)); + return TQString("%1%2").tqarg(RTTI_GLOBAL_ROOT).tqarg(text(column)); } void setOpen(bool open); |