Commit e1d5a35f authored by Andrius Štikonas's avatar Andrius Štikonas

KLineEdit->QLineEdit.

parent 66913863
......@@ -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>
......
......@@ -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>
......
......@@ -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>
......
......@@ -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>
......
......@@ -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);
......
......@@ -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>
......
......@@ -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>
......
......@@ -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);
......
......@@ -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;
......
......@@ -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>
......
......@@ -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>
......
......@@ -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>
......
......@@ -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'"));
......
......@@ -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;
......
......@@ -72,7 +72,7 @@
</widget>
</item>
<item>
<widget class="KLineEdit" name="keyIds" >
<widget class="QLineEdit" name="keyIds" >
<property name="enabled">
<bool>false</bool>
</property>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment