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

« back to all changes in this revision

Viewing changes to calendarviews/eventviews/list/listview.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 KOrganizer.
3
 
 
4
2
  Copyright (c) 1999 Preston Brown <pbrown@kde.org>
5
3
  Copyright (c) 2000,2001 Cornelius Schumacher <schumacher@kde.org>
6
4
  Copyright (C) 2003-2004 Reinhold Kainhofer <reinhold@kainhofer.com>
23
21
  with any edition of Qt, and distribute the resulting executable,
24
22
  without including the source code for Qt in the source distribution.
25
23
*/
26
 
#ifndef CALENDARVIEWS_LISTVIEW_H
27
 
#define CALENDARVIEWS_LISTVIEW_H
 
24
#ifndef EVENTVIEWS_LISTVIEW_H
 
25
#define EVENTVIEWS_LISTVIEW_H
28
26
 
29
27
#include "eventview.h"
30
28
#include "customlistviewitem.h"
42
40
 
43
41
typedef CustomListViewItem<Akonadi::Item::Id> ListViewItem;
44
42
 
45
 
 
46
43
/**
47
44
  This class provides a multi-column list view of events.  It can
48
45
  display events from one particular day or several days, it doesn't
63
60
  Q_OBJECT
64
61
  public:
65
62
    explicit ListView( CalendarSupport::Calendar *calendar,
66
 
                       QWidget *parent = 0,  bool nonInteractive = false );
 
63
                       QWidget *parent = 0, bool nonInteractive = false );
67
64
    ~ListView();
68
65
 
69
66
    virtual int currentDateCount() const;
83
80
 
84
81
  public slots:
85
82
    virtual void updateView();
86
 
    virtual void showDates( const QDate &start, const QDate &end, const QDate &preferredMonth = QDate() );
 
83
 
 
84
    virtual void showDates( const QDate &start, const QDate &end,
 
85
                            const QDate &preferredMonth = QDate() );
 
86
 
87
87
    virtual void showIncidences( const Akonadi::Item::List &incidenceList, const QDate &date );
88
88
 
89
89
    void clearSelection();