source:
trunk/doc/src/snippets/code/doc_src_qpair.qdoc@
5
Last change on this file since 5 was 2, checked in by , 16 years ago | |
---|---|
File size: 208 bytes |
Line | |
---|---|
1 | //! [0] |
2 | QPair<QString, double> pair; |
3 | //! [0] |
4 | |
5 | |
6 | //! [1] |
7 | pair.first = "pi"; |
8 | pair.second = 3.14159265358979323846; |
9 | //! [1] |
10 | |
11 | |
12 | //! [2] |
13 | QList<QPair<int, double> > list; |
14 | list.append(qMakePair(66, 3.14159)); |
15 | //! [2] |
Note:
See TracBrowser
for help on using the repository browser.