diff --git a/folderdiaquotatab.cpp b/folderdiaquotatab.cpp index b7f7810ef..3c296183d 100644 --- a/folderdiaquotatab.cpp +++ b/folderdiaquotatab.cpp @@ -50,7 +50,7 @@ using namespace KMail; class FolderDiaQuotaTab::QuotaWidget : public QWidget { public: - QuotaWidget::QuotaWidget( QWidget* parent, const char* name = 0 ) + QuotaWidget( QWidget* parent, const char* name = 0 ) :QWidget( parent, name ) { QVBoxLayout *box = new QVBoxLayout(this); @@ -177,7 +177,7 @@ void KMail::FolderDiaQuotaTab::slotConnectionResult( int errorCode, const QStrin disconnect( mImapAccount, SIGNAL( connectionResult(int, const QString&) ), this, SLOT( slotConnectionResult(int, const QString&) ) ); if ( errorCode ) { - if ( errorCode == -1 ) // unspecified error + if ( errorCode == -1 ) // unspecified error mLabel->setText( i18n( "Error connecting to server %1" ).arg( mImapAccount->host() ) ); else // Connection error (error message box already shown by the account) diff --git a/kmmainwidget.h b/kmmainwidget.h index 6aeabc0f6..e07e55795 100644 --- a/kmmainwidget.h +++ b/kmmainwidget.h @@ -387,12 +387,12 @@ private: /** Helper which finds the associated account if there is a current * folder and it is an imap or disconnected imap one. */ - KMail::ImapAccountBase* KMMainWidget::findCurrentImapAccountBase(); + KMail::ImapAccountBase* findCurrentImapAccountBase(); /** Helper which finds the associated IMAP path if there is a current * folder and it is an imap or disconnected imap one. */ - QString KMMainWidget::findCurrentImapPath(); + QString findCurrentImapPath(); private: // Message actions