Also, in theory, I don't have control over the header files.
(In practice, I can submit a bug report etc)

UserMessage.h Header file included below.

Thanks,
--
Emmanuel

#define UserMessage_H

#include <QObject>
#include <QCaPluginLibrary_global.h>

class QCAPLUGINLIBRARYSHARED_EXPORT UserMessage : public QObject
{
    Q_OBJECT

    public:
        UserMessage();
        ~UserMessage();

    void setup( QObject* statusMessageConsumer,                 // Setup the 
signal / slot connections required to present messages to the user
                QObject* warningMessageConsumer,
                QObject* errorMessageConsumer );

    void setup( QObject* generalMessageConsumer );              // Setup the 
signal / slot connections required to present messages to the user

    void sendStatusMessage( QString message );                  // Send a 
status message to the user
    void sendStatusMessage( QString message, QString source );  // Send a 
status message to the user including a string identifying the source of the 
message

    void sendWarningMessage( QString message );                 // Send a 
warning message to the user
    void sendWarningMessage( QString message, QString source ); // Send a 
warning message to the user including a string identifying the source of the 
message

    void sendErrorMessage( QString message );                   // Send an 
error message to the user
    void sendErrorMessage( QString message, QString source );   // Send an 
error message to the user including a string identifying the source of the 
message

signals:
    void statusMessage( QString message );                      // Signal a 
status message
    void warningMessage( QString message );                     // Signal a 
warning message
    void errorMessage( QString message );                       // Signal an 
error message

    void generalMessage( QString message );                     // Signal a 
message (emitted for status, warning, and error
  };

#endif // UserMessage_H






On 10:51 Wed 30 Mar     , emmanuel_mays...@lynceantech.com wrote:
> Pyqt Archive fond at 
> http://www.riverbankcomputing.com/pipermail/pyqt/
> 
> -- 
> Emmanuel
> _______________________________________________
> PyQt mailing list    PyQt@riverbankcomputing.com
> http://www.riverbankcomputing.com/mailman/listinfo/pyqt

-- 
Emmanuel
_______________________________________________
PyQt mailing list    PyQt@riverbankcomputing.com
http://www.riverbankcomputing.com/mailman/listinfo/pyqt

Reply via email to