diff options
author | con <qtc-committer@nokia.com> | 2011-04-21 13:42:17 +0200 |
---|---|---|
committer | con <qtc-committer@nokia.com> | 2011-04-26 10:45:26 +0200 |
commit | feefdfdc38f72ac839c828bf8c2f959687253a12 (patch) | |
tree | 1e9b9004e4699f4183a8730040b0b6a0319a94e6 /src/plugins/coreplugin/messageoutputwindow.h | |
parent | ef771552913401428d01dc0ee4b56d4d07fc522b (diff) | |
download | qt-creator-feefdfdc38f72ac839c828bf8c2f959687253a12.tar.gz |
Re-use output window implementation for general messages.
Moving the implementation to core plugin.
Diffstat (limited to 'src/plugins/coreplugin/messageoutputwindow.h')
-rw-r--r-- | src/plugins/coreplugin/messageoutputwindow.h | 20 |
1 files changed, 3 insertions, 17 deletions
diff --git a/src/plugins/coreplugin/messageoutputwindow.h b/src/plugins/coreplugin/messageoutputwindow.h index f37e564c81..b8c435dddc 100644 --- a/src/plugins/coreplugin/messageoutputwindow.h +++ b/src/plugins/coreplugin/messageoutputwindow.h @@ -33,7 +33,8 @@ #ifndef MESSAGEOUTPUTWINDOW_H #define MESSAGEOUTPUTWINDOW_H -#include <coreplugin/ioutputpane.h> +#include "ioutputpane.h" +#include "outputwindow.h" #include <QtGui/QShowEvent> #include <QtGui/QResizeEvent> @@ -42,21 +43,6 @@ namespace Core { namespace Internal { -class TextView : public QTextEdit -{ - Q_OBJECT - -public: - TextView(QWidget *parent = 0) : QTextEdit(parent) {} - - void showEvent(QShowEvent *); - void scrollToBottom(); - bool isScrollbarAtBottom() const; - -protected: - void resizeEvent(QResizeEvent *e); -}; - class MessageOutputWindow : public Core::IOutputPane { Q_OBJECT @@ -85,7 +71,7 @@ public: bool canNavigate(); private: - TextView *m_widget; + OutputWindow *m_widget; }; } // namespace Internal |