kmail
Go to the documentation of this file.
25 #include <kstandarddirs.h>
27 #include <kaboutdata.h>
28 #include <kiconloader.h>
30 #undef Status // stupid X headers
34 void checkConfigUpdates() {
35 static const char *
const updates[] = {
37 "3.1-update-identities",
38 "3.1-use-identity-uoids",
39 "3.1-new-mail-notification",
40 "3.2-update-loop-on-goto-unread-settings",
41 "3.1.4-dont-use-UOID-0-for-any-identity",
44 "3.3-use-ID-for-accounts",
45 "3.3-update-filter-rules",
46 "3.3-move-identities-to-own-file",
47 "3.3-aegypten-kpgprc-to-kmailrc",
48 "3.3-aegypten-kpgprc-to-libkleopatrarc",
49 "3.3-aegypten-emailidentities-split-sign-encr-keys",
57 "3.5.7-imap-flag-migration",
63 static const int numUpdates =
sizeof updates /
sizeof *updates;
68 if ( configUpdateLevel == numUpdates )
71 for (
int i = configUpdateLevel ; i < numUpdates ; ++i ) {
72 config->checkUpdate( QLatin1String(updates[i]), QLatin1String(
"kmail.upd") );
77 void insertLibraryCataloguesAndIcons() {
78 static const char *
const catalogs[] = {
98 "akonadi_sendlater_agent",
99 "akonadi_folderagent_agent"
102 KLocale * l = KGlobal::locale();
103 KIconLoader * il = KIconLoader::global();
104 for (
unsigned int i = 0 ; i <
sizeof catalogs /
sizeof *catalogs ; ++i ) {
105 l->insertCatalog( QLatin1String(catalogs[i]) );
106 il->addAppDir( QLatin1String(catalogs[i]) );
static KMKernel * self()
normal control stuff
KSharedConfig::Ptr config()
static GlobalSettings * self()
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:58:52 by
doxygen 1.8.7 written
by
Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.