• Skip to content
  • Skip to link menu
KDE API Documentation - global.h Source File (KPeople)
  • KDE Home
  • Contact Us
 

KPeople

  • frameworks
  • kpeople
  • src
global.h
1 /*
2  Copyright (C) 2013 David Edmundson <davidedmundson@kde.org>
3 
4  This library is free software; you can redistribute it and/or
5  modify it under the terms of the GNU Lesser General Public
6  License as published by the Free Software Foundation; either
7  version 2.1 of the License, or (at your option) any later version.
8 
9  This library is distributed in the hope that it will be useful,
10  but WITHOUT ANY WARRANTY; without even the implied warranty of
11  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
12  Lesser General Public License for more details.
13 
14  You should have received a copy of the GNU Lesser General Public
15  License along with this library; if not, write to the Free Software
16  Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
17 */
18 
19 #ifndef GLOBAL_H
20 #define GLOBAL_H
21 
22 #include <QString>
23 #include <QStringList>
24 
25 #include <kpeople/kpeople_export.h>
26 
27 namespace KPeople
28 {
29 class PersonData;
30 
39 KPEOPLE_EXPORT QString mergeContacts(const QStringList &uris);
40 
47 KPEOPLE_EXPORT bool unmergeContact(const QString &uri);
48 
54 KPEOPLE_EXPORT QString iconNameForPresenceString(const QString &presenceName);
55 
61 KPEOPLE_EXPORT int presenceSortPriority(const QString &presenceName);
62 
63 };
64 
65 #endif // GLOBAL_H
KPeople::mergeContacts
KPEOPLE_EXPORT QString mergeContacts(const QStringList &uris)
Merge all uris into a single person.
Definition: global.cpp:28
KPeople
The KPeople namespace contains all the classes for Libkpeople.
KPeople::iconNameForPresenceString
KPEOPLE_EXPORT QString iconNameForPresenceString(const QString &presenceName)
Return a QPixmap for a TP presence string.
Definition: global.cpp:38
KPeople::presenceSortPriority
KPEOPLE_EXPORT int presenceSortPriority(const QString &presenceName)
Returns a sort priority for the given presenceName.
Definition: global.cpp:63
KPeople::unmergeContact
KPEOPLE_EXPORT bool unmergeContact(const QString &uri)
Unmerge a contact.
Definition: global.cpp:33
This file is part of the KDE documentation.
Documentation copyright © 1996-2015 The KDE developers.
Generated on Fri Feb 13 2015 15:16:39 by doxygen 1.8.9.1 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.

KPeople

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

Class Picker

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