以下成員源於類 QApplication 已過時。 提供它們是為使舊源代碼能繼續工作。強烈建議不要在新代碼中使用它們。
(obsolete)
|
dumpObjectInfo () |
(obsolete)
|
dumpObjectTree () |
(obsolete)
int
|
colorSpec () |
(obsolete)
|
flush () |
(obsolete)
|
hasPendingEvents () |
(obsolete)
Qt::LayoutDirection
|
keyboardInputDirection () |
(obsolete)
QLocale
|
keyboardInputLocale () |
(obsolete)
bool
|
keypadNavigationEnabled () |
(obsolete)
void
|
setColorSpec (int spec ) |
(obsolete)
void
|
setGraphicsSystem ( const QString & ) |
(obsolete)
void
|
setKeypadNavigationEnabled (bool enable ) |
(obsolete)
|
translate (const char * context , const char * key , const char * disambiguation , QCoreApplication::Encoding encoding , int n ) |
[static]
int
QApplication::
colorSpec
()
此函數已過時。提供它是為使舊源代碼能繼續工作。強烈建議不要在新代碼中使用它。
Returns the color specification.
另請參閱 QApplication::setColorSpec ().
[static]
Qt::LayoutDirection
QApplication::
keyboardInputDirection
()
此函數已過時。提供它是為使舊源代碼能繼續工作。強烈建議不要在新代碼中使用它。
Returns the current keyboard input direction. Replaced with QInputMethod::inputDirection ()
該函數在 Qt 4.2 引入。
另請參閱 QInputMethod::inputDirection ().
[static]
QLocale
QApplication::
keyboardInputLocale
()
此函數已過時。提供它是為使舊源代碼能繼續工作。強烈建議不要在新代碼中使用它。
Returns the current keyboard input locale. Replaced with QInputMethod::locale ()
該函數在 Qt 4.2 引入。
[static]
bool
QApplication::
keypadNavigationEnabled
()
此函數已過時。提供它是為使舊源代碼能繼續工作。強烈建議不要在新代碼中使用它。
返迴
true
if Qt is set to use keypad navigation; otherwise returns false. The default value is false.
This feature is available in Qt for Embedded Linux, and Windows CE only.
注意: On Windows CE this feature is disabled by default for touch device mkspecs. To enable keypad navigation, build Qt with QT_KEYPAD_NAVIGATION defined.
另請參閱 setKeypadNavigationEnabled () 和 navigationMode ().
[static]
void
QApplication::
setColorSpec
(
int
spec
)
此函數已過時。提供它是為使舊源代碼能繼續工作。強烈建議不要在新代碼中使用它。
Sets the color specification for the application to spec .
This call has no effect.
The color specification controls how the application allocates colors when run on a display with a limited amount of colors, e.g. 8 bit / 256 color displays.
The color specification must be set before you create the QApplication 對象。
The options are:
On Windows, Qt creates a Windows palette, and fills it with a color cube.
Be aware that the CustomColor and ManyColor choices may lead to colormap flashing: The foreground application gets (most) of the available colors, while the background windows will look less attractive.
範例:
int main(int argc, char *argv[]) { QApplication::setColorSpec(QApplication::ManyColor); QApplication app(argc, argv); ... return app.exec(); }
另請參閱 colorSpec ().
[static]
void
QApplication::
setGraphicsSystem
(
const QString &
)
此函數已過時。提供它是為使舊源代碼能繼續工作。強烈建議不要在新代碼中使用它。
This call has no effect.
Use the QPA framework instead.
[static]
void
QApplication::
setKeypadNavigationEnabled
(
bool
enable
)
此函數已過時。提供它是為使舊源代碼能繼續工作。強烈建議不要在新代碼中使用它。
Sets whether Qt should use focus navigation suitable for use with a minimal keypad.
This feature is available in Qt for Embedded Linux, and Windows CE only.
注意: On Windows CE this feature is disabled by default for touch device mkspecs. To enable keypad navigation, build Qt with QT_KEYPAD_NAVIGATION defined.
另請參閱 keypadNavigationEnabled () 和 setNavigationMode ().