summaryrefslogtreecommitdiffstats
path: root/src/corelib/global/qnamespace.qdoc
diff options
context:
space:
mode:
Diffstat (limited to 'src/corelib/global/qnamespace.qdoc')
-rw-r--r--src/corelib/global/qnamespace.qdoc46
1 files changed, 36 insertions, 10 deletions
diff --git a/src/corelib/global/qnamespace.qdoc b/src/corelib/global/qnamespace.qdoc
index 63ac4a95be..3add1a48c7 100644
--- a/src/corelib/global/qnamespace.qdoc
+++ b/src/corelib/global/qnamespace.qdoc
@@ -1,6 +1,6 @@
/****************************************************************************
**
-** Copyright (C) 2011 Nokia Corporation and/or its subsidiary(-ies).
+** Copyright (C) 2012 Nokia Corporation and/or its subsidiary(-ies).
** All rights reserved.
** Contact: Nokia Corporation (qt-info@nokia.com)
**
@@ -167,6 +167,15 @@
construction in order to make Xlib calls thread-safe. This
attribute must be set before QApplication is constructed.
+ \value AA_SynthesizeTouchForUnhandledMouseEvents All mouse events
+ that are not accepted by the application will be translated
+ to touch events instead.
+
+ \value AA_SynthesizeMouseForUnhandledTouchEvents All touch events
+ that are not accepted by the application will be translated
+ to left button mouse events instead. This attribute is enabled
+ by default.
+
\omitvalue AA_AttributeCount
*/
@@ -1158,13 +1167,6 @@
to this top level window. This attribute has no effect on non-X11
platforms.
- \value WA_LockPortraitOrientation Locks the widget to a portrait orientation,
- ignoring changes to the display's orientation with respect to the user.
- \value WA_LockLandscapeOrientation Locks the widget to a landscape orientation,
- ignoring changes to the display's orientation with respect to the user.
- \value WA_AutoOrientation Causes the widget to change orientation whenever the
- display changes orientation with respect to the user.
-
\value WA_MacNoShadow Since Qt 4.8, this attribute disables drop shadows
for this top level window. Only affects Cocoa builds of Qt for Mac OS X.
@@ -1198,7 +1200,6 @@
\omitvalue WA_SetWindowModality
\omitvalue WA_WState_WindowOpacitySet
\omitvalue WA_WState_AcceptedTouchBeginEvent
- \omitvalue WA_SymbianNoSystemRotation
*/
/*! \typedef Qt::HANDLE
@@ -2437,7 +2438,7 @@
\value ImhDate The text editor functions as a date field.
\value ImhTime The text editor functions as a time field.
- \value ImhMultiLine The text editor accepts multi-line content.
+ \value ImhPreferLatin Latin characters are preferred (but not required).
Flags that restrict input (exclusive flags):
@@ -2448,6 +2449,7 @@
\value ImhDialableCharactersOnly Only characters suitable for phone dialing are allowed.
\value ImhEmailCharactersOnly Only characters suitable for email addresses are allowed.
\value ImhUrlCharactersOnly Only characters suitable for URLs are allowed.
+ \value ImhLatinOnly Only latin based input is allowed.
Masks:
@@ -2873,3 +2875,27 @@
\sa QApplication::setNavigationMode()
\sa QApplication::navigationMode()
*/
+
+/*!
+ \enum Qt::TimerType
+
+ The timer type indicates how accurate a timer can be.
+
+ \value PreciseTimer Precise timers try to keep millisecond accuracy
+ \value CoarseTimer Coarse timers try to keep accuracy within 5% of the desired interval
+ \value VeryCoarseTimer Very coarse timers only keep full second accuracy
+
+ On UNIX (including Linux and Mac OS X), Qt will keep millisecond accuracy
+ for Qt::PreciseTimer. For Qt::CoarseTimer, the interval will be adjusted up
+ to 5% to align the timer with other timers that are expected to fire at or
+ around the same time. The objective is to make most timers wake up at the
+ same time, thereby reducing CPU wakeups and power consumption.
+
+ On Windows, Qt will use Windows's Multimedia timer facility (if available)
+ for Qt::PreciseTimer and normal Windows timers for Qt::CoarseTimer and
+ Qt::VeryCoarseTimer.
+
+ On all platforms, the interval for Qt::VeryCoarseTimer is rounded to the
+ nearest full second (e.g. an interval of 23500ms will be rounded to
+ 24000ms, and 20300ms to 20000ms).
+*/