以下成员源于类 QCoreApplication 已过时。 提供它们是为使旧源代码能继续工作。强烈建议不要在新代码中使用它们。
(obsolete)
int
|
argc () |
(obsolete)
char **
|
argv () |
(obsolete)
int
|
enter_loop () |
(obsolete)
void
|
exit_loop () |
(obsolete)
int
|
loopLevel () |
(obsolete)
void
|
processOneEvent () |
[static]
int
QCoreApplication::
argc
()
使用 arguments ().size() instead.
[static]
char
** QCoreApplication::
argv
()
使用 arguments () 代替。
[static]
int
QCoreApplication::
enter_loop
()
This function enters the main event loop (recursively). Do not call it unless you really know what you are doing.
[static]
void
QCoreApplication::
exit_loop
()
This function exits from a recursive call to the main event loop. Do not call it unless you are an expert.
[static]
int
QCoreApplication::
loopLevel
()
Returns the current loop level.
[static]
void
QCoreApplication::
processOneEvent
()
Waits for an event to occur, processes it, then returns.
This function is useful for adapting Qt to situations where the event processing must be grafted onto existing program loops.
Using this function in new applications may be an indication of design problems.
另请参阅 processEvents (), exec (),和 QTimer .