2 Copyright (c) 2010 Volker Krause <vkrause@kde.org>
3 Copyright (c) 2010 Bertjan Broeksema <broeksema@kde.org>
4 Copyright (C) 2010 Klarälvdalens Datakonsult AB, a KDAB Group company, info@kdab.com
5 Copyright (c) 2010 Andras Mantia <amantia@kdab.com>
7 This library is free software; you can redistribute it and/or modify it
8 under the terms of the GNU Library General Public License as published by
9 the Free Software Foundation; either version 2 of the License, or (at your
10 option) any later version.
12 This library is distributed in the hope that it will be useful, but WITHOUT
13 ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
14 FITNESS FOR A PARTICULAR PURPOSE. See the GNU Library General Public
15 License for more details.
17 You should have received a copy of the GNU Library General Public License
18 along with this library; see the file COPYING.LIB. If not, write to the
19 Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
25 import org.kde.pim.mobileui 4.5 as KPIM
35 onClicked : {} // do nothing
39 anchors.right : root.right
40 anchors.rightMargin : 70
41 anchors.left : root.left
42 anchors.leftMargin : 70
43 anchors.top : root.top
44 anchors.topMargin : 70
46 //how to calculate the height needed for buttons?
53 buttonText : application.getAction("akonadi_mark_as_read", "").text.replace("&", "");
55 application.getAction("akonadi_mark_as_read", "").trigger();
56 root.parent.visible = false
61 buttonText : application.getAction("akonadi_mark_as_important", "").text.replace("&", "");
63 application.getAction("akonadi_mark_as_important", "").trigger();
64 root.parent.visible = false
69 buttonText : application.getAction("akonadi_mark_as_action_item", "").text.replace("&", "");
71 application.getAction("akonadi_mark_as_action_item", "").trigger();
72 root.parent.visible = false
77 buttonText : KDE.i18n( "Discard" )
79 root.parent.visible = false