source: trunk/doc/src/snippets/code/doc_src_activeqt-dumpcpp.qdoc@ 244

Last change on this file since 244 was 2, checked in by Dmitry A. Kuminov, 16 years ago

Initially imported qt-all-opensource-src-4.5.1 from Trolltech.

File size: 477 bytes
Line 
1//! [0]
2Outlook::Application *outlook = new Outlook::Application;
3//! [0]
4
5
6//! [1]
7Outlook::_NameSpace *session = outlook->Session();
8//! [1]
9
10
11//! [2]
12Outlook::NameSpace *session = outlook->Session();
13//! [2]
14
15
16//! [3]
17Outlook::_NameSpace *tmp = outlook->Session();
18Outlook::NameSpace *session = new Outlook::NameSpace(tmp);
19delete tmp; // or any other use of tmp: segfault
20//! [3]
21
22
23//! [4]
24Outlook::NameSpace *session = new Outlook::NameSpace(outlook->Session());
25//! [4]
Note: See TracBrowser for help on using the repository browser.