projects
/
quassel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Refactoring: Pull Up Duplicate Code
[quassel.git]
/
src
/
uisupport
/
bufferview.h
diff --git
a/src/uisupport/bufferview.h
b/src/uisupport/bufferview.h
index
1c0c52e
..
ce45c5b
100644
(file)
--- a/
src/uisupport/bufferview.h
+++ b/
src/uisupport/bufferview.h
@@
-1,5
+1,5
@@
/***************************************************************************
/***************************************************************************
- * Copyright (C) 2005-201
4
by the Quassel Project *
+ * Copyright (C) 2005-201
5
by the Quassel Project *
* devel@quassel-irc.org *
* *
* This program is free software; you can redistribute it and/or modify *
* devel@quassel-irc.org *
* *
* This program is free software; you can redistribute it and/or modify *
@@
-33,11
+33,12
@@
#include "bufferviewconfig.h"
#include "networkmodel.h"
#include "types.h"
#include "bufferviewconfig.h"
#include "networkmodel.h"
#include "types.h"
+#include "treeviewtouch.h"
/*****************************************
* The TreeView showing the Buffers
*****************************************/
/*****************************************
* The TreeView showing the Buffers
*****************************************/
-class BufferView : public
QTreeView
+class BufferView : public
TreeViewTouch
{
Q_OBJECT
{
Q_OBJECT
@@
-52,7
+53,6
@@
public:
void setModel(QAbstractItemModel *model);
void setFilteredModel(QAbstractItemModel *model, BufferViewConfig *config);
void setModel(QAbstractItemModel *model);
void setFilteredModel(QAbstractItemModel *model, BufferViewConfig *config);
- virtual void setSelectionModel(QItemSelectionModel *selectionModel);
void setConfig(BufferViewConfig *config);
inline BufferViewConfig *config() { return _config; }
void setConfig(BufferViewConfig *config);
inline BufferViewConfig *config() { return _config; }