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