34 #ifndef CTKPLUGINTABLEMODEL_H
35 #define CTKPLUGINTABLEMODEL_H
37 #include "cxGuiExport.h"
39 #include <QAbstractTableModel>
43 #include <ctkPlugin.h>
44 #include <ctkPluginEvent.h>
47 class ctkPluginContext;
61 QVariant data(
const QModelIndex& index,
int role = Qt::DisplayRole)
const;
63 QVariant headerData(
int section, Qt::Orientation orientation,
int role = Qt::DisplayRole)
const;
65 int columnCount(
const QModelIndex& parent = QModelIndex())
const;
66 int rowCount(
const QModelIndex& parent = QModelIndex())
const;
70 void pluginChanged(
const ctkPluginEvent& event);
74 std::map<QString, ctkPluginPtr> mPlugins;
80 #endif // CTKPLUGINTABLEMODEL_H