3 @author: Sudheer K. <scifi1947 at gmail.com>
4 @license: GNU General Public License
6 Based on QtTelepathy with copyright notice below.
10 * QtTelepathy, the Tapioca Qt4 Telepathy Client Library
11 * Copyright (C) 2006 by Tobias Hunger <tobias.hunger@basyskom.de>
12 * Copyright (C) 2006 by INdT
13 * @author Andre Moreira Magalhaes <andre.magalhaes@indt.org>
15 * This library is free software; you can redistribute it and/or
16 * modify it under the terms of the GNU Lesser General Public
17 * License as published by the Free Software Foundation; either
18 * version 2.1 of the License, or (at your option) any later version.
20 * This library is distributed in the hope that it will be useful,
21 * but WITHOUT ANY WARRANTY; without even the implied warranty of
22 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
23 * Lesser General Public License for more details.
25 * You should have received a copy of the GNU Lesser General Public
26 * License along with this library; if not, write to the Free Software
27 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
30 #ifndef QTTELEPATHY_CONNECTIONINTERFACEREQUESTSTYPES_H
31 #define QTTELEPATHY_CONNECTIONINTERFACEREQUESTSTYPES_H
33 #include <QtCore/QList>
34 #include <QtCore/QDebug>
35 #include <QtCore/QVariantMap>
36 #include <QtDBus/QDBusArgument>
37 #include <QtDBus/QDBusObjectPath>
40 namespace freedesktop {
46 QDBusObjectPath channel;
47 QVariantMap properties;
49 typedef QList<ChannelDetails> ChannelDetailsList;
51 class RequestableChannelClass
54 QVariantMap fixedProperties;
55 QStringList allowedProperties;
57 typedef QList<RequestableChannelClass> RequestableChannelClassList;
59 } // namespace Telepathy
60 } // namespace freedesktop
63 Q_DECLARE_METATYPE(org::freedesktop::Telepathy::ChannelDetails)
64 Q_DECLARE_METATYPE(org::freedesktop::Telepathy::ChannelDetailsList)
66 const QDBusArgument& operator>>(const QDBusArgument& arg, org::freedesktop::Telepathy::ChannelDetails& val);
67 QDBusArgument& operator<<(QDBusArgument& arg, const org::freedesktop::Telepathy::ChannelDetails& val);
68 QDebug& operator<<(QDebug arg, const org::freedesktop::Telepathy::ChannelDetails& val);
70 Q_DECLARE_METATYPE(org::freedesktop::Telepathy::RequestableChannelClass)
71 Q_DECLARE_METATYPE(org::freedesktop::Telepathy::RequestableChannelClassList)
73 const QDBusArgument& operator>>(const QDBusArgument& arg, org::freedesktop::Telepathy::RequestableChannelClass& val);
74 QDBusArgument& operator<<(QDBusArgument& arg, const org::freedesktop::Telepathy::RequestableChannelClass& val);
75 QDebug& operator<<(QDebug arg, const org::freedesktop::Telepathy::RequestableChannelClass& val);