~ubuntu-branches/ubuntu/quantal/kdepim/quantal

« back to all changes in this revision

Viewing changes to calendarviews/eventviews/timeline/timelineview_p.h

  • Committer: Package Import Robot
  • Author(s): Jonathan Riddell
  • Date: 2011-12-15 14:17:51 UTC
  • mto: This revision was merged to the branch mainline in revision 193.
  • Revision ID: package-import@ubuntu.com-20111215141751-bmhdpiwl23wd9w26
Tags: upstream-4.7.90
Import upstream version 4.7.90

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
/*
2
 
  This file is part of CalendarViews.
3
 
 
4
2
  Copyright (c) 2010 Klarälvdalens Datakonsult AB, a KDAB Group company, info@kdab.com
5
3
  Copyright (c) 2010 Sérgio Martins <sergio.martins@kdab.com>
6
4
 
25
23
#ifndef EVENTVIEWS_TIMELINEVIEW_P_H
26
24
#define EVENTVIEWS_TIMELINEVIEW_P_H
27
25
 
28
 
#include "eventview.h"
 
26
#include "timelineview.h"
29
27
 
30
28
#include <Akonadi/Collection>
31
29
#include <Akonadi/Item>
40
38
class QTreeWidget;
41
39
 
42
40
namespace KDGantt {
43
 
class GraphicsView;
 
41
  class GraphicsView;
44
42
}
45
43
 
46
44
namespace EventViews {
50
48
 
51
49
class TimelineView::Private : public QObject
52
50
{
53
 
    Q_OBJECT
 
51
  Q_OBJECT
54
52
  public:
55
53
    explicit Private( TimelineView *parent = 0 );
56
54
    ~Private();
63
61
  public Q_SLOTS:
64
62
    // void overscale( KDGantt::View::Scale scale );
65
63
    void itemSelected( const QModelIndex &index );
66
 
    void itemDoubleClicked( const QModelIndex& index );
67
 
    void itemChanged( QStandardItem* item );
68
 
    void contextMenuRequested( const QPoint& point);
 
64
    void itemDoubleClicked( const QModelIndex &index );
 
65
    void itemChanged( QStandardItem *item );
 
66
    void contextMenuRequested( const QPoint &point );
69
67
    void newEventWithHint( const QDateTime & );
70
68
    void splitterMoved();
71
69
 
77
75
    QMap<Akonadi::Collection::Id, TimelineItem*> mCalendarItemMap;
78
76
    QDate mStartDate, mEndDate;
79
77
    QDateTime mHintDate;
 
78
 
80
79
  private:
81
 
    TimelineView * const q;
82
 
 
 
80
    TimelineView *const q;
83
81
};
84
82
 
85
83
} // namespace EventViews