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/libs/utils/classnamevalidatinglineedit.h | |
parent | 9ec07bf23049d28c66def4f4066230a611780a29 (diff) |
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/libs/utils/classnamevalidatinglineedit.h')
-rw-r--r-- | src/libs/utils/classnamevalidatinglineedit.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/libs/utils/classnamevalidatinglineedit.h b/src/libs/utils/classnamevalidatinglineedit.h index 3e22f5d2a1..032331b7e9 100644 --- a/src/libs/utils/classnamevalidatinglineedit.h +++ b/src/libs/utils/classnamevalidatinglineedit.h @@ -43,10 +43,9 @@ struct ClassNameValidatingLineEditPrivate; class QTCREATOR_UTILS_EXPORT ClassNameValidatingLineEdit : public Utils::BaseValidatingLineEdit { - Q_DISABLE_COPY(ClassNameValidatingLineEdit) + Q_OBJECT Q_PROPERTY(bool namespacesEnabled READ namespacesEnabled WRITE setNamespacesEnabled DESIGNABLE true) Q_PROPERTY(bool lowerCaseFileName READ lowerCaseFileName WRITE setLowerCaseFileName) - Q_OBJECT public: explicit ClassNameValidatingLineEdit(QWidget *parent = 0); |