Commit 008e7f89 authored by Allen Winter's avatar Allen Winter
Browse files

some minor coding style and camelcase header fixes

SVN_SILENT:

svn path=/trunk/KDE/kdepimlibs/; revision=1169730
parent d27cec96
......@@ -17,8 +17,8 @@
02110-1301, USA.
*/
#ifndef AKONADI_FILTERACTIONJOB_H
#define AKONADI_FILTERACTIONJOB_H
#ifndef MAILTRANSPORT_FILTERACTIONJOB_P_H
#define MAILTRANSPORT_FILTERACTIONJOB_P_H
#include <mailtransport/mailtransport_export.h>
......@@ -57,7 +57,8 @@ class FilterActionJob;
* return item.hasAttribute<ErrorAttribute>();
* }
*
* virtual Akonadi::Job *itemAction( const Akonadi::Item &item, Akonadi::FilterActionJob *parent ) const
* virtual Akonadi::Job *itemAction( const Akonadi::Item &item,
* Akonadi::FilterActionJob *parent ) const
* {
* Item cp = item;
* cp.removeAttribute<ErrorAttribute>();
......@@ -100,7 +101,8 @@ class MAILTRANSPORT_EXPORT FilterAction
* Returns a job to act on the @p item.
* The FilterActionJob will finish when all such jobs are finished.
*/
virtual Akonadi::Job *itemAction( const Akonadi::Item &item, Akonadi::FilterActionJob *parent ) const = 0;
virtual Akonadi::Job *itemAction( const Akonadi::Item &item,
Akonadi::FilterActionJob *parent ) const = 0;
};
/**
......
......@@ -115,7 +115,7 @@ void MessageQueueJob::Private::outboxRequestResult( KJob *job )
if( job->error() ) {
kError() << "Failed to get the Outbox folder:" << job->error() << job->errorString();
q->setError(job->error());
q->setError( job->error() );
q->emitResult();
return;
}
......
......@@ -56,7 +56,8 @@ class SendQueuedAction : public Akonadi::FilterAction
virtual bool itemAccepted( const Akonadi::Item &item ) const;
/* reimpl */
virtual Akonadi::Job *itemAction( const Akonadi::Item &item, Akonadi::FilterActionJob *parent ) const;
virtual Akonadi::Job *itemAction( const Akonadi::Item &item,
Akonadi::FilterActionJob *parent ) const;
private:
class Private;
......@@ -90,7 +91,8 @@ class ClearErrorAction : public Akonadi::FilterAction
virtual bool itemAccepted( const Akonadi::Item &item ) const;
/* reimpl */
virtual Akonadi::Job *itemAction( const Akonadi::Item &item, Akonadi::FilterActionJob *parent ) const;
virtual Akonadi::Job *itemAction( const Akonadi::Item &item,
Akonadi::FilterActionJob *parent ) const;
private:
class Private;
......@@ -122,7 +124,8 @@ class DispatchManualTransportAction : public Akonadi::FilterAction
virtual bool itemAccepted( const Akonadi::Item &item ) const;
/* reimpl */
virtual Akonadi::Job *itemAction( const Akonadi::Item &item, Akonadi::FilterActionJob *parent ) const;
virtual Akonadi::Job *itemAction( const Akonadi::Item &item,
Akonadi::FilterActionJob *parent ) const;
private:
class Private;
......
......@@ -119,7 +119,6 @@ class MailTransport::SMTPConfigWidgetPrivate : public TransportConfigWidgetPriva
addAuthenticationItem( ui.authCombo, authType );
}
if ( transport->isValid() ) {
const int idx = ui.authCombo->findData( transport->authenticationType() );
......
......@@ -44,7 +44,7 @@
#include <KConfig>
#include <KConfigGroup>
#include <KDebug>
#include <kemailsettings.h>
#include <KEMailSettings>
#include <KLocale>
#include <KMessageBox>
#include <KRandom>
......
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