Mailcommon
filterlog.cpp
QString number(int n, int base)
WriteOnly
QString toHtmlEscaped() const const
Q_EMITQ_EMIT
virtual bool open(QIODevice::OpenMode mode) override
static QString recode(const QString &plain)
Returns an escaped version of the log which can be used in a HTML document.
Definition: filterlog.cpp:188
void setMaxLogSize(long size=-1)
Sets the maximum size of the log in bytes.
Definition: filterlog.cpp:91
QTime currentTime()
void setLogging(bool active)
Sets whether the filter log is currently active.
Definition: filterlog.cpp:85
static FilterLog * instance()
Returns the single global instance of the filter log.
Definition: filterlog.cpp:71
int length() const const
void logStateChanged()
This signal is emitted whenever the activity of the filter log has been changed.
virtual void close() override
typedef Iterator
bool isContentTypeEnabled(ContentType type) const
Returns whether the given content type is enabled for logging.
Definition: filterlog.cpp:123
bool isLogging() const
Returns whether the filter log is currently active.
Definition: filterlog.cpp:80
void logEntryAdded(const QString &entry)
This signal is emitted whenever a new entry has been added to the log.
QString toString(Qt::DateFormat format) const const
void setContentTypeEnabled(ContentType type, bool enabled)
Sets whether a given content type will be enabled for logging.
Definition: filterlog.cpp:112
void add(const QString &entry, ContentType type)
Adds the given log entry under the given content type to the log.
Definition: filterlog.cpp:128
QByteArray toLocal8Bit() const const
bool saveToFile(const QString &fileName) const
Saves the log to the file with the given fileName.
Definition: filterlog.cpp:170
QString & append(QChar ch)
qint64 write(const char *data, qint64 maxSize)
This file is part of the KDE documentation.
Documentation copyright © 1996-2023 The KDE developers.
Generated on Tue Nov 28 2023 03:59:05 by doxygen 1.8.17 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2023 The KDE developers.
Generated on Tue Nov 28 2023 03:59:05 by doxygen 1.8.17 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.