summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRolf Eike Beer <eb@emlix.com>2016-06-06 14:03:38 (GMT)
committerRolf Eike Beer <kde@opensource.sf-tec.de>2016-06-06 17:10:16 (GMT)
commit4a75c3beb64112446c76f5c79bb6b0b9e241aeb4 (patch)
tree349a57ec3fbbd35aa852a91ee1fe4f492fcc054e
parent7b042acd586b943c17d852bf5213415bc6974764 (diff)
port away from KPushButton
-rw-r--r--conf_servers.ui16
-rw-r--r--kgpgKeyInfo.ui9
-rw-r--r--transactions/kgpgtransaction.cpp1
3 files changed, 7 insertions, 19 deletions
diff --git a/conf_servers.ui b/conf_servers.ui
index 11ae1d2..ecf7a78 100644
--- a/conf_servers.ui
+++ b/conf_servers.ui
@@ -41,7 +41,7 @@ all others will be stored for use by KGpg only.</string>
<item>
<layout class="QVBoxLayout" >
<item>
- <widget class="KPushButton" name="server_default" >
+ <widget class="QPushButton" name="server_default" >
<property name="enabled" >
<bool>false</bool>
</property>
@@ -51,14 +51,14 @@ all others will be stored for use by KGpg only.</string>
</widget>
</item>
<item>
- <widget class="KPushButton" name="server_add" >
+ <widget class="QPushButton" name="server_add" >
<property name="text" >
<string>&amp;Add...</string>
</property>
</widget>
</item>
<item>
- <widget class="KPushButton" name="server_del" >
+ <widget class="QPushButton" name="server_del" >
<property name="enabled" >
<bool>false</bool>
</property>
@@ -68,7 +68,7 @@ all others will be stored for use by KGpg only.</string>
</widget>
</item>
<item>
- <widget class="KPushButton" name="server_edit" >
+ <widget class="QPushButton" name="server_edit" >
<property name="text" >
<string>&amp;Edit...</string>
</property>
@@ -93,13 +93,7 @@ all others will be stored for use by KGpg only.</string>
</item>
</layout>
</widget>
- <customwidgets>
- <customwidget>
- <class>KPushButton</class>
- <extends>QPushButton</extends>
- <header>kpushbutton.h</header>
- </customwidget>
- </customwidgets>
+ <customwidgets/>
<resources/>
<connections/>
</ui>
diff --git a/kgpgKeyInfo.ui b/kgpgKeyInfo.ui
index 21486a4..ff28501 100644
--- a/kgpgKeyInfo.ui
+++ b/kgpgKeyInfo.ui
@@ -377,14 +377,14 @@
</widget>
</item>
<item>
- <widget class="KPushButton" name="m_expirationbtn">
+ <widget class="QPushButton" name="m_expirationbtn">
<property name="text">
<string>Change Expiration</string>
</property>
</widget>
</item>
<item>
- <widget class="KPushButton" name="m_password">
+ <widget class="QPushButton" name="m_password">
<property name="text">
<string>Change Passphrase</string>
</property>
@@ -442,11 +442,6 @@
</widget>
<customwidgets>
<customwidget>
- <class>KPushButton</class>
- <extends>QPushButton</extends>
- <header>kpushbutton.h</header>
- </customwidget>
- <customwidget>
<class>KUrlLabel</class>
<extends>QLabel</extends>
<header>kurllabel.h</header>
diff --git a/transactions/kgpgtransaction.cpp b/transactions/kgpgtransaction.cpp
index 8ea727a..49be46e 100644
--- a/transactions/kgpgtransaction.cpp
+++ b/transactions/kgpgtransaction.cpp
@@ -30,7 +30,6 @@
#include <KNewPasswordDialog>
#include <KLocale>
#include <KPasswordDialog>
-#include <KPushButton>
KGpgTransaction::KGpgTransaction(QObject *parent, const bool allowChaining)
: QObject(parent),