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

KPeople

  • frameworks
  • kpeople
  • src
  • declarative
peopleqmlplugin.cpp
1 /*
2  Persons Model
3  Copyright (C) 2012 Aleix Pol Gonzalez <aleixpol@blue-systems.com>
4 
5  This library is free software; you can redistribute it and/or
6  modify it under the terms of the GNU Lesser General Public
7  License as published by the Free Software Foundation; either
8  version 2.1 of the License, or (at your option) any later version.
9 
10  This library is distributed in the hope that it will be useful,
11  but WITHOUT ANY WARRANTY; without even the implied warranty of
12  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13  Lesser General Public License for more details.
14 
15  You should have received a copy of the GNU Lesser General Public
16  License along with this library; if not, write to the Free Software
17  Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
18 */
19 
20 #include "peopleqmlplugin.h"
21 
22 #include <personsmodel.h>
23 #include <personactionsmodel_p.h>
24 #include <persondata.h>
25 
26 #include "declarativepersondata.h"
27 #include <QtQml/qqml.h>
28 
29 void PeopleQMLPlugin::registerTypes(const char *uri)
30 {
31  qmlRegisterType<KPeople::PersonsModel>(uri, 1, 0, "PersonsModel");
32  qmlRegisterType<KPeople::PersonActionsModel>(uri, 1, 0, "PersonActions");
33  qmlRegisterType<DeclarativePersonData>(uri, 1, 0, "PersonData");
34  qmlRegisterType<KPeople::PersonData>();
35 }
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