1 /* Copyright (C) 2006 - 2014 Jan Kundrát <jkt@flaska.net>
2 Copyright (C) 2014 Luke Dashjr <luke+trojita@dashjr.org>
4 This file is part of the Trojita Qt IMAP e-mail client,
5 http://trojita.flaska.net/
7 This program is free software; you can redistribute it and/or
8 modify it under the terms of the GNU General Public License as
9 published by the Free Software Foundation; either version 2 of
10 the License or (at your option) version 3 or any later version
11 accepted by the membership of KDE e.V. (or its successor approved
12 by the membership of KDE e.V.), which shall act as a proxy
13 defined in Section 14 of version 3 of the license.
15 This program is distributed in the hope that it will be useful,
16 but WITHOUT ANY WARRANTY; without even the implied warranty of
17 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
18 GNU General Public License for more details.
20 You should have received a copy of the GNU General Public License
21 along with this program. If not, see <http://www.gnu.org/licenses/>.
23 #ifndef SETTINGSNAMES_H
24 #define SETTINGSNAMES_H
31 struct SettingsNames
{
32 static const QString identitiesKey
, realNameKey
, addressKey
, organisationKey
, signatureKey
, obsRealNameKey
, obsAddressKey
;
33 static const QString favoriteTagsKey
, tagNameKey
, tagColorKey
;
34 static const QString msaMethodKey
, methodSMTP
, methodSSMTP
, methodSENDMAIL
, methodImapSendmail
, smtpHostKey
,
35 smtpPortKey
, smtpAuthKey
, smtpStartTlsKey
, smtpUserKey
, smtpAuthReuseImapCredsKey
,
36 sendmailKey
, sendmailDefaultCmd
;
37 static const QString imapMethodKey
, methodTCP
, methodSSL
, methodProcess
, imapHostKey
,
38 imapPortKey
, imapStartTlsKey
, imapUserKey
, imapProcessKey
, imapStartMode
, netOffline
, netExpensive
, netOnline
,
39 obsImapStartOffline
, obsImapSslPemCertificate
, imapSslPemPubKey
,
40 imapBlacklistedCapabilities
, imapUseSystemProxy
, imapNeedsNetwork
, imapNumberRefreshInterval
,
41 imapAccountIcon
, imapArchiveFolderName
, imapDefaultArchiveFolderName
;
42 static const QString composerSaveToImapKey
, composerImapSentKey
, smtpUseBurlKey
;
43 static const QString cacheMetadataKey
, cacheMetadataMemory
,
44 cacheOfflineKey
, cacheOfflineNone
, cacheOfflineXDays
, cacheOfflineAll
, cacheOfflineNumberDaysKey
;
45 static const QString watchedFoldersKey
, watchOnlyInbox
, watchSubscribed
, watchAll
;
46 static const QString xtConnectCacheDirectory
, xtSyncMailboxList
, xtDbHost
, xtDbPort
,
48 static const QString guiMsgListShowThreading
;
49 static const QString guiMsgListHideRead
;
50 static const QString guiMailboxListShowOnlySubscribed
;
51 static const QString guiPreferPlaintextRendering
;
52 static const QString guiMainWindowLayout
, guiMainWindowLayoutCompact
, guiMainWindowLayoutWide
, guiMainWindowLayoutOneAtTime
;
53 static const QString guiSizesInMainWinWhenCompact
, guiSizesInMainWinWhenWide
, guiSizesInaMainWinWhenOneAtATime
;
54 static const QString guiAllowRawSearch
;
55 static const QString guiExpandedMailboxes
;
56 static const QString appLoadHomepage
;
57 static const QString guiShowSystray
, guiOnSystrayClose
, guiStartMinimized
;
58 static const QString knownEmailsKey
;
59 static const QString addressbookPlugin
, passwordPlugin
, spellcheckerPlugin
;
60 static const QString imapIdleRenewal
;
61 static const QString autoMarkReadEnabled
, autoMarkReadSeconds
;
62 static const QString interopRevealVersions
;
63 static const QString completeMessageWidgetGeometry
;
64 static const QString mboxDropAction
;
69 #endif // SETTINGSNAMES_H