[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: [kdepim] kmail: continue to add support for folderarchive
From: Montel Laurent <montel () kde ! org>
Date: 2013-07-31 21:12:57
Message-ID: E1V4dhZ-0006Gd-9v () scm ! kde ! org
[Download RAW message or body]
Git commit 286828754fdd4c527a7d45d0e64b8ee5459d6f4b by Montel Laurent.
Committed on 31/07/2013 at 21:12.
Pushed by mlaurent into branch 'master'.
continue to add support for folderarchive
M +6 -1 kmail/kmmainwidget.cpp
http://commits.kde.org/kdepim/286828754fdd4c527a7d45d0e64b8ee5459d6f4b
diff --git a/kmail/kmmainwidget.cpp b/kmail/kmmainwidget.cpp
index e5cc707..6ca0a1d 100644
--- a/kmail/kmmainwidget.cpp
+++ b/kmail/kmmainwidget.cpp
@@ -4858,5 +4858,10 @@ void KMMainWidget::slotMoveMessageToTrash()
=
void KMMainWidget::slotArchiveMails()
{
- //TODO
+ OrgFreedesktopAkonadiFolderArchiveAgentInterface folderArchiveInterfac=
e(QLatin1String("org.freedesktop.Akonadi.FolderArchiveAgent"), QLatin1Strin=
g("/FolderArchiveAgent"),QDBusConnection::sessionBus(), this);
+ if (folderArchiveInterface.isValid()) {
+ //TODO
+ } else {
+ KMessageBox::error(this,i18n("Archive Folder Agent was not registe=
red."));
+ }
}
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic