Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
PIM
KDE PIM Add-ons
Commits
2f0a94d9
Commit
2f0a94d9
authored
Aug 23, 2022
by
Laurent Montel
Browse files
Show dialogbox
parent
113e65fc
Pipeline
#221555
passed with stage
in 16 minutes and 49 seconds
Changes
3
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
CMakeLists.txt
View file @
2f0a94d9
...
...
@@ -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.4
0
"
)
set
(
PIMCOMMON_LIB_VERSION
"5.21.4
3
"
)
set
(
GRANTLEETHEME_LIB_VERSION
"5.21.40"
)
set
(
CALENDARSUPPORT_LIB_VERSION
"5.21.40"
)
set
(
EVENTVIEW_LIB_VERSION
"5.21.40"
)
...
...
plugins/customtoolsplugins/translatorplugin/translatorplugin.cpp
View file @
2f0a94d9
...
...
@@ -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"
plugins/messageviewerplugins/common/translatorplugin/viewerplugintranslator.cpp
View file @
2f0a94d9
...
...
@@ -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
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment