knetattach: format and indent

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
This commit is contained in:
Ivailo Monev 2022-02-16 15:46:26 +02:00
parent 0ecf46034e
commit e1736b0918

View file

@ -58,7 +58,7 @@ KNetAttach::KNetAttach( QWidget* parent )
connect( this, SIGNAL(currentIdChanged(int)), this, SLOT(slotPageChanged(int)) ); connect( this, SIGNAL(currentIdChanged(int)), this, SLOT(slotPageChanged(int)) );
setWindowIcon(KIcon("knetattach")); setWindowIcon(KIcon("knetattach"));
setOption(HaveHelpButton, true); setOption(HaveHelpButton, true);
//setResizeMode(Fixed); FIXME: make the wizard fixed-geometry // setResizeMode(Fixed); FIXME: make the wizard fixed-geometry
button(FinishButton)->setEnabled(false); button(FinishButton)->setEnabled(false);
KConfig crecent( "krecentconnections", KConfig::NoGlobals ); KConfig crecent( "krecentconnections", KConfig::NoGlobals );
KConfigGroup recent(&crecent, "General"); KConfigGroup recent(&crecent, "General");
@ -78,17 +78,17 @@ KNetAttach::KNetAttach( QWidget* parent )
_encoding->setCurrentIndex(codecForLocaleIdx != -1 ? codecForLocaleIdx : 0); _encoding->setCurrentIndex(codecForLocaleIdx != -1 ? codecForLocaleIdx : 0);
} }
void KNetAttach::slotPageChanged( int ) void KNetAttach::slotPageChanged(int)
{ {
updateFinishButtonText(true); updateFinishButtonText(true);
} }
void KNetAttach::slotHelpClicked() void KNetAttach::slotHelpClicked()
{ {
KToolInvocation::invokeHelp(QString(), "knetattach" ); KToolInvocation::invokeHelp(QString(), "knetattach");
} }
void KNetAttach::setInformationText( const QString &type ) void KNetAttach::setInformationText(const QString &type)
{ {
QString text; QString text;