#include <QtGui/qfontdialog.h> #ifndef QFONTDIALOG_H #ifndef QT_NO_FONTDIALOG class QFontDialog: public QDialog{ /* Some contents are skipped to improve readability */ private: inline struct QFontDialogPrivate const * d_func() const /* ... */ }; #endif // QT_NO_FONTDIALOG #endif // QFONTDIALOG_H