9#include "mailcommon_export.h"
10#include <MessageViewer/Viewer>
12#include <MessageCore/MailingList>
15#include <Akonadi/Collection>
16#include <Akonadi/CollectionStatistics>
18#include <KSharedConfig>
19#include <QKeySequence>
39 static void clearCache();
40 static void resetHtmlFormat();
42 [[nodiscard]]
bool isWriteConfig()
const;
43 void setWriteConfig(
bool writeConfig);
45 void writeConfig()
const;
48 [[nodiscard]]
QString name()
const;
50 [[nodiscard]]
bool isReadOnly()
const;
52 [[nodiscard]]
bool isStructural()
const;
54 [[nodiscard]]
bool isSystemFolder()
const;
56 [[nodiscard]] qint64 count()
const;
58 [[nodiscard]]
bool canDeleteMessages()
const;
60 [[nodiscard]]
bool canCreateMessages()
const;
62 [[nodiscard]]
bool isValid()
const;
64 [[nodiscard]] Akonadi::Collection::Rights rights()
const;
75 void setUseDefaultIdentity(
bool useDefaultIdentity);
76 [[nodiscard]]
bool useDefaultIdentity()
const;
78 void setIdentity(uint identity);
79 [[nodiscard]] uint identity()
const;
84 void setMailingListEnabled(
bool enabled);
85 [[nodiscard]]
bool isMailingListEnabled()
const;
95 [[nodiscard]]
bool putRepliesInSameFolder()
const;
96 void setPutRepliesInSameFolder(
bool b);
101 [[nodiscard]]
bool hideInSelectionDialog()
const;
102 void setHideInSelectionDialog(
bool hide);
104 [[nodiscard]]
QString mailingListPostAddress()
const;
106 [[nodiscard]] uint fallBackIdentity()
const;
107 [[nodiscard]] MessageViewer::Viewer::DisplayFormatMessage formatMessage()
const;
108 void setFormatMessage(MessageViewer::Viewer::DisplayFormatMessage formatMessage);
110 [[nodiscard]]
bool folderHtmlLoadExtPreference()
const;
111 void setFolderHtmlLoadExtPreference(
bool folderHtmlLoadExtPreference);
114 void slotIdentitiesChanged();
118 [[nodiscard]] MAILCOMMON_NO_EXPORT
QString resource()
const;
123 bool mMailingListEnabled =
false;
126 bool mUseDefaultIdentity =
true;
129 MessageViewer::Viewer::DisplayFormatMessage mFormatMessage = MessageViewer::Viewer::Unknown;
131 bool mPutRepliesInSameFolder =
false;
134 bool mHideInSelectionDialog =
false;
136 bool mFolderHtmlLoadExtPreference =
false;
140 bool mWriteConfig =
true;
The FolderSettings class.
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Fri Nov 29 2024 11:58:43 by
doxygen 1.12.0 written
by
Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.