summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorhjk <qtc-committer@nokia.com>2009-11-09 15:51:05 (GMT)
committerDavid Boddie <dboddie@trolltech.com>2009-11-11 17:21:23 (GMT)
commit56b6cc7a3095d9daa97f0c2e2b25bc7a69bd3efb (patch)
tree6e8711eb08cffbdd955b06344aafd412476d061b /src
parentcc4a7f93990d8c6cd34244e642c8ac629062e924 (diff)
downloadQt-56b6cc7a3095d9daa97f0c2e2b25bc7a69bd3efb.zip
Qt-56b6cc7a3095d9daa97f0c2e2b25bc7a69bd3efb.tar.gz
Qt-56b6cc7a3095d9daa97f0c2e2b25bc7a69bd3efb.tar.bz2
Code in gui/* should be completely namespaced
And not rely on random QT_USE_NAMESPACE being pulled in from *.moc files.
Diffstat (limited to 'src')
-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 b0b6894..4aa358f 100644
--- a/src/gui/kernel/qwidget.cpp
+++ b/src/gui/kernel/qwidget.cpp
@@ -11792,10 +11792,6 @@ void QWidget::ungrabGesture(Qt::GestureType gesture)
}
-QT_END_NAMESPACE
-
-#include "moc_qwidget.cpp"
-
/*!
\typedef WId
\relates QWidget
@@ -12112,3 +12108,8 @@ void QWidgetPrivate::_q_delayedDestroy(WId winId)
delete winId;
}
#endif
+
+QT_END_NAMESPACE
+
+#include "moc_qwidget.cpp"
+