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
d8812bc0
Commit
d8812bc0
authored
Aug 22, 2022
by
Laurent Montel
Browse files
We need a config dialog here
parent
25c01836
Pipeline
#221078
passed with stage
in 11 minutes and 19 seconds
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
plugins/customtoolsplugins/translatorplugin/translatorplugin.cpp
View file @
d8812bc0
...
...
@@ -33,4 +33,14 @@ QString TranslatorPlugin::customToolName() const
return
i18n
(
"Translator"
);
}
bool
TranslatorPlugin
::
hasConfigureDialog
()
const
{
return
true
;
}
void
TranslatorPlugin
::
showConfigureDialog
(
QWidget
*
parent
)
{
// TODO
}
#include
"translatorplugin.moc"
plugins/customtoolsplugins/translatorplugin/translatorplugin.h
View file @
d8812bc0
...
...
@@ -17,4 +17,6 @@ public:
PimCommon
::
CustomToolsViewInterface
*
createView
(
KActionCollection
*
ac
,
PimCommon
::
CustomToolsWidgetNg
*
parent
)
override
;
Q_REQUIRED_RESULT
QString
customToolName
()
const
override
;
Q_REQUIRED_RESULT
bool
hasConfigureDialog
()
const
;
void
showConfigureDialog
(
QWidget
*
parent
)
override
;
};
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