/*************************************************************************** messages.hpp - description ------------------- begin : Fri JAN 12 16:54:22 CET 2007 copyright : (C) 2007 by Harald Krippel email : harald@the-develop.net ***************************************************************************/ /*************************************************************************** * * * This program is free software; you can redistribute it and/or modify * * it under the terms of the GNU General Public License as published by * * the Free Software Foundation; either version 2 of the License, or * * (at your option) any later version. * * * ***************************************************************************/ /** @author Harald Krippel */ #ifndef MESSAGES_HPP #define MESSAGES_HPP #include class Messages : public QTextEdit { Q_OBJECT public: Messages(); ~Messages(); public slots: void msg_report (const QString & msg); }; class ErrorMsg : public QObject { Q_OBJECT public: ErrorMsg(const QString msg); ~ErrorMsg(void){}; public slots: signals: // the signals void msg_report (const QString & msg); }; #endif