Commit 9bd8265f authored by Laurent Montel's avatar Laurent Montel 😁
Browse files

kdelibs4support--

parent 7e2f2e2d
......@@ -15,7 +15,7 @@ NewGameDialog::NewGameDialog(QWidget* parent) : KDialog(parent)
setupUi(mainWidget());
setButtons(Cancel|Ok);
setCaption(i18n("New Game"));
connect(spinNumOfPlayers, static_cast<void (KIntSpinBox::*)(int)>(&KIntSpinBox::valueChanged), this, &NewGameDialog::adjustEnabledUsers);
connect(spinNumOfPlayers, static_cast<void (QSpinBox::*)(int)>(&QSpinBox::valueChanged), this, &NewGameDialog::adjustEnabledUsers);
adjustEnabledUsers(spinNumOfPlayers->value());
}
......
......@@ -139,7 +139,7 @@
</widget>
</item>
<item row="0" column="1" colspan="2" >
<widget class="KIntSpinBox" name="spinNumOfPlayers" >
<widget class="QSpinBox" name="spinNumOfPlayers" >
<property name="enabled" >
<bool>true</bool>
</property>
......@@ -265,7 +265,7 @@ p, li { white-space: pre-wrap; }
</widget>
</item>
<item row="1" column="1" >
<widget class="KIntSpinBox" name="spinHeight" >
<widget class="QSpinBox" name="spinHeight" >
<property name="sizePolicy" >
<sizepolicy vsizetype="Fixed" hsizetype="Expanding" >
<horstretch>0</horstretch>
......@@ -297,7 +297,7 @@ p, li { white-space: pre-wrap; }
</widget>
</item>
<item row="0" column="1" >
<widget class="KIntSpinBox" name="spinWidth" >
<widget class="QSpinBox" name="spinWidth" >
<property name="sizePolicy" >
<sizepolicy vsizetype="Fixed" hsizetype="Expanding" >
<horstretch>0</horstretch>
......@@ -373,13 +373,6 @@ p, li { white-space: pre-wrap; }
</item>
</layout>
</widget>
<customwidgets>
<customwidget>
<class>KIntSpinBox</class>
<extends>QSpinBox</extends>
<header>knuminput.h</header>
</customwidget>
</customwidgets>
<tabstops>
<tabstop>spinNumOfPlayers</tabstop>
<tabstop>playerOneName</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