diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-08-10 12:14:37 -0500 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-08-10 12:14:37 -0500 |
commit | b24c4d5955f355356f52bc4b48c5427a7b487031 (patch) | |
tree | 5c9f65ea5f89ebf0c1591527ad3baf257c010065 /src/kernel/qapplication.h | |
parent | 76192ffc96b326f57cf932ed68600a3017a76fab (diff) | |
download | qt3-b24c4d5955f355356f52bc4b48c5427a7b487031.tar.gz qt3-b24c4d5955f355356f52bc4b48c5427a7b487031.zip |
Add new delayed initialization constructor to QApplication
Diffstat (limited to 'src/kernel/qapplication.h')
-rw-r--r-- | src/kernel/qapplication.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/kernel/qapplication.h b/src/kernel/qapplication.h index 39f7858..8378135 100644 --- a/src/kernel/qapplication.h +++ b/src/kernel/qapplication.h @@ -74,6 +74,7 @@ class Q_EXPORT QApplication : public QObject { Q_OBJECT public: + QApplication( bool delayed_init ); QApplication( int &argc, char **argv ); QApplication( int &argc, char **argv, bool GUIenabled ); enum Type { Tty, GuiClient, GuiServer }; @@ -85,6 +86,11 @@ public: #endif virtual ~QApplication(); +#if defined(Q_WS_X11) + void doLateInitialization( Display* dpy, HANDLE visual = 0, HANDLE cmap = 0 ); + void doLateInitialization( Display *dpy, int argc, char **argv, HANDLE visual = 0, HANDLE cmap= 0 ); +#endif + int argc() const; char **argv() const; |