Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
PIM
Akonadi Contacts
Commits
106b98ab
Commit
106b98ab
authored
Feb 01, 2016
by
Laurent Montel
😁
Browse files
Add addressgrantleeobject
parent
2634c427
Changes
3
Hide whitespace changes
Inline
Side-by-side
akonadi-contact/src/CMakeLists.txt
View file @
106b98ab
...
...
@@ -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
...
...
akonadi-contact/src/editor/addresseditor/addressgrantleeobject.cpp
0 → 100644
View file @
106b98ab
/*
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
()
{
}
akonadi-contact/src/editor/addresseditor/addressgrantleeobject.h
0 → 100644
View file @
106b98ab
/*
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
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