summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMontel Laurent <montel@kde.org>2016-11-02 05:51:41 (GMT)
committerMontel Laurent <montel@kde.org>2016-11-02 05:51:41 (GMT)
commitf8bf62d67e2782512442fb2565ae74cc2e45bc28 (patch)
treec84c3366d10196728c6c3dc35a6d66de39438815
parentd9098e59b1638fd07878b3cc2bc4d05db63f48f3 (diff)
Astyle kdelibs
-rw-r--r--src/ksieveui/managescriptsjob/autotests/renamescriptjobtest.cpp3
-rw-r--r--src/ksieveui/managescriptsjob/autotests/renamescriptjobtest.h1
-rw-r--r--src/ksieveui/managescriptsjob/renamescriptjob.cpp1
-rw-r--r--src/ksieveui/managescriptsjob/renamescriptjob.h4
-rw-r--r--src/ksieveui/widgets/managesievewidget.cpp5
5 files changed, 4 insertions, 10 deletions
diff --git a/src/ksieveui/managescriptsjob/autotests/renamescriptjobtest.cpp b/src/ksieveui/managescriptsjob/autotests/renamescriptjobtest.cpp
index 96aae70..d5b19e1 100644
--- a/src/ksieveui/managescriptsjob/autotests/renamescriptjobtest.cpp
+++ b/src/ksieveui/managescriptsjob/autotests/renamescriptjobtest.cpp
@@ -15,12 +15,10 @@
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
-
#include "renamescriptjobtest.h"
#include "../renamescriptjob.h"
#include <QTest>
-
RenameScriptJobTest::RenameScriptJobTest(QObject *parent)
: QObject(parent)
{
@@ -62,5 +60,4 @@ void RenameScriptJobTest::shouldBeStart()
QCOMPARE(job.canStart(), canStart);
}
-
QTEST_MAIN(RenameScriptJobTest)
diff --git a/src/ksieveui/managescriptsjob/autotests/renamescriptjobtest.h b/src/ksieveui/managescriptsjob/autotests/renamescriptjobtest.h
index 343b81a..3c7bd9b 100644
--- a/src/ksieveui/managescriptsjob/autotests/renamescriptjobtest.h
+++ b/src/ksieveui/managescriptsjob/autotests/renamescriptjobtest.h
@@ -15,7 +15,6 @@
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
-
#ifndef RENAMESCRIPTJOBTEST_H
#define RENAMESCRIPTJOBTEST_H
diff --git a/src/ksieveui/managescriptsjob/renamescriptjob.cpp b/src/ksieveui/managescriptsjob/renamescriptjob.cpp
index c22f572..4d78b09 100644
--- a/src/ksieveui/managescriptsjob/renamescriptjob.cpp
+++ b/src/ksieveui/managescriptsjob/renamescriptjob.cpp
@@ -15,7 +15,6 @@
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
-
#include "renamescriptjob.h"
#include <kmanagesieve/sievejob.h>
diff --git a/src/ksieveui/managescriptsjob/renamescriptjob.h b/src/ksieveui/managescriptsjob/renamescriptjob.h
index db4a0b9..df10649 100644
--- a/src/ksieveui/managescriptsjob/renamescriptjob.h
+++ b/src/ksieveui/managescriptsjob/renamescriptjob.h
@@ -15,14 +15,14 @@
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
-
#ifndef RENAMESCRIPTJOB_H
#define RENAMESCRIPTJOB_H
#include <QObject>
#include <QUrl>
#include "ksieveui_export.h"
-namespace KManageSieve {
+namespace KManageSieve
+{
class SieveJob;
}
diff --git a/src/ksieveui/widgets/managesievewidget.cpp b/src/ksieveui/widgets/managesievewidget.cpp
index 4b816a1..8464e4c 100644
--- a/src/ksieveui/widgets/managesievewidget.cpp
+++ b/src/ksieveui/widgets/managesievewidget.cpp
@@ -387,7 +387,6 @@ void ManageSieveWidget::slotRenameScript()
return;
}
-
u = u.adjusted(QUrl::RemoveFilename);
u.setPath(u.path() + QLatin1Char('/') + currentItem->text(0));
#ifdef USE_RENAME_SIEVE_METHOD
@@ -408,13 +407,13 @@ void ManageSieveWidget::slotRenameFinished(const QString &errorStr, bool success
if (!success) {
KMessageBox::error(this, errorStr, i18n("Rename Script"));
}
- qCDebug(LIBKSIEVE_LOG) << " void ManageSieveWidget::slotRenameResult(KManageSieve::SieveJob *job, bool success)"<<success;
+ qCDebug(LIBKSIEVE_LOG) << " void ManageSieveWidget::slotRenameResult(KManageSieve::SieveJob *job, bool success)" << success;
slotRefresh();
}
void ManageSieveWidget::slotRenameResult(KManageSieve::SieveJob *job, bool success)
{
- qCDebug(LIBKSIEVE_LOG) << " void ManageSieveWidget::slotRenameResult(KManageSieve::SieveJob *job, bool success)"<<success;
+ qCDebug(LIBKSIEVE_LOG) << " void ManageSieveWidget::slotRenameResult(KManageSieve::SieveJob *job, bool success)" << success;
slotRefresh();
}