- void setModel(QAbstractItemModel *model);
- void init();
- void showContextMenu(const QPoint & pos);
- void startQuery(const QModelIndex & modelIndex);
-
-private:
- QSize _sizeHint;
-
- void updateSizeHint();
- BufferInfo bufferInfoFromModelIndex(const QModelIndex & index);
- QString nickFromModelIndex(const QModelIndex & index);
- void executeCommand(const BufferInfo & bufferInfo, const QString & command);
-
-};
+ void setModel(QAbstractItemModel *model) override;
+ void setRootIndex(const QModelIndex &index) override;
+ void init();
+ void showContextMenu(const QPoint &pos);
+ void startQuery(const QModelIndex &modelIndex);