summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorhjk <qtc-committer@nokia.com>2009-11-09 15:51:05 (GMT)
committerhjk <qtc-committer@nokia.com>2009-11-09 15:52:50 (GMT)
commitaf0c43f19218996bab844da4dd6f298d405ebcee (patch)
treeb72f8f9a7eaf7d065797839bd188140e6c5da3bf
parent10e3bb5c7b88c26cc96d08f887a4457643276d89 (diff)
downloadQt-af0c43f19218996bab844da4dd6f298d405ebcee.zip
Qt-af0c43f19218996bab844da4dd6f298d405ebcee.tar.gz
Qt-af0c43f19218996bab844da4dd6f298d405ebcee.tar.bz2
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 271b939..2d2aa2e 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"
+