30 #ifndef PLUGINS_AZOTH_INTERFACES_AZOTHUTIL_H
31 #define PLUGINS_AZOTH_INTERFACES_AZOTHUTIL_H
46 if (!before.isValid ())
48 qDeleteAll (messages);
53 while (!messages.isEmpty ())
58 qWarning () << Q_FUNC_INFO
65 delete messages.takeAt (0);
void StandardPurgeMessages(QList< T * > &messages, const QDateTime &before)
virtual QDateTime GetDateTime() const =0
Returns the timestamp of the message.
This interface is used to represent a message.