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 INdT
12 * @author Andre Moreira Magalhaes <andre.magalhaes@indt.org>
14 * This library is free software; you can redistribute it and/or
15 * modify it under the terms of the GNU Lesser General Public
16 * License as published by the Free Software Foundation; either
17 * version 2.1 of the License, or (at your option) any later version.
19 * This library is distributed in the hope that it will be useful,
20 * but WITHOUT ANY WARRANTY; without even the implied warranty of
21 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
22 * Lesser General Public License for more details.
24 * You should have received a copy of the GNU Lesser General Public
25 * License along with this library; if not, write to the Free Software
26 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
29 #include "connectioninterfacerequeststypes.h"
31 using namespace org::freedesktop::Telepathy;
33 const QDBusArgument &operator>>(const QDBusArgument &argument, ChannelDetails &val)
35 argument.beginStructure();
36 argument >> val.channel >> val.properties;
37 argument.endStructure();
41 QDBusArgument &operator<<(QDBusArgument &argument, const ChannelDetails &val)
43 argument.beginStructure();
44 argument << val.channel << val.properties;
45 argument.endStructure();
49 QDebug &operator<<(QDebug arg,const ChannelDetails &val)
51 arg.space() << "[" << val.channel.path() << "," << val.properties <<"]";
55 const QDBusArgument &operator>>(const QDBusArgument &argument, RequestableChannelClass &val)
57 argument.beginStructure();
58 argument >> val.fixedProperties >> val.allowedProperties;
59 argument.endStructure();
63 QDBusArgument &operator<<(QDBusArgument &argument, const RequestableChannelClass &val)
65 argument.beginStructure();
66 argument << val.fixedProperties << val.allowedProperties;
67 argument.endStructure();
71 QDebug &operator<<(QDebug arg,const RequestableChannelClass &val)
73 arg.space() << "[" << val.fixedProperties << "," << val.allowedProperties <<"]";