blob: 140a74fcd76e46a32db292fbe4efda653cd54aba (
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
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
|
/* This file is part of the KDE project
The following license applies to the edits made to the generated
source code:
Copyright (C) 2009 Nokia Corporation and/or its subsidiary(-ies).
Copyright (C) 2009 Matthias Kretz.
This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
License as published by the Free Software Foundation; either
version 2.1 of the License, or (at your option) version 3, or any
later version accepted by the membership of KDE e.V. (or its
successor approved by the membership of KDE e.V.), Nokia Corporation
(or its successors, if any) and the KDE Free Qt Foundation, which shall
act as a proxy defined in Section 6 of version 3 of the license.
This library is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
Lesser General Public License for more details.
You should have received a copy of the GNU Lesser General Public
License along with this library. If not, see <http://www.gnu.org/licenses/>.
*/
/*
* 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
|