remove KTextBrowser

This commit is contained in:
Marco Martin 2014-02-26 16:09:37 +01:00
parent 8b4c541cff
commit 16182e90a6
2 changed files with 4 additions and 4 deletions

View File

@ -38,7 +38,7 @@
#include <QMenu> #include <QMenu>
#include <KServiceTypeTrader> #include <KServiceTypeTrader>
#include <KStandardAction> #include <KStandardAction>
#include <KTextBrowser> #include <QTextBrowser>
#include <KTextEdit> #include <KTextEdit>
#include <KTextEditor/ConfigInterface> #include <KTextEditor/ConfigInterface>
#include <KTextEditor/Document> #include <KTextEditor/Document>
@ -173,7 +173,7 @@ InteractiveConsole::InteractiveConsole(Plasma::Corona *corona, QWidget *parent)
outputToolBar->addAction(clearOutputAction); outputToolBar->addAction(clearOutputAction);
outputLayout->addWidget(outputToolBar); outputLayout->addWidget(outputToolBar);
m_output = new KTextBrowser(widget); m_output = new QTextBrowser(widget);
outputLayout->addWidget(m_output); outputLayout->addWidget(m_output);
m_splitter->addWidget(widget); m_splitter->addWidget(widget);

View File

@ -33,7 +33,7 @@ class QAction;
class QFileDialog; class QFileDialog;
class QMenu; class QMenu;
class KTextEdit; class KTextEdit;
class KTextBrowser; class QTextBrowser;
namespace KTextEditor namespace KTextEditor
{ {
@ -96,7 +96,7 @@ private:
QSplitter *m_splitter; QSplitter *m_splitter;
KTextEditor::Document *m_editorPart; KTextEditor::Document *m_editorPart;
KTextEdit *m_editor; KTextEdit *m_editor;
KTextBrowser *m_output; QTextBrowser *m_output;
QAction *m_loadAction; QAction *m_loadAction;
QAction *m_saveAction; QAction *m_saveAction;
QAction *m_clearAction; QAction *m_clearAction;