diff options
author | Michael Brasser <michael.brasser@nokia.com> | 2009-09-15 23:21:11 (GMT) |
---|---|---|
committer | Michael Brasser <michael.brasser@nokia.com> | 2009-09-15 23:21:11 (GMT) |
commit | d3b03a7d6c4ad023572d7099ee9f9ec3f0711d04 (patch) | |
tree | 5326031090ee5921eaf5c3259153194ddc352afc /examples | |
parent | 45c13a0064281d0e2b9a10c7dfb0cef7f3b6720f (diff) | |
parent | 669afa2337ad5791502fe3af2e3de648cb60ea9b (diff) | |
download | Qt-d3b03a7d6c4ad023572d7099ee9f9ec3f0711d04.zip Qt-d3b03a7d6c4ad023572d7099ee9f9ec3f0711d04.tar.gz Qt-d3b03a7d6c4ad023572d7099ee9f9ec3f0711d04.tar.bz2 |
Merge branch '4.6' of git@scm.dev.nokia.troll.no:qt/qt into kinetic-declarativeui
Conflicts:
configure.exe
Diffstat (limited to 'examples')
-rw-r--r-- | examples/animation/animatedtiles/main.cpp | 3 | ||||
-rw-r--r-- | examples/draganddrop/fridgemagnets/main.cpp | 3 |
2 files changed, 6 insertions, 0 deletions
diff --git a/examples/animation/animatedtiles/main.cpp b/examples/animation/animatedtiles/main.cpp index dfdaf73..ca52f47 100644 --- a/examples/animation/animatedtiles/main.cpp +++ b/examples/animation/animatedtiles/main.cpp @@ -274,6 +274,9 @@ int main(int argc, char **argv) timer.setSingleShot(true); rootState->addTransition(&timer, SIGNAL(timeout()), ellipseState); +#ifdef QT_KEYPAD_NAVIGATION + QApplication::setNavigationMode(Qt::NavigationModeCursorAuto); +#endif return app.exec(); } diff --git a/examples/draganddrop/fridgemagnets/main.cpp b/examples/draganddrop/fridgemagnets/main.cpp index eed8f70..6cff7c5c 100644 --- a/examples/draganddrop/fridgemagnets/main.cpp +++ b/examples/draganddrop/fridgemagnets/main.cpp @@ -51,6 +51,9 @@ int main(int argc, char *argv[]) smallScreen = true; QApplication app(argc, argv); +#ifdef QT_KEYPAD_NAVIGATION + QApplication::setNavigationMode(Qt::NavigationModeCursorAuto); +#endif DragWidget window; if (smallScreen) window.showFullScreen(); |