24 #ifndef DIGIKAM_VKONTAKTE_GROUPINFO_H
25 #define DIGIKAM_VKONTAKTE_GROUPINFO_H
29 #include <QSharedPointer>
35 class GroupInfo :
public QObject
40 Q_PROPERTY(
int gid WRITE setGid READ gid)
44 Q_PROPERTY(QString name WRITE setName READ name)
45 Q_PROPERTY(QString screen_name WRITE setScreenName READ screenName)
46 Q_PROPERTY(
bool is_closed WRITE setClosed READ isClosed)
47 Q_PROPERTY(
bool is_admin WRITE setAdmin READ isAdmin)
48 Q_PROPERTY(QString photo WRITE setPhoto READ photo)
49 Q_PROPERTY(QString photo_medium WRITE setPhotoMedium READ photoMedium)
50 Q_PROPERTY(QString photo_big WRITE setPhotoBig READ photoBig)
60 void setName(
const QString& name);
63 void setScreenName(
const QString& screenName);
64 QString screenName()
const;
66 void setClosed(
bool closed);
67 bool isClosed()
const;
69 void setAdmin(
bool admin);
72 void setPhoto(
const QString& photo);
73 QString photo()
const;
75 void setPhotoMedium(
const QString& photoMedium);
76 QString photoMedium()
const;
78 void setPhotoBig(
const QString& photoBig);
79 QString photoBig()
const;
87 typedef QSharedPointer<GroupInfo> GroupInfoPtr;