35bc8f449b
There are no longer any qt headers included in wx/qt headers. Applications do not need to link with qt librarys anymore, only wxqt libraries. wxWindow and derived widgets only contain one pointer to their qtwidget, no longer carrying both base and derived pointers in parallel as was before.
30 lines
707 B
C++
30 lines
707 B
C++
/////////////////////////////////////////////////////////////////////////////
|
|
// Name: app.h
|
|
// Purpose: wxApp class
|
|
// Author: Peter Most, Mariano Reingart
|
|
// Copyright: (c) 2009 wxWidgets dev team
|
|
// Licence: wxWindows licence
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
|
|
#ifndef _WX_QT_APP_H_
|
|
#define _WX_QT_APP_H_
|
|
|
|
class QApplication;
|
|
class WXDLLIMPEXP_CORE wxApp : public wxAppBase
|
|
{
|
|
public:
|
|
wxApp();
|
|
~wxApp();
|
|
|
|
virtual bool Initialize(int& argc, wxChar **argv);
|
|
|
|
private:
|
|
QApplication *m_qtApplication;
|
|
int m_qtArgc;
|
|
char **m_qtArgv;
|
|
|
|
wxDECLARE_DYNAMIC_CLASS_NO_COPY( wxApp );
|
|
};
|
|
|
|
#endif // _WX_QT_APP_H_
|