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