+ void showContextMenu(const QPoint & pos);
+ void startQuery(const QModelIndex & modelIndex);
+
+private slots:
+ void setCustomFont(const QVariant &);
+
+signals:
+ void selectionUpdated();
+
+private:
+ friend class NickListWidget; // needs selectedIndexes()
+};
+
+// ******************************
+// NickViewDelgate
+// ******************************
+#include <QStyledItemDelegate>
+
+class NickViewDelegate : public QStyledItemDelegate {
+ Q_OBJECT
+
+public:
+ NickViewDelegate(QObject *parent = 0);
+
+protected:
+ virtual void initStyleOption(QStyleOptionViewItem *option, const QModelIndex &index) const;