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
41d67408
Commit
41d67408
authored
Aug 23, 2022
by
Laurent Montel
Browse files
Add support for configure dialogbox
parent
7d0faabf
Pipeline
#221450
passed with stage
in 17 minutes and 38 seconds
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
plugins/messageviewerplugins/common/translatorplugin/viewerplugintranslator.cpp
View file @
41d67408
...
...
@@ -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"
plugins/messageviewerplugins/common/translatorplugin/viewerplugintranslator.h
View file @
41d67408
...
...
@@ -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
;
};
}
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