#include <QtGui/qapplication.h>
#ifndef QAPPLICATION_H
class QApplication: public QCoreApplication{
   /* Some contents are skipped to improve readability */
#ifndef qdoc
#if defined(Q_WS_X11)
   public: QApplication(Display* dpy, int& argc, char* * argv, Qt::HANDLE visual = 0, Qt::HANDLE cmap = 0, int = 262659);
#endif
#endif
   /* ... */
};
#endif // QAPPLICATION_H