#include <QtGui/qapplication.h>
#ifndef QAPPLICATION_H
class QApplication: public QCoreApplication{
   /* Some contents are skipped to improve readability */
   public: static struct QWidget* topLevelAt(class QPoint const & p);
   /* ... */
};
#endif // QAPPLICATION_H