diff options
| -rw-r--r-- | src/pluginlistview.h | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/src/pluginlistview.h b/src/pluginlistview.h index 6470ced9..ed6458da 100644 --- a/src/pluginlistview.h +++ b/src/pluginlistview.h @@ -30,15 +30,6 @@ public: // void updatePluginCount(); - // TODO: Move these to private when possible. - // map from/to the view indexes to the model - // - QModelIndex indexModelToView(const QModelIndex& index) const; - QModelIndexList indexModelToView(const QModelIndexList& index) const; - QModelIndex indexViewToModel(const QModelIndex& index) const; - QModelIndexList indexViewToModel(const QModelIndexList& index) const; - - protected slots: void onCustomContextMenuRequested(const QPoint& pos); @@ -49,6 +40,15 @@ protected slots: protected: + friend class PluginListContextMenu; + + // map from/to the view indexes to the model + // + QModelIndex indexModelToView(const QModelIndex& index) const; + QModelIndexList indexModelToView(const QModelIndexList& index) const; + QModelIndex indexViewToModel(const QModelIndex& index) const; + QModelIndexList indexViewToModel(const QModelIndexList& index) const; + // method to react to various key events // bool moveSelection(int key); |
