[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: [kdepim] libksieve/ksieveui/vacation: Clean headers
From: Montel Laurent <montel () kde ! org>
Date: 2015-08-31 20:05:33
Message-ID: E1ZWVKf-0002rn-9V () scm ! kde ! org
[Download RAW message or body]
Git commit 079b3163f1c785b1a24d85f0084e7cdfae466ae0 by Montel Laurent.
Committed on 31/08/2015 at 19:45.
Pushed by mlaurent into branch 'master'.
Clean headers
M +10 -0 libksieve/ksieveui/vacation/vacation.cpp
M +2 -8 libksieve/ksieveui/vacation/vacation.h
http://commits.kde.org/kdepim/079b3163f1c785b1a24d85f0084e7cdfae466ae0
diff --git a/libksieve/ksieveui/vacation/vacation.cpp b/libksieve/ksieveui/vacation/vacation.cpp
index 2980beb..803a19e 100644
--- a/libksieve/ksieveui/vacation/vacation.cpp
+++ b/libksieve/ksieveui/vacation/vacation.cpp
@@ -65,6 +65,16 @@ Vacation::~Vacation()
qCDebug(LIBKSIEVE_LOG) << "~Vacation()";
}
+bool Vacation::isUsable() const
+{
+ return !mUrl.isEmpty();
+}
+
+QString Vacation::serverName() const
+{
+ return mServerName;
+}
+
QUrl Vacation::findURL(QString &serverName) const
{
const Akonadi::AgentInstance::List instances = Util::imapAgentInstances();
diff --git a/libksieve/ksieveui/vacation/vacation.h b/libksieve/ksieveui/vacation/vacation.h
index b62e1f6..a4f8a62 100644
--- a/libksieve/ksieveui/vacation/vacation.h
+++ b/libksieve/ksieveui/vacation/vacation.h
@@ -41,14 +41,8 @@ public:
explicit Vacation(QObject *parent = Q_NULLPTR, bool checkonly = false, const QUrl &url = QUrl());
virtual ~Vacation();
- bool isUsable() const
- {
- return !mUrl.isEmpty();
- }
- QString serverName() const
- {
- return mServerName;
- }
+ bool isUsable() const;
+ QString serverName() const;
void showVacationDialog();
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic