On Sat, 20 Dec 2008, ami guru wrote: > Hello forum, > > is there any difference between > > class QTextDocument; > > AND > > QT_FORWARD_DECLARE_CLASS(QTextDocument) This adds QT_BEGIN_NAMESPACE and QT_END_NAMESPACE around the forward declaration if QT_NAMESAPCE is defined. Boudewijn