summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrius Štikonas <andrius@stikonas.eu>2016-06-03 23:37:51 (GMT)
committerAndrius Štikonas <andrius@stikonas.eu>2016-06-03 23:37:51 (GMT)
commite1d5a35feb0548ffef76fdac8cb2649b62347069 (patch)
tree5ae54929fb5713302719532b90576bd799dc5ca7
parent669138638d0cb7faf023e338a08a43b58815e2e9 (diff)
KLineEdit->QLineEdit.
-rw-r--r--adduid.ui8
-rw-r--r--conf_decryption.ui4
-rw-r--r--conf_encryption.ui4
-rw-r--r--conf_gpg.ui8
-rw-r--r--editor/kgpgmd5widget.cpp6
-rw-r--r--groupedit.ui6
-rw-r--r--keyserver.ui10
-rw-r--r--keysmanager.cpp6
-rw-r--r--keysmanager.h4
-rw-r--r--kgpgkeygenerate.ui10
-rw-r--r--newkey.ui4
-rw-r--r--searchres.ui10
-rw-r--r--selectpublickeydialog.cpp17
-rw-r--r--selectpublickeydialog.h6
-rw-r--r--sourceselect.ui2
15 files changed, 53 insertions, 52 deletions
diff --git a/adduid.ui b/adduid.ui
index 6f05b0e..e93bfce 100644
--- a/adduid.ui
+++ b/adduid.ui
@@ -21,7 +21,7 @@
</widget>
</item>
<item>
- <widget class="KLineEdit" name="kLineEdit1" />
+ <widget class="QLineEdit" name="kLineEdit1" />
</item>
<item>
<widget class="QLabel" name="textLabel2" >
@@ -34,7 +34,7 @@
</widget>
</item>
<item>
- <widget class="KLineEdit" name="kLineEdit2" />
+ <widget class="QLineEdit" name="kLineEdit2" />
</item>
<item>
<widget class="QLabel" name="textLabel3" >
@@ -47,7 +47,7 @@
</widget>
</item>
<item>
- <widget class="KLineEdit" name="kLineEdit3" />
+ <widget class="QLineEdit" name="kLineEdit3" />
</item>
<item>
<spacer>
@@ -66,7 +66,7 @@
</widget>
<customwidgets>
<customwidget>
- <class>KLineEdit</class>
+ <class>QLineEdit</class>
<extends>QLineEdit</extends>
<header>klineedit.h</header>
</customwidget>
diff --git a/conf_decryption.ui b/conf_decryption.ui
index 6db47c0..c9c97d2 100644
--- a/conf_decryption.ui
+++ b/conf_decryption.ui
@@ -23,7 +23,7 @@
<number>0</number>
</property>
<item row="1" column="0" >
- <widget class="KLineEdit" name="kcfg_CustomDecrypt" >
+ <widget class="QLineEdit" name="kcfg_CustomDecrypt" >
<property name="enabled" >
<bool>true</bool>
</property>
@@ -63,7 +63,7 @@
</widget>
<customwidgets>
<customwidget>
- <class>KLineEdit</class>
+ <class>QLineEdit</class>
<extends>QLineEdit</extends>
<header>klineedit.h</header>
</customwidget>
diff --git a/conf_encryption.ui b/conf_encryption.ui
index 34d6d48..ed5a522 100644
--- a/conf_encryption.ui
+++ b/conf_encryption.ui
@@ -74,7 +74,7 @@
</widget>
</item>
<item row="10" column="2">
- <widget class="KLineEdit" name="kcfg_CustomEncryptionOptions">
+ <widget class="QLineEdit" name="kcfg_CustomEncryptionOptions">
<property name="enabled">
<bool>false</bool>
</property>
@@ -175,7 +175,7 @@
</widget>
<customwidgets>
<customwidget>
- <class>KLineEdit</class>
+ <class>QLineEdit</class>
<extends>QLineEdit</extends>
<header>klineedit.h</header>
</customwidget>
diff --git a/conf_gpg.ui b/conf_gpg.ui
index 003d44d..2706d78 100644
--- a/conf_gpg.ui
+++ b/conf_gpg.ui
@@ -55,7 +55,7 @@
<item>
<layout class="QGridLayout">
<item row="0" column="0">
- <widget class="KLineEdit" name="gpg_home_path">
+ <widget class="QLineEdit" name="gpg_home_path">
<property name="enabled">
<bool>true</bool>
</property>
@@ -81,7 +81,7 @@
</spacer>
</item>
<item row="1" column="0">
- <widget class="KLineEdit" name="gpg_conf_path">
+ <widget class="QLineEdit" name="gpg_conf_path">
<property name="enabled">
<bool>true</bool>
</property>
@@ -124,7 +124,7 @@
<item>
<layout class="QGridLayout">
<item row="0" column="0">
- <widget class="KLineEdit" name="kcfg_GpgBinaryPath">
+ <widget class="QLineEdit" name="kcfg_GpgBinaryPath">
<property name="enabled">
<bool>true</bool>
</property>
@@ -178,7 +178,7 @@
</widget>
<customwidgets>
<customwidget>
- <class>KLineEdit</class>
+ <class>QLineEdit</class>
<extends>QLineEdit</extends>
<header>klineedit.h</header>
</customwidget>
diff --git a/editor/kgpgmd5widget.cpp b/editor/kgpgmd5widget.cpp
index c4ec5f2..a961249 100644
--- a/editor/kgpgmd5widget.cpp
+++ b/editor/kgpgmd5widget.cpp
@@ -14,12 +14,12 @@
#include <QClipboard>
#include <QHBoxLayout>
#include <QLabel>
+#include <QLineEdit>
#include <KApplication>
+#include <KCodecs>
#include <KMessageBox>
-#include <KLineEdit>
#include <KLocale>
-#include <KCodecs>
#include <KLed>
@@ -46,7 +46,7 @@ Md5Widget::Md5Widget(QWidget *parent, const KUrl &url)
QLabel *firstlabel = new QLabel(page);
firstlabel->setText(i18n("MD5 sum for <b>%1</b> is:", url.fileName()));
- KLineEdit *md5lineedit = new KLineEdit(m_md5sum, page);
+ QLineEdit *md5lineedit = new QLineEdit(m_md5sum, page);
md5lineedit->setReadOnly(true);
m_led = new KLed(QColor(80, 80, 80), KLed::Off, KLed::Sunken, KLed::Circular, page);
diff --git a/groupedit.ui b/groupedit.ui
index a0d7b7d..f5527b7 100644
--- a/groupedit.ui
+++ b/groupedit.ui
@@ -40,8 +40,8 @@
</widget>
</item>
<item>
- <widget class="KLineEdit" name="filterEdit">
- <property name="clearButtonShown" >
+ <widget class="QLineEdit" name="filterEdit">
+ <property name="clearButtonEnabled" >
<bool>true</bool>
</property>
</widget>
@@ -174,7 +174,7 @@
</widget>
<customwidgets>
<customwidget>
- <class>KLineEdit</class>
+ <class>QLineEdit</class>
<extends>QLineEdit</extends>
<header>klineedit.h</header>
</customwidget>
diff --git a/keyserver.ui b/keyserver.ui
index 80b421f..7691a03 100644
--- a/keyserver.ui
+++ b/keyserver.ui
@@ -74,8 +74,8 @@ Allows the user to select the Key Server which will be used to import PGP/GnuPG
</widget>
</item>
<item>
- <widget class="KLineEdit" name="kLEimportid">
- <property name="clearButtonShown" >
+ <widget class="QLineEdit" name="kLEimportid">
+ <property name="clearButtonEnabled" >
<bool>true</bool>
</property>
</widget>
@@ -93,7 +93,7 @@ Allows the user to select the Key Server which will be used to import PGP/GnuPG
</widget>
</item>
<item>
- <widget class="KLineEdit" name="kLEproxyI" >
+ <widget class="QLineEdit" name="kLEproxyI" >
<property name="enabled" >
<bool>false</bool>
</property>
@@ -223,7 +223,7 @@ Allows the user to select the Key Server which will be used to import PGP/GnuPG
</widget>
</item>
<item>
- <widget class="KLineEdit" name="kLEproxyE" >
+ <widget class="QLineEdit" name="kLEproxyE" >
<property name="enabled" >
<bool>false</bool>
</property>
@@ -300,7 +300,7 @@ Allows the user to select the Key Server which will be used to import PGP/GnuPG
<header>kcombobox.h</header>
</customwidget>
<customwidget>
- <class>KLineEdit</class>
+ <class>QLineEdit</class>
<extends>QLineEdit</extends>
<header>klineedit.h</header>
</customwidget>
diff --git a/keysmanager.cpp b/keysmanager.cpp
index 1df067a..4a0f7ee 100644
--- a/keysmanager.cpp
+++ b/keysmanager.cpp
@@ -64,7 +64,6 @@
#include <KFileDialog>
#include <KInputDialog>
#include <KGlobal>
-#include <KLineEdit>
#include <KLocale>
#include <KMessageBox>
#include <KMimeTypeTrader>
@@ -90,6 +89,7 @@
#include <QIcon>
#include <QKeySequence>
#include <QLabel>
+#include <QLineEdit>
#include <QList>
#include <QMenu>
#include <QMetaObject>
@@ -421,8 +421,8 @@ KeysManager::KeysManager(QWidget *parent)
connect(trustProps, SIGNAL(triggered(int)), this, SLOT(slotSetTrustFilter(int)));
QLabel *searchLabel = new QLabel(i18n("Search:"), this);
- m_listviewsearch = new KLineEdit(this);
- m_listviewsearch->setClearButtonShown(true);
+ m_listviewsearch = new QLineEdit(this);
+ m_listviewsearch->setClearButtonEnabled(true);
QWidget *searchWidget = new QWidget(this);
QHBoxLayout *searchLayout = new QHBoxLayout(searchWidget);
diff --git a/keysmanager.h b/keysmanager.h
index 7b3691c..0d2e8d3 100644
--- a/keysmanager.h
+++ b/keysmanager.h
@@ -34,7 +34,7 @@ class QEvent;
class KSelectAction;
class QMenu;
-class KLineEdit;
+class QLineEdit;
class QAction;
class KJob;
class QKeySequence;
@@ -254,7 +254,7 @@ private:
QMenu *m_popupuid; // popup on an user id
QMenu *m_popuporphan; // popup on an orphan key
- KLineEdit *m_listviewsearch;
+ QLineEdit *m_listviewsearch;
KDialog *addUidWidget;
QAction *importSignatureKey;
diff --git a/kgpgkeygenerate.ui b/kgpgkeygenerate.ui
index 7e65055..f45c850 100644
--- a/kgpgkeygenerate.ui
+++ b/kgpgkeygenerate.ui
@@ -37,7 +37,7 @@
</widget>
</item>
<item>
- <widget class="KLineEdit" name="m_kname">
+ <widget class="QLineEdit" name="m_kname">
<property name="toolTip">
<string>The name must have a length of at least 5 characters and must not begin with a digit.</string>
</property>
@@ -57,7 +57,7 @@
</widget>
</item>
<item>
- <widget class="KLineEdit" name="m_mail"/>
+ <widget class="QLineEdit" name="m_mail"/>
</item>
<item>
<widget class="QLabel" name="label_2">
@@ -70,7 +70,7 @@
</widget>
</item>
<item>
- <widget class="KLineEdit" name="m_comment"/>
+ <widget class="QLineEdit" name="m_comment"/>
</item>
<item>
<widget class="QLabel" name="label_3">
@@ -83,7 +83,7 @@
</widget>
</item>
<item>
- <widget class="KLineEdit" name="m_days">
+ <widget class="QLineEdit" name="m_days">
<property name="text">
<string>0</string>
</property>
@@ -195,7 +195,7 @@
<header>kcombobox.h</header>
</customwidget>
<customwidget>
- <class>KLineEdit</class>
+ <class>QLineEdit</class>
<extends>QLineEdit</extends>
<header>klineedit.h</header>
</customwidget>
diff --git a/newkey.ui b/newkey.ui
index 7a712bc..f45a49c 100644
--- a/newkey.ui
+++ b/newkey.ui
@@ -120,7 +120,7 @@
</widget>
</item>
<item>
- <widget class="KLineEdit" name="LEfinger" >
+ <widget class="QLineEdit" name="LEfinger" >
<property name="frame" >
<bool>true</bool>
</property>
@@ -206,7 +206,7 @@
</widget>
<customwidgets>
<customwidget>
- <class>KLineEdit</class>
+ <class>QLineEdit</class>
<extends>QLineEdit</extends>
<header>klineedit.h</header>
</customwidget>
diff --git a/searchres.ui b/searchres.ui
index 28fa637..16af5d0 100644
--- a/searchres.ui
+++ b/searchres.ui
@@ -33,8 +33,8 @@
</widget>
</item>
<item>
- <widget class="KLineEdit" name="filterEdit">
- <property name="clearButtonShown" >
+ <widget class="QLineEdit" name="filterEdit">
+ <property name="clearButtonEnabled" >
<bool>true</bool>
</property>
</widget>
@@ -72,8 +72,8 @@
</widget>
</item>
<item>
- <widget class="KLineEdit" name="kLEID" >
- <property name="clearButtonShown" >
+ <widget class="QLineEdit" name="kLEID" >
+ <property name="clearButtonEnabled" >
<bool>true</bool>
</property>
</widget>
@@ -84,7 +84,7 @@
</widget>
<customwidgets>
<customwidget>
- <class>KLineEdit</class>
+ <class>QLineEdit</class>
<extends>QLineEdit</extends>
<header>klineedit.h</header>
</customwidget>
diff --git a/selectpublickeydialog.cpp b/selectpublickeydialog.cpp
index b23642d..4dd7257 100644
--- a/selectpublickeydialog.cpp
+++ b/selectpublickeydialog.cpp
@@ -22,16 +22,17 @@
#include "model/selectkeyproxymodel.h"
#include <QAction>
-#include <KActionCollection>
-#include <KHBox>
-#include <KLineEdit>
-#include <KLocale>
-#include <KVBox>
#include <QCheckBox>
#include <QLabel>
+#include <QLineEdit>
#include <QTableView>
#include <QVBoxLayout>
+#include <KActionCollection>
+#include <KHBox>
+#include <KLocale>
+#include <KVBox>
+
using namespace KgpgCore;
KgpgSelectPublicKeyDlg::KgpgSelectPublicKeyDlg(QWidget *parent, KGpgItemModel *model, const QKeySequence &goDefaultKey, const bool hideasciioption, const KUrl::List &files)
@@ -67,8 +68,8 @@ KgpgSelectPublicKeyDlg::KgpgSelectPublicKeyDlg(QWidget *parent, KGpgItemModel *m
QLabel *searchlabel = new QLabel(i18n("&Search: "), m_searchbar);
- m_searchlineedit = new KLineEdit(m_searchbar);
- m_searchlineedit->setClearButtonShown(true);
+ m_searchlineedit = new QLineEdit(m_searchbar);
+ m_searchlineedit->setClearButtonEnabled(true);
searchlabel->setBuddy(m_searchlineedit);
iproxy = new SelectKeyProxyModel(this);
@@ -125,7 +126,7 @@ KgpgSelectPublicKeyDlg::KgpgSelectPublicKeyDlg(QWidget *parent, KGpgItemModel *m
KHBox *expertbox = new KHBox(page);
(void) new QLabel(i18n("Custom option:"), expertbox);
- m_customoptions = new KLineEdit(expertbox);
+ m_customoptions = new QLineEdit(expertbox);
m_customoptions->setText(KGpgSettings::customEncryptionOptions());
m_customoptions->setWhatsThis(i18n("<b>Custom option</b>: for experienced users only, allows you to enter a gpg command line option, like: '--armor'"));
diff --git a/selectpublickeydialog.h b/selectpublickeydialog.h
index 33f0f07..da782a7 100644
--- a/selectpublickeydialog.h
+++ b/selectpublickeydialog.h
@@ -27,7 +27,7 @@
class QCheckBox;
class QTableView;
-class KLineEdit;
+class QLineEdit;
class KHBox;
class SelectKeyProxyModel;
@@ -73,9 +73,9 @@ private:
QCheckBox *m_cbsymmetric;
KHBox *m_searchbar;
- KLineEdit *m_customoptions;
+ QLineEdit *m_customoptions;
QTableView *m_keyslist;
- KLineEdit *m_searchlineedit;
+ QLineEdit *m_searchlineedit;
SelectKeyProxyModel *iproxy;
KGpgItemModel *imodel;
const KUrl::List m_files;
diff --git a/sourceselect.ui b/sourceselect.ui
index ebe9a2c..d90da66 100644
--- a/sourceselect.ui
+++ b/sourceselect.ui
@@ -72,7 +72,7 @@
</widget>
</item>
<item>
- <widget class="KLineEdit" name="keyIds" >
+ <widget class="QLineEdit" name="keyIds" >
<property name="enabled">
<bool>false</bool>
</property>