Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
K
KDE PIM Add-ons
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
1
Merge Requests
1
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
PIM
KDE PIM Add-ons
Commits
b54a8cc9
Commit
b54a8cc9
authored
Jun 02, 2016
by
Laurent Montel
😁
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add configurewidget
parent
2ae30b18
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
153 additions
and
0 deletions
+153
-0
kmail/editorsendcheckplugins/confirm-address/CMakeLists.txt
kmail/editorsendcheckplugins/confirm-address/CMakeLists.txt
+1
-0
kmail/editorsendcheckplugins/confirm-address/autotests/confirmaddressconfigurewidgettest.cpp
...m-address/autotests/confirmaddressconfigurewidgettest.cpp
+46
-0
kmail/editorsendcheckplugins/confirm-address/autotests/confirmaddressconfigurewidgettest.h
...irm-address/autotests/confirmaddressconfigurewidgettest.h
+36
-0
kmail/editorsendcheckplugins/confirm-address/confirmaddressconfigurewidget.cpp
...plugins/confirm-address/confirmaddressconfigurewidget.cpp
+36
-0
kmail/editorsendcheckplugins/confirm-address/confirmaddressconfigurewidget.h
...ckplugins/confirm-address/confirmaddressconfigurewidget.h
+34
-0
No files found.
kmail/editorsendcheckplugins/confirm-address/CMakeLists.txt
View file @
b54a8cc9
set
(
kmail_confirmaddresseditorplugin_SRCS
set
(
kmail_confirmaddresseditorplugin_SRCS
confirmaddressinterface.cpp
confirmaddressinterface.cpp
confirmaddressplugin.cpp
confirmaddressplugin.cpp
confirmaddressconfigurewidget.cpp
)
)
ecm_qt_declare_logging_category
(
kmail_confirmaddresseditorplugin_SRCS HEADER confirmaddressplugin_debug.h IDENTIFIER KMAIL_EDITOR_CONFIRMADDRESS_PLUGIN_LOG CATEGORY_NAME log_kmail_confirmaddressplugin
)
ecm_qt_declare_logging_category
(
kmail_confirmaddresseditorplugin_SRCS HEADER confirmaddressplugin_debug.h IDENTIFIER KMAIL_EDITOR_CONFIRMADDRESS_PLUGIN_LOG CATEGORY_NAME log_kmail_confirmaddressplugin
)
...
...
kmail/editorsendcheckplugins/confirm-address/autotests/confirmaddressconfigurewidgettest.cpp
0 → 100644
View file @
b54a8cc9
/*
Copyright (C) 2016 Montel Laurent <montel@kde.org>
This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public
License as published by the Free Software Foundation; either
version 2 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program; see the file COPYING. If not, write to
the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
Boston, MA 02110-1301, USA.
*/
#include "confirmaddressconfigurewidgettest.h"
#include "../confirmaddressconfigurewidget.h"
#include <QTest>
#include <QVBoxLayout>
ConfirmAddressConfigureWidgetTest
::
ConfirmAddressConfigureWidgetTest
(
QObject
*
parent
)
:
QObject
(
parent
)
{
}
ConfirmAddressConfigureWidgetTest
::~
ConfirmAddressConfigureWidgetTest
()
{
}
void
ConfirmAddressConfigureWidgetTest
::
shouldHaveDefaultValue
()
{
ConfirmAddressConfigureWidget
w
;
QVBoxLayout
*
vboxlayout
=
w
.
findChild
<
QVBoxLayout
*>
(
QStringLiteral
(
"mainlayout"
));
QVERIFY
(
vboxlayout
);
}
QTEST_MAIN
(
ConfirmAddressConfigureWidgetTest
)
kmail/editorsendcheckplugins/confirm-address/autotests/confirmaddressconfigurewidgettest.h
0 → 100644
View file @
b54a8cc9
/*
Copyright (C) 2016 Montel Laurent <montel@kde.org>
This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public
License as published by the Free Software Foundation; either
version 2 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program; see the file COPYING. If not, write to
the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
Boston, MA 02110-1301, USA.
*/
#ifndef CONFIRMADDRESSCONFIGUREWIDGETTEST_H
#define CONFIRMADDRESSCONFIGUREWIDGETTEST_H
#include <QObject>
class
ConfirmAddressConfigureWidgetTest
:
public
QObject
{
Q_OBJECT
public:
explicit
ConfirmAddressConfigureWidgetTest
(
QObject
*
parent
=
Q_NULLPTR
);
~
ConfirmAddressConfigureWidgetTest
();
private
Q_SLOTS
:
void
shouldHaveDefaultValue
();
};
#endif // CONFIRMADDRESSCONFIGUREWIDGETTEST_H
kmail/editorsendcheckplugins/confirm-address/confirmaddressconfigurewidget.cpp
0 → 100644
View file @
b54a8cc9
/*
Copyright (C) 2016 Montel Laurent <montel@kde.org>
This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public
License as published by the Free Software Foundation; either
version 2 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program; see the file COPYING. If not, write to
the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
Boston, MA 02110-1301, USA.
*/
#include "confirmaddressconfigurewidget.h"
#include <KLocalizedString>
#include <QVBoxLayout>
ConfirmAddressConfigureWidget
::
ConfirmAddressConfigureWidget
(
QWidget
*
parent
)
:
QWidget
(
parent
)
{
QVBoxLayout
*
vboxlayout
=
new
QVBoxLayout
;
vboxlayout
->
setObjectName
(
QStringLiteral
(
"mainlayout"
));
setLayout
(
vboxlayout
);
}
ConfirmAddressConfigureWidget
::~
ConfirmAddressConfigureWidget
()
{
}
kmail/editorsendcheckplugins/confirm-address/confirmaddressconfigurewidget.h
0 → 100644
View file @
b54a8cc9
/*
Copyright (C) 2016 Montel Laurent <montel@kde.org>
This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public
License as published by the Free Software Foundation; either
version 2 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program; see the file COPYING. If not, write to
the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
Boston, MA 02110-1301, USA.
*/
#ifndef CONFIRMADDRESSCONFIGUREWIDGET_H
#define CONFIRMADDRESSCONFIGUREWIDGET_H
#include <QWidget>
class
ConfirmAddressConfigureWidget
:
public
QWidget
{
Q_OBJECT
public:
explicit
ConfirmAddressConfigureWidget
(
QWidget
*
parent
=
Q_NULLPTR
);
~
ConfirmAddressConfigureWidget
();
};
#endif // CONFIRMADDRESSCONFIGUREWIDGET_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