93 LogFile(
const QString & szName);
146 void getText(QString & szText)
const;
Type
Holds the type of the log file.
Definition LogFile.h:68
@ Other
Definition LogFile.h:73
@ Console
Definition LogFile.h:70
@ Channel
Definition LogFile.h:69
@ DccChat
Definition LogFile.h:72
@ Query
Definition LogFile.h:71
Type type() const
Returns the type of the log.
Definition LogFile.h:109
const QDate & date() const
Returns the date of the log.
Definition LogFile.h:139
bool m_bCompressed
Definition LogFile.h:99
Type m_eType
Definition LogFile.h:96
QString m_szType
Definition LogFile.h:97
QString m_szName
Definition LogFile.h:100
const QString & typeString() const
Returns the type of the log.
Definition LogFile.h:115
void getText(QString &szText) const
Returns the text of the log file.
Definition LogFile.cpp:161
const QString & fileName() const
Returns the filename of the log.
Definition LogFile.h:121
const QString & name() const
Returns the name of the log.
Definition LogFile.h:127
QString m_szNetwork
Definition LogFile.h:101
void createLog(ExportType exportType, QString szLog, QString *pszFile=nullptr) const
Exports the log and creates the file in the selected format.
Definition LogFile.cpp:207
const QString & network() const
Returns the network of the log.
Definition LogFile.h:133
LogFile(const QString &szName)
Constructs the log file object.
Definition LogFile.cpp:53
QDate m_date
Definition LogFile.h:102
QString m_szFilename
Definition LogFile.h:98
ExportType
Holds the type of the exported log file.
Definition LogFile.h:81
@ PlainText
Definition LogFile.h:82
@ HTML
Definition LogFile.h:83
QString szType
Definition LogFile.h:46
QString szFile
Definition LogFile.h:47
QString szName
Definition LogFile.h:45