summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorhjk <qtc-committer@nokia.com>2009-11-09 16:51:05 +0100
committerhjk <qtc-committer@nokia.com>2009-11-09 16:52:50 +0100
commitaf0c43f19218996bab844da4dd6f298d405ebcee (patch)
treeb72f8f9a7eaf7d065797839bd188140e6c5da3bf
parent10e3bb5c7b88c26cc96d08f887a4457643276d89 (diff)
Code in gui/* should be completely namespaced
And not rely on random QT_USE_NAMESPACE being pulled in from *.moc files.
-rw-r--r--src/gui/kernel/qwidget.cpp9
1 files changed, 5 insertions, 4 deletions
diff --git a/src/gui/kernel/qwidget.cpp b/src/gui/kernel/qwidget.cpp
index 271b939f01..2d2aa2e065 100644
--- a/src/gui/kernel/qwidget.cpp
+++ b/src/gui/kernel/qwidget.cpp
@@ -11781,10 +11781,6 @@ void QWidget::ungrabGesture(Qt::GestureType gesture)
}
-QT_END_NAMESPACE
-
-#include "moc_qwidget.cpp"
-
/*!
\typedef WId
\relates QWidget
@@ -12101,3 +12097,8 @@ void QWidgetPrivate::_q_delayedDestroy(WId winId)
delete winId;
}
#endif
+
+QT_END_NAMESPACE
+
+#include "moc_qwidget.cpp"
+