Commit 77eea23a authored by Laurent Montel's avatar Laurent Montel 😁

Add customfield widget for redesign customfields page

parent ae10fb9b
......@@ -31,6 +31,11 @@ configure_file(config-akonadi-contact.h.cmake ${CMAKE_CURRENT_BINARY_DIR}/config
configure_file( actions/contactactionssettings.kcfg.cmake ${CMAKE_CURRENT_BINARY_DIR}/contactactionssettings.kcfg @ONLY)
kconfig_add_kcfg_files(akonadicontact_actions_SRCS actions/contactactionssettings.kcfgc)
set(akonadicontact_customfieldseditor_SRCS
editor/customfieldeditor/customfieldswidget.cpp
)
set(akonadicontact_editor_widgets_SRCS
editor/widgets/kwidgetlister.cpp
)
......@@ -111,6 +116,7 @@ set(akonadicontact_LIB_SRC
${akonadicontact_addresslocation_editor_SRCS}
${akonadicontact_editor_widgets_SRCS}
${akonadicontact_editor_generalinfo_SRCS}
${akonadicontact_customfieldseditor_SRCS}
abstractcontactformatter.cpp
abstractcontactgroupformatter.cpp
attributeregistrar.cpp
......
/*
This file is part of Akonadi Contact.
Copyright (C) 2016 eyeOS S.L.U., a Telefonica company, sales@eyeos.com
Copyright (C) 2016 Laurent Montel <laurent.montel@kdab.com>
This library is free software; you can redistribute it and/or modify it
under the terms of the GNU Library General Public License as published by
the Free Software Foundation; either version 2 of the License, or (at your
option) any later version.
This library 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 Library General Public
License for more details.
You should have received a copy of the GNU Library General Public License
along with this library; see the file COPYING.LIB. If not, write to the
Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
02110-1301, USA.
*/
#include "customfieldswidget.h"
#include <KLocalizedString>
#include <QVBoxLayout>
using namespace Akonadi;
CustomFieldsWidget::CustomFieldsWidget(QWidget *parent)
: QWidget(parent)
{
}
CustomFieldsWidget::~CustomFieldsWidget()
{
}
/*
This file is part of Akonadi Contact.
Copyright (C) 2016 eyeOS S.L.U., a Telefonica company, sales@eyeos.com
Copyright (C) 2016 Laurent Montel <laurent.montel@kdab.com>
This library is free software; you can redistribute it and/or modify it
under the terms of the GNU Library General Public License as published by
the Free Software Foundation; either version 2 of the License, or (at your
option) any later version.
This library 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 Library General Public
License for more details.
You should have received a copy of the GNU Library General Public License
along with this library; see the file COPYING.LIB. If not, write to the
Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
02110-1301, USA.
*/
#ifndef CUSTOMFIELDSWIDGET_H
#define CUSTOMFIELDSWIDGET_H
#include <QWidget>
namespace Akonadi
{
class CustomFieldsWidget : public QWidget
{
Q_OBJECT
public:
explicit CustomFieldsWidget(QWidget *parent = Q_NULLPTR);
~CustomFieldsWidget();
};
}
#endif // CUSTOMFIELDSWIDGET_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