diff options
author | hjk <qthjk@ovi.com> | 2012-06-28 08:15:50 +0200 |
---|---|---|
committer | hjk <qthjk@ovi.com> | 2012-06-28 08:16:59 +0200 |
commit | 68ce7a667bf8e7182d154cd3aecdf24ff474ce8d (patch) | |
tree | c21610ef9f2b8b474da0587120c321e6582f09b6 /src/plugins/debugger/logwindow.h | |
parent | 27fbe170d43e4c471fc1ca1d59dc478a10ca5404 (diff) | |
download | qt-creator-68ce7a667bf8e7182d154cd3aecdf24ff474ce8d.tar.gz |
debugger: speed up logging by collecting bigger chunks
Change-Id: Ie2171e0afdc0e3296f57974b1e4e5ee952658626
Reviewed-by: hjk <qthjk@ovi.com>
Diffstat (limited to 'src/plugins/debugger/logwindow.h')
-rw-r--r-- | src/plugins/debugger/logwindow.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/plugins/debugger/logwindow.h b/src/plugins/debugger/logwindow.h index a71db75e5e..7f63a42b0e 100644 --- a/src/plugins/debugger/logwindow.h +++ b/src/plugins/debugger/logwindow.h @@ -36,6 +36,7 @@ #include "debuggerconstants.h" #include <QWidget> +#include <QTimer> QT_BEGIN_NAMESPACE class QCursor; @@ -74,6 +75,7 @@ public slots: void executeLine(); void showOutput(int channel, const QString &output); void showInput(int channel, const QString &input); + void doOutput(); signals: void showPage(); @@ -82,12 +84,13 @@ signals: private: DebuggerPane *m_combinedText; // combined input/output DebuggerPane *m_inputText; // scriptable input alone + QTimer m_outputTimer; + QString m_queuedOutput; QLineEdit *m_commandEdit; QLabel *m_commandLabel; bool m_ignoreNextInputEcho; }; - } // namespace Internal } // namespace Debugger |