mailcommon
Go to the documentation of this file.
29 #ifndef MAILCOMMON_FILTERLOG_H
30 #define MAILCOMMON_FILTERLOG_H
32 #include "../mailcommon_export.h"
35 #include <QStringList>
36 #include <QTextDocument>
38 namespace MailCommon {
76 PatternDescription = 2,
85 void setLogging(
bool active );
90 bool isLogging()
const;
95 void setMaxLogSize(
long size = -1 );
100 long maxLogSize()
const;
105 void setContentTypeEnabled( ContentType type,
bool enabled );
110 bool isContentTypeEnabled( ContentType type )
const;
115 void add(
const QString &entry, ContentType type );
130 QStringList logEntries()
const;
137 bool saveToFile(
const QString &fileName )
const;
143 static QString recode(
const QString &plain );
154 void logEntryAdded(
const QString &entry );
164 void logStateChanged();
KMail Filter Log Collector.
#define MAILCOMMON_EXPORT
ContentType
Describes the type of content that will be logged.
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:55:14 by
doxygen 1.8.7 written
by
Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.