Commit f2cb670b authored by Frederik Schwarzer's avatar Frederik Schwarzer

KLineEdit -> QLineEdit.

parent 38971fb9
......@@ -22,6 +22,8 @@
#include "preferences.h"
#include "game/game.h"
#include <QUrl>
#include <QLineEdit>
namespace Kigo {
GeneralConfig::GeneralConfig(QWidget *parent)
......@@ -34,7 +36,7 @@ GeneralConfig::GeneralConfig(QWidget *parent)
engineExecutable->setUrl(QUrl::fromLocalFile(engineCommand.section(' ', 0, 0)));
connect(engineExecutable, &KUrlRequester::textChanged, this, &GeneralConfig::updateEngineCommand);
engineParameters->setText(engineCommand.section(' ', 1));
connect(engineParameters, &KLineEdit::textChanged, this, &GeneralConfig::updateEngineCommand);
connect(engineParameters, &QLineEdit::textChanged, this, &GeneralConfig::updateEngineCommand);
updateEngineCommand();
}
......
......@@ -57,14 +57,14 @@
</widget>
</item>
<item row="3" column="1">
<widget class="KLineEdit" name="engineParameters">
<widget class="QLineEdit" name="engineParameters">
<property name="toolTip">
<string>Add here the necessary parameters to start the Engine in GTP mode</string>
</property>
</widget>
</item>
<item row="4" column="1" colspan="2">
<widget class="KLineEdit" name="kcfg_EngineCommand">
<widget class="QLineEdit" name="kcfg_EngineCommand">
<property name="enabled">
<bool>false</bool>
</property>
......@@ -80,9 +80,6 @@
<property name="readOnly">
<bool>true</bool>
</property>
<property name="urlDropsEnabled">
<bool>false</bool>
</property>
</widget>
</item>
<item row="3" column="2">
......@@ -218,11 +215,6 @@ p, li { white-space: pre-wrap; }
<extends>QFrame</extends>
<header>kurlrequester.h</header>
</customwidget>
<customwidget>
<class>KLineEdit</class>
<extends>QLineEdit</extends>
<header>klineedit.h</header>
</customwidget>
</customwidgets>
<tabstops>
<tabstop>kcfg_ShowBoardLabels</tabstop>
......
......@@ -591,7 +591,7 @@ It balances out the advantage black has by making the first move.</string>
</widget>
</item>
<item>
<widget class="KLineEdit" name="whitePlayerName">
<widget class="QLineEdit" name="whitePlayerName">
<property name="enabled">
<bool>true</bool>
</property>
......@@ -749,7 +749,7 @@ It balances out the advantage black has by making the first move.</string>
</widget>
</item>
<item>
<widget class="KLineEdit" name="blackPlayerName">
<widget class="QLineEdit" name="blackPlayerName">
<property name="enabled">
<bool>true</bool>
</property>
......@@ -981,7 +981,6 @@ It balances out the advantage black has by making the first move.</string>
</item>
</layout>
<zorder>gameSetupStack</zorder>
<zorder>verticalSpacer_4</zorder>
</widget>
<customwidgets>
<customwidget>
......@@ -989,11 +988,6 @@ It balances out the advantage black has by making the first move.</string>
<extends>QSpinBox</extends>
<header>KPluralHandlingSpinBox</header>
</customwidget>
<customwidget>
<class>KLineEdit</class>
<extends>QLineEdit</extends>
<header>klineedit.h</header>
</customwidget>
</customwidgets>
<tabstops>
<tabstop>whitePlayerName</tabstop>
......
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