Mercurial > public > ostc_companion
view Utils/LogEvent.h @ 4:e30f00f760d3 default tip
Cleanup OSTC label and removed url
The computer type will now show OSTC 4/5 instead of only 4. The url has
been removed because it is no longer maintained. The ui header have been
deleted because they are generated files shich should not be under
version controll. Delete locally if you want to force an update of the
dialog layout.
| author | Ideenmodellierer |
|---|---|
| date | Sun, 30 Nov 2025 18:37:32 +0100 |
| parents | 0b3630a29ad8 |
| children |
line wrap: on
line source
///////////////////////////////////////////////////////////////////////////// /// \file LogEvent.h /// \brief User event to pass async messages to the console widget. /// \author JD Gascuel. /// \copyright (c) 2015 JD Gascuel. All rights reserved. /// $Id$ /////////////////////////////////////////////////////////////////////////////// // HISTORY // 2015-07-06 : Creation #ifndef LOGEVENT_H #define LOGEVENT_H #include <QEvent> #include <QString> class LogEvent : public QEvent { static QEvent::Type _logEventType; LogEvent(const QString& message); QString _message; public: static LogEvent* make(const QString& message); inline QString what() const { return _message; } }; #endif // LOGEVENT_H
