summaryrefslogtreecommitdiffstats
path: root/src/plugins/gfxdrivers/directfb/qdirectfbkeyboard.cpp
diff options
context:
space:
mode:
authorAnders Bakken <anders.bakken@nokia.com>2009-08-31 17:10:28 (GMT)
committerAnders Bakken <anders.bakken@nokia.com>2009-08-31 17:52:08 (GMT)
commitc35974f60cab2d74b399c92ece7ceb96c147ef8a (patch)
treea7f9dfa6fed04cc2a1e12ae3afe45f8aefbc49b5 /src/plugins/gfxdrivers/directfb/qdirectfbkeyboard.cpp
parent42540863d4b31b619a22c68391637f091b1c30f4 (diff)
downloadQt-c35974f60cab2d74b399c92ece7ceb96c147ef8a.zip
Qt-c35974f60cab2d74b399c92ece7ceb96c147ef8a.tar.gz
Qt-c35974f60cab2d74b399c92ece7ceb96c147ef8a.tar.bz2
Fix QT_BEGIN/END_NAMESPACE in DirectFB
Reviewed-by: Donald Carr <donald.carr@nokia.com>
Diffstat (limited to 'src/plugins/gfxdrivers/directfb/qdirectfbkeyboard.cpp')
-rw-r--r--src/plugins/gfxdrivers/directfb/qdirectfbkeyboard.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/plugins/gfxdrivers/directfb/qdirectfbkeyboard.cpp b/src/plugins/gfxdrivers/directfb/qdirectfbkeyboard.cpp
index fe77fd1..44ce72b3 100644
--- a/src/plugins/gfxdrivers/directfb/qdirectfbkeyboard.cpp
+++ b/src/plugins/gfxdrivers/directfb/qdirectfbkeyboard.cpp
@@ -53,6 +53,8 @@
#include <fcntl.h>
#include <errno.h>
+QT_BEGIN_NAMESPACE
+
class KeyMap : public QHash<DFBInputDeviceKeySymbol, Qt::Key>
{
public:
@@ -429,6 +431,8 @@ KeyMap::KeyMap()
insert(DIKS_TILDE , Qt::Key_AsciiTilde);
}
+QT_END_NAMESPACE
+
#include "qdirectfbkeyboard.moc"
#endif // QT_NO_DIRECTFB