23 #ifndef _TelepathyQt_protocol_parameter_h_HEADER_GUARD_ 24 #define _TelepathyQt_protocol_parameter_h_HEADER_GUARD_ 26 #ifndef IN_TP_QT_HEADER 27 #error IN_TP_QT_HEADER 30 #include <TelepathyQt/Constants> 31 #include <TelepathyQt/Global> 32 #include <TelepathyQt/Types> 34 #include <QDBusSignature> 35 #include <QSharedDataPointer> 48 const QDBusSignature &dbusSignature,
50 QVariant defaultValue = QVariant());
52 const QString &dbusSignature,
54 QVariant defaultValue = QVariant());
58 bool isValid()
const {
return mPriv.constData() != 0; }
66 QDBusSignature dbusSignature()
const;
67 QVariant::Type type()
const;
68 QVariant defaultValue()
const;
70 bool isRequired()
const;
71 bool isSecret()
const;
72 bool isRequiredForRegistration()
const;
81 friend struct Private;
82 QSharedDataPointer<Private> mPriv;
bool operator==(const SUSocketAddress &v1, const SUSocketAddress &v2)
Definition: types.cpp:50
uint qHash(const ChannelClassSpec &spec)
Definition: channel-class-spec.h:283
QFlags< ConnMgrParamFlag > ConnMgrParamFlags
Definition: build/TelepathyQt/_gen/constants.h:127
Definition: build/TelepathyQt/_gen/types.h:2227
The ProtocolInfo class represents a Telepathy Protocol.
Definition: protocol-info.h:46
The ProtocolParameter class represents a Telepathy protocol parameter.
Definition: protocol-parameter.h:42
The ConnectionManager class represents a Telepathy connection manager.
Definition: connection-manager.h:52
Definition: abstract-adaptor.cpp:31
bool isValid() const
Definition: protocol-parameter.h:58
QList< ProtocolParameter > ProtocolParameterList
Definition: protocol-parameter.h:85