Commit bbdc7746 authored by Laurent Montel's avatar Laurent Montel 😁
Browse files

kdelibs4support--

parent 9ecc27aa
......@@ -308,8 +308,8 @@ void EditProfileDialog::setupGeneralPage(const Profile::Ptr profile)
connect(_ui->commandEdit, &QLineEdit::textChanged, this, &Konsole::EditProfileDialog::commandChanged);
connect(_ui->environmentEditButton , &QPushButton::clicked, this, &Konsole::EditProfileDialog::showEnvironmentEditor);
connect(_ui->terminalColumnsEntry, static_cast<void(KIntSpinBox::*)(int)>(&KIntSpinBox::valueChanged), this, &Konsole::EditProfileDialog::terminalColumnsEntryChanged);
connect(_ui->terminalRowsEntry, static_cast<void(KIntSpinBox::*)(int)>(&KIntSpinBox::valueChanged), this, &Konsole::EditProfileDialog::terminalRowsEntryChanged);
connect(_ui->terminalColumnsEntry, static_cast<void(QSpinBox::*)(int)>(&QSpinBox::valueChanged), this, &Konsole::EditProfileDialog::terminalColumnsEntryChanged);
connect(_ui->terminalRowsEntry, static_cast<void(QSpinBox::*)(int)>(&QSpinBox::valueChanged), this, &Konsole::EditProfileDialog::terminalRowsEntryChanged);
connect(_ui->showTerminalSizeHintButton, &QCheckBox::toggled, this, &Konsole::EditProfileDialog::showTerminalSizeHint);
}
......@@ -349,7 +349,7 @@ void EditProfileDialog::setupTabsPage(const Profile::Ptr profile)
_ui->silenceSecondsSpinner->setValue(silenceSeconds);
_ui->silenceSecondsSpinner->setSuffix(ki18ncp("Unit of time", " second", " seconds"));
connect(_ui->silenceSecondsSpinner, static_cast<void(KIntSpinBox::*)(int)>(&KIntSpinBox::valueChanged), this, &Konsole::EditProfileDialog::silenceSecondsChanged);
connect(_ui->silenceSecondsSpinner, static_cast<void(QSpinBox::*)(int)>(&QSpinBox::valueChanged), this, &Konsole::EditProfileDialog::silenceSecondsChanged);
}
void EditProfileDialog::terminalColumnsEntryChanged(int value)
......@@ -458,7 +458,7 @@ void EditProfileDialog::setupAppearancePage(const Profile::Ptr profile)
_ui->fontPreviewLabel->setFont(profileFont);
setFontInputValue(profileFont);
connect(_ui->fontSizeInput, &KDoubleNumInput::valueChanged, this, &Konsole::EditProfileDialog::setFontSize);
connect(_ui->fontSizeInput, SIGNAL(valueChanged(double)), this, SLOT(setFontSize(double)));
connect(_ui->selectFontButton, &QPushButton::clicked, this, &Konsole::EditProfileDialog::showFontDialog);
// setup font smoothing
......@@ -1074,7 +1074,7 @@ void EditProfileDialog::setupAdvancedPage(const Profile::Ptr profile)
const int lineSpacing = profile->lineSpacing();
_ui->lineSpacingSpinner->setValue(lineSpacing);
connect(_ui->lineSpacingSpinner, static_cast<void(KIntSpinBox::*)(int)>(&KIntSpinBox::valueChanged), this, &Konsole::EditProfileDialog::lineSpacingChanged);
connect(_ui->lineSpacingSpinner, static_cast<void(QSpinBox::*)(int)>(&QSpinBox::valueChanged), this, &Konsole::EditProfileDialog::lineSpacingChanged);
// cursor options
if (profile->useCustomCursorColor())
......
......@@ -216,7 +216,7 @@
</widget>
</item>
<item row="0" column="1">
<widget class="KIntSpinBox" name="terminalColumnsEntry">
<widget class="QSpinBox" name="terminalColumnsEntry">
<property name="minimum">
<number>1</number>
</property>
......@@ -233,7 +233,7 @@
</widget>
</item>
<item row="0" column="3">
<widget class="KIntSpinBox" name="terminalRowsEntry">
<widget class="QSpinBox" name="terminalRowsEntry">
<property name="minimum">
<number>1</number>
</property>
......@@ -381,7 +381,7 @@
</widget>
</item>
<item row="0" column="1">
<widget class="KIntSpinBox" name="silenceSecondsSpinner">
<widget class="KPluralHandlingSpinBox" name="silenceSecondsSpinner">
<property name="toolTip">
<string>The threshold for continuous silence to be detected by Konsole</string>
</property>
......@@ -549,7 +549,7 @@
</widget>
</item>
<item>
<widget class="KDoubleNumInput" name="fontSizeInput">
<widget class="QDoubleSpinBox" name="fontSizeInput">
<property name="minimum">
<double>4.000000000000000</double>
</property>
......@@ -1114,7 +1114,7 @@
</widget>
</item>
<item>
<widget class="KIntSpinBox" name="lineSpacingSpinner">
<widget class="QSpinBox" name="lineSpacingSpinner">
<property name="toolTip">
<string>The number of pixels between two lines</string>
</property>
......@@ -1343,9 +1343,9 @@
</widget>
<customwidgets>
<customwidget>
<class>KDoubleNumInput</class>
<extends>QWidget</extends>
<header>knuminput.h</header>
<class>KPluralHandlingSpinBox</class>
<extends>QSpinBox</extends>
<header>KPluralHandlingSpinBox</header>
</customwidget>
<customwidget>
<class>KColorButton</class>
......@@ -1357,11 +1357,6 @@
<extends>QComboBox</extends>
<header>kcombobox.h</header>
</customwidget>
<customwidget>
<class>KIntSpinBox</class>
<extends>QSpinBox</extends>
<header>knuminput.h</header>
</customwidget>
<customwidget>
<class>KSqueezedTextLabel</class>
<extends>QLabel</extends>
......
......@@ -30,7 +30,6 @@
// KDE
#include <KConfig>
#include <KGlobal>
#include <QDebug>
#include <KConfigGroup>
......
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