diff options
author | Friedemann Kleint <Friedemann.Kleint@nokia.com> | 2010-02-01 09:28:00 (GMT) |
---|---|---|
committer | Friedemann Kleint <Friedemann.Kleint@nokia.com> | 2010-02-01 09:28:00 (GMT) |
commit | a788f7e3a04ec741d59ef458a40e39d918dc1df0 (patch) | |
tree | d604e4f206473b125c335b61487d833fd0926af4 /tools/shared | |
parent | f3da2f414f9fce9aa014da79be9f50c075c60936 (diff) | |
download | Qt-a788f7e3a04ec741d59ef458a40e39d918dc1df0.zip Qt-a788f7e3a04ec741d59ef458a40e39d918dc1df0.tar.gz Qt-a788f7e3a04ec741d59ef458a40e39d918dc1df0.tar.bz2 |
Designer/uic/related examples: Fix source code scanning issues II.
Fix spelling errors, foreach()/QString usage, explicit constructors.
Reviewed-By: Joerg Bornemann <joerg.bornemann@trolltech.com>
Diffstat (limited to 'tools/shared')
-rw-r--r-- | tools/shared/findwidget/abstractfindwidget.h | 2 | ||||
-rw-r--r-- | tools/shared/findwidget/itemviewfindwidget.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/tools/shared/findwidget/abstractfindwidget.h b/tools/shared/findwidget/abstractfindwidget.h index 6cc7c94..089947d 100644 --- a/tools/shared/findwidget/abstractfindwidget.h +++ b/tools/shared/findwidget/abstractfindwidget.h @@ -70,7 +70,7 @@ public: }; Q_DECLARE_FLAGS(FindFlags, FindFlag) - AbstractFindWidget(FindFlags flags = FindFlags(), QWidget *parent = 0); + explicit AbstractFindWidget(FindFlags flags = FindFlags(), QWidget *parent = 0); virtual ~AbstractFindWidget(); bool eventFilter(QObject *object, QEvent *e); diff --git a/tools/shared/findwidget/itemviewfindwidget.h b/tools/shared/findwidget/itemviewfindwidget.h index 9d63d62..2d06df8 100644 --- a/tools/shared/findwidget/itemviewfindwidget.h +++ b/tools/shared/findwidget/itemviewfindwidget.h @@ -55,7 +55,7 @@ class ItemViewFindWidget : public AbstractFindWidget Q_OBJECT public: - ItemViewFindWidget(FindFlags flags = FindFlags(), QWidget *parent = 0); + explicit ItemViewFindWidget(FindFlags flags = FindFlags(), QWidget *parent = 0); QAbstractItemView *itemView() const { return m_itemView; } |