~ps-jenkins/sync-monitor/utopic-proposed

« back to all changes in this revision

Viewing changes to Ubuntu/SyncMonitor/plugin.cpp

  • Committer: CI bot
  • Author(s): Renato Araujo Oliveira Filho
  • Date: 2014-05-02 17:07:42 UTC
  • mfrom: (24.2.3 sync-monitor-qml)
  • Revision ID: ps-jenkins@lists.canonical.com-20140502170742-pz0pd5lct37g57jl
Created QML bindings to access the sync monitor information. Fixes: 1311125

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/*
 
2
 * Copyright 2014 Canonical Ltd.
 
3
 *
 
4
 * This file is part of sync-monitor.
 
5
 *
 
6
 * sync-monitor is free software; you can redistribute it and/or modify
 
7
 * it under the terms of the GNU General Public License as published by
 
8
 * the Free Software Foundation; version 3.
 
9
 *
 
10
 * contact-service-app 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
 
13
 * GNU General Public License for more details.
 
14
 *
 
15
 * You should have received a copy of the GNU General Public License
 
16
 * along with this program.  If not, see <http://www.gnu.org/licenses/>.
 
17
 */
 
18
 
 
19
#include "plugin.h"
 
20
#include "syncmonitor-qml.h"
 
21
 
 
22
#include <qqml.h>
 
23
 
 
24
void SyncMonitorPlugin::registerTypes(const char *uri)
 
25
{
 
26
    // @uri Ubuntu.SyncMonitor
 
27
    qmlRegisterType<SyncMonitorQml>(uri, 0, 1, "SyncMonitor");
 
28
}