diff --git a/accountwizard.cpp b/accountwizard.cpp index 01b8f81b9..7083637e8 100644 --- a/accountwizard.cpp +++ b/accountwizard.cpp @@ -120,14 +120,14 @@ AccountWizard::AccountWizard( KMKernel *kernel, QWidget *parent ) mAccount( 0 ), mTransportInfo( 0 ), mServerTest( 0 ) { showButton( Help, false ); - + setupWelcomePage(); setupAccountTypePage(); setupAccountInformationPage(); setupLoginInformationPage(); setupServerInformationPage(); - - connect( this, SIGNAL(currentPageChanged(KPageWidgetItem*, KPageWidgetItem*)), this, SLOT(slotCurrentPageChanged(KPageWidgetItem*, KPageWidgetItem*)) ); + + connect( this, SIGNAL(currentPageChanged(KPageWidgetItem*, KPageWidgetItem*)), this, SLOT(slotCurrentPageChanged(KPageWidgetItem*)) ); } AccountWizard::~AccountWizard() @@ -149,7 +149,7 @@ void AccountWizard::start( KMKernel *kernel, QWidget *parent ) } } -void AccountWizard::slotCurrentPageChanged( KPageWidgetItem *current, KPageWidgetItem *before ) +void AccountWizard::slotCurrentPageChanged( KPageWidgetItem *current ) { if ( current == mWelcomePage ) { // do nothing @@ -210,7 +210,7 @@ void AccountWizard::setupWelcomePage() "enter the connection data that you received from your email provider " "into the following pages." ), box ); message->setWordWrap(true); - + mWelcomePage = new KPageWidgetItem( box, i18n("Welcome") ); addPage( mWelcomePage ); } diff --git a/accountwizard.h b/accountwizard.h index 4e0d33d91..e189c7646 100644 --- a/accountwizard.h +++ b/accountwizard.h @@ -87,8 +87,8 @@ class AccountWizard : public KAssistantDialog void finished(); private slots: - void slotCurrentPageChanged( KPageWidgetItem *current, KPageWidgetItem *before ); - + void slotCurrentPageChanged( KPageWidgetItem *current ); + void popCapabilities( const QStringList&, const QStringList& ); void imapCapabilities( const QStringList&, const QStringList& ); void smtpCapabilities( const QStringList&, const QStringList&,