#include <QtGui/qfontdialog.h> #ifndef QFONTDIALOG_H #ifndef QT_NO_FONTDIALOG class QFontDialog: public QDialog{ /* Some contents are skipped to improve readability */ public: static class QFont getFont(bool* ok, class QWidget* parent = 0); /* ... */ }; #endif // QT_NO_FONTDIALOG #endif // QFONTDIALOG_H