mysocials-core 1.0
Public Member Functions | Static Public Member Functions | Public Attributes

Account Class Reference

List of all members.

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 getInboxMessageList ()
void setInboxMessageList (const MessageList &)
MessageList getOutboxMessageList ()
void setOutboxMessageList (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 AccountloadAccount (const QString &accountId)

Public Attributes

QTransporttransport
bool isFirstRequest
bool isNetworkEnabled

Member Function Documentation

AlbumList Account::getAlbumList ( )

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:
AlbumList
void Account::setProxy ( const QString &  proxyHost,
const int  proxyPort 
)

setup proxy settings for current driver

Parameters:
proxyHostproxy host name or QString() if proxy not use
proxyPortproxy port number or 0 if proxy not use

The documentation for this class was generated from the following files: