#include <QtGui/qapplication.h>
#ifndef QAPPLICATION_H
class QApplication: public QCoreApplication{
   /* Some contents are skipped to improve readability */
#ifndef qdoc
   public: QApplication(int& argc, char* * argv, enum QApplication::Type, int = 262659);
#endif
   /* ... */
};
#endif // QAPPLICATION_H