Commit bf5e7290 authored by Christoph Feck's avatar Christoph Feck

Port away from KLineEdit

Klipper does not use completion features, so port to QLineEdit.

Reviewed by: graesslin

Differential Revision: https://phabricator.kde.org/D13071
parent ed274a05
......@@ -41,7 +41,6 @@ kf5_add_kdeinit_executable(klipper ${klipper_KDEINIT_SRCS})
target_link_libraries(kdeinit_klipper
Qt5::Concurrent
KF5::Completion # klineedit - port away?
KF5::ConfigGui
KF5::CoreAddons
KF5::DBusAddons
......@@ -78,7 +77,6 @@ target_link_libraries(plasma_engine_clipboard
Qt5::DBus
Qt5::Widgets # QAction
KF5::ConfigGui
KF5::Completion # klineedit - port away?
KF5::CoreAddons # KUrlMimeData
KF5::GlobalAccel
KF5::IconThemes
......
......@@ -274,8 +274,8 @@ EditActionDialog::EditActionDialog(QWidget* parent)
m_ui = new Ui::EditActionDialog;
m_ui->setupUi(dlgWidget);
m_ui->leRegExp->setClearButtonShown(true);
m_ui->leDescription->setClearButtonShown(true);
m_ui->leRegExp->setClearButtonEnabled(true);
m_ui->leDescription->setClearButtonEnabled(true);
m_ui->pbAddCommand->setIcon(QIcon::fromTheme(QStringLiteral("list-add")));
m_ui->pbRemoveCommand->setIcon(QIcon::fromTheme(QStringLiteral("list-remove")));
......
......@@ -24,7 +24,7 @@
<item row="1" column="1">
<layout class="QGridLayout" name="gridLayout">
<item row="0" column="2">
<widget class="KLineEdit" name="leRegExp">
<widget class="QLineEdit" name="leRegExp">
<property name="minimumSize">
<size>
<width>200</width>
......@@ -34,7 +34,7 @@
</widget>
</item>
<item row="2" column="2">
<widget class="KLineEdit" name="leDescription"/>
<widget class="QLineEdit" name="leDescription"/>
</item>
<item row="0" column="1">
<widget class="QLabel" name="label_2">
......@@ -214,13 +214,7 @@
<tabstop>pbRemoveCommand</tabstop>
<tabstop>pbAddCommand</tabstop>
</tabstops>
<customwidgets>
<customwidget>
<class>KLineEdit</class>
<extends>QLineEdit</extends>
<header>klineedit.h</header>
</customwidget>
</customwidgets>
<customwidgets/>
<resources/>
<connections/>
</ui>
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