kmail

KMMainWidget Class Reference

Inherits QWidget.

List of all members.


Detailed Description

Definition at line 79 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 slotLocalSubscriptionDialog ()
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)
void openFolder ()
void closeFolder ()
KActionCollection * actionCollection () const
KConfig * config ()

Member Function Documentation

void KMMainWidget::readPreConfig ( void   )  [virtual]

Read configuration options before widgets are created.

Definition at line 270 of file kmmainwidget.cpp.

void KMMainWidget::readFolderConfig ( void   )  [virtual]

Read configuration for current folder.

Definition at line 286 of file kmmainwidget.cpp.

void KMMainWidget::writeFolderConfig ( void   )  [virtual]

Write configuration for current folder.

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

void KMMainWidget::writeConfig ( void   )  [virtual]

Write configuration options.

Definition at line 465 of file kmmainwidget.cpp.

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

Easy access to main components of the window.

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

bool KMMainWidget::shortcutIsValid ( const KShortcut &  sc  )  const

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

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

void KMMainWidget::slotCheckMail (  )  [slot]

sven: moved here as public

Definition at line 815 of file kmmainwidget.cpp.

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

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

Definition at line 1908 of file kmmainwidget.cpp.

void KMMainWidget::folderSelected (  )  [slot]

Reselect current folder.

Definition at line 1901 of file kmmainwidget.cpp.

void KMMainWidget::folderSelectedUnread ( KMFolder aFolder  )  [slot]

Select the folder and jump to the next unread msg.

Definition at line 1871 of file kmmainwidget.cpp.

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

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

Definition at line 2078 of file kmmainwidget.cpp.

void KMMainWidget::updateMessageMenu (  )  [slot]

Update message menu.

Definition at line 3266 of file kmmainwidget.cpp.

void KMMainWidget::startUpdateMessageActionsTimer (  )  [slot]

Start a timer to update message actions.

Definition at line 3276 of file kmmainwidget.cpp.

void KMMainWidget::updateMessageActions (  )  [slot]

Update message actions.

Definition at line 3282 of file kmmainwidget.cpp.

void KMMainWidget::slotSubscriptionDialog (  )  [slot]

Launch subscription-dialog (server side).

Definition at line 3822 of file kmmainwidget.cpp.

void KMMainWidget::slotLocalSubscriptionDialog (  )  [slot]

Launch dialog for local (client side) subscription configuration.

Definition at line 3841 of file kmmainwidget.cpp.

void KMMainWidget::slotFolderTreeColumnsChanged (  )  [slot]

The columns of the foldertree changed.

Definition at line 3858 of file kmmainwidget.cpp.

void KMMainWidget::clearFilterActions (  )  [slot]

Clear and create actions for marked filters.

Definition at line 3642 of file kmmainwidget.cpp.

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

Create IMAP-account-related actions if applicable.

Definition at line 227 of file kmmainwidget.h.

void KMMainWidget::initializeFolderShortcutActions (  )  [slot]

Create actions for the folder shortcuts.

Definition at line 3659 of file kmmainwidget.cpp.

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

Add, remove or adjust the folder's shortcut.

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

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

Message navigation.

Definition at line 2244 of file kmmainwidget.cpp.

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

etc.

Definition at line 2265 of file kmmainwidget.cpp.

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

Update the undo action.

Definition at line 3634 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 3250 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 3258 of file kmmainwidget.cpp.

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

Update html and threaded messages preferences in Folder menu.

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

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

Settings menu.

Definition at line 1335 of file kmmainwidget.cpp.

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

XML-GUI stuff.

Definition at line 3175 of file kmmainwidget.cpp.

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

changes the caption and displays the foldername

Definition at line 3562 of file kmmainwidget.cpp.

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

Slot to reply to a message.

Definition at line 1449 of file kmmainwidget.cpp.

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

Remove the shortcut actions associated with a folder.

Definition at line 3724 of file kmmainwidget.cpp.

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

Show a splash screen for the longer-lasting operation.

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


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