aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJeremy Lainé <jeremy.laine@m4x.org>2010-09-01 08:27:11 +0000
committerJeremy Lainé <jeremy.laine@m4x.org>2010-09-01 08:27:11 +0000
commitf9fd7817831c2999044749b21bec05be24ba013e (patch)
treeedd0736a06e8214bd052e0e66069d282068875a0 /src
parent38f474905d84b575de05a0ac3a55aaa9e7f941a9 (diff)
downloadqxmpp-f9fd7817831c2999044749b21bec05be24ba013e.tar.gz
hide getPhotoAsImage if QXMPP_NO_GUI is defined
Diffstat (limited to 'src')
-rw-r--r--src/QXmppVCard.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/QXmppVCard.h b/src/QXmppVCard.h
index db18f517..2f417514 100644
--- a/src/QXmppVCard.h
+++ b/src/QXmppVCard.h
@@ -91,7 +91,9 @@ public:
// deprecated in release 0.2.0
QString Q_DECL_DEPRECATED getFullName() const;
QString Q_DECL_DEPRECATED getNickName() const;
+#ifndef QXMPP_NO_GUI
QImage Q_DECL_DEPRECATED getPhotoAsImage() const;
+#endif
const QByteArray Q_DECL_DEPRECATED & getPhoto() const;
/// \endcond