summaryrefslogtreecommitdiff
path: root/src/plugins/projectexplorer
diff options
context:
space:
mode:
authorhjk <qtc-committer@nokia.com>2011-07-13 18:02:35 +0200
committerhjk <qthjk@ovi.com>2011-07-14 12:15:38 +0200
commit82bbac7f906948278b666a78a402099d65bfd1dd (patch)
tree553154b8e0b7cae0c3be2a2952ab9e5f7ab92995 /src/plugins/projectexplorer
parent9ec07bf23049d28c66def4f4066230a611780a29 (diff)
downloadqt-creator-82bbac7f906948278b666a78a402099d65bfd1dd.tar.gz
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>
Diffstat (limited to 'src/plugins/projectexplorer')
-rw-r--r--src/plugins/projectexplorer/projectconfiguration.h2
-rw-r--r--src/plugins/projectexplorer/projectwizardpage.h5
-rw-r--r--src/plugins/projectexplorer/publishing/ipublishingwizardfactory.h2
-rw-r--r--src/plugins/projectexplorer/removefiledialog.h4
4 files changed, 6 insertions, 7 deletions
diff --git a/src/plugins/projectexplorer/projectconfiguration.h b/src/plugins/projectexplorer/projectconfiguration.h
index ec33046748..7c612f6401 100644
--- a/src/plugins/projectexplorer/projectconfiguration.h
+++ b/src/plugins/projectexplorer/projectconfiguration.h
@@ -72,8 +72,6 @@ protected:
ProjectConfiguration(QObject *parent, const ProjectConfiguration *source);
private:
- Q_DISABLE_COPY(ProjectConfiguration)
-
QString m_id;
QString m_displayName;
QString m_defaultDisplayName;
diff --git a/src/plugins/projectexplorer/projectwizardpage.h b/src/plugins/projectexplorer/projectwizardpage.h
index 829d266048..f1f127aade 100644
--- a/src/plugins/projectexplorer/projectwizardpage.h
+++ b/src/plugins/projectexplorer/projectwizardpage.h
@@ -43,9 +43,10 @@ class WizardPage;
}
// Documentation inside.
-class ProjectWizardPage : public QWizardPage {
+class ProjectWizardPage : public QWizardPage
+{
Q_OBJECT
- Q_DISABLE_COPY(ProjectWizardPage)
+
public:
explicit ProjectWizardPage(QWidget *parent = 0);
virtual ~ProjectWizardPage();
diff --git a/src/plugins/projectexplorer/publishing/ipublishingwizardfactory.h b/src/plugins/projectexplorer/publishing/ipublishingwizardfactory.h
index 308882f1de..b2f3a36e81 100644
--- a/src/plugins/projectexplorer/publishing/ipublishingwizardfactory.h
+++ b/src/plugins/projectexplorer/publishing/ipublishingwizardfactory.h
@@ -61,7 +61,7 @@ class Project;
class PROJECTEXPLORER_EXPORT IPublishingWizardFactory : public QObject
{
Q_OBJECT
- Q_DISABLE_COPY(IPublishingWizardFactory)
+
public:
/*!
A short, one-line description of the type of wizard that this
diff --git a/src/plugins/projectexplorer/removefiledialog.h b/src/plugins/projectexplorer/removefiledialog.h
index b3f862831f..01197a52ff 100644
--- a/src/plugins/projectexplorer/removefiledialog.h
+++ b/src/plugins/projectexplorer/removefiledialog.h
@@ -39,13 +39,13 @@ namespace ProjectExplorer {
namespace Internal {
namespace Ui {
- class RemoveFileDialog;
+class RemoveFileDialog;
}
class RemoveFileDialog : public QDialog
{
Q_OBJECT
- Q_DISABLE_COPY(RemoveFileDialog)
+
public:
explicit RemoveFileDialog(const QString &filePath, QWidget *parent = 0);
virtual ~RemoveFileDialog();