Logo Search packages:      
Sourcecode: kmess version File versions  Download package

KMess Class Reference
[main]

#include <kmess.h>

Inheritance diagram for KMess:

KMessInterface

List of all members.


Detailed Description

The main window of the application.

This class initializes the application and handles all menu actions of the main window.

Author:
Mike K. Bennett

Definition at line 62 of file kmess.h.


Public Slots

void slotAccountAdded (Account *account)
void slotAccountChanged (Account *account, QString oldHandle, QString oldFriendlyName)
void slotAccountDeleted (Account *account)

Public Member Functions

void changeStatus (Status newStatus, QString autoReplyMessage=QString())
void checkAutologin (QString handle)
MsnNotificationConnectiongetNsConnection ()
bool initialize ()
bool isConnected ()
 KMess (QWidget *parent=0)

Protected Slots

virtual void showNetworkWindow ()
void showStatusBar ()
virtual void statusMessage (QString message, bool isError)
void updateOnlineTimer ()

Protected Member Functions

virtual void enableMenus (bool connected)
virtual void readGlobalProperties (KConfig *sessionConfig)
virtual void readProperties (const KConfigGroup &config=*((const KConfigGroup *) 0))
virtual void saveGlobalProperties (KConfig *sessionConfig)
virtual void saveProperties (KConfigGroup &config=*((KConfigGroup *) 0))

Protected Attributes

KActionCollection * actionCollection_
KActionMenu * connectActionMenu_
KAction * contextMenuAction_
KAction * disconnect_
KAction * globalSettings_
KSelectAction * listPictureSize_
KToggleAction * showAllowedAction_
KToggleAction * showEmptyAction_
KToggleAction * showHistoryBoxAction_
KToggleAction * showMenuBar_
KAction * showNetworkAction_
KToggleAction * showOfflineAction_
KToggleAction * showRemovedAction_
KToggleAction * showSearchAction_
KAction * showSettingsAction_
KToggleAction * showStatusBar_
KAction * showTransferAction_
KMenu * status_
SystemTrayWidgetsystemTrayWidget_
KSelectAction * viewMode_

Private Slots

void addNewContact ()
void addNewGroup ()
void changedListPictureSize (int mode)
void changedNowListeningSettings ()
void changedSong (const QString &artist, const QString &album, const QString &track, bool playing)
void changedStatus (Account *account=0)
void changeStatus (QAction *action)
void changeViewMode (int mode)
void connected ()
void connectWithAccount (QString handle, QString password, bool rememberAccount, bool rememberPassword, bool autologin, Status initialStatus)
void connectWithAccount (Account *account)
void createNewAccount ()
void disconnectClicked ()
void disconnected ()
void reconnect ()
void setCaptionToUser ()
void showChatHistory (const QString &handle=QString())
void showContactAddedUserDialog (const QString handle)
virtual void showContextMenu ()
void showListExportDialog ()
void showRemoveContactDialog (QString handle)
void showRemoveGroupDialog (QString groupId)
void showRenameGroupDialog (QString groupId)
void showSettingsForAccount (Account *account)
void showSettingsForCurrentAccount ()
void showTransferWindow ()
void showUserProfile ()
void slotConnectionStatusChanged (Solid::Networking::Status newStatus)
 Update the UI when the network connection status changes.
void slotContactAddedUserDialogChoice (const QString &handle, const QStringList &groupIds, const int code)
void toggleShowAllowed (bool show)
void toggleShowEmpty (bool show)
void toggleShowHistoryBox (bool show)
void toggleShowOffline (bool show)
void toggleShowRemoved (bool show)
void toggleShowSearchFrame (bool show)
void updateContextMenu (const QItemSelection &selection)
void userIsIdle ()
void userIsNotIdle ()

Private Member Functions

void applicationClosing ()
bool createDirectories ()
bool initChatMaster ()
bool initEmoticonManager ()
bool initIdleTimer ()
bool initMsnNotificationConnection ()
bool initNotifications ()
bool initNowListening ()
bool initProxy ()
void startConnection (Account *account)
void switchViewToContactList ()
void switchViewToInitialScreen ()

Private Attributes

ChatMasterchatMaster_
ChatNotificationchatNotification_
QHash< Account *, AccountAction * > connectMenuItems_
ContactStatusNotificationcontactStatusNotification_
CurrentAccountcurrentAccount_
KMessDBus * dbus_
IdleTimeridleTimer_
bool initialized_
InitialViewinitialView_
bool isIdleForced_
MsnNotificationConnectionmsnNotificationConnection_
NewEmailNotificationnewEmailNotification_
NotificationManagernotificationManager_
NowListeningClientnowListeningClient_
KMessViewview_

Friends

class KMessDBus
class KMessTest

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

Generated by  Doxygen 1.6.0   Back to index