Changeset View
Changeset View
Standalone View
Standalone View
tests/testplugincontroller.cpp
Show First 20 Lines • Show All 69 Lines • ▼ Show 20 Line(s) | 68 | { | |||
---|---|---|---|---|---|
70 | return nullptr; | 70 | return nullptr; | ||
71 | } | 71 | } | ||
72 | 72 | | |||
73 | KPluginMetaData TestPluginController::pluginInfo(const IPlugin*) const | 73 | KPluginMetaData TestPluginController::pluginInfo(const IPlugin*) const | ||
74 | { | 74 | { | ||
75 | return KPluginMetaData(); | 75 | return KPluginMetaData(); | ||
76 | } | 76 | } | ||
77 | 77 | | |||
78 | QList< ContextMenuExtension > TestPluginController::queryPluginsForContextMenuExtensions(Context* context) const | 78 | QList< ContextMenuExtension > TestPluginController::queryPluginsForContextMenuExtensions(Context* context, QWidget* parent) const | ||
79 | { | 79 | { | ||
80 | Q_UNUSED(context); | 80 | Q_UNUSED(context); | ||
81 | Q_UNUSED(parent); | ||||
81 | return QList< ContextMenuExtension >(); | 82 | return QList< ContextMenuExtension >(); | ||
82 | } | 83 | } | ||
83 | 84 | | |||
84 | bool TestPluginController::unloadPlugin(const QString& plugin) | 85 | bool TestPluginController::unloadPlugin(const QString& plugin) | ||
85 | { | 86 | { | ||
86 | Q_UNUSED(plugin); | 87 | Q_UNUSED(plugin); | ||
87 | return false; | 88 | return false; | ||
88 | } | 89 | } |