#include <QtGui/qfontdatabase.h>
#ifndef QFONTDATABASE_H
class QFontDatabase{
   /* Some contents are skipped to improve readability */
   public: int weight(class QString const & family, class QString const & style) const
   /* ... */
};
#endif // QFONTDATABASE_H