1/* This file is part of the KDE project
2 The following license applies to the edits made to the generated
3 source code:
4
5 Copyright (C) 2009 Nokia Corporation and/or its subsidiary(-ies).
6 Copyright (C) 2009 Matthias Kretz.
7
8 This library is free software; you can redistribute it and/or
9 modify it under the terms of the GNU Lesser General Public
10 License as published by the Free Software Foundation; either
11 version 2.1 of the License, or (at your option) version 3, or any
12 later version accepted by the membership of KDE e.V. (or its
13 successor approved by the membership of KDE e.V.), Nokia Corporation
14 (or its successors, if any) and the KDE Free Qt Foundation, which shall
15 act as a proxy defined in Section 6 of version 3 of the license.
16
17 This library is distributed in the hope that it will be useful,
18 but WITHOUT ANY WARRANTY; without even the implied warranty of
19 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
20 Lesser General Public License for more details.
21
22 You should have received a copy of the GNU Lesser General Public
23 License along with this library. If not, see <http://www.gnu.org/licenses/>.
24
25*/
26/*
27 * This file was generated by dbusidl2cpp version 0.4
28 * when processing input file org.kde.Phonon.AudioOutput.xml
29 *
30 * dbusidl2cpp is Copyright (C) 2009 Nokia Corporation and/or its subsidiary(-ies).
31 *
32 * This is an auto-generated file. This file has been hand-edited.
33 */
34
35#ifndef AUDIOOUTPUTADAPTOR_P_H
36#define AUDIOOUTPUTADAPTOR_P_H
37
38#include <QtCore/QObject>
39
40#ifndef QT_NO_DBUS
41#include <QtDBus/QtDBus>
42
43QT_BEGIN_HEADER
44QT_BEGIN_NAMESPACE
45
46class QByteArray;
47template<class T> class QList;
48template<class Key, class Value> class QMap;
49class QString;
50class QStringList;
51class QVariant;
52
53namespace Phonon
54{
55 class AudioOutputPrivate;
56 class AudioOutput;
57
58/*
59 * Adaptor class for interface org.kde.Phonon.AudioOutput
60 */
61class AudioOutputAdaptor: public QDBusAbstractAdaptor
62{
63 friend class Phonon::AudioOutputPrivate;
64 friend class Phonon::AudioOutput;
65 Q_OBJECT
66 Q_CLASSINFO("D-Bus Interface", "org.kde.Phonon.AudioOutput")
67 Q_CLASSINFO("D-Bus Introspection", ""
68" <interface name=\"org.kde.Phonon.AudioOutput\" >\n"
69" <property access=\"readwrite\" type=\"d\" name=\"volume\" />\n"
70" <property access=\"readwrite\" type=\"b\" name=\"muted\" />\n"
71" <property access=\"readwrite\" type=\"i\" name=\"outputDeviceIndex\" />\n"
72" <signal name=\"volumeChanged\" >\n"
73" <arg direction=\"out\" type=\"d\" />\n"
74" </signal>\n"
75" <signal name=\"mutedChanged\" >\n"
76" <arg direction=\"out\" type=\"b\" />\n"
77" </signal>\n"
78" <signal name=\"outputDeviceIndexChanged\" >\n"
79" <arg direction=\"out\" type=\"i\" />\n"
80" </signal>\n"
81" <signal name=\"nameChanged\" >\n"
82" <arg direction=\"out\" type=\"s\" name=\"newName\" />\n"
83" </signal>\n"
84" <signal name=\"newOutputAvailable\" >\n"
85" <arg direction=\"out\" type=\"s\" name=\"service\" />\n"
86" <arg direction=\"out\" type=\"s\" name=\"path\" />\n"
87" </signal>\n"
88" <signal name=\"outputDestroyed\" >\n"
89" </signal>\n"
90" <method name=\"category\" >\n"
91" <arg direction=\"out\" type=\"s\" />\n"
92" </method>\n"
93" <method name=\"name\" >\n"
94" <arg direction=\"out\" type=\"s\" />\n"
95" </method>\n"
96" </interface>\n"
97 "")
98public:
99 AudioOutputAdaptor(QObject *parent);
100 virtual ~AudioOutputAdaptor();
101
102public: // PROPERTIES
103 Q_PROPERTY(bool muted READ muted WRITE setMuted)
104 bool muted() const;
105 void setMuted(bool value);
106
107 Q_PROPERTY(int outputDeviceIndex READ outputDeviceIndex WRITE setOutputDeviceIndex)
108 int outputDeviceIndex() const;
109 void setOutputDeviceIndex(int value);
110
111 Q_PROPERTY(double volume READ volume WRITE setVolume)
112 double volume() const;
113 void setVolume(double value);
114
115public Q_SLOTS: // METHODS
116 QString category();
117 QString name();
118Q_SIGNALS: // SIGNALS
119 void mutedChanged(bool in0);
120 void nameChanged(const QString &newName);
121 void newOutputAvailable(const QString &service, const QString &path);
122 void outputDestroyed();
123 void outputDeviceIndexChanged(int in0);
124 void volumeChanged(qreal in0);
125};
126
127} // namespace Phonon
128
129QT_END_NAMESPACE
130QT_END_HEADER
131
132#endif // QT_NO_DBUS
133
134#endif // AUDIOOUTPUTADAPTOR_P_H
135