Changeset View
Changeset View
Standalone View
Standalone View
src/kmkernel.h
Show First 20 Lines • Show All 311 Lines • ▼ Show 20 Line(s) | 274 | public: | |||
---|---|---|---|---|---|
312 | 312 | | |||
313 | void recoverDeadLetters(); | 313 | void recoverDeadLetters(); | ||
314 | void closeAllKMailWindows(); | 314 | void closeAllKMailWindows(); | ||
315 | void cleanup(); | 315 | void cleanup(); | ||
316 | void quit(); | 316 | void quit(); | ||
317 | bool doSessionManagement(); | 317 | bool doSessionManagement(); | ||
318 | bool firstInstance() const; | 318 | bool firstInstance() const; | ||
319 | void setFirstInstance(bool value); | 319 | void setFirstInstance(bool value); | ||
320 | void action(bool mailto, bool check, const QString &to, const QString &cc, const QString &bcc, const QString &subj, const QString &body, const QUrl &messageFile, const QList<QUrl> &attach, const QStringList &customHeaders, const QString &replyTo, const QString &inReplyTo, const QString &identity); | 320 | void action(bool mailto, bool check, bool startInTray, const QString &to, const QString &cc, const QString &bcc, const QString &subj, const QString &body, const QUrl &messageFile, const QList<QUrl> &attach, const QStringList &customHeaders, const QString &replyTo, const QString &inReplyTo, const QString &identity); | ||
321 | 321 | | |||
322 | //sets online status for akonadi accounts. true for online, false for offline | 322 | //sets online status for akonadi accounts. true for online, false for offline | ||
323 | void setAccountStatus(bool); | 323 | void setAccountStatus(bool); | ||
324 | 324 | | |||
325 | const QString xmlGuiInstanceName() const; | 325 | const QString xmlGuiInstanceName() const; | ||
326 | void setXmlGuiInstanceName(const QString &instance); | 326 | void setXmlGuiInstanceName(const QString &instance); | ||
327 | 327 | | |||
328 | KMail::UndoStack *undoStack() const; | 328 | KMail::UndoStack *undoStack() const; | ||
▲ Show 20 Lines • Show All 144 Lines • ▼ Show 20 Line(s) | 469 | private: | |||
473 | /* | 473 | /* | ||
474 | * Fills a composer cWin | 474 | * Fills a composer cWin | ||
475 | * | 475 | * | ||
476 | */ | 476 | */ | ||
477 | void fillComposer(bool hidden, const QString &to, const QString &cc, const QString &bcc, const QString &subject, const QString &body, 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, bool forceShowWindow); | 477 | void fillComposer(bool hidden, const QString &to, const QString &cc, const QString &bcc, const QString &subject, const QString &body, 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, bool forceShowWindow); | ||
478 | 478 | | |||
479 | void verifyAccount(); | 479 | void verifyAccount(); | ||
480 | void resourceGoOnLine(); | 480 | void resourceGoOnLine(); | ||
481 | void openReader(bool onlyCheck); | 481 | void openReader(bool onlyCheck, bool startInTray); | ||
482 | QSharedPointer<MailCommon::FolderSettings> currentFolderCollection(); | 482 | QSharedPointer<MailCommon::FolderSettings> currentFolderCollection(); | ||
483 | void saveConfig(); | 483 | void saveConfig(); | ||
484 | 484 | | |||
485 | KMail::UndoStack *the_undoStack = nullptr; | 485 | KMail::UndoStack *the_undoStack = nullptr; | ||
486 | MessageComposer::AkonadiSender *the_msgSender = nullptr; | 486 | MessageComposer::AkonadiSender *the_msgSender = nullptr; | ||
487 | /** is this the first start? read from config */ | 487 | /** is this the first start? read from config */ | ||
488 | bool the_firstStart = false; | 488 | bool the_firstStart = false; | ||
489 | /** are we going down? set from here */ | 489 | /** are we going down? set from here */ | ||
Show All 34 Lines |