2
This file is part of Akonadi.
4
Copyright (c) 2011 Stephen Kelly <steveire@gmail.com>
6
This program is free software; you can redistribute it and/or modify
7
it under the terms of the GNU General Public License as published by
8
the Free Software Foundation; either version 2 of the License, or
9
(at your option) any later version.
11
This program is distributed in the hope that it will be useful,
12
but WITHOUT ANY WARRANTY; without even the implied warranty of
13
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14
GNU General Public License for more details.
16
You should have received a copy of the GNU General Public License
17
along with this program; if not, write to the Free Software
18
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301,
23
import org.kde.kcal 4.5 as KCal
24
import org.kde.messageviewer 4.5 as MessageViewer
32
visible : triplist.currentItem.trip ? triplist.currentItem.trip.todoSelection ? triplist.currentItem.trip.todoSelection.hasSelection : false : false
34
itemId: triplist.currentItem.trip ? triplist.currentItem.trip.itemSelection.id : -1
39
objectName : "noteView"
40
visible : triplist.currentItem.trip ? triplist.currentItem.trip.notesSelection ? triplist.currentItem.trip.notesSelection.hasSelection : false : false
43
itemSelection : triplist.currentItem.trip ? triplist.currentItem.trip.itemSelection : null
46
anchors.top : noteView.top
47
anchors.bottom : noteView.bottom
48
anchors.right : noteView.left
49
width : noteView.anchors.leftMargin
54
MessageViewer.MessageView {
56
visible : triplist.currentItem.trip ? triplist.currentItem.trip.mailSelection ? triplist.currentItem.trip.mailSelection.hasSelection : false : false
58
itemId: triplist.currentItem.trip ? triplist.currentItem.trip.itemSelection.id : -1
62
id : backToMessageListButton
63
visible: triplist.currentItem.trip.itemSelection.id != -1
64
anchors.right : parent.right
65
anchors.rightMargin : 70
66
anchors.bottom : parent.bottom
67
anchors.bottomMargin : 100
69
source : KDE.locate( "data", "mobileui/back-to-list-button.png" );
71
anchors.fill : parent;
73
console.log(triplist.currentItem.trip, triplist.currentItem.trip.itemSelection)
74
triplist.currentItem.trip.itemSelection.clear()