X-Git-Url: https://git.quassel-irc.org/?p=quassel.git;a=blobdiff_plain;f=src%2Fuisupport%2Fnickview.h;h=4f7a17428cc0b19e683059cd04f26b6997f07d84;hp=df8321dcc15404c7e5e0802f1d98d88264163afa;hb=4980c92e1b3712824affe519e52e6696d68068ba;hpb=d5b27b7809e49a426adac9e5d9a8f8ad4f85eb74 diff --git a/src/uisupport/nickview.h b/src/uisupport/nickview.h index df8321dc..4f7a1742 100644 --- a/src/uisupport/nickview.h +++ b/src/uisupport/nickview.h @@ -21,8 +21,13 @@ #ifndef _NICKVIEW_H_ #define _NICKVIEW_H_ + #include +#include "types.h" +#include "bufferinfo.h" + + class NickModel; class FilteredNickModel; class QSortFilterProxyModel; @@ -30,17 +35,19 @@ class QSortFilterProxyModel; class NickView : public QTreeView { Q_OBJECT -public: - NickView(QWidget *parent = 0); - virtual ~NickView(); - -protected: - void rowsInserted(const QModelIndex &, int, int); - -public slots: - void setModel(QAbstractItemModel *model); - void init(); + public: + NickView(QWidget *parent = 0); + virtual ~NickView(); + + protected: + void rowsInserted(const QModelIndex &, int, int); + + public slots: + void setModel(QAbstractItemModel *model); + void init(); + void showContextMenu(const QPoint & pos ); }; + #endif