diff options
author | hjk <qtc-committer@nokia.com> | 2011-07-13 18:02:35 +0200 |
---|---|---|
committer | hjk <qthjk@ovi.com> | 2011-07-14 12:15:38 +0200 |
commit | 82bbac7f906948278b666a78a402099d65bfd1dd (patch) | |
tree | 553154b8e0b7cae0c3be2a2952ab9e5f7ab92995 /src/plugins/coreplugin/manhattanstyle.h | |
parent | 9ec07bf23049d28c66def4f4066230a611780a29 (diff) | |
download | qt-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/coreplugin/manhattanstyle.h')
-rw-r--r-- | src/plugins/coreplugin/manhattanstyle.h | 11 |
1 files changed, 3 insertions, 8 deletions
diff --git a/src/plugins/coreplugin/manhattanstyle.h b/src/plugins/coreplugin/manhattanstyle.h index e04baa781c..fda28c028b 100644 --- a/src/plugins/coreplugin/manhattanstyle.h +++ b/src/plugins/coreplugin/manhattanstyle.h @@ -37,11 +37,6 @@ #include <QtGui/QProxyStyle> -QT_BEGIN_NAMESPACE -class QLinearGradient; -class QBrush; -QT_END_NAMESPACE - class ManhattanStylePrivate; class CORE_EXPORT ManhattanStyle : public QProxyStyle @@ -49,7 +44,7 @@ class CORE_EXPORT ManhattanStyle : public QProxyStyle Q_OBJECT public: - ManhattanStyle(const QString &); + explicit ManhattanStyle(const QString &baseStyleName); ~ManhattanStyle(); @@ -77,12 +72,12 @@ public: void unpolish(QWidget *widget); void unpolish(QApplication *app); -protected Q_SLOTS: + +protected slots: QIcon standardIconImplementation(StandardPixmap standardIcon, const QStyleOption *option, const QWidget *widget) const; private: ManhattanStylePrivate *d; - Q_DISABLE_COPY(ManhattanStyle) }; #endif // MANHATTANSTYLE_H |