Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
Loading...
Searching...
No Matches
src_corelib_tools_qhash.cpp File Reference

(4e367fa17bca5ec9cc7456f9ce2a81466b34027f)

Go to the source code of this file.

Macros

#define EMPLOYEE_H
 

Functions

hash insert ("twelve", 12)
 [1]
 
 if (hash.contains("TIMEOUT")) timeout = hash.value("TIMEOUT")
 
 for (int i=0;i< 1000;++i)
 [13]
 
QHashIterator< QString, int > i (hash)
 [6]
 
 while (i.hasNext())
 

Variables

QHash< QString, int > hash = 1
 [0]
 
int num1 = hash["thirteen"]
 [2]
 
int num2 = hash.value("thirteen")
 [2]
 
int timeout = 30
 [3]
 

Macro Definition Documentation

◆ EMPLOYEE_H

#define EMPLOYEE_H

Function Documentation

◆ for()

for ( )
new

[13]

[3]

[14]

[4]

Definition at line 43 of file src_corelib_tools_qhash.cpp.

◆ i()

QHashIterator< QString, int > i ( hash )

[6]

[7]

◆ if()

if ( hash. contains"TIMEOUT") = hash.value("TIMEOUT")

◆ insert()

map insert ( "twelve" ,
12  )

[1]

[2]

◆ while()

while ( i. hasNext())

Definition at line 52 of file src_corelib_tools_qhash.cpp.

Variable Documentation

◆ hash

QHash<int, QWidget *> hash = 1

[0]

[5]

[1]

[6]

Definition at line 5 of file src_corelib_tools_qhash.cpp.

◆ num1

int num1 = hash["thirteen"]

[2]

[3]

Definition at line 22 of file src_corelib_tools_qhash.cpp.

◆ num2

int num2 = hash.value("thirteen")

[2]

[3]

Definition at line 23 of file src_corelib_tools_qhash.cpp.

◆ timeout

int timeout = 30

[3]

[4]

[5]

Definition at line 28 of file src_corelib_tools_qhash.cpp.