Bitcoin-Qt: massive header and cpp cleanup
- try to enforce the same style to all Qt related files - remove unneeded includes from the files - add missing Q_OBJECT, QT_BEGIN_NAMESPACE / QT_END_NAMESPACE - prepares for a pull-req to include Qt5 compatibility
This commit is contained in:
@@ -15,6 +15,7 @@ QT_END_NAMESPACE
|
||||
class Notificator: public QObject
|
||||
{
|
||||
Q_OBJECT
|
||||
|
||||
public:
|
||||
/** Create a new notificator.
|
||||
@note Ownership of trayIcon is not transferred to this object.
|
||||
@@ -25,13 +26,12 @@ public:
|
||||
// Message class
|
||||
enum Class
|
||||
{
|
||||
Information, /**< Informational message */
|
||||
Warning, /**< Notify user of potential problem */
|
||||
Critical /**< An error occurred */
|
||||
Information, /**< Informational message */
|
||||
Warning, /**< Notify user of potential problem */
|
||||
Critical /**< An error occurred */
|
||||
};
|
||||
|
||||
public slots:
|
||||
|
||||
/** Show notification message.
|
||||
@param[in] cls general message class
|
||||
@param[in] title title shown with message
|
||||
|
||||
Reference in New Issue
Block a user