summaryrefslogtreecommitdiff
path: root/enhanced-position-service/src/confifadaptor.cpp
blob: 6a5af608c54a8b3ffadf866ef7546984fee1eb56 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
/*
 * This file was generated by qdbusxml2cpp version 0.7
 * Command line was: qdbusxml2cpp -v -c ConfigurationIfAdaptor -a confifadaptor.h:confifadaptor.cpp -i genivi-dbus-types.h -i ConfigurationImpl.h -l ConfigurationImpl ../genivi-positioning-configuration-qt.xml org.genivi.positioning.Configuration
 *
 * qdbusxml2cpp is Copyright (C) 2011 Nokia Corporation and/or its subsidiary(-ies).
 *
 * This is an auto-generated file.
 * Do not edit! All changes made to it will be lost.
 */

#include "confifadaptor.h"
#include <QtCore/QMetaObject>
#include <QtCore/QByteArray>
#include <QtCore/QList>
#include <QtCore/QMap>
#include <QtCore/QString>
#include <QtCore/QStringList>
#include <QtCore/QVariant>

/*
 * Implementation of adaptor class ConfigurationIfAdaptor
 */

ConfigurationIfAdaptor::ConfigurationIfAdaptor(ConfigurationImpl *parent)
    : QDBusAbstractAdaptor(parent)
{
    // constructor
    setAutoRelaySignals(true);
}

ConfigurationIfAdaptor::~ConfigurationIfAdaptor()
{
    // destructor
}

int ConfigurationIfAdaptor::satelliteSystem() const
{
    // get the value of property SatelliteSystem
    return qvariant_cast< int >(parent()->property("SatelliteSystem"));
}

void ConfigurationIfAdaptor::setSatelliteSystem(int value)
{
    // set the value of property SatelliteSystem
    parent()->setProperty("SatelliteSystem", QVariant::fromValue(value));
}

ushort ConfigurationIfAdaptor::updateInterval() const
{
    // get the value of property UpdateInterval
    return qvariant_cast< ushort >(parent()->property("UpdateInterval"));
}

void ConfigurationIfAdaptor::setUpdateInterval(ushort value)
{
    // set the value of property UpdateInterval
    parent()->setProperty("UpdateInterval", QVariant::fromValue(value));
}

QVariantMap ConfigurationIfAdaptor::GetProperties()
{
    // handle method call org.genivi.positioning.Configuration.GetProperties
    return parent()->GetProperties();
}

GeniviVersion ConfigurationIfAdaptor::GetVersion()
{
    // handle method call org.genivi.positioning.Configuration.GetVersion
    return parent()->GetVersion();
}

void ConfigurationIfAdaptor::SetProperty(const QString &name, const QDBusVariant &value)
{
    // handle method call org.genivi.positioning.Configuration.SetProperty
    parent()->SetProperty(name, value);
}