From f9fd7817831c2999044749b21bec05be24ba013e Mon Sep 17 00:00:00 2001 From: Jeremy Lainé Date: Wed, 1 Sep 2010 08:27:11 +0000 Subject: hide getPhotoAsImage if QXMPP_NO_GUI is defined --- src/QXmppVCard.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src') 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 -- cgit v1.2.3