QCAD
Open Source 2D CAD
RMessageHandler.h
Go to the documentation of this file.
1 
20 #ifndef RMESSAGEHANDLER_H
21 #define RMESSAGEHANDLER_H
22 
23 #include "core_global.h"
24 
25 #include <QMetaType>
26 
34 public:
35  virtual void handleUserMessage(const QString& message, bool escape=true) = 0;
36  virtual void handleUserInfo(const QString& message, bool escape=true) = 0;
37  virtual void handleUserWarning(const QString& message,
38  bool messageBox = false, bool escape=true) = 0;
39  virtual void handleUserCommand(const QString& message, bool escape=true) = 0;
40 };
41 
43 
44 #endif
Copyright (c) 2011-2017 by Andrew Mustun.
Definition: RMessageHandler.h:33
#define QCADCORE_EXPORT
Definition: core_global.h:10
Q_DECLARE_METATYPE(RMath *)