kmail
KMKernel Class Reference
Central point of coordination in KMail. More...
#include <kmkernel.h>

Public Slots | |
| Q_SCRIPTABLE QStringList | accounts () |
| Q_SCRIPTABLE bool | canQueryClose () |
| Q_SCRIPTABLE void | checkAccount (const QString &account) |
| Q_SCRIPTABLE void | checkMail () |
| Q_SCRIPTABLE void | compactAllFolders () |
| Q_SCRIPTABLE int | dbusAddMessage (const QString &foldername, const QString &messageFile, const QString &MsgStatusFlags=QString()) |
| Q_SCRIPTABLE int | dbusAddMessage_fastImport (const QString &foldername, const QString &messageFile, const QString &MsgStatusFlags=QString()) |
| Q_SCRIPTABLE void | dbusResetAddMessage () |
| Q_SCRIPTABLE QString | debugScheduler () |
| Q_SCRIPTABLE QString | debugSernum (quint32 serialNumber) |
| void | dumpDeadLetters () |
| Q_SCRIPTABLE QStringList | folderList () const |
| Q_SCRIPTABLE QString | getFolder (const QString &vpath) |
| Q_SCRIPTABLE QString | getFrom (quint32 serialNumber) |
| Q_SCRIPTABLE bool | handleCommandLine (bool noArgsOpensReader) |
| void | hideMainWin () |
| Q_SCRIPTABLE QDBusObjectPath | newMessage (const QString &to, const QString &cc, const QString &bcc, bool hidden, bool useFolderId, const QString &messageFile, const QString &attachURL) |
| Q_SCRIPTABLE QDBusObjectPath | openComposer (const QString &to, const QString &cc, const QString &bcc, const QString &subject, const QString &body, bool hidden) |
| Q_SCRIPTABLE int | openComposer (const QString &to, const QString &cc, const QString &bcc, const QString &subject, const QString &body, bool hidden, const QString &attachName, const QByteArray &attachCte, const QByteArray &attachData, const QByteArray &attachType, const QByteArray &attachSubType, const QByteArray &attachParamAttr, const QString &attachParamValue, const QByteArray &attachContDisp, const QByteArray &attachCharset, unsigned int identity) |
| Q_SCRIPTABLE int | openComposer (const QString &to, const QString &cc, const QString &bcc, const QString &subject, const QString &body, bool hidden, const QString &messageFile, const QStringList &attachmentPaths, const QStringList &customHeaders) |
| Q_SCRIPTABLE void | openReader () |
| Q_SCRIPTABLE void | pauseBackgroundJobs () |
| Q_SCRIPTABLE void | resumeBackgroundJobs () |
| Q_SCRIPTABLE void | resumeNetworkJobs () |
| Q_SCRIPTABLE void | selectFolder (const QString &folder) |
| Q_SCRIPTABLE int | sendCertificate (const QString &to, const QByteArray &certData) |
| Q_SCRIPTABLE void | setDefaultTransport (const QString &transport) |
| Q_SCRIPTABLE bool | showMail (quint32 serialNumber, const QString &messageId) |
| void | showMainWin () |
| void | slotConfigChanged () |
| void | slotEmptyTrash () |
| void | slotRequestConfigSync () |
| void | slotRunBackgroundTasks () |
| void | slotShowConfigurationDialog () |
| Q_SCRIPTABLE void | stopNetworkJobs () |
| Q_SCRIPTABLE int | timeOfLastMessageCountChange () const |
| void | toggleMainWin () |
| Q_SCRIPTABLE int | viewMessage (const KUrl &messageFile) |
Signals | |
| void | configChanged () |
| void | customTemplatesChanged () |
| void | folderRemoved (KMFolder *aFolder) |
| void | onlineStatusChanged (GlobalSettings::EnumNetworkState::type) |
| Q_SCRIPTABLE void | unreadCountChanged () |
Public Member Functions | |
| KMKernel (QObject *parent=0, const char *name=0) | |
| ~KMKernel () | |
| void | abortMailCheck () |
| AccountManager * | acctMgr () |
| void | action (bool mailto, bool check, const QString &to, const QString &cc, const QString &bcc, const QString &subj, const QString &body, const KUrl &messageFile, const KUrl::List &attach, const QStringList &customHeaders) |
| QList< QPointer< KMFolder > > | allFolders () |
| void | byteArrayToRemoteFile (const QByteArray &, const KUrl &, bool overwrite=false) |
| void | cleanup (void) |
| void | cleanupImapFolders () |
| void | closeAllKMailWindows () |
| bool | contextMenuShown () const |
| KMFolderMgr * | dimapFolderMgr () |
| bool | doSessionManagement () |
| KMFolder * | draftsFolder () |
| void | emergencyExit (const QString &reason) |
| void | enableMailCheck () |
| void | expireAllFoldersNow () |
| KMFilterActionDict * | filterActionDict () |
| KMFilterMgr * | filterMgr () |
| KMFolder * | findFolderById (const QString &idString) |
| bool | firstInstance () |
| bool | firstStart () const |
| void | firstStartDone () |
| bool | folderIsDraftOrOutbox (const KMFolder *) |
| bool | folderIsDrafts (const KMFolder *) |
| bool | folderIsSentMailFolder (const KMFolder *) |
| bool | folderIsTemplates (const KMFolder *) |
| bool | folderIsTrash (KMFolder *) |
| KMFolderMgr * | folderMgr () |
| KMMainWidget * | getKMMainWidget () |
| unsigned long | getNextMsgSerNum () |
| bool | haveSystemTrayApplet () |
| KMailICalIfaceImpl & | iCalIface () |
| KPIMIdentities::IdentityManager * | identityManager () |
| KMFolderMgr * | imapFolderMgr () |
| KMFolder * | inboxFolder () |
| QIndicate::Server * | indicateServer () |
| void | init () |
| void | initFolders (KSharedConfig::Ptr cfg) |
| JobScheduler * | jobScheduler () |
| bool | mailCheckAborted () const |
| KMainWindow * | mainWin () |
| void | messageCountChanged () |
| KMail::MessageSender * | msgSender () |
| KMMessageTagMgr * | msgTagMgr () |
| QTextCodec * | networkCodec () |
| KMFolder * | outboxFolder () |
| KMFilterMgr * | popFilterMgr () |
| QString | previousVersion () const |
| void | quit () |
| void | raise () |
| void | readConfig () |
| void | recoverDeadLetters () |
| bool | registerSystemTrayApplet (const KSystemTrayIcon *) |
| KMFolderMgr * | searchFolderMgr () |
| void | selectFolder (KMFolder *folder) |
| KMFolder * | sentFolder () |
| void | serverReady (bool flag) |
| void | setContextMenuShown (bool flag) |
| void | setFirstInstance (bool value) |
| void | setShuttingDown (bool flag) |
| void | setStartingUp (bool flag) |
| void | setupDBus () |
| void | setXmlGuiInstance (const KComponentData &instance) |
| bool | shuttingDown () const |
| bool | startingUp () const |
| KMFolder * | templatesFolder () |
| void | testDir (const char *_name) |
| bool | transferMail (QString &destinationDir) |
| KMFolder * | trashFolder () |
| UndoStack * | undoStack () |
| bool | unregisterSystemTrayApplet (const KSystemTrayIcon *) |
| void | updatedTemplates () |
| KWallet::Wallet * | wallet () |
| ThreadWeaver::Weaver * | weaver () |
| const KComponentData & | xmlGuiInstance () |
Static Public Member Functions | |
| static bool | askToGoOnline () |
| static KSharedConfig::Ptr | config () |
| static bool | isOffline () |
| static QString | localDataPath () |
| static KMKernel * | self () |
| static int | storageDebug () |
Protected Slots | |
| void | slotDataReq (KIO::Job *, QByteArray &) |
| void | slotResult (KJob *) |
Detailed Description
Central point of coordination in KMail.
The KMKernel class represents the core of KMail, where the different parts come together and are coordinated. It is currently also the class which exports KMail's main D-BUS interfaces. The kernel is responsible for creating various (singleton) objects such as the UndoStack, the folder managers and filter manager, etc.
Definition at line 89 of file kmkernel.h.
Constructor & Destructor Documentation
| KMKernel::KMKernel | ( | QObject * | parent = 0, |
|
| const char * | name = 0 | |||
| ) | [explicit] |
Definition at line 106 of file kmkernel.cpp.
| KMKernel::~KMKernel | ( | ) |
Definition at line 185 of file kmkernel.cpp.
Member Function Documentation
| void KMKernel::abortMailCheck | ( | ) |
Set the state of the abort requested variable to true, (to let the current jobs run, but stop when possible).
This is used to cancel mail checks when closing the last mainwindow
Definition at line 2421 of file kmkernel.cpp.
| QStringList KMKernel::accounts | ( | ) | [slot] |
Definition at line 380 of file kmkernel.cpp.
| AccountManager* KMKernel::acctMgr | ( | ) | [inline] |
Definition at line 319 of file kmkernel.h.
| void KMKernel::action | ( | bool | mailto, | |
| bool | check, | |||
| const QString & | to, | |||
| const QString & | cc, | |||
| const QString & | bcc, | |||
| const QString & | subj, | |||
| const QString & | body, | |||
| const KUrl & | messageFile, | |||
| const KUrl::List & | attach, | |||
| const QStringList & | customHeaders | |||
| ) |
Definition at line 1903 of file kmkernel.cpp.
- Returns:
- a list of all folders from all folder managers.
Definition at line 2487 of file kmkernel.cpp.
| bool KMKernel::askToGoOnline | ( | ) | [static] |
End of D-Bus callable stuff.
A static helper function that asks the user if they want to go online.
- Returns:
- true if the user wants to go online
- false if the user wants to stay offline
Definition at line 1228 of file kmkernel.cpp.
| void KMKernel::byteArrayToRemoteFile | ( | const QByteArray & | aData, | |
| const KUrl & | aURL, | |||
| bool | overwrite = false | |||
| ) |
Definition at line 1922 of file kmkernel.cpp.
| bool KMKernel::canQueryClose | ( | ) | [slot] |
Definition at line 2426 of file kmkernel.cpp.
| void KMKernel::checkAccount | ( | const QString & | account | ) | [slot] |
Checks the account with the specified name for new mail.
If the account name is empty, all accounts not excluded from manual mail check will be checked.
Definition at line 385 of file kmkernel.cpp.
| void KMKernel::checkMail | ( | ) | [slot] |
Start of D-Bus callable stuff.
The D-Bus methods need to be public slots, otherwise they can't be accessed.
Definition at line 373 of file kmkernel.cpp.
| void KMKernel::cleanup | ( | void | ) |
Definition at line 1709 of file kmkernel.cpp.
| void KMKernel::cleanupImapFolders | ( | ) |
Definition at line 1570 of file kmkernel.cpp.
| void KMKernel::closeAllKMailWindows | ( | ) |
Definition at line 1677 of file kmkernel.cpp.
| void KMKernel::compactAllFolders | ( | ) | [slot] |
Compact all folders, used for the GUI action (and from D-Bus).
Definition at line 2392 of file kmkernel.cpp.
| KSharedConfig::Ptr KMKernel::config | ( | ) | [static] |
Definition at line 2294 of file kmkernel.cpp.
| void KMKernel::configChanged | ( | ) | [signal] |
| bool KMKernel::contextMenuShown | ( | ) | const [inline] |
Definition at line 378 of file kmkernel.h.
| void KMKernel::customTemplatesChanged | ( | ) | [signal] |
| int KMKernel::dbusAddMessage | ( | const QString & | foldername, | |
| const QString & | messageFile, | |||
| const QString & | MsgStatusFlags = QString() | |||
| ) | [slot] |
Definition at line 764 of file kmkernel.cpp.
| int KMKernel::dbusAddMessage_fastImport | ( | const QString & | foldername, | |
| const QString & | messageFile, | |||
| const QString & | MsgStatusFlags = QString() | |||
| ) | [slot] |
Add messages without rejecting duplicates.
Definition at line 937 of file kmkernel.cpp.
| void KMKernel::dbusResetAddMessage | ( | ) | [slot] |
Definition at line 931 of file kmkernel.cpp.
| QString KMKernel::debugScheduler | ( | ) | [slot] |
Definition at line 1147 of file kmkernel.cpp.
| QString KMKernel::debugSernum | ( | quint32 | serialNumber | ) | [slot] |
Definition at line 1153 of file kmkernel.cpp.
| KMFolderMgr* KMKernel::dimapFolderMgr | ( | ) | [inline] |
Definition at line 316 of file kmkernel.h.
| bool KMKernel::doSessionManagement | ( | ) |
Definition at line 1660 of file kmkernel.cpp.
| KMFolder* KMKernel::draftsFolder | ( | ) | [inline] |
Definition at line 311 of file kmkernel.h.
| void KMKernel::dumpDeadLetters | ( | ) | [slot] |
Save contents of all open composer widnows to ~/dead.letter.
Definition at line 1882 of file kmkernel.cpp.
| void KMKernel::emergencyExit | ( | const QString & | reason | ) |
Reimplemented from KMailIface.
Definition at line 2047 of file kmkernel.cpp.
| void KMKernel::enableMailCheck | ( | ) |
Set the state of the abort requested variable to false, i.e.
enable mail checking again
Definition at line 2411 of file kmkernel.cpp.
| void KMKernel::expireAllFoldersNow | ( | ) |
Expire all folders, used for the gui action.
Definition at line 2385 of file kmkernel.cpp.
| KMFilterActionDict* KMKernel::filterActionDict | ( | ) | [inline] |
Definition at line 322 of file kmkernel.h.
| KMFilterMgr* KMKernel::filterMgr | ( | ) | [inline] |
Definition at line 320 of file kmkernel.h.
Find a folder by ID string in all folder managers.
Definition at line 2399 of file kmkernel.cpp.
| bool KMKernel::firstInstance | ( | ) | [inline] |
Definition at line 283 of file kmkernel.h.
| bool KMKernel::firstStart | ( | ) | const [inline] |
Definition at line 339 of file kmkernel.h.
| void KMKernel::firstStartDone | ( | ) | [inline] |
Mark first start as done.
Definition at line 341 of file kmkernel.h.
| bool KMKernel::folderIsDraftOrOutbox | ( | const KMFolder * | folder | ) |
Returns true if the folder is either the outbox or one of the drafts-folders.
Definition at line 2067 of file kmkernel.cpp.
| bool KMKernel::folderIsDrafts | ( | const KMFolder * | folder | ) |
Definition at line 2075 of file kmkernel.cpp.
| bool KMKernel::folderIsSentMailFolder | ( | const KMFolder * | folder | ) |
Returns true if the folder is one of the sent-mail folders.
Definition at line 2122 of file kmkernel.cpp.
| bool KMKernel::folderIsTemplates | ( | const KMFolder * | folder | ) |
Definition at line 2091 of file kmkernel.cpp.
| bool KMKernel::folderIsTrash | ( | KMFolder * | folder | ) |
Definition at line 2107 of file kmkernel.cpp.
| QStringList KMKernel::folderList | ( | ) | const [slot] |
Definition at line 1032 of file kmkernel.cpp.
| KMFolderMgr* KMKernel::folderMgr | ( | ) | [inline] |
Definition at line 314 of file kmkernel.h.
| void KMKernel::folderRemoved | ( | KMFolder * | aFolder | ) | [signal] |
Definition at line 1043 of file kmkernel.cpp.
| QString KMKernel::getFrom | ( | quint32 | serialNumber | ) | [slot] |
Definition at line 1128 of file kmkernel.cpp.
| KMMainWidget * KMKernel::getKMMainWidget | ( | ) |
Get first mainwidget.
Definition at line 2338 of file kmkernel.cpp.
| unsigned long KMKernel::getNextMsgSerNum | ( | ) |
Returns a message serial number that hasn't been used yet.
| bool KMKernel::handleCommandLine | ( | bool | noArgsOpensReader | ) | [slot] |
Definition at line 230 of file kmkernel.cpp.
| bool KMKernel::haveSystemTrayApplet | ( | ) |
Returns true if we have a system tray applet.
This is needed in order to know whether the application should be allowed to exit in case the last visible composer or separate message window is closed.
Definition at line 2027 of file kmkernel.cpp.
| void KMKernel::hideMainWin | ( | ) | [slot] |
Definition at line 2224 of file kmkernel.cpp.
| KMailICalIfaceImpl & KMKernel::iCalIface | ( | ) |
Definition at line 2307 of file kmkernel.cpp.
| KPIMIdentities::IdentityManager * KMKernel::identityManager | ( | ) |
return the pointer to the identity manager
Definition at line 2138 of file kmkernel.cpp.
| KMFolderMgr* KMKernel::imapFolderMgr | ( | ) | [inline] |
Definition at line 315 of file kmkernel.h.
| KMFolder* KMKernel::inboxFolder | ( | ) | [inline] |
Definition at line 307 of file kmkernel.h.
| QIndicate::Server* KMKernel::indicateServer | ( | ) | [inline] |
Definition at line 332 of file kmkernel.h.
| void KMKernel::init | ( | void | ) |
Definition at line 1436 of file kmkernel.cpp.
| void KMKernel::initFolders | ( | KSharedConfig::Ptr | cfg | ) |
Definition at line 1356 of file kmkernel.cpp.
| bool KMKernel::isOffline | ( | ) | [static] |
Checks if the current network state is online or offline.
- Returns:
- true if the network state is offline
- false if the network state is online
Definition at line 1220 of file kmkernel.cpp.
| JobScheduler* KMKernel::jobScheduler | ( | ) | [inline] |
Definition at line 330 of file kmkernel.h.
| QString KMKernel::localDataPath | ( | ) | [static] |
Returns the full path of the user's local data directory for KMail.
The path ends with '/'.
Definition at line 2020 of file kmkernel.cpp.
| bool KMKernel::mailCheckAborted | ( | ) | const |
Returns true IFF the user has requested that the current mail checks should be aborted.
Needs to be periodically polled.
Definition at line 2416 of file kmkernel.cpp.
| KMainWindow * KMKernel::mainWin | ( | ) |
returns a reference to the first Mainwin or a temporary Mainwin
Definition at line 2146 of file kmkernel.cpp.
| void KMKernel::messageCountChanged | ( | ) |
Called by the folder tree if the count of unread/total messages changed.
Definition at line 2448 of file kmkernel.cpp.
| KMail::MessageSender * KMKernel::msgSender | ( | ) |
Definition at line 2510 of file kmkernel.cpp.
| KMMessageTagMgr* KMKernel::msgTagMgr | ( | ) | [inline] |
Definition at line 324 of file kmkernel.h.
| QTextCodec* KMKernel::networkCodec | ( | ) | [inline] |
Definition at line 368 of file kmkernel.h.
| QDBusObjectPath KMKernel::newMessage | ( | const QString & | to, | |
| const QString & | cc, | |||
| const QString & | bcc, | |||
| bool | hidden, | |||
| bool | useFolderId, | |||
| const QString & | messageFile, | |||
| const QString & | attachURL | |||
| ) | [slot] |
D-Bus call used by the Kontact plugin to create a new message.
Definition at line 678 of file kmkernel.cpp.
| void KMKernel::onlineStatusChanged | ( | GlobalSettings::EnumNetworkState::type | ) | [signal] |
| QDBusObjectPath KMKernel::openComposer | ( | const QString & | to, | |
| const QString & | cc, | |||
| const QString & | bcc, | |||
| const QString & | subject, | |||
| const QString & | body, | |||
| bool | hidden | |||
| ) | [slot] |
Definition at line 637 of file kmkernel.cpp.
| int KMKernel::openComposer | ( | const QString & | to, | |
| const QString & | cc, | |||
| const QString & | bcc, | |||
| const QString & | subject, | |||
| const QString & | body, | |||
| bool | hidden, | |||
| const QString & | attachName, | |||
| const QByteArray & | attachCte, | |||
| const QByteArray & | attachData, | |||
| const QByteArray & | attachType, | |||
| const QByteArray & | attachSubType, | |||
| const QByteArray & | attachParamAttr, | |||
| const QString & | attachParamValue, | |||
| const QByteArray & | attachContDisp, | |||
| const QByteArray & | attachCharset, | |||
| unsigned int | identity | |||
| ) | [slot] |
Definition at line 513 of file kmkernel.cpp.
| int KMKernel::openComposer | ( | const QString & | to, | |
| const QString & | cc, | |||
| const QString & | bcc, | |||
| const QString & | subject, | |||
| const QString & | body, | |||
| bool | hidden, | |||
| const QString & | messageFile, | |||
| const QStringList & | attachmentPaths, | |||
| const QStringList & | customHeaders | |||
| ) | [slot] |
returns id of composer if more are opened
Definition at line 434 of file kmkernel.cpp.
| Q_SCRIPTABLE void KMKernel::openReader | ( | ) | [inline, slot] |
Definition at line 105 of file kmkernel.h.
| KMFolder* KMKernel::outboxFolder | ( | ) | [inline] |
Definition at line 308 of file kmkernel.h.
| void KMKernel::pauseBackgroundJobs | ( | ) | [slot] |
Pauses all background jobs and does not allow new background jobs to be started.
Definition at line 1183 of file kmkernel.cpp.
| KMFilterMgr* KMKernel::popFilterMgr | ( | ) | [inline] |
Definition at line 321 of file kmkernel.h.
| QString KMKernel::previousVersion | ( | ) | const [inline] |
Definition at line 342 of file kmkernel.h.
| void KMKernel::quit | ( | ) |
Definition at line 1252 of file kmkernel.cpp.
| void KMKernel::raise | ( | ) |
Definition at line 1069 of file kmkernel.cpp.
| void KMKernel::readConfig | ( | void | ) |
Definition at line 1556 of file kmkernel.cpp.
| void KMKernel::recoverDeadLetters | ( | ) |
Definition at line 1329 of file kmkernel.cpp.
| bool KMKernel::registerSystemTrayApplet | ( | const KSystemTrayIcon * | applet | ) |
Definition at line 2032 of file kmkernel.cpp.
| void KMKernel::resumeBackgroundJobs | ( | ) | [slot] |
Resumes all background jobs and allows new jobs to be started.
Definition at line 1189 of file kmkernel.cpp.
| void KMKernel::resumeNetworkJobs | ( | ) | [slot] |
Resumes all network related jobs and enter online mode New network jobs can be started.
Definition at line 1206 of file kmkernel.cpp.
| KMFolderMgr* KMKernel::searchFolderMgr | ( | ) | [inline] |
Definition at line 317 of file kmkernel.h.
| void KMKernel::selectFolder | ( | KMFolder * | folder | ) |
Definition at line 2328 of file kmkernel.cpp.
| void KMKernel::selectFolder | ( | const QString & | folder | ) | [slot] |
Definition at line 2313 of file kmkernel.cpp.
| KMKernel * KMKernel::self | ( | ) | [static] |
normal control stuff
Definition at line 2289 of file kmkernel.cpp.
| int KMKernel::sendCertificate | ( | const QString & | to, | |
| const QByteArray & | certData | |||
| ) | [slot] |
Definition at line 736 of file kmkernel.cpp.
| KMFolder* KMKernel::sentFolder | ( | ) | [inline] |
Definition at line 309 of file kmkernel.h.
| void KMKernel::serverReady | ( | bool | flag | ) | [inline] |
Definition at line 347 of file kmkernel.h.
| void KMKernel::setContextMenuShown | ( | bool | flag | ) | [inline] |
Definition at line 377 of file kmkernel.h.
| void KMKernel::setDefaultTransport | ( | const QString & | transport | ) | [slot] |
D-Bus call used to set the default transport.
Definition at line 627 of file kmkernel.cpp.
| void KMKernel::setFirstInstance | ( | bool | value | ) | [inline] |
Definition at line 284 of file kmkernel.h.
| void KMKernel::setShuttingDown | ( | bool | flag | ) | [inline] |
Definition at line 346 of file kmkernel.h.
| void KMKernel::setStartingUp | ( | bool | flag | ) | [inline] |
Definition at line 344 of file kmkernel.h.
| void KMKernel::setupDBus | ( | ) |
Definition at line 219 of file kmkernel.cpp.
| void KMKernel::setXmlGuiInstance | ( | const KComponentData & | instance | ) | [inline] |
Definition at line 305 of file kmkernel.h.
| bool KMKernel::showMail | ( | quint32 | serialNumber, | |
| const QString & | messageId | |||
| ) | [slot] |
Definition at line 1084 of file kmkernel.cpp.
| void KMKernel::showMainWin | ( | ) | [slot] |
Definition at line 2179 of file kmkernel.cpp.
| bool KMKernel::shuttingDown | ( | ) | const [inline] |
Definition at line 345 of file kmkernel.h.
| void KMKernel::slotConfigChanged | ( | ) | [slot] |
Definition at line 2012 of file kmkernel.cpp.
| void KMKernel::slotDataReq | ( | KIO::Job * | job, | |
| QByteArray & | data | |||
| ) | [protected, slot] |
Definition at line 1935 of file kmkernel.cpp.
| void KMKernel::slotEmptyTrash | ( | ) | [slot] |
| void KMKernel::slotRequestConfigSync | ( | ) | [slot] |
Call this slot instead of directly KConfig::sync() to minimize the overall config writes.
Calling this slot will schedule a sync of the application config file using a timer, so that many consecutive calls can be condensed into a single sync, which is more efficient.
Definition at line 1982 of file kmkernel.cpp.
| void KMKernel::slotResult | ( | KJob * | job | ) | [protected, slot] |
Definition at line 1960 of file kmkernel.cpp.
| void KMKernel::slotRunBackgroundTasks | ( | ) | [slot] |
Definition at line 2352 of file kmkernel.cpp.
| void KMKernel::slotShowConfigurationDialog | ( | ) | [slot] |
Definition at line 1987 of file kmkernel.cpp.
| bool KMKernel::startingUp | ( | ) | const [inline] |
Definition at line 343 of file kmkernel.h.
| void KMKernel::stopNetworkJobs | ( | ) | [slot] |
Stops all network related jobs and enter offline mode New network jobs cannot be started.
Definition at line 1195 of file kmkernel.cpp.
| int KMKernel::storageDebug | ( | ) | [static] |
Definition at line 210 of file kmkernel.cpp.
| KMFolder* KMKernel::templatesFolder | ( | ) | [inline] |
Definition at line 312 of file kmkernel.h.
| void KMKernel::testDir | ( | const char * | _name | ) |
Definition at line 1303 of file kmkernel.cpp.
| int KMKernel::timeOfLastMessageCountChange | ( | ) | const [slot] |
Definition at line 2453 of file kmkernel.cpp.
| void KMKernel::toggleMainWin | ( | ) | [slot] |
Definition at line 2170 of file kmkernel.cpp.
| bool KMKernel::transferMail | ( | QString & | destinationDir | ) |
Returns true if the transfer was successful, otherwise false.
In any case destinationDir contains the path to the current mail storage when the method returns.
Definition at line 1796 of file kmkernel.cpp.
| KMFolder* KMKernel::trashFolder | ( | ) | [inline] |
Definition at line 310 of file kmkernel.h.
| UndoStack* KMKernel::undoStack | ( | ) | [inline] |
Definition at line 318 of file kmkernel.h.
| Q_SCRIPTABLE void KMKernel::unreadCountChanged | ( | ) | [signal] |
| bool KMKernel::unregisterSystemTrayApplet | ( | const KSystemTrayIcon * | applet | ) |
Definition at line 2042 of file kmkernel.cpp.
| void KMKernel::updatedTemplates | ( | ) |
Custom templates have changed, so all windows using them need to regenerate their menus.
Definition at line 2563 of file kmkernel.cpp.
| int KMKernel::viewMessage | ( | const KUrl & | messageFile | ) | [slot] |
Definition at line 727 of file kmkernel.cpp.
| Wallet * KMKernel::wallet | ( | ) |
Open KDE wallet and set it to kmail folder.
Definition at line 2458 of file kmkernel.cpp.
| ThreadWeaver::Weaver* KMKernel::weaver | ( | ) | [inline] |
Definition at line 326 of file kmkernel.h.
| const KComponentData& KMKernel::xmlGuiInstance | ( | ) | [inline] |
Definition at line 304 of file kmkernel.h.
The documentation for this class was generated from the following files:
KDE 4.4 API Reference