diff options
author | Jeremy Katz <jeremy.katz@nokia.com> | 2009-09-25 14:42:01 (GMT) |
---|---|---|
committer | Jeremy Katz <jeremy.katz@nokia.com> | 2009-09-25 14:42:01 (GMT) |
commit | 2b1f40b7dcf7ef69fe1f832ff544fcb31cf5c3a1 (patch) | |
tree | f6ddb01707d2e59e29b47ffcd2ea016c3164fc54 /src/scripttools/debugging/qscriptenginedebugger.h | |
parent | 586722a4e288e9f1e9d7751a0e87e39c274144d8 (diff) | |
download | Qt-2b1f40b7dcf7ef69fe1f832ff544fcb31cf5c3a1.zip Qt-2b1f40b7dcf7ef69fe1f832ff544fcb31cf5c3a1.tar.gz Qt-2b1f40b7dcf7ef69fe1f832ff544fcb31cf5c3a1.tar.bz2 |
ifdefs to allow compilation with QT_NO_MAINWINDOW and QT_NO_TOOLBAR
Reviewed-by: Paul
Diffstat (limited to 'src/scripttools/debugging/qscriptenginedebugger.h')
-rw-r--r-- | src/scripttools/debugging/qscriptenginedebugger.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/scripttools/debugging/qscriptenginedebugger.h b/src/scripttools/debugging/qscriptenginedebugger.h index 44d77bd..1caba4a 100644 --- a/src/scripttools/debugging/qscriptenginedebugger.h +++ b/src/scripttools/debugging/qscriptenginedebugger.h @@ -53,7 +53,9 @@ QT_MODULE(ScriptTools) class QAction; class QScriptEngine; class QWidget; +#ifndef QT_NO_MAINWINDOW class QMainWindow; +#endif class QMenu; class QToolBar; @@ -106,7 +108,9 @@ public: bool autoShowStandardWindow() const; void setAutoShowStandardWindow(bool autoShow); +#ifndef QT_NO_MAINWINDOW QMainWindow *standardWindow() const; +#endif QToolBar *createStandardToolBar(QWidget *parent = 0); QMenu *createStandardMenu(QWidget *parent = 0); |