Fix Qt namespace compilation.

Change-Id: I259b5fde8e4d75d28def8650c4c9208accdf0bbe
Reviewed-by: Rohan McGovern <rohan.mcgovern@nokia.com>
This commit is contained in:
Toby Tomkins 2011-11-15 11:23:33 +10:00 committed by Qt by Nokia
parent 4dc390e66f
commit 91af333634
3 changed files with 9 additions and 1 deletions

View File

@ -55,6 +55,8 @@
// We mean it.
//
QT_BEGIN_NAMESPACE
class QMetaTypeSwitcher {
public:
@ -98,4 +100,6 @@ ReturnType QMetaTypeSwitcher::switcher(DelegateObject &logic, int type, const vo
#undef QT_METATYPE_SWICHER_CASE_QCLASS
#undef QT_METATYPE_SWICHER_CASE_POINTER
QT_END_NAMESPACE
#endif // QMETATYPESWITCHER_P_H

View File

@ -45,6 +45,8 @@
#include "qaccessiblebridge.h"
#include <QtGui/QGuiApplication>
QT_BEGIN_NAMESPACE
/* accessiblebridge plugin discovery stuff */
#ifndef QT_NO_LIBRARY
Q_GLOBAL_STATIC_WITH_ARGS(QFactoryLoader, bridgeloader,
@ -134,7 +136,6 @@ void QPlatformAccessibility::initialize()
QAccessibleBridge * bridge = factory->create(l.at(i));
if (bridge) {
bridges()->append(bridge);
#
}
}
}
@ -146,3 +147,4 @@ void QPlatformAccessibility::cleanup()
qDeleteAll(*bridges());
}
QT_END_NAMESPACE

View File

@ -198,3 +198,5 @@ bool QSslCertificateExtension::isSupported() const
{
return d->supported;
}
QT_END_NAMESPACE