aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMinh Ngo <[email protected]>2015-05-09 19:35:40 +0200
committerMinh Ngo <[email protected]>2015-05-09 19:35:40 +0200
commit1c4407a74fe44487b68e280cafd2c947942e09a3 (patch)
tree4b213ec290bc25835d3b8413faf7d30a0032697a
parent67494cac695f38ab6689c90df06aed3463bac7f2 (diff)
Removing the KTextBrowser dependency from Cantor.
KTextBrowser is deprecated. kde-dev-scripts/kf5/convert-ktextbrowser.pl script has been used to convert everything automatically to QTextBrowser. REVIEW: 123694
-rw-r--r--src/backendchooser.ui4
-rw-r--r--src/cantor.cpp4
2 files changed, 4 insertions, 4 deletions
diff --git a/src/backendchooser.ui b/src/backendchooser.ui
index 324427d..3552d10 100644
--- a/src/backendchooser.ui
+++ b/src/backendchooser.ui
@@ -44,7 +44,7 @@
</widget>
</item>
<item row="1" column="1">
- <widget class="KTextBrowser" name="descriptionView">
+ <widget class="QTextBrowser" name="descriptionView">
<property name="sizePolicy">
<sizepolicy hsizetype="Expanding" vsizetype="Expanding">
<horstretch>2</horstretch>
@@ -69,7 +69,7 @@
<header>klistwidget.h</header>
</customwidget>
<customwidget>
- <class>KTextBrowser</class>
+ <class>QTextBrowser</class>
<extends>QTextBrowser</extends>
<header>ktextbrowser.h</header>
</customwidget>
diff --git a/src/cantor.cpp b/src/cantor.cpp
index 482c3f8..78dad16 100644
--- a/src/cantor.cpp
+++ b/src/cantor.cpp
@@ -35,7 +35,7 @@
#include <KTabWidget>
#include <KConfigDialog>
#include <KTextEdit>
-#include <KTextBrowser>
+#include <QTextBrowser>
#include <KXMLGUIFactory>
#include <KStandardDirs>
#include <KToggleAction>
@@ -234,7 +234,7 @@ void CantorShell::addWorksheet()
}else
{
- KTextBrowser *browser=new KTextBrowser(this);
+ QTextBrowser *browser=new QTextBrowser(this);
QString backendList=QLatin1String("<ul>");
int backendListSize = 0;
foreach(Cantor::Backend* b, Cantor::Backend::availableBackends())