summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRahul Chowdhury <rahulc93@gmail.com>2015-09-10 19:22:52 (GMT)
committerRahul Chowdhury <rahulc93@gmail.com>2015-09-11 09:53:09 (GMT)
commit70825cdc157f6bb2e708b71901e217ceed87f4b0 (patch)
treee654e0ccb44654d2feb4ef6eb4ef9052b3d65f09
parent9c08b2f145ae5df85c5e4581774fbda2c8573285 (diff)
Port KPushButton -> QPushButton
REVIEW:125149
-rw-r--r--plasmoid/applet/bodr/config.ui7
-rw-r--r--src/equationview.ui7
-rw-r--r--src/molcalcwidget.cpp2
-rw-r--r--src/tools/obconverterwidget.ui11
4 files changed, 6 insertions, 21 deletions
diff --git a/plasmoid/applet/bodr/config.ui b/plasmoid/applet/bodr/config.ui
index 6dd82ca..225e996 100644
--- a/plasmoid/applet/bodr/config.ui
+++ b/plasmoid/applet/bodr/config.ui
@@ -37,7 +37,7 @@
</layout>
</item>
<item>
- <widget class="KPushButton" name="fontSelectButton" >
+ <widget class="QPushButton" name="fontSelectButton" >
<property name="text" >
<string>Select Font...</string>
</property>
@@ -60,11 +60,6 @@
</widget>
<customwidgets>
<customwidget>
- <class>KPushButton</class>
- <extends>QPushButton</extends>
- <header>kpushbutton.h</header>
- </customwidget>
- <customwidget>
<class>KComboBox</class>
<extends>QComboBox</extends>
<header>kcombobox.h</header>
diff --git a/src/equationview.ui b/src/equationview.ui
index c61d183..f054b5b 100644
--- a/src/equationview.ui
+++ b/src/equationview.ui
@@ -77,7 +77,7 @@
</widget>
</item>
<item>
- <widget class="KPushButton" name="calculateButton">
+ <widget class="QPushButton" name="calculateButton">
<property name="toolTip">
<string>If you press this button the equation above will be balanced.</string>
</property>
@@ -170,11 +170,6 @@
<extends>QLineEdit</extends>
<header>klineedit.h</header>
</customwidget>
- <customwidget>
- <class>KPushButton</class>
- <extends>QPushButton</extends>
- <header>kpushbutton.h</header>
- </customwidget>
</customwidgets>
<resources/>
<connections/>
diff --git a/src/molcalcwidget.cpp b/src/molcalcwidget.cpp
index ffa7f5b..7f3a770 100644
--- a/src/molcalcwidget.cpp
+++ b/src/molcalcwidget.cpp
@@ -33,7 +33,7 @@
#include <kdebug.h>
#include <kiconloader.h>
#include <klocale.h>
-#include <kpushbutton.h>
+#include <QPushButton>
#include <klineedit.h>
#include <kstandarddirs.h>
diff --git a/src/tools/obconverterwidget.ui b/src/tools/obconverterwidget.ui
index 403e2b2..ccab5d8 100644
--- a/src/tools/obconverterwidget.ui
+++ b/src/tools/obconverterwidget.ui
@@ -29,7 +29,7 @@
<number>6</number>
</property>
<item row="3" column="1" >
- <widget class="KPushButton" name="selectAllFileButton" >
+ <widget class="QPushButton" name="selectAllFileButton" >
<property name="text" >
<string>&amp;Select all</string>
</property>
@@ -49,14 +49,14 @@
</spacer>
</item>
<item row="1" column="1" >
- <widget class="KPushButton" name="deleteFileButton" >
+ <widget class="QPushButton" name="deleteFileButton" >
<property name="text" >
<string>&amp;Remove</string>
</property>
</widget>
</item>
<item row="0" column="1" >
- <widget class="KPushButton" name="addFileButton" >
+ <widget class="QPushButton" name="addFileButton" >
<property name="text" >
<string>&amp;Add</string>
</property>
@@ -146,11 +146,6 @@ p, li { white-space: pre-wrap; }
</widget>
<customwidgets>
<customwidget>
- <class>KPushButton</class>
- <extends>QPushButton</extends>
- <header>kpushbutton.h</header>
- </customwidget>
- <customwidget>
<class>KComboBox</class>
<extends>QComboBox</extends>
<header>kcombobox.h</header>