summaryrefslogtreecommitdiffstats
path: root/doc/src/snippets/code/doc_src_qt3to4.qdoc
blob: da0832d3f053501b7ff4e1d12a5f44a98c54ca30 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
//! [0]
qt3to4 myfile.cpp
qt3to4 myapp.pro
//! [0]


//! [1]
<Rules>
  <Include>/path/to/q3porting.xml</Include>

  <item Type="RenamedHeader" Disable="True" >
    <Qt4>q3sqlselectcursor.h</Qt4>
    <Qt3>qsqlselectcursor.h</Qt3>
  </item>

  <item Type="RenamedHeader" >
    <Qt4>newclass.h</Qt4>
    <Qt3>oldclass.h</Qt3>
  </item>
</Rules>
//! [1]


//! [2]
using namespace Qt;
//! [2]