kmail

KMMainWidget Class Reference

List of all members.

Detailed Description

Definition at line 77 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)
void updateCustomTemplateMenus ()

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
KAction * action (const char *name)
KAction * replyAction () const
KAction * replyAuthorAction () const
KAction * replyAllAction () const
KAction * replyListAction () const
KActionMenu * customReplyAction () const
KActionMenu * customReplyAllAction () const
KActionMenu * replyMenu () const
KActionMenu * forwardMenu () const
KAction * forwardInlineAction () const
KAction * forwardAttachedAction () const
KAction * forwardDigestAction () const
KAction * redirectAction () const
KActionMenu * customForwardAction () const
KAction * noQuoteReplyAction () const
KActionMenu * filterMenu () const
KAction * printAction () const
KAction * trashAction () const
KAction * deleteAction () const
KAction * trashThreadAction () const
KAction * deleteThreadAction () const
KAction * saveAsAction () const
KAction * editAction () const
KAction * useAction () const
KAction * sendAgainAction () const
KAction * applyAllFiltersAction () const
KAction * findInMessageAction () const
KAction * saveAttachmentsAction () const
KAction * openAction () const
KAction * viewSourceAction ()
KActionMenu * statusMenu () const
KActionMenu * threadStatusMenu () const
KActionMenu * moveActionMenu () const
KActionMenu * mopyActionMenu () const
KActionMenu * applyFilterActionsMenu () const
KToggleAction * watchThreadAction () const
KToggleAction * ignoreThreadAction () 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 slotUseTemplate ()
void slotDeleteMsg (bool confirmDelete=true)
void slotTrashThread ()
void slotDeleteThread (bool confirmDelete=true)
void slotUndo ()
void slotReadOn ()
void slotSaveMsg ()
void slotOpenMsg ()
void slotSaveAttachments ()
void slotJumpToFolder ()
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 slotShowNewFromTemplate ()
void slotNewFromTemplate (int)
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 slotCustomReplyToMsg (int tid)
void slotCustomReplyAllToMsg (int tid)
void slotForwardInlineMsg ()
void slotForwardAttachedMsg ()
void slotForwardDigestMsg ()
void slotRedirectMsg ()
void slotCustomForwardMsg (int tid)
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 ()
void newFromTemplate (KMMessage *msg)
KActionCollection * actionCollection () const
KConfig * config ()

Member Function Documentation

void KMMainWidget::readPreConfig ( void   )  [virtual]

Read configuration options before widgets are created.

Definition at line 265 of file kmmainwidget.cpp.

void KMMainWidget::readFolderConfig ( void   )  [virtual]

Read configuration for current folder.

Definition at line 277 of file kmmainwidget.cpp.

void KMMainWidget::writeFolderConfig ( void   )  [virtual]

Write configuration for current folder.

Definition at line 292 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 307 of file kmmainwidget.cpp.

void KMMainWidget::writeConfig ( void   )  [virtual]

Write configuration options.

Definition at line 462 of file kmmainwidget.cpp.

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

Easy access to main components of the window.

Definition at line 105 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 157 of file kmmainwidget.h.

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 3715 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 3835 of file kmmainwidget.cpp.

void KMMainWidget::slotCheckMail (  )  [slot]

sven: moved here as public

Definition at line 813 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 1886 of file kmmainwidget.cpp.

void KMMainWidget::folderSelected (  )  [slot]

Reselect current folder.

Definition at line 1876 of file kmmainwidget.cpp.

void KMMainWidget::folderSelectedUnread ( KMFolder  )  [slot]

Select the folder and jump to the next unread msg.

Definition at line 1869 of file kmmainwidget.cpp.

void KMMainWidget::slotSelectFolder ( KMFolder  )  [slot]

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

Definition at line 2053 of file kmmainwidget.cpp.

void KMMainWidget::updateMessageMenu (  )  [slot]

Update message menu.

Definition at line 3224 of file kmmainwidget.cpp.

void KMMainWidget::startUpdateMessageActionsTimer (  )  [slot]

Start a timer to update message actions.

Definition at line 3234 of file kmmainwidget.cpp.

void KMMainWidget::updateMessageActions (  )  [slot]

Update message actions.

Definition at line 3240 of file kmmainwidget.cpp.

void KMMainWidget::slotSubscriptionDialog (  )  [slot]

Launch subscription-dialog.

Definition at line 3746 of file kmmainwidget.cpp.

void KMMainWidget::slotFolderTreeColumnsChanged (  )  [slot]

The columns of the foldertree changed.

Definition at line 3780 of file kmmainwidget.cpp.

void KMMainWidget::clearFilterActions (  )  [slot]

Clear and create actions for marked filters.

Definition at line 3596 of file kmmainwidget.cpp.

void KMMainWidget::initializeIMAPActions (  )  [inline, slot]

Create IMAP-account-related actions if applicable.

Definition at line 222 of file kmmainwidget.h.

void KMMainWidget::initializeFolderShortcutActions (  )  [slot]

Create actions for the folder shortcuts.

Definition at line 3613 of file kmmainwidget.cpp.

void KMMainWidget::slotShortcutChanged ( KMFolder folder  )  [slot]

Add, remove or adjust the folder's shortcut.

Definition at line 3725 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::slotShowTip (  )  [protected, slot]

Show tip-of-the-day, forced.

Definition at line 3510 of file kmmainwidget.cpp.

void KMMainWidget::slotNextMessage (  )  [protected, slot]

Message navigation.

Definition at line 2219 of file kmmainwidget.cpp.

void KMMainWidget::slotDisplayCurrentMessage (  )  [protected, slot]

etc.

Definition at line 2240 of file kmmainwidget.cpp.

void KMMainWidget::slotUpdateUndo (  )  [protected, slot]

Update the undo action.

Definition at line 3588 of file kmmainwidget.cpp.

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

Move selected messages to folder with corresponding to given menuid.

Definition at line 3208 of file kmmainwidget.cpp.

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

Copy selected messages to folder with corresponding to given menuid.

Definition at line 3216 of file kmmainwidget.cpp.

void KMMainWidget::updateFolderMenu (  )  [protected, slot]

Update html and threaded messages preferences in Folder menu.

Definition at line 3380 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 3374 of file kmmainwidget.cpp.

void KMMainWidget::slotToggleShowQuickSearch (  )  [protected, slot]

Settings menu.

Definition at line 1333 of file kmmainwidget.cpp.

void KMMainWidget::slotEditNotifications (  )  [protected, slot]

XML-GUI stuff.

Definition at line 3133 of file kmmainwidget.cpp.

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

changes the caption and displays the foldername

Definition at line 3516 of file kmmainwidget.cpp.

void KMMainWidget::slotReplyToMsg (  )  [protected, slot]

Slot to reply to a message.

Definition at line 1447 of file kmmainwidget.cpp.

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

Remove the shortcut actions associated with a folder.

Definition at line 3678 of file kmmainwidget.cpp.

void KMMainWidget::slotShowBusySplash (  )  [protected, slot]

Show a splash screen for the longer-lasting operation.

Definition at line 1997 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 2008 of file kmmainwidget.cpp.


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