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

« back to all changes in this revision

Viewing changes to calendarviews/eventviews/agenda/agenda.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:
66
66
{
67
67
  Q_OBJECT
68
68
  public:
69
 
    Agenda ( AgendaView *agendaView, QScrollArea *scrollArea, int columns, int rows, int rowSize, bool isInteractive );
 
69
    Agenda ( AgendaView *agendaView, QScrollArea *scrollArea,
 
70
             int columns, int rows, int rowSize, bool isInteractive );
70
71
 
71
72
    Agenda ( AgendaView *agendaView, QScrollArea *scrollArea, int columns, bool isInteractive );
72
73
 
79
80
    QSize minimumSize() const;
80
81
    int minimumHeight() const;
81
82
    // QSizePolicy sizePolicy() const;
82
 
    int contentsY() const { return -y(); }
83
 
    int contentsX() const { return x(); }
 
83
    int contentsY() const
 
84
    {
 
85
      return -y();
 
86
    }
 
87
 
 
88
    int contentsX() const
 
89
    {
 
90
      return x();
 
91
    }
84
92
 
85
93
    QScrollBar *verticalScrollBar() const;
86
94
 
171
179
      deselected. This function emits the itemSelected(bool) signal to inform
172
180
      about selection/deselection of events.
173
181
    */
174
 
    void selectItem( AgendaItem::QPtr  );
 
182
    void selectItem( AgendaItem::QPtr );
175
183
 
176
184
    /**
177
185
      Selects the item associated with a given Akonadi Item id.