23 #ifndef _TelepathyQt_file_transfer_channel_creation_properties_h_HEADER_GUARD_ 24 #define _TelepathyQt_file_transfer_channel_creation_properties_h_HEADER_GUARD_ 26 #ifndef IN_TP_QT_HEADER 27 #error IN_TP_QT_HEADER 30 #include <TelepathyQt/Constants> 31 #include <TelepathyQt/Global> 35 #include <QSharedDataPointer> 37 #include <QVariantMap> 47 const QString &contentType, qulonglong size);
49 const QString &contentType);
54 bool isValid()
const {
return mPriv.constData() != 0; }
61 FileHashType contentHashType,
const QString &contentHash);
63 const QString &description);
65 const QDateTime &lastModificationTime);
69 QString suggestedFileName()
const;
70 QString contentType()
const;
71 qulonglong size()
const;
74 bool hasContentHash()
const;
76 QString contentHash()
const;
78 bool hasDescription()
const;
79 QString description()
const;
81 bool hasLastModificationTime()
const;
82 QDateTime lastModificationTime()
const;
87 QVariantMap createRequest()
const;
88 QVariantMap createRequest(
const QString &contactIdentifier)
const;
89 QVariantMap createRequest(uint handle)
const;
93 friend struct Private;
94 QSharedDataPointer<Private> mPriv;
bool operator==(const SUSocketAddress &v1, const SUSocketAddress &v2)
Definition: types.cpp:50
The FileTransferChannelCreationProperties class represents the properties of a file transfer channel ...
Definition: file-transfer-channel-creation-properties.h:42
FileHashType
Definition: build/TelepathyQt/_gen/constants.h:2678
bool isValid() const
Definition: file-transfer-channel-creation-properties.h:54
Definition: abstract-adaptor.cpp:31