summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRahul Chowdhury <rahulc93@gmail.com>2015-09-10 20:13:52 (GMT)
committerRahul Chowdhury <rahulc93@gmail.com>2015-09-11 13:15:06 (GMT)
commit76bdcfe045c35aec33fa8792e35371822311018b (patch)
tree59a1a7231bab6ed8d21d6cf0c3c61548657fe10a
parent08ab3c35e50426962285401bdf152109b7f77cc2 (diff)
Port KTabWidget -> QTabWidget
REVIEW: 125157
-rw-r--r--src/calculator/titrationCalculator.ui8
-rw-r--r--src/kalzium.cpp1
-rw-r--r--src/kalzium.h1
-rw-r--r--src/settings_colors.ui8
-rw-r--r--src/tools/moleculeviewerwidget.ui8
5 files changed, 3 insertions, 23 deletions
diff --git a/src/calculator/titrationCalculator.ui b/src/calculator/titrationCalculator.ui
index df0569f..4e5ce7b 100644
--- a/src/calculator/titrationCalculator.ui
+++ b/src/calculator/titrationCalculator.ui
@@ -27,7 +27,7 @@
</widget>
</item>
<item>
- <widget class="KTabWidget" name="tabWidget">
+ <widget class="QTabWidget" name="tabWidget">
<property name="currentIndex">
<number>0</number>
</property>
@@ -406,12 +406,6 @@
<extends>QTextEdit</extends>
<header>ktextedit.h</header>
</customwidget>
- <customwidget>
- <class>KTabWidget</class>
- <extends>QTabWidget</extends>
- <header>ktabwidget.h</header>
- <container>1</container>
- </customwidget>
</customwidgets>
<tabstops>
<tabstop>xmin</tabstop>
diff --git a/src/kalzium.cpp b/src/kalzium.cpp
index 50beac1..fc8ff50 100644
--- a/src/kalzium.cpp
+++ b/src/kalzium.cpp
@@ -67,7 +67,6 @@
#include <kfiledialog.h>
#include <QLocale>
#include <KPluginLoader>
-// #include <KTabWidget>
#include <QGridLayout>
#include <KLocalizedString>
diff --git a/src/kalzium.h b/src/kalzium.h
index 86e4a6d..b53bb37 100644
--- a/src/kalzium.h
+++ b/src/kalzium.h
@@ -23,7 +23,6 @@ email : cniehaus@kde.org
#include "rsdialog.h"
#include "calculator/calculator.h"
-class KTabWidget;
class KAction;
class KSelectAction;
class QToolBox;
diff --git a/src/settings_colors.ui b/src/settings_colors.ui
index 63f96a8..f611f33 100644
--- a/src/settings_colors.ui
+++ b/src/settings_colors.ui
@@ -18,7 +18,7 @@
<number>9</number>
</property>
<item>
- <widget class="KTabWidget" name="dfgdfg">
+ <widget class="QTabWidget" name="dfgdfg">
<property name="currentIndex">
<number>0</number>
</property>
@@ -669,12 +669,6 @@
<extends>QPushButton</extends>
<header>kcolorbutton.h</header>
</customwidget>
- <customwidget>
- <class>KTabWidget</class>
- <extends>QTabWidget</extends>
- <header>ktabwidget.h</header>
- <container>1</container>
- </customwidget>
</customwidgets>
<resources/>
<connections/>
diff --git a/src/tools/moleculeviewerwidget.ui b/src/tools/moleculeviewerwidget.ui
index 2cb2c7c..0549e34 100644
--- a/src/tools/moleculeviewerwidget.ui
+++ b/src/tools/moleculeviewerwidget.ui
@@ -18,7 +18,7 @@
</property>
<layout class="QGridLayout" name="gridLayout">
<item row="0" column="0">
- <widget class="KTabWidget" name="tabWidget">
+ <widget class="QTabWidget" name="tabWidget">
<property name="currentIndex">
<number>0</number>
</property>
@@ -527,12 +527,6 @@
<header>kcombobox.h</header>
</customwidget>
<customwidget>
- <class>KTabWidget</class>
- <extends>QTabWidget</extends>
- <header>ktabwidget.h</header>
- <container>1</container>
- </customwidget>
- <customwidget>
<class>KalziumGLWidget</class>
<extends>QWidget</extends>
<header>../../compoundviewer/kalziumglwidget.h</header>