~ubuntu-branches/ubuntu/natty/plasma-mobile/natty

« back to all changes in this revision

Viewing changes to bindings/phone/phonebindingsplugin.cpp

  • Committer: Bazaar Package Importer
  • Author(s): Rodrigo Belem
  • Date: 2011-01-01 16:58:27 UTC
  • mfrom: (1.1.4 upstream)
  • Revision ID: james.westby@ubuntu.com-20110101165827-vij700zj247uxcdr
Tags: 0.0~svn20110101-0ubuntu1
* New svn snapshot
* Remove kubuntu_01_library_version.diff and
  debian-changes-0.0~svn20100830-0ubuntu4, they don't apply and aren't
  needed in the current snapshot.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/*
 
2
 *   Copyright 2009 by Alan Alpert <alan.alpert@nokia.com>
 
3
 *   Copyright 2010 by Ménard Alexis <menard@kde.org>
 
4
 *   Copyright 2010 by Marco Martin <mart@kde.org>
 
5
 
 
6
 *   This program is free software; you can redistribute it and/or modify
 
7
 *   it under the terms of the GNU Library General Public License as
 
8
 *   published by the Free Software Foundation; either version 2, or
 
9
 *   (at your option) any later version.
 
10
 *
 
11
 *   This program is distributed in the hope that it will be useful,
 
12
 *   but WITHOUT ANY WARRANTY; without even the implied warranty of
 
13
 *   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 
14
 *   GNU General Public License for more details
 
15
 *
 
16
 *   You should have received a copy of the GNU Library General Public
 
17
 *   License along with this program; if not, write to the
 
18
 *   Free Software Foundation, Inc.,
 
19
 *   51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA.
 
20
 */
 
21
 
 
22
#include "phonebindingsplugin.h"
 
23
 
 
24
#include <QtDeclarative/qdeclarative.h>
 
25
 
 
26
#include "phone.h"
 
27
 
 
28
void PhoneBindingsPlugin::registerTypes(const char *uri)
 
29
{
 
30
    Q_ASSERT(uri == QLatin1String("org.kde.plasma.phone"));
 
31
 
 
32
    qmlRegisterType<Phone>(uri,0,1,"Phone");
 
33
}
 
34
 
 
35
 
 
36
#include "phonebindingsplugin.moc"
 
37