From 30405f817443bc6b04ce1aaedad772fd910b41f8 Mon Sep 17 00:00:00 2001 From: Till Adam Date: Wed, 24 May 2006 16:30:46 +0000 Subject: [PATCH] gcc 4.1 fixes svn path=/branches/kdepim/proko2/kdepim/; revision=544378 --- folderdiaquotatab.cpp | 4 ++-- kmmainwidget.h | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) 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