A class for photo information storage.
More...
#include <photo.h>
List of all members.
Public Member Functions |
| Photo (const Photo &source) |
QDomElement | toQDomElement (QDomDocument &doc) const |
Photo & | operator= (const Photo &source) |
PhotoCommentList | getPhotoComments () const |
Static Public Member Functions |
static QDomElement | toQDomElement (QDomDocument &doc, const Photo &src) |
static Photo | fromQDomElement (const QDomElement &fr, const QString &accountId, const QString &friendId, const QString &albumId) |
static void | copyData (Photo *dst, const Photo *src) |
static void | setPhotoComments (const PhotoCommentList &list, const QString &accountId, const QString &friendId, const QString &albumId, const QString &photoId) |
static QString | getKey (const PhotoList &photos) |
| Generate unique key for list of images.
|
static QString | getKey (const Photo &photo) |
| Generate unique key for list of images.
|
static QString | getKey (const Album &album) |
| Generate unique key for list of images.
|
static PhotoList | loadPhotoList (const QString &accountId, const QString &ownerId, const QString &albumId) |
Public Attributes |
QString | photoId |
QString | albumId |
QString | ownerId |
QString | time_create |
QString | icon_url |
QString | icon |
QString | photo_url |
QString | photo |
QString | description |
QString | accountId |
Detailed Description
A class for photo information storage.
Member Function Documentation
QString Photo::getKey |
( |
const PhotoList & |
photos | ) |
[static] |
Generate unique key for list of images.
- Parameters:
-
- Returns:
- String contains image list key
QString Photo::getKey |
( |
const Photo & |
photo | ) |
[static] |
Generate unique key for list of images.
- Parameters:
-
- Returns:
- String contains image list key.
QString Photo::getKey |
( |
const Album & |
album | ) |
[static] |
Generate unique key for list of images.
- Parameters:
-
album | The album with images |
- Returns:
- String contains image list key
The documentation for this class was generated from the following files:
- src/datatypes/photo.h
- src/datatypes/photo.cpp