summaryrefslogtreecommitdiff
path: root/kimap/deleteacljob.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kimap/deleteacljob.cpp')
-rw-r--r--kimap/deleteacljob.cpp21
1 files changed, 10 insertions, 11 deletions
diff --git a/kimap/deleteacljob.cpp b/kimap/deleteacljob.cpp
index ca3a206..b5ea9a9 100644
--- a/kimap/deleteacljob.cpp
+++ b/kimap/deleteacljob.cpp
@@ -19,8 +19,8 @@
#include "deleteacljob.h"
-#include <KDE/KLocalizedString>
-#include <KDE/KDebug>
+#include <klocale.h>
+#include <kdebug.h>
#include "acljobbase_p.h"
#include "message_p.h"
@@ -32,7 +32,7 @@ namespace KIMAP
class DeleteAclJobPrivate : public AclJobBasePrivate
{
public:
- DeleteAclJobPrivate( Session *session, const QString& name ) : AclJobBasePrivate( session, name ) {}
+ DeleteAclJobPrivate( Session *session, const QString& name ) : AclJobBasePrivate(session, name) {}
~DeleteAclJobPrivate() { }
};
}
@@ -42,8 +42,8 @@ using namespace KIMAP;
DeleteAclJob::DeleteAclJob( Session *session )
: AclJobBase( session )
{
- Q_D( DeleteAclJob );
- d->m_name = i18n( "DeleteAclJob" );
+ Q_D(DeleteAclJob);
+ d->m_name = i18n("DeleteAclJob");
}
DeleteAclJob::~DeleteAclJob()
@@ -52,22 +52,21 @@ DeleteAclJob::~DeleteAclJob()
void DeleteAclJob::doStart()
{
- Q_D( DeleteAclJob );
+ Q_D(DeleteAclJob);
- d->tags << d->sessionInternal()->sendCommand( "DELETEACL", '\"' + KIMAP::encodeImapFolderName( d->mailBox.toUtf8() ) + "\" \"" + d->id );
+ d->tags << d->sessionInternal()->sendCommand( "DELETEACL", '\"' + KIMAP::encodeImapFolderName( d->mailBox.toUtf8() ) + "\" \"" + d->id);
}
void DeleteAclJob::setIdentifier( const QByteArray &identifier )
{
- Q_D( DeleteAclJob );
- d->setIdentifier( identifier );
+ Q_D(DeleteAclJob);
+ d->setIdentifier(identifier);
}
QByteArray DeleteAclJob::identifier()
{
- Q_D( DeleteAclJob );
+ Q_D(DeleteAclJob);
return d->identifier();
}
#include "deleteacljob.moc"
-