Commit 3d0d8852 authored by Laurent Montel's avatar Laurent Montel 😁

Allow to define description

parent 7444e1ea
......@@ -53,3 +53,8 @@ int PluginEditor::order() const
{
return d->order;
}
QString PluginEditor::description() const
{
return {};
}
......@@ -37,6 +37,8 @@ public:
virtual PluginEditorInterface *createInterface(KActionCollection *ac, QObject *parent = Q_NULLPTR) = 0;
int order() const;
virtual QString description() const;
private:
PluginEditorPrivate *const d;
};
......
......@@ -57,3 +57,8 @@ void PluginEditorCheckBeforeSend::emitConfigChanged()
{
Q_EMIT configChanged();
}
QString PluginEditorCheckBeforeSend::description() const
{
return {};
}
......@@ -61,6 +61,8 @@ public:
void emitConfigChanged();
virtual QString description() const;
Q_SIGNALS:
void configChanged();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment