Commit 16de0f3c authored by Laurent Montel's avatar Laurent Montel 😁
Browse files

Improve it

parent a40a241b
......@@ -4,6 +4,7 @@ set(kmail_confirmaddresseditorplugin_SRCS
confirmaddressconfigurewidget.cpp
confirmaddressdialog.cpp
confirmaddresswidget.cpp
confirmaddressconfiguretabwidget.cpp
)
ecm_qt_declare_logging_category(kmail_confirmaddresseditorplugin_SRCS HEADER confirmaddressplugin_debug.h IDENTIFIER KMAIL_EDITOR_CONFIRMADDRESS_PLUGIN_LOG CATEGORY_NAME log_kmail_confirmaddressplugin)
......
......@@ -20,3 +20,5 @@ add_kmail_confirmaddress_unittest(confirmaddressconfigurewidgettest.cpp "../conf
add_kmail_confirmaddress_unittest(confirmaddressdialogtest.cpp "../confirmaddressdialog.cpp;../confirmaddresswidget.cpp")
add_kmail_confirmaddress_unittest(confirmaddresswidgettest.cpp "../confirmaddresswidget.cpp")
add_kmail_confirmaddress_unittest(confirmaddressconfiguretabwidgettest.cpp "../confirmaddressconfiguretabwidget.cpp")
/*
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 "confirmaddressconfiguretabwidgettest.h"
#include <QTest>
ConfirmAddressConfigureTabWidgetTest::ConfirmAddressConfigureTabWidgetTest(QObject *parent)
: QObject(parent)
{
}
ConfirmAddressConfigureTabWidgetTest::~ConfirmAddressConfigureTabWidgetTest()
{
}
QTEST_MAIN(ConfirmAddressConfigureTabWidgetTest)
/*
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 CONFIRMADDRESSCONFIGURETABWIDGETTEST_H
#define CONFIRMADDRESSCONFIGURETABWIDGETTEST_H
#include <QObject>
class ConfirmAddressConfigureTabWidgetTest : public QObject
{
Q_OBJECT
public:
explicit ConfirmAddressConfigureTabWidgetTest(QObject *parent = Q_NULLPTR);
~ConfirmAddressConfigureTabWidgetTest();
};
#endif // CONFIRMADDRESSCONFIGURETABWIDGETTEST_H
/*
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 "confirmaddressconfiguretabwidget.h"
#include <QTabWidget>
#include <KLocalizedString>
#include <QVBoxLayout>
ConfirmAddressConfigureTabWidget::ConfirmAddressConfigureTabWidget(QWidget *parent)
: QWidget(parent)
{
QVBoxLayout *mainLayout = new QVBoxLayout(this);
mainLayout->setObjectName(QStringLiteral("mainlayout"));
mainLayout->setMargin(0);
}
ConfirmAddressConfigureTabWidget::~ConfirmAddressConfigureTabWidget()
{
}
/*
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 CONFIRMADDRESSCONFIGURETABWIDGET_H
#define CONFIRMADDRESSCONFIGURETABWIDGET_H
#include <QWidget>
class QTabWidget;
class ConfirmAddressConfigureTabWidget : public QWidget
{
Q_OBJECT
public:
explicit ConfirmAddressConfigureTabWidget(QWidget *parent = Q_NULLPTR);
~ConfirmAddressConfigureTabWidget();
private:
QTabWidget *mTabWidget;
};
#endif // CONFIRMADDRESSCONFIGURETABWIDGET_H
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment