• Skip to content
  • Skip to link menu
KDE API Reference
  • KDE API Reference
  • kdepim API Reference
  • KDE Home
  • Contact Us
 

kaddressbook

  • sources
  • kde-4.12
  • kdepim
  • kaddressbook
  • printing
  • grantlee
contactgrantleeprintobject.h
Go to the documentation of this file.
1 /*
2  Copyright (c) 2013 Montel Laurent <montel@kde.org>
3 
4  This program is free software; you can redistribute it and/or modify it
5  under the terms of the GNU General Public License, version 2, as
6  published by the Free Software Foundation.
7 
8  This program is distributed in the hope that it will be useful, but
9  WITHOUT ANY WARRANTY; without even the implied warranty of
10  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
11  General Public License for more details.
12 
13  You should have received a copy of the GNU General Public License along
14  with this program; if not, write to the Free Software Foundation, Inc.,
15  51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
16 */
17 
18 #ifndef CONTACTGRANTLEEPRINTOBJECT_H
19 #define CONTACTGRANTLEEPRINTOBJECT_H
20 #include <QObject>
21 #include <KABC/Addressee>
22 
23 
24 namespace KABPrinting {
25 class ContactGrantleePrintObject : public QObject
26 {
27  Q_OBJECT
28  Q_PROPERTY(QString name READ realName)
29  Q_PROPERTY(QString name READ formattedName)
30  Q_PROPERTY(QString name READ prefix)
31  Q_PROPERTY(QString name READ givenName)
32  Q_PROPERTY(QString name READ additionalName)
33  Q_PROPERTY(QString name READ familyName)
34  Q_PROPERTY(QString name READ suffix)
35  Q_PROPERTY(QString name READ nickName)
36  Q_PROPERTY(QStringList emails READ emails)
37  Q_PROPERTY(QString organization READ organization)
38  Q_PROPERTY(QString note READ note)
39  Q_PROPERTY(QString webPage READ webPage)
40  Q_PROPERTY(QString title READ title)
41  Q_PROPERTY(QString preferredEmail READ preferredEmail)
42  Q_PROPERTY(QString role READ role)
43  Q_PROPERTY(QString birthday READ birthday)
44  Q_PROPERTY(QString department READ department)
45  //Add more functions
46 public:
47  explicit ContactGrantleePrintObject(const KABC::Addressee &address, QObject *parent=0);
48  ~ContactGrantleePrintObject();
49 
50  QString realName() const;
51  QString formattedName() const;
52  QString prefix() const;
53  QString givenName() const;
54  QString additionalName() const;
55  QString familyName() const;
56  QString suffix() const;
57  QString nickName() const;
58  QStringList emails() const;
59  QString organization() const;
60  QString note() const;
61  QString webPage() const;
62  QString title() const;
63  QString preferredEmail() const;
64  QString role() const;
65  QString birthday() const;
66  QString department() const;
67 
68 private:
69  KABC::Addressee mAddress;
70 };
71 }
72 Q_DECLARE_METATYPE(QList<KABPrinting::ContactGrantleePrintObject*>)
73 #endif // CONTACTGRANTLEEPRINTOBJECT_H
KABPrinting::ContactGrantleePrintObject::birthday
QString birthday() const
KABPrinting::ContactGrantleePrintObject::preferredEmail
QString preferredEmail() const
KABPrinting::ContactGrantleePrintObject::realName
QString realName() const
Definition: contactgrantleeprintobject.cpp:35
KABPrinting::ContactGrantleePrintObject::familyName
QString familyName() const
Definition: contactgrantleeprintobject.cpp:60
QObject
KABPrinting::ContactGrantleePrintObject::formattedName
QString formattedName() const
Definition: contactgrantleeprintobject.cpp:40
KABPrinting::ContactGrantleePrintObject
Definition: contactgrantleeprintobject.h:25
KABPrinting::ContactGrantleePrintObject::title
QString title() const
KABPrinting::ContactGrantleePrintObject::role
QString role() const
KABPrinting::ContactGrantleePrintObject::prefix
QString prefix() const
Definition: contactgrantleeprintobject.cpp:45
KABPrinting::ContactGrantleePrintObject::additionalName
QString additionalName() const
Definition: contactgrantleeprintobject.cpp:55
KABPrinting::ContactGrantleePrintObject::organization
QString organization() const
KABPrinting::ContactGrantleePrintObject::name
QString name
Definition: contactgrantleeprintobject.h:28
KABPrinting::ContactGrantleePrintObject::suffix
QString suffix() const
Definition: contactgrantleeprintobject.cpp:65
KABPrinting::ContactGrantleePrintObject::givenName
QString givenName() const
Definition: contactgrantleeprintobject.cpp:50
KABPrinting::ContactGrantleePrintObject::note
QString note() const
KABPrinting::ContactGrantleePrintObject::webPage
QString webPage() const
KABPrinting::ContactGrantleePrintObject::department
QString department() const
KABPrinting::ContactGrantleePrintObject::emails
QStringList emails() const
KABPrinting::ContactGrantleePrintObject::nickName
QString nickName() const
Definition: contactgrantleeprintobject.cpp:70
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:55:51 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.

kaddressbook

Skip menu "kaddressbook"
  • Main Page
  • Namespace List
  • Namespace Members
  • Alphabetical List
  • Class List
  • Class Hierarchy
  • Class Members
  • File List
  • File Members

kdepim API Reference

Skip menu "kdepim API Reference"
  • akonadi_next
  • akregator
  • blogilo
  • calendarsupport
  • console
  •   kabcclient
  •   konsolekalendar
  • kaddressbook
  • kalarm
  •   lib
  • kdgantt2
  • kjots
  • kleopatra
  • kmail
  • knode
  • knotes
  • kontact
  • korgac
  • korganizer
  • ktimetracker
  • libkdepim
  • libkleo
  • libkpgp
  • mailcommon
  • messagelist
  • messageviewer

Search



Report problems with this website to our bug tracking system.
Contact the specific authors with questions and comments about the page contents.

KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal