aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/debugger/watchwindow.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugins/debugger/watchwindow.h')
-rw-r--r--src/plugins/debugger/watchwindow.h9
1 files changed, 3 insertions, 6 deletions
diff --git a/src/plugins/debugger/watchwindow.h b/src/plugins/debugger/watchwindow.h
index 3e97372547a..8edb083a0ef 100644
--- a/src/plugins/debugger/watchwindow.h
+++ b/src/plugins/debugger/watchwindow.h
@@ -33,7 +33,7 @@
#ifndef DEBUGGER_WATCHWINDOW_H
#define DEBUGGER_WATCHWINDOW_H
-#include <QtGui/QTreeView>
+#include "basewindow.h"
namespace Debugger {
namespace Internal {
@@ -44,7 +44,7 @@ namespace Internal {
//
/////////////////////////////////////////////////////////////////////
-class WatchWindow : public QTreeView
+class WatchWindow : public BaseWindow
{
Q_OBJECT
@@ -55,9 +55,6 @@ public:
Type type() const { return m_type; }
public slots:
- void resizeColumnsToContents();
- void setModel(QAbstractItemModel *model);
- void setAlternatingRowColorsHelper(bool on) { setAlternatingRowColors(on); }
void watchExpression(const QString &exp);
void removeWatchExpression(const QString &exp);
@@ -66,8 +63,8 @@ private:
Q_SLOT void expandNode(const QModelIndex &idx);
Q_SLOT void collapseNode(const QModelIndex &idx);
Q_SLOT void setUpdatesEnabled(bool enable);
- Q_SLOT void setAlwaysResizeColumnsToContents(bool on);
+ void setModel(QAbstractItemModel *model);
void keyPressEvent(QKeyEvent *ev);
void contextMenuEvent(QContextMenuEvent *ev);
void dragEnterEvent(QDragEnterEvent *ev);