summaryrefslogtreecommitdiffstats
path: root/languages/ruby/debugger/variablewidget.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/variablewidget.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/variablewidget.h')
-rw-r--r--languages/ruby/debugger/variablewidget.h78
1 files changed, 39 insertions, 39 deletions
diff --git a/languages/ruby/debugger/variablewidget.h b/languages/ruby/debugger/variablewidget.h
index c608ec45..4104ae93 100644
--- a/languages/ruby/debugger/variablewidget.h
+++ b/languages/ruby/debugger/variablewidget.h
@@ -26,8 +26,8 @@
#include <klistview.h>
#include <kcombobox.h>
-#include <qwidget.h>
-#include <qtooltip.h>
+#include <tqwidget.h>
+#include <tqtooltip.h>
#include <kdebug.h>
class KLineEdit;
@@ -65,22 +65,22 @@ class VariableWidget : public QWidget
Q_OBJECT
public:
- VariableWidget( QWidget *parent=0, const char *name=0 );
+ VariableWidget( TQWidget *parent=0, const char *name=0 );
VariableTree *varTree() const
{ return varTree_; }
virtual void setEnabled(bool b);
- void restorePartialProjectSession(const QDomElement* el);
- void savePartialProjectSession(QDomElement* el);
+ void restorePartialProjectSession(const TQDomElement* el);
+ void savePartialProjectSession(TQDomElement* el);
protected:
- virtual void focusInEvent(QFocusEvent *e);
+ virtual void focusInEvent(TQFocusEvent *e);
public slots:
void slotAddWatchExpression();
- void slotAddWatchExpression(const QString &expr);
+ void slotAddWatchExpression(const TQString &expr);
private:
VariableTree *varTree_;
@@ -129,26 +129,26 @@ public:
// values of the global variables
void setFetchGlobals(bool fetch);
- // (from QToolTip) Display a tooltip when the cursor is over an item
- virtual void maybeTip(const QPoint &);
+ // (from TQToolTip) Display a tooltip when the cursor is over an item
+ virtual void maybeTip(const TQPoint &);
- virtual void setSelected(QListViewItem * item, bool selected);
+ virtual void setSelected(TQListViewItem * item, bool selected);
signals:
- void toggleWatchpoint(const QString &varName);
+ void toggleWatchpoint(const TQString &varName);
void selectFrame(int frame, int thread);
- void expandItem(VarItem *item, const QCString &request);
+ void expandItem(VarItem *item, const TQCString &request);
void fetchGlobals(bool fetch);
- void addWatchExpression(const QString& expr, bool execute);
+ void addWatchExpression(const TQString& expr, bool execute);
void removeWatchExpression(int displayId);
public slots:
- void slotAddWatchExpression(const QString& watchVar);
- void slotFrameActive(int frameNo, int threadNo, const QString& frameName);
- void slotPressed(QListViewItem * item);
+ void slotAddWatchExpression(const TQString& watchVar);
+ void slotFrameActive(int frameNo, int threadNo, const TQString& frameName);
+ void slotPressed(TQListViewItem * item);
private slots:
- void slotContextMenu(KListView *, QListViewItem *item);
+ void slotContextMenu(KListView *, TQListViewItem *item);
private:
int activationId_;
@@ -178,7 +178,7 @@ public:
virtual int rtti() const { return RTTI_LAZY_FETCH_ITEM; }
virtual void prune();
- virtual VarItem *findItem(const QString& name) const;
+ virtual VarItem *findItem(const TQString& name) const;
int currentActivationId() const { return ((VariableTree*) listView())->activationId(); }
virtual void setActivationId() { activationId_ = currentActivationId(); }
@@ -189,7 +189,7 @@ public:
bool isWaitingForData() const { return waitingForData_; }
protected:
- void paintCell( QPainter *p, const QColorGroup &cg,
+ void paintCell( TQPainter *p, const TQColorGroup &cg,
int column, int width, int align );
private:
@@ -204,23 +204,23 @@ private:
class VarItem : public LazyFetchItem
{
public:
- VarItem( LazyFetchItem *parent, const QString &varName, DataType dataType );
+ VarItem( LazyFetchItem *parent, const TQString &varName, DataType dataType );
virtual ~VarItem();
virtual int rtti() const { return RTTI_VAR_ITEM; }
- virtual QString key(int column, bool ascending) const;
+ virtual TQString key(int column, bool ascending) const;
- QString fullName() const;
+ TQString fullName() const;
DataType dataType() const;
void setDataType(DataType dataType);
void setOpen(bool open);
- void setText (int column, const QString& text);
+ void setText (int column, const TQString& text);
// Returns the text to be displayed as tooltip (the value)
- QString tipText() const;
+ TQString tipText() const;
// If the item is open, fetch details via a pp command
void update();
@@ -230,12 +230,12 @@ public:
void expandValue(char *data);
private:
- void paintCell( QPainter *p, const QColorGroup &cg,
+ void paintCell( TQPainter *p, const TQColorGroup &cg,
int column, int width, int align );
private:
- QString key_;
- QCString cache_;
+ TQString key_;
+ TQCString cache_;
DataType dataType_;
bool highlight_;
};
@@ -247,7 +247,7 @@ private:
class WatchVarItem : public VarItem
{
public:
- WatchVarItem( LazyFetchItem *parent, const QString &varName, DataType dataType, int displayId = -1);
+ WatchVarItem( LazyFetchItem *parent, const TQString &varName, DataType dataType, int displayId = -1);
virtual ~WatchVarItem();
@@ -273,15 +273,15 @@ public:
virtual int rtti() const { return RTTI_VAR_FRAME_ROOT; }
- virtual QString key(int column, bool /*ascending*/) const {
- return QString("%1%2").arg(RTTI_VAR_FRAME_ROOT).arg(text(column));
+ virtual TQString key(int column, bool /*ascending*/) const {
+ return TQString("%1%2").arg(RTTI_VAR_FRAME_ROOT).arg(text(column));
}
void addLocals(char *variables);
void setLocals();
void setOpen(bool open);
- void setFrameName(const QString &frameName);
+ void setFrameName(const TQString &frameName);
virtual void setActivationId();
bool needsVariables() const;
@@ -293,7 +293,7 @@ private:
bool needsVariables_;
int frameNo_;
int threadNo_;
- QCString cache_;
+ TQCString cache_;
};
/***************************************************************************/
@@ -308,15 +308,15 @@ public:
virtual int rtti() const { return RTTI_WATCH_ROOT; }
- virtual QString key(int column, bool /*ascending*/) const {
- return QString("%1%2").arg(RTTI_WATCH_ROOT).arg(text(column));
+ virtual TQString key(int column, bool /*ascending*/) const {
+ return TQString("%1%2").arg(RTTI_WATCH_ROOT).arg(text(column));
}
void setWatchExpression(char * buf, char * expr);
- void updateWatchExpression(int id, const QString& expr);
+ void updateWatchExpression(int id, const TQString& expr);
- void restorePartialProjectSession(const QDomElement* el);
- void savePartialProjectSession(QDomElement* el);
+ void restorePartialProjectSession(const TQDomElement* el);
+ void savePartialProjectSession(TQDomElement* el);
};
/***************************************************************************/
@@ -331,8 +331,8 @@ public:
virtual int rtti() const { return RTTI_GLOBAL_ROOT; }
- virtual QString key(int column, bool /*ascending*/) const {
- return QString("%1%2").arg(RTTI_GLOBAL_ROOT).arg(text(column));
+ virtual TQString key(int column, bool /*ascending*/) const {
+ return TQString("%1%2").arg(RTTI_GLOBAL_ROOT).arg(text(column));
}
void setOpen(bool open);