Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
PIM
KDE PIM Add-ons
Commits
dc43511e
Commit
dc43511e
authored
May 19, 2017
by
Laurent Montel
😁
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Activate regexeditorlineedit build
parent
f8528a31
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
42 additions
and
5 deletions
+42
-5
CMakeLists.txt
CMakeLists.txt
+1
-1
sieveeditor/regexeditorlineedit/CMakeLists.txt
sieveeditor/regexeditorlineedit/CMakeLists.txt
+18
-0
sieveeditor/regexeditorlineedit/regexepeditorlineedit.json
sieveeditor/regexeditorlineedit/regexepeditorlineedit.json
+0
-0
sieveeditor/regexeditorlineedit/regexpeditorlineedit.cpp
sieveeditor/regexeditorlineedit/regexpeditorlineedit.cpp
+18
-3
sieveeditor/regexeditorlineedit/regexpeditorlineedit.h
sieveeditor/regexeditorlineedit/regexpeditorlineedit.h
+5
-1
No files found.
CMakeLists.txt
View file @
dc43511e
...
...
@@ -75,7 +75,7 @@ set(AKONADICALENDAR_LIB_VERSION "5.5.40")
set
(
CALENDAR_UTILS_VERSION
"5.5.40"
)
set
(
KPIMTEXTEDIT_LIB_VERSION
"5.5.40"
)
set
(
KIMAP_LIB_VERSION
"5.5.40"
)
set
(
LIBKSIEVE_LIB_VERSION_LIB
"5.5.4
2
"
)
set
(
LIBKSIEVE_LIB_VERSION_LIB
"5.5.4
3
"
)
set
(
KMAILTRANSPORT_LIB_VERSION
"5.5.40"
)
set
(
AKONADICONTACT_LIB_VERSION
"5.5.40"
)
set
(
IMPORTWIZARD_LIB_VERSION
"5.5.42"
)
...
...
sieveeditor/regexeditorlineedit/CMakeLists.txt
View file @
dc43511e
include_directories
(
${
CMAKE_CURRENT_BINARY_DIR
}
)
#if(BUILD_TESTING)
# add_subdirectory(tests)
# add_subdirectory(autotests)
#endif()
set
(
regexpeditorlineeditplugin_SRCS
regexpeditorlineedit.cpp
)
kcoreaddons_add_plugin
(
regexpeditorlineeditplugin JSON regexepeditorlineedit.json SOURCES
${
regexpeditorlineeditplugin_SRCS
}
INSTALL_NAMESPACE libksieve
)
target_link_libraries
(
regexpeditorlineeditplugin
KF5::I18n KF5::KSieveUi
)
sieveeditor/regexeditorlineedit/regexeditorlineedit.json
→
sieveeditor/regexeditorlineedit/regexe
pe
ditorlineedit.json
View file @
dc43511e
File moved
sieveeditor/regexeditorlineedit/regexpeditorlineedit.cpp
View file @
dc43511e
...
...
@@ -21,11 +21,11 @@
#include "regexpeditorlineedit.h"
#include <kpluginfactory.h>
K_PLUGIN_FACTORY_WITH_JSON
(
RegexpEditorLineEditFactory
,
"regexpeditorlineedit.json"
,
registerPlugin
<
RegexpEditorLineEdit
>
();)
K_PLUGIN_FACTORY_WITH_JSON
(
RegexpEditorLineEditFactory
,
"regex
e
peditorlineedit.json"
,
registerPlugin
<
RegexpEditorLineEdit
>
();)
RegexpEditorLineEdit
::
RegexpEditorLineEdit
(
QWidget
*
parent
)
:
QWidge
t
(
parent
)
RegexpEditorLineEdit
::
RegexpEditorLineEdit
(
QWidget
*
parent
,
const
QList
<
QVariant
>
&
)
:
KSieveUi
::
AbstractRegexpEditorLineEdi
t
(
parent
)
{
}
...
...
@@ -35,4 +35,19 @@ RegexpEditorLineEdit::~RegexpEditorLineEdit()
}
void
RegexpEditorLineEdit
::
switchToRegexpEditorLineEdit
()
{
}
void
RegexpEditorLineEdit
::
setCode
(
const
QString
&
str
)
{
//TODO
}
QString
RegexpEditorLineEdit
::
code
()
const
{
//TODO
return
{};
}
#include "regexpeditorlineedit.moc"
sieveeditor/regexeditorlineedit/regexpeditorlineedit.h
View file @
dc43511e
...
...
@@ -27,8 +27,12 @@ class RegexpEditorLineEdit : public KSieveUi::AbstractRegexpEditorLineEdit
{
Q_OBJECT
public:
explicit
RegexpEditorLineEdit
(
QWidget
*
parent
=
nullptr
);
explicit
RegexpEditorLineEdit
(
QWidget
*
parent
=
nullptr
,
const
QList
<
QVariant
>
&
=
{}
);
~
RegexpEditorLineEdit
();
void
switchToRegexpEditorLineEdit
()
Q_DECL_OVERRIDE
;
void
setCode
(
const
QString
&
str
)
Q_DECL_OVERRIDE
;
QString
code
()
const
Q_DECL_OVERRIDE
;
};
#endif // REGEXPEDITORLINEEDIT_H
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