summaryrefslogtreecommitdiffstats
path: root/languages/cpp/debugger/framestackwidget.h
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-06-14 16:45:05 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-06-14 16:45:05 +0000
commit48d4a26399959121f33d2bc3bfe51c7827b654fc (patch)
tree5ae5e6e00d3ba330b7b8be9bc097154b6bc739e8 /languages/cpp/debugger/framestackwidget.h
parent7e701ace6592d09e1f2c0cf28c7d6d872d78f4f5 (diff)
downloadtdevelop-48d4a26399959121f33d2bc3bfe51c7827b654fc.tar.gz
tdevelop-48d4a26399959121f33d2bc3bfe51c7827b654fc.zip
TQt4 port kdevelop
This enables compilation under both Qt3 and Qt4 git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdevelop@1236710 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'languages/cpp/debugger/framestackwidget.h')
-rw-r--r--languages/cpp/debugger/framestackwidget.h19
1 files changed, 8 insertions, 11 deletions
diff --git a/languages/cpp/debugger/framestackwidget.h b/languages/cpp/debugger/framestackwidget.h
index 656d2cdb..5d0b98e7 100644
--- a/languages/cpp/debugger/framestackwidget.h
+++ b/languages/cpp/debugger/framestackwidget.h
@@ -30,10 +30,10 @@ namespace GDBDebugger
class FramestackWidget;
-class ThreadStackItem : public QListViewItem
+class ThreadStackItem : public TQListViewItem
{
public:
- ThreadStackItem(FramestackWidget *parent,
+ ThreadStackItem(FramestackWidget *tqparent,
unsigned threadNo);
virtual ~ThreadStackItem();
@@ -56,13 +56,13 @@ private:
/***************************************************************************/
/***************************************************************************/
-class FrameStackItem : public QListViewItem
+class FrameStackItem : public TQListViewItem
{
public:
- FrameStackItem(FramestackWidget *parent,
+ FrameStackItem(FramestackWidget *tqparent,
unsigned frameNo,
const TQString &name);
- FrameStackItem(ThreadStackItem *parent,
+ FrameStackItem(ThreadStackItem *tqparent,
unsigned frameNo,
const TQString &name);
virtual ~FrameStackItem();
@@ -88,13 +88,14 @@ private:
/**
* @author John Birch
*/
-class FramestackWidget : public QListView
+class FramestackWidget : public TQListView
{
Q_OBJECT
+ TQ_OBJECT
public:
FramestackWidget( GDBController* controller,
- TQWidget *parent=0,
+ TQWidget *tqparent=0,
const char *name=0, WFlags f=0 );
virtual ~FramestackWidget();
@@ -150,10 +151,6 @@ public slots:
void slotEvent(GDBController::event_t e);
void slotSelectionChanged(TQListViewItem *thisItem);
-#if QT_VERSION < 300
-private:
- TQListViewItem* findItemWhichBeginsWith(const TQString& text) const;
-#endif
virtual void showEvent(TQShowEvent*);
private: