16 #ifndef _LOGTREEITEM_H
17 #define _LOGTREEITEM_H
21 #include <QTreeWidgetItem>
33 const QDateTime &
timestamp = QDateTime::currentDateTime());
55 virtual bool operator<(
const QTreeWidgetItem &other)
const;
tc::Severity severity() const
void setSeverity(tc::Severity type)
void setMessage(const QString &message)
LogTreeItem(tc::Severity type, const QString &message, const QDateTime ×tamp=QDateTime::currentDateTime())
virtual bool operator<(const QTreeWidgetItem &other) const
void setTimestamp(const QDateTime ×tamp)
QDateTime timestamp() const
static QString severityToString(tc::Severity severity)