Commit 41d67408 authored by Laurent Montel's avatar Laurent Montel
Browse files

Add support for configure dialogbox

parent 7d0faabf
Pipeline #221450 passed with stage
in 17 minutes and 38 seconds
......@@ -28,4 +28,14 @@ QString ViewerPluginTranslator::viewerPluginName() const
return QStringLiteral("translator");
}
void MessageViewer::ViewerPluginTranslator::showConfigureDialog(QWidget *parent)
{
// TODO
}
bool MessageViewer::ViewerPluginTranslator::hasConfigureDialog() const
{
return true;
}
#include "viewerplugintranslator.moc"
......@@ -18,5 +18,8 @@ public:
ViewerPluginInterface *createView(QWidget *parent, KActionCollection *ac) override;
Q_REQUIRED_RESULT QString viewerPluginName() const override;
void showConfigureDialog(QWidget *parent) override;
Q_REQUIRED_RESULT bool hasConfigureDialog() const override;
};
}
Supports Markdown
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