aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/debugger/stackwindow.h
diff options
context:
space:
mode:
authorhjk <qtc-committer@nokia.com>2011-09-30 12:28:55 +0200
committerhjk <qthjk@ovi.com>2011-09-30 12:31:29 +0200
commit2e9fd40d866c49018157b7654e08eb92ddea0ec0 (patch)
treec4bc6797fb6fcf3a40bcfcc466d93c7bb28084c7 /src/plugins/debugger/stackwindow.h
parent1b5e10e1b66961f6bf07fe4d1a24ccc540447f39 (diff)
debugger: use common baseclass for all dock treeviews
Reduces amount of boilerplate code. Change-Id: I048d901b4b80860df05f09b48650ea58b83fbc66 Reviewed-on: http://codereview.qt-project.org/5864 Reviewed-by: hjk <qthjk@ovi.com>
Diffstat (limited to 'src/plugins/debugger/stackwindow.h')
-rw-r--r--src/plugins/debugger/stackwindow.h11
1 files changed, 3 insertions, 8 deletions
diff --git a/src/plugins/debugger/stackwindow.h b/src/plugins/debugger/stackwindow.h
index 49989c18b4..cd4d53268c 100644
--- a/src/plugins/debugger/stackwindow.h
+++ b/src/plugins/debugger/stackwindow.h
@@ -33,29 +33,24 @@
#ifndef DEBUGGER_STACKWINDOW_H
#define DEBUGGER_STACKWINDOW_H
-#include <QtGui/QTreeView>
+#include "basewindow.h"
namespace Debugger {
namespace Internal {
-class StackWindow : public QTreeView
+class StackWindow : public BaseWindow
{
Q_OBJECT
public:
explicit StackWindow(QWidget *parent = 0);
-public slots:
- void resizeColumnsToContents();
- void setAlwaysResizeColumnsToContents(bool on);
-
private slots:
- void rowActivated(const QModelIndex &index);
- void setAlternatingRowColorsHelper(bool on) { setAlternatingRowColors(on); }
void showAddressColumn(bool on);
void reloadFullStack();
private:
+ void rowActivated(const QModelIndex &index);
void setModel(QAbstractItemModel *model);
void contextMenuEvent(QContextMenuEvent *ev);
void copyContentsToClipboard();