forked from qt-creator/qt-creator
Remove unneeded defines.
Mostly Q_DISABLE_COPY that were covered by the un-copy-ability of the respective base classes. Includes a few "stylistic" whitespace changes. Change-Id: I31ca0e7bada5ed0f34776976efe22ddc444a5bf2 Reviewed-on: http://codereview.qt.nokia.com/1609 Reviewed-by: hjk <qthjk@ovi.com>
This commit is contained in:
@@ -38,10 +38,6 @@
|
||||
#include <QtCore/QVariant>
|
||||
#include <QtCore/QProcessEnvironment>
|
||||
|
||||
QT_BEGIN_NAMESPACE
|
||||
class QProcess;
|
||||
QT_END_NAMESPACE
|
||||
|
||||
namespace Git {
|
||||
namespace Internal {
|
||||
|
||||
@@ -49,8 +45,8 @@ namespace Internal {
|
||||
// signal with a magic cookie
|
||||
class GitCommand : public QObject
|
||||
{
|
||||
Q_DISABLE_COPY(GitCommand)
|
||||
Q_OBJECT
|
||||
|
||||
public:
|
||||
// Where to report command termination with exit code if desired
|
||||
enum TerminationReportMode { NoReport,
|
||||
@@ -85,9 +81,9 @@ public:
|
||||
private:
|
||||
void run();
|
||||
|
||||
Q_SIGNALS:
|
||||
void outputData(const QByteArray&);
|
||||
void errorText(const QString&);
|
||||
signals:
|
||||
void outputData(const QByteArray &);
|
||||
void errorText(const QString &);
|
||||
void finished(bool ok, int exitCode, const QVariant &cookie);
|
||||
void success();
|
||||
|
||||
|
||||
@@ -116,7 +116,6 @@ QDebug operator<<(QDebug d, const GitoriousHost &p);
|
||||
|
||||
class Gitorious : public QObject
|
||||
{
|
||||
Q_DISABLE_COPY(Gitorious)
|
||||
Q_OBJECT
|
||||
|
||||
public:
|
||||
|
||||
Reference in New Issue
Block a user