Qt
Internal/Contributor docs for the Qt SDK. <b>Note:</b> These are NOT official API docs; those are found <a href='https://doc.qt.io/'>here</a>.
Loading...
Searching...
No Matches
main.cpp File Reference

(05fc3aef53348fb58be6308076e000825b704e58)

#include <QtCore>
+ Include dependency graph for main.cpp:

Go to the source code of this file.

Functions

void slowOperation1 ()
 
void slowOperation2 (int)
 
void startExample ()
 
void executeSlowOperations (int timeout)
 [1]
 
void executeOperationsForTime (int ms)
 [1]
 
int restartExample ()
 [2]
 
int main (int argc, char **argv)
 [0]
 

Function Documentation

◆ executeOperationsForTime()

void executeOperationsForTime ( int ms)

[1]

[2]

Definition at line 40 of file main.cpp.

References slowOperation1(), QTimer::start(), and timer.

Referenced by main().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ executeSlowOperations()

void executeSlowOperations ( int timeout)

[1]

Definition at line 27 of file main.cpp.

References slowOperation1(), slowOperation2(), QTimer::start(), and timer.

Referenced by main().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ main()

int main ( int argc,
char ** argv )

[0]

[0]

[0]

[1]

[1]

[2]

[2]

[3]

[3]

[0]

[0]

[1]

[1]

Definition at line 66 of file main.cpp.

References app, executeOperationsForTime(), executeSlowOperations(), restartExample(), and startExample().

+ Here is the call graph for this function:

◆ restartExample()

int restartExample ( )

[2]

[3]

[3]

Definition at line 50 of file main.cpp.

References slowOperation2(), QTimer::start(), and timer.

Referenced by main().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ slowOperation1()

void slowOperation1 ( )

Definition at line 5 of file main.cpp.

References i.

Referenced by executeOperationsForTime(), executeSlowOperations(), slowOperation2(), and startExample().

+ Here is the caller graph for this function:

◆ slowOperation2()

void slowOperation2 ( int )

Definition at line 12 of file main.cpp.

References slowOperation1().

Referenced by executeSlowOperations(), and restartExample().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ startExample()

void startExample ( )

[0]

[0]

Definition at line 14 of file main.cpp.

References qDebug, slowOperation1(), QTimer::start(), and timer.

Referenced by main().

+ Here is the call graph for this function:
+ Here is the caller graph for this function: