Skip to content
GitLab
Menu
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
95487167
Commit
95487167
authored
Feb 08, 2022
by
Laurent Montel
😁
Browse files
Use KPIM::LineEditCatchReturnKey
parent
3cda34d8
Pipeline
#134701
passed with stage
in 13 minutes and 38 seconds
Changes
3
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
plugins/messageviewerconfigureplugins/openurlwith/CMakeLists.txt
View file @
95487167
...
...
@@ -42,6 +42,7 @@ target_link_libraries(openurlwithconfigure
KF5::I18n
KF5::MessageViewer
KF5::ItemViews
KF5::Libkdepim
)
set_target_properties
(
openurlwithconfigure
...
...
plugins/messageviewerconfigureplugins/openurlwith/autotests/CMakeLists.txt
View file @
95487167
...
...
@@ -5,7 +5,7 @@ macro(add_messageviewer_openwithurl_unittest _source)
ecm_add_test
(
${
_source
}
${
_name
}
.h
TEST_NAME
${
_name
}
NAME_PREFIX
"messageviewer-"
LINK_LIBRARIES KF5::MessageViewer openurlwithconfigure Qt
${
QT_MAJOR_VERSION
}
::Test
LINK_LIBRARIES KF5::MessageViewer
KF5::Libkdepim
openurlwithconfigure Qt
${
QT_MAJOR_VERSION
}
::Test
)
endmacro
()
...
...
plugins/messageviewerconfigureplugins/openurlwith/openurlwithconfigurecreatewidget.cpp
View file @
95487167
...
...
@@ -6,6 +6,7 @@
#include "openurlwithconfigurecreatewidget.h"
#include <KLocalizedString>
#include <Libkdepim/LineEditCatchReturnKey>
#include <QFormLayout>
#include <QLabel>
#include <QLineEdit>
...
...
@@ -22,6 +23,7 @@ OpenUrlWithConfigureCreateWidget::OpenUrlWithConfigureCreateWidget(QWidget *pare
mServerName
->
setObjectName
(
QStringLiteral
(
"mServerName"
));
mainLayout
->
addRow
(
i18n
(
"Server Name:"
),
mServerName
);
KPIM
::
LineEditCatchReturnKey
(
mServerName
,
this
);
auto
formatHelp
=
new
QLabel
(
i18n
(
"<qt><a href=
\"
whatsthis1
\"
>Argument format information...</a></qt>"
),
this
);
formatHelp
->
setObjectName
(
QStringLiteral
(
"formatHelp"
));
...
...
@@ -40,6 +42,7 @@ OpenUrlWithConfigureCreateWidget::OpenUrlWithConfigureCreateWidget(QWidget *pare
mCommand
->
setObjectName
(
QStringLiteral
(
"mCommand"
));
mainLayout
->
addRow
(
i18n
(
"Command:"
),
mCommand
);
KPIM
::
LineEditCatchReturnKey
(
mCommand
,
this
);
}
OpenUrlWithConfigureCreateWidget
::~
OpenUrlWithConfigureCreateWidget
()
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a 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