projects
/
quassel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
This hopefully fixes the occasional segfault when exiting the core.
[quassel.git]
/
src
/
uisupport
/
nickview.h
diff --git
a/src/uisupport/nickview.h
b/src/uisupport/nickview.h
index
70206cb
..
4f7a174
100644
(file)
--- a/
src/uisupport/nickview.h
+++ b/
src/uisupport/nickview.h
@@
-21,8
+21,13
@@
#ifndef _NICKVIEW_H_
#define _NICKVIEW_H_
#ifndef _NICKVIEW_H_
#define _NICKVIEW_H_
+
#include <QTreeView>
#include <QTreeView>
+#include "types.h"
+#include "bufferinfo.h"
+
+
class NickModel;
class FilteredNickModel;
class QSortFilterProxyModel;
class NickModel;
class FilteredNickModel;
class QSortFilterProxyModel;
@@
-37,12
+42,12
@@
class NickView : public QTreeView {
protected:
void rowsInserted(const QModelIndex &, int, int);
protected:
void rowsInserted(const QModelIndex &, int, int);
-// public slots:
-// void setModel(NickModel *model);
-
-// private:
-// QSortFilterProxyModel *filteredModel;
+ public slots:
+ void setModel(QAbstractItemModel *model);
+ void init();
+ void showContextMenu(const QPoint & pos );
};
};
+
#endif
#endif