1
/***************************************************************************
3
** Copyright (C) 2013 Jolla Ltd. **
4
** Contact: Petri M. Gerdt <petri.gerdt@jollamobile.com> **
6
** This file is part of Timed **
8
** Timed is free software; you can redistribute it and/or modify **
9
** it under the terms of the GNU Lesser General Public License **
10
** version 2.1 as published by the Free Software Foundation. **
12
** Timed is distributed in the hope that it will be useful, but **
13
** WITHOUT ANY WARRANTY; without even the implied warranty of **
14
** MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. **
15
** See the GNU Lesser General Public License for more details. **
17
** You should have received a copy of the GNU Lesser General Public **
18
** License along with Timed. If not, see http://www.gnu.org/licenses/ **
20
***************************************************************************/
22
#ifndef NETWORKREGISTRATIONRWATCHER_H
23
#define NETWORKREGISTRATIONRWATCHER_H
26
#include <QVariantMap>
27
#include <QDBusVariant>
29
#include "modemwatcher.h"
32
class QDBusPendingCallWatcher;
34
class NetworkRegistrationWatcher : public ModemWatcher
38
explicit NetworkRegistrationWatcher(const QString objectPath, QObject *parent = 0);
39
~NetworkRegistrationWatcher();
45
void propertyChanged(QString objectPath, QString name, QVariant value);
48
void onPropertyChanged(QString name, QDBusVariant value);
49
void getPropertiesCallback(QDBusPendingCallWatcher *watcher);
51
#endif // NETWORKREGISTRATIONRWATCHER_H