Album Class Reference
A class for album information storage.
More...
#include <album.h>
List of all members.
Detailed Description
A class for album information storage.
Constructor & Destructor Documentation
Album::Album |
( |
const Album & |
src |
) |
|
Constructs a copy of album.
Creates an instance of Album class based on another Album.
- Parameters:
-
Member Function Documentation
Album Album::fromQDomElement |
( |
const QDomElement & |
fr, |
|
|
const QString & |
accountId, |
|
|
const QString & |
friendId | |
|
) |
| | [static] |
Loads album from XML struct.
- Parameters:
-
| fr | XML struct with album data - Parameters:
-
| accountId | ID of account to which friend belongs - Parameters:
-
| friendId | ID of the owner of the album |
- Returns:
- Created Album
|
|
Loads photo list into Album from cache file.
- Returns:
- Created PhotoList
Overloads assignment operator for Album classes.
- Parameters:
-
void Album::setPhotoList |
( |
const PhotoList |
list, |
|
|
const QString |
accountId, |
|
|
const QString |
friendId, |
|
|
const QString |
albumId | |
|
) |
| | [static] |
Set photo list and store it to cache file.
- Parameters:
-
| list | list of photos to store - Parameters:
-
| accountId | account id for which need to save phot list - Parameters:
-
| friendId | owner id of the images - Parameters:
-
| albumId | id of saving album |
|
|
|
QDomElement Album::toQDomElement |
( |
QDomDocument & |
doc |
) |
const |
Store album data to XML format.
- Parameters:
-
- Returns:
- XML structure
Member Data Documentation
account id which belongs to the album (not stored in cache)
album description (optional)
Full path in system to the file with album's icon
Permalink on the file with album's icon
Number of images in this album
Unix timestamp when the album was created.
Unix timestamp when the album was modifed.
The documentation for this class was generated from the following files:
- src/datatypes/album.h
- src/datatypes/album.cpp