blob: 7178e9b12e2ca13b67e73eaf66a3bef63f99845e (
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
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
|
/*
* This file was generated by dbusidl2cpp version 0.4
* when processing input file org.kde.Phonon.AudioOutput.xml
*
* dbusidl2cpp is Copyright (C) 2009 Nokia Corporation and/or its subsidiary(-ies).
*
* This is an auto-generated file. This file has been hand-edited.
*/
#ifndef AUDIOOUTPUTADAPTOR_P_H
#define AUDIOOUTPUTADAPTOR_P_H
#include <QtCore/QObject>
#ifndef QT_NO_DBUS
#include <QtDBus/QtDBus>
QT_BEGIN_HEADER
QT_BEGIN_NAMESPACE
class QByteArray;
template<class T> class QList;
template<class Key, class Value> class QMap;
class QString;
class QStringList;
class QVariant;
namespace Phonon
{
class AudioOutputPrivate;
class AudioOutput;
/*
* Adaptor class for interface org.kde.Phonon.AudioOutput
*/
class AudioOutputAdaptor: public QDBusAbstractAdaptor
{
friend class Phonon::AudioOutputPrivate;
friend class Phonon::AudioOutput;
Q_OBJECT
Q_CLASSINFO("D-Bus Interface", "org.kde.Phonon.AudioOutput")
Q_CLASSINFO("D-Bus Introspection", ""
" <interface name=\"org.kde.Phonon.AudioOutput\" >\n"
" <property access=\"readwrite\" type=\"d\" name=\"volume\" />\n"
" <property access=\"readwrite\" type=\"b\" name=\"muted\" />\n"
" <property access=\"readwrite\" type=\"i\" name=\"outputDeviceIndex\" />\n"
" <signal name=\"volumeChanged\" >\n"
" <arg direction=\"out\" type=\"d\" />\n"
" </signal>\n"
" <signal name=\"mutedChanged\" >\n"
" <arg direction=\"out\" type=\"b\" />\n"
" </signal>\n"
" <signal name=\"outputDeviceIndexChanged\" >\n"
" <arg direction=\"out\" type=\"i\" />\n"
" </signal>\n"
" <signal name=\"nameChanged\" >\n"
" <arg direction=\"out\" type=\"s\" name=\"newName\" />\n"
" </signal>\n"
" <signal name=\"newOutputAvailable\" >\n"
" <arg direction=\"out\" type=\"s\" name=\"service\" />\n"
" <arg direction=\"out\" type=\"s\" name=\"path\" />\n"
" </signal>\n"
" <signal name=\"outputDestroyed\" >\n"
" </signal>\n"
" <method name=\"category\" >\n"
" <arg direction=\"out\" type=\"s\" />\n"
" </method>\n"
" <method name=\"name\" >\n"
" <arg direction=\"out\" type=\"s\" />\n"
" </method>\n"
" </interface>\n"
"")
public:
AudioOutputAdaptor(QObject *parent);
virtual ~AudioOutputAdaptor();
public: // PROPERTIES
Q_PROPERTY(bool muted READ muted WRITE setMuted)
bool muted() const;
void setMuted(bool value);
Q_PROPERTY(int outputDeviceIndex READ outputDeviceIndex WRITE setOutputDeviceIndex)
int outputDeviceIndex() const;
void setOutputDeviceIndex(int value);
Q_PROPERTY(double volume READ volume WRITE setVolume)
double volume() const;
void setVolume(double value);
public Q_SLOTS: // METHODS
QString category();
QString name();
Q_SIGNALS: // SIGNALS
void mutedChanged(bool in0);
void nameChanged(const QString &newName);
void newOutputAvailable(const QString &service, const QString &path);
void outputDestroyed();
void outputDeviceIndexChanged(int in0);
void volumeChanged(qreal in0);
};
} // namespace Phonon
QT_END_NAMESPACE
QT_END_HEADER
#endif // QT_NO_DBUS
#endif // AUDIOOUTPUTADAPTOR_P_H
|