Logo Search packages:      
Sourcecode: kadu version File versions

Public Types | Public Slots | Signals | Public Member Functions | Static Public Member Functions | Protected Slots | Protected Member Functions | Static Protected Attributes | Private Slots | Private Member Functions | Private Attributes | Friends

GaduProtocol Class Reference

Inheritance diagram for GaduProtocol:
Inheritance graph
[legend]
Collaboration diagram for GaduProtocol:
Collaboration graph
[legend]

List of all members.

Public Types

enum  GaduError {
  ConnectionServerNotFound, ConnectionCannotConnect, ConnectionNeedEmail, ConnectionInvalidData,
  ConnectionCannotRead, ConnectionCannotWrite, ConnectionIncorrectPassword, ConnectionTlsError,
  ConnectionIntruderError, ConnectionUnavailableError, ConnectionUnknow, ConnectionTimeout,
  Disconnected
}
typedef unsigned int UinType

Public Slots

void passwordProvided ()

Signals

void connected (Account account)
void connecting (Account account)
void connectionError (Account account, const QString &server, const QString &reason)
void contactStatusChanged (Contact contact, Status oldStatus)
void disconnected (Account account)
void invalidPassword (Account account)
void stateMachineChangeStatus ()
void stateMachineConnectionClosed ()
void stateMachineConnectionError ()
void stateMachineLoggedIn ()
void stateMachineLoggedOut ()
void stateMachineLogout ()
void stateMachinePasswordAvailable ()
void stateMachinePasswordNotAvailable ()
void stateMachinePasswordRequired ()
void statusChanged (Account account, Status newStatus)
void userStatusChangeIgnored (Buddy)

Public Member Functions

Account account () const
virtual AvatarServiceavatarService ()
virtual void changePrivateMode ()
virtual ChatImageServicechatImageService ()
virtual ChatServicechatService ()
virtual GaduChatStateServicechatStateService ()
virtual ContactListServicecontactListService ()
virtual
ContactPersonalInfoService
contactPersonalInfoService ()
virtual bool contactsListReadOnly ()
void emitContactStatusChanged (Contact contact, Status oldStatus)
virtual FileTransferServicefileTransferService ()
 GaduProtocol (Account account, ProtocolFactory *factory)
gg_session * gaduSession ()
KaduIcon icon ()
bool isConnected ()
bool isConnecting ()
virtual int maxDescriptionLength ()
virtual MultilogonServicemultilogonService ()
virtual PersonalInfoServicepersonalInfoService ()
ProtocolFactoryprotocolFactory () const
virtual RosterServicerosterService ()
virtual SearchServicesearchService ()
void setStatus (Status status)
GaduProtocolSocketNotifierssocketNotifiers ()
Status status () const
KaduIcon statusIcon ()
KaduIcon statusIcon (const Status &status)
KaduIcon statusIcon (const QString &statusType)
virtual QString statusPixmapPath ()
virtual bool supportsPrivateStatus ()

Static Public Member Functions

static void notifyAll ()

Protected Slots

void connectionClosed ()
void connectionError ()
void loggedIn ()
void loggedOut ()
void passwordRequired ()

Protected Member Functions

virtual void afterLoggedIn ()
virtual void configurationUpdated ()
virtual void disconnectedCleanup ()
virtual void login ()
Status loginStatus () const
virtual void logout ()
virtual void sendStatusToServer ()
void statusChanged (Status newStatus)

Static Protected Attributes

static QList
< ConfigurationAwareObject * > 
Objects

Private Slots

void accountUpdated ()
void connectionTimeoutTimerSlot ()
void everyMinuteActions ()

Private Member Functions

void cleanUpLoginParams ()
void connectedToServer ()
void disconnectedFromServer ()
void sendUserList ()
void setUpFileTransferService (bool forceClose=false)
void setupLoginParams ()
void socketConnFailed (GaduError error)
void socketContactStatusChanged (UinType uin, unsigned int status, const QString &description, unsigned int maxImageSize)
void startFileTransferService ()
void stopFileTransferService ()

Private Attributes

GaduServersManager::GaduServer ActiveServer
GaduContactListHandlerContactListHandler
GaduAvatarServiceCurrentAvatarService
GaduChatImageServiceCurrentChatImageService
GaduChatServiceCurrentChatService
GaduChatStateServiceCurrentChatStateService
GaduContactListServiceCurrentContactListService
GaduContactPersonalInfoServiceCurrentContactPersonalInfoService
GaduFileTransferServiceCurrentFileTransferService
GaduMultilogonServiceCurrentMultilogonService
GaduPersonalInfoServiceCurrentPersonalInfoService
GaduSearchServiceCurrentSearchService
struct gg_login_params GaduLoginParams
gg_session * GaduSession
QTimer * PingTimer
GaduProtocolSocketNotifiersSocketNotifiers

Friends

class GaduProtocolSocketNotifiers

Detailed Description

Definition at line 58 of file gadu-protocol.h.


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

Generated by  Doxygen 1.6.0   Back to index