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:
@@ -6,9 +6,7 @@
|
||||
#include "guiutil.h"
|
||||
|
||||
#include <QTime>
|
||||
#include <QTimer>
|
||||
#include <QThread>
|
||||
#include <QTextEdit>
|
||||
#include <QKeyEvent>
|
||||
#include <QUrl>
|
||||
#include <QScrollBar>
|
||||
@@ -35,12 +33,14 @@ const struct {
|
||||
|
||||
/* Object for executing console RPC commands in a separate thread.
|
||||
*/
|
||||
class RPCExecutor: public QObject
|
||||
class RPCExecutor : public QObject
|
||||
{
|
||||
Q_OBJECT
|
||||
|
||||
public slots:
|
||||
void start();
|
||||
void request(const QString &command);
|
||||
|
||||
signals:
|
||||
void reply(int category, const QString &command);
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user