Commit 106b98ab authored by Laurent Montel's avatar Laurent Montel 😁

Add addressgrantleeobject

parent 2634c427
......@@ -36,6 +36,7 @@ set(akonadicontact_addresslocation_editor_SRCS
editor/addresseditor/addresslocationwidget.cpp
editor/addresseditor/addresseslocationviewer.cpp
editor/addresseditor/addresseslocationgrantleeformater.cpp
editor/addresseditor/addressgrantleeobject.cpp
)
set(akonadicontact_editor_SRCS
......
/*
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 "addressgrantleeobject.h"
AddressGrantleeObject::AddressGrantleeObject(const KContacts::Address &address, QObject *parent)
: QObject(parent),
mAddress(address)
{
}
AddressGrantleeObject::~AddressGrantleeObject()
{
}
/*
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 ADDRESSGRANTLEEOBJECT_H
#define ADDRESSGRANTLEEOBJECT_H
#include <QObject>
#include <KContacts/Address>
class AddressGrantleeObject : public QObject
{
Q_OBJECT
public:
explicit AddressGrantleeObject(const KContacts::Address &address, QObject *parent = Q_NULLPTR);
~AddressGrantleeObject();
private:
KContacts::Address mAddress;
};
#endif // ADDRESSGRANTLEEOBJECT_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