kmail

KMMainWidget Class Reference

List of all members.

Detailed Description

Definition at line 76 of file kmmainwidget.h.


Public Slots

void slotMoveMsgToFolder (KMFolder *dest)
void slotTrashMsg ()
virtual void show ()
virtual void hide ()
void slotCheckMail ()
void folderSelected (KMFolder *, bool forceJumpToUnread=false)
void folderSelected ()
void folderSelectedUnread (KMFolder *)
void slotMsgSelected (KMMessage *)
void slotMsgChanged ()
void slotSelectFolder (KMFolder *)
void slotSelectMessage (KMMessage *)
void slotReplaceMsgByUnencryptedVersion ()
void updateMessageMenu ()
void startUpdateMessageActionsTimer ()
void updateMessageActions ()
void slotSubscriptionDialog ()
void slotFolderTreeColumnsChanged ()
void clearFilterActions ()
void initializeFilterActions ()
void initializeIMAPActions ()
void initializeFolderShortcutActions ()
void slotShortcutChanged (KMFolder *folder)

Signals

void messagesTransfered (bool)
void captionChangeRequest (const QString &caption)

Public Member Functions

 KMMainWidget (QWidget *parent, const char *name, KXMLGUIClient *aGUIClient, KActionCollection *actionCollection, KConfig *config=KMKernel::config())
virtual ~KMMainWidget ()
void destruct ()
virtual void readPreConfig (void)
virtual void readFolderConfig (void)
virtual void writeFolderConfig (void)
virtual void readConfig (void)
virtual void writeConfig (void)
KMReaderWinmessageView (void) const
KMFolderTreefolderTree (void) const
KActionaction (const char *name)
KActionreplyAction () const
KActionreplyAuthorAction () const
KActionreplyAllAction () const
KActionreplyListAction () const
KActionMenureplyMenu () const
KActionMenuforwardMenu () const
KActionforwardAction () const
KActionforwardAttachedAction () const
KActionredirectAction () const
KActionnoQuoteReplyAction () const
KActionMenufilterMenu () const
KActionprintAction () const
KActiontrashAction () const
KActiondeleteAction () const
KActiontrashThreadAction () const
KActiondeleteThreadAction () const
KActionsaveAsAction () const
KActioneditAction () const
KActionsendAgainAction () const
KActionapplyAllFiltersAction () const
KActionfindInMessageAction () const
KActionsaveAttachmentsAction () const
KActionopenAction () const
KActionviewSourceAction ()
KActionMenustatusMenu () const
KActionMenuthreadStatusMenu () const
KActionMenumoveActionMenu () const
KActionMenumopyActionMenu () const
KActionMenuapplyFilterActionsMenu () const
KToggleActionwatchThreadAction () const
KToggleActionignoreThreadAction () const
KMHeadersheaders () const
void toggleSystemTray ()
void updateListFilterAction ()
KMSystemTraysystray () const
bool shortcutIsValid (const KShortcut &) const
void modifyFolder (KMFolderTreeItem *folderItem)
void setAccelsEnabled (bool enabled=true)

Static Public Member Functions

static void cleanup ()
static const QValueList< KMMainWidget * > * mainWidgetList ()

Protected Slots

void slotCheckOneAccount (int)
void slotMailChecked (bool newMail, bool sendOnCheck, const QMap< QString, int > &newInFolder)
void getAccountMenu ()
void getTransportMenu ()
void slotHelp ()
void slotFilter ()
void slotPopFilter ()
void slotManageSieveScripts ()
void slotAddrBook ()
void slotImport ()
void slotViewChange ()
void slotCompose ()
void slotPostToML ()
void slotModifyFolder ()
void slotFolderMailingListProperties ()
void slotFolderShortcutCommand ()
void slotExpireFolder ()
void slotExpireAll ()
void slotInvalidateIMAPFolders ()
void slotMarkAllAsRead ()
void slotRemoveFolder ()
void slotEmptyFolder ()
void slotCompactFolder ()
void slotRefreshFolder ()
void slotTroubleshootFolder ()
void slotCompactAll ()
void slotOverrideHtml ()
void slotOverrideHtmlLoadExt ()
void slotOverrideThread ()
void slotToggleSubjectThreading ()
void slotMessageQueuedOrDrafted ()
void slotEditMsg ()
void slotDeleteMsg (bool confirmDelete=true)
void slotTrashThread ()
void slotDeleteThread (bool confirmDelete=true)
void slotUndo ()
void slotReadOn ()
void slotSaveMsg ()
void slotOpenMsg ()
void slotSaveAttachments ()
void slotMoveMsg ()
void slotCopyMsgToFolder (KMFolder *dest)
void slotCopyMsg ()
void slotResendMsg ()
void slotEditVacation ()
void slotDebugSieve ()
void slotStartCertManager ()
void slotStartWatchGnuPG ()
void slotApplyFilters ()
void slotExpandThread ()
void slotExpandAllThreads ()
void slotCollapseThread ()
void slotCollapseAllThreads ()
void slotShowMsgSrc ()
void slotSetMsgStatusNew ()
void slotSetMsgStatusUnread ()
void slotSetMsgStatusRead ()
void slotSetMsgStatusTodo ()
void slotSetMsgStatusSent ()
void slotSetMsgStatusFlag ()
void slotSetThreadStatusNew ()
void slotSetThreadStatusUnread ()
void slotSetThreadStatusRead ()
void slotSetThreadStatusTodo ()
void slotSetThreadStatusFlag ()
void slotSetThreadStatusWatched ()
void slotSetThreadStatusIgnored ()
void slotToggleUnread ()
void slotToggleTotalColumn ()
void slotSendQueued ()
void slotSendQueuedVia (int item)
void slotOnlineStatus ()
void slotUpdateOnlineStatus (GlobalSettings::EnumNetworkState::type)
void slotMsgPopup (KMMessage &msg, const KURL &aUrl, const QPoint &)
void slotMarkAll ()
void slotMemInfo ()
void slotSearch ()
void slotSearchClosed ()
void slotFind ()
void slotIntro ()
void slotShowStartupFolder ()
void slotShowTip ()
void slotAntiSpamWizard ()
void slotAntiVirusWizard ()
void slotFilterLogViewer ()
void slotNextMessage ()
void slotNextUnreadMessage ()
void slotNextImportantMessage ()
void slotNextUnreadFolder ()
void slotPrevMessage ()
void slotPrevUnreadMessage ()
void slotPrevImportantMessage ()
void slotPrevUnreadFolder ()
void slotDisplayCurrentMessage ()
void slotMsgActivated (KMMessage *)
void slotUpdateUndo ()
virtual void moveSelectedToFolder (int menuId)
virtual void copySelectedToFolder (int menuId)
void updateFolderMenu ()
void updateMarkAsReadAction ()
void slotToggleShowQuickSearch ()
void slotEditNotifications ()
void slotEditKeys ()
void slotChangeCaption (QListViewItem *)
void removeDuplicates ()
void slotReplyToMsg ()
void slotReplyAuthorToMsg ()
void slotReplyListToMsg ()
void slotReplyAllToMsg ()
void slotForwardMsg ()
void slotForwardAttachedMsg ()
void slotRedirectMsg ()
void slotNoQuoteReplyToMsg ()
void slotSubjectFilter ()
void slotMailingListFilter ()
void slotFromFilter ()
void slotToFilter ()
void slotPrintMsg ()
void slotConfigChanged ()
void slotFolderRemoved (KMFolder *folder)
void slotShowBusySplash ()
void showOfflinePage ()

Protected Member Functions

void setupActions ()
void createWidgets ()
void activatePanners ()
void showMsg (KMReaderWin *win, KMMessage *msg)
void updateFileMenu ()
KActionCollectionactionCollection () const
KConfig * config ()

Member Function Documentation

void KMMainWidget::clearFilterActions  )  [slot]
 

Clear and create actions for marked filters.

Definition at line 3260 of file kmmainwidget.cpp.

KConfig* KMMainWidget::config  )  [protected]
 

Returns:
the correct config dialog depending on whether the parent of the mainWidget is a KPart or a KMMainWindow. When dealing with geometries, use this pointer

void KMMainWidget::copySelectedToFolder int  menuId  )  [protected, virtual, slot]
 

Copy selected messages to folder with corresponding to given menuid.

Definition at line 2887 of file kmmainwidget.cpp.

void KMMainWidget::folderSelected  )  [slot]
 

Reselect current folder.

Definition at line 1720 of file kmmainwidget.cpp.

void KMMainWidget::folderSelected KMFolder ,
bool  forceJumpToUnread = false
[slot]
 

Select the given folder If the folder is 0 the intro is shown.

Definition at line 1730 of file kmmainwidget.cpp.

void KMMainWidget::folderSelectedUnread KMFolder  )  [slot]
 

Select the folder and jump to the next unread msg.

Definition at line 1713 of file kmmainwidget.cpp.

void KMMainWidget::initializeFolderShortcutActions  )  [slot]
 

Create actions for the folder shortcuts.

Definition at line 3277 of file kmmainwidget.cpp.

void KMMainWidget::initializeIMAPActions  )  [inline, slot]
 

Create IMAP-account-related actions if applicable.

Definition at line 216 of file kmmainwidget.h.

static const QValueList<KMMainWidget*>* KMMainWidget::mainWidgetList  )  [inline, static]
 

Returns a list of all KMMainWidgets.

Warning, the list itself can be 0.

Returns:
the list of all main widgets, or 0 if it is not yet initialized

Definition at line 151 of file kmmainwidget.h.

KMReaderWin* KMMainWidget::messageView void   )  const [inline]
 

Easy access to main components of the window.

Definition at line 104 of file kmmainwidget.h.

void KMMainWidget::moveSelectedToFolder int  menuId  )  [protected, virtual, slot]
 

Move selected messages to folder with corresponding to given menuid.

Definition at line 2879 of file kmmainwidget.cpp.

void KMMainWidget::readConfig void   )  [virtual]
 

Read configuration options after widgets are created.

unread / total columns as we have some dependencies in this widget it's better to manage these here

Definition at line 286 of file kmmainwidget.cpp.

void KMMainWidget::readFolderConfig void   )  [virtual]
 

Read configuration for current folder.

Definition at line 256 of file kmmainwidget.cpp.

void KMMainWidget::readPreConfig void   )  [virtual]
 

Read configuration options before widgets are created.

Definition at line 244 of file kmmainwidget.cpp.

void KMMainWidget::setAccelsEnabled bool  enabled = true  ) 
 

Enable or disable the global accelerators.

This is useful for keyboard navigation inside child widgets like combo boxes.

Definition at line 3499 of file kmmainwidget.cpp.

bool KMMainWidget::shortcutIsValid const KShortcut &   )  const
 

Checks a shortcut against the actioncollection and returns whether it is already used and therefor not valid or not.

Definition at line 3379 of file kmmainwidget.cpp.

void KMMainWidget::showOfflinePage  )  [protected, slot]
 

Show a message screen explaining that we are currently offline, when an online folder is selected.

Definition at line 1852 of file kmmainwidget.cpp.

void KMMainWidget::slotChangeCaption QListViewItem *   )  [protected, slot]
 

changes the caption and displays the foldername

Definition at line 3180 of file kmmainwidget.cpp.

void KMMainWidget::slotCheckMail  )  [slot]
 

sven: moved here as public

Definition at line 791 of file kmmainwidget.cpp.

void KMMainWidget::slotDisplayCurrentMessage  )  [protected, slot]
 

etc.

Definition at line 2084 of file kmmainwidget.cpp.

void KMMainWidget::slotEditNotifications  )  [protected, slot]
 

XML-GUI stuff.

Definition at line 2805 of file kmmainwidget.cpp.

void KMMainWidget::slotFolderRemoved KMFolder folder  )  [protected, slot]
 

Remove the shortcut actions associated with a folder.

Definition at line 3342 of file kmmainwidget.cpp.

void KMMainWidget::slotFolderTreeColumnsChanged  )  [slot]
 

The columns of the foldertree changed.

Definition at line 3444 of file kmmainwidget.cpp.

void KMMainWidget::slotNextMessage  )  [protected, slot]
 

Message navigation.

Definition at line 2063 of file kmmainwidget.cpp.

void KMMainWidget::slotReplyToMsg  )  [protected, slot]
 

Slot to reply to a message.

Definition at line 1350 of file kmmainwidget.cpp.

void KMMainWidget::slotSelectFolder KMFolder  )  [slot]
 

Change the current folder, select a message in the current folder.

Definition at line 1897 of file kmmainwidget.cpp.

void KMMainWidget::slotShortcutChanged KMFolder folder  )  [slot]
 

Add, remove or adjust the folder's shortcut.

Definition at line 3389 of file kmmainwidget.cpp.

void KMMainWidget::slotShowBusySplash  )  [protected, slot]
 

Show a splash screen for the longer-lasting operation.

Definition at line 1841 of file kmmainwidget.cpp.

void KMMainWidget::slotShowTip  )  [protected, slot]
 

Show tip-of-the-day, forced.

Definition at line 3174 of file kmmainwidget.cpp.

void KMMainWidget::slotSubscriptionDialog  )  [slot]
 

Launch subscription-dialog.

Definition at line 3410 of file kmmainwidget.cpp.

void KMMainWidget::slotToggleShowQuickSearch  )  [protected, slot]
 

Settings menu.

Definition at line 1257 of file kmmainwidget.cpp.

void KMMainWidget::slotUpdateUndo  )  [protected, slot]
 

Update the undo action.

Definition at line 3252 of file kmmainwidget.cpp.

void KMMainWidget::startUpdateMessageActionsTimer  )  [slot]
 

Start a timer to update message actions.

Definition at line 2905 of file kmmainwidget.cpp.

void KMMainWidget::updateFolderMenu  )  [protected, slot]
 

Update html and threaded messages preferences in Folder menu.

Definition at line 3044 of file kmmainwidget.cpp.

void KMMainWidget::updateMarkAsReadAction  )  [protected, slot]
 

Enable or disable the "mark all as read" action.

Needs to happen more often the the other updates and is therefor in its own method.

Definition at line 3038 of file kmmainwidget.cpp.

void KMMainWidget::updateMessageActions  )  [slot]
 

Update message actions.

Definition at line 2911 of file kmmainwidget.cpp.

void KMMainWidget::updateMessageMenu  )  [slot]
 

Update message menu.

Definition at line 2895 of file kmmainwidget.cpp.

void KMMainWidget::writeConfig void   )  [virtual]
 

Write configuration options.

Definition at line 441 of file kmmainwidget.cpp.

void KMMainWidget::writeFolderConfig void   )  [virtual]
 

Write configuration for current folder.

Definition at line 271 of file kmmainwidget.cpp.


The documentation for this class was generated from the following files:
KDE Home | KDE Accessibility Home | Description of Access Keys