Account Class Reference
List of all members.
Signals |
void | draftsUpdated (MessageList draftMessages) |
Public Member Functions |
| Account (QString libraryName) |
| Account (QString libraryName, QString accountId) |
bool | ready () const |
void | saveAccount () |
FriendList | getFriendList () |
void | setFriendList (const FriendList &list) |
QString | accountId () const |
QString | serviceName () const |
AlbumList | getAlbumList () |
| get list of my albums or load it from cache
|
void | setAlbumList (const AlbumList &list) |
| set list of my albums and store it to cache file
|
MessageList | getMessageList () |
void | setMessageList (const MessageList &) |
void | setDraftMessages (const MessageList &) |
MessageList | getDraftMessages () |
Friend | getProfile (const bool isNeedUpdate) |
void | setProfile (const Friend &profile) |
void | setProxy (const QString &proxyHost, const int proxyPort) |
| setup proxy settings for current driver
|
Static Public Member Functions |
static Account * | loadAccount (const QString &accountId) |
Public Attributes |
QTransport * | transport |
bool | isFirstRequest |
bool | isNetworkEnabled |
Member Function Documentation
get list of my albums or load it from cache
- Returns:
- AlbumList list of my albums
void Account::setAlbumList |
( |
const AlbumList & |
list |
) |
|
set list of my albums and store it to cache file
- Parameters:
-
void Account::setProxy |
( |
const QString & |
proxyHost, |
|
|
const int |
proxyPort | |
|
) |
| | |
setup proxy settings for current driver
- Parameters:
-
| proxyHost | proxy host name or QString() if proxy not use - Parameters:
-
| proxyPort | proxy port number or 0 if proxy not use |
|
The documentation for this class was generated from the following files:
- src/datatypes/account.h
- src/datatypes/account.cpp