Commit 2f0a94d9 authored by Laurent Montel's avatar Laurent Montel
Browse files

Show dialogbox

parent 113e65fc
Pipeline #221555 passed with stage
in 16 minutes and 49 seconds
......@@ -73,7 +73,7 @@ find_package(KF5GuiAddons ${KF5_MIN_VERSION} CONFIG REQUIRED)
set(MAILCOMMON_LIB_VERSION "5.21.40")
set(GRAVATAR_LIB_VERSION "5.21.40")
set(PIMCOMMON_LIB_VERSION "5.21.40")
set(PIMCOMMON_LIB_VERSION "5.21.43")
set(GRANTLEETHEME_LIB_VERSION "5.21.40")
set(CALENDARSUPPORT_LIB_VERSION "5.21.40")
set(EVENTVIEW_LIB_VERSION "5.21.40")
......
......@@ -9,6 +9,7 @@
#include <KLocalizedString>
#include <KPluginFactory>
#include <PimCommon/CustomToolsWidgetng>
#include <PimCommon/TranslatorConfigureDialog>
K_PLUGIN_CLASS_WITH_JSON(TranslatorPlugin, "pimcommon_translatorplugin.json")
TranslatorPlugin::TranslatorPlugin(QObject *parent, const QList<QVariant> &)
......@@ -40,7 +41,8 @@ bool TranslatorPlugin::hasConfigureDialog() const
void TranslatorPlugin::showConfigureDialog(QWidget *parent)
{
// TODO
PimCommon::TranslatorConfigureDialog dialog(parent);
dialog.exec();
}
#include "translatorplugin.moc"
......@@ -8,6 +8,7 @@
#include "viewerplugintranslatorinterface.h"
#include <KActionCollection>
#include <KPluginFactory>
#include <PimCommon/TranslatorConfigureDialog>
using namespace MessageViewer;
K_PLUGIN_CLASS_WITH_JSON(ViewerPluginTranslator, "messageviewer_translatorplugin.json")
......@@ -30,7 +31,8 @@ QString ViewerPluginTranslator::viewerPluginName() const
void MessageViewer::ViewerPluginTranslator::showConfigureDialog(QWidget *parent)
{
// TODO
PimCommon::TranslatorConfigureDialog dialog(parent);
dialog.exec();
}
bool MessageViewer::ViewerPluginTranslator::hasConfigureDialog() const
......
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