Typo found by Yuri Chornoivan
[kdepim.git] / kdgantt / kdgantttreeviewrowcontroller.h
blob0a1251eeb4c9b25cc52963e0f93f427436f51b7e
1 /****************************************************************************
2 ** Copyright (C) 2001-2006 Klarälvdalens Datakonsult AB. All rights reserved.
3 **
4 ** This file is part of the KD Gantt library.
5 **
6 ** This file may be used under the terms of the GNU General Public
7 ** License versions 2.0 or 3.0 as published by the Free Software
8 ** Foundation and appearing in the files LICENSE.GPL2 and LICENSE.GPL3
9 ** included in the packaging of this file. Alternatively you may (at
10 ** your option) use any later version of the GNU General Public
11 ** License if such license has been publicly approved by
12 ** Klarälvdalens Datakonsult AB (or its successors, if any).
13 **
14 ** This file is provided "AS IS" with NO WARRANTY OF ANY KIND,
15 ** INCLUDING THE WARRANTIES OF DESIGN, MERCHANTABILITY AND FITNESS FOR
16 ** A PARTICULAR PURPOSE. Klarälvdalens Datakonsult AB reserves all rights
17 ** not expressly granted herein.
18 **
19 ** This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE
20 ** WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
22 **********************************************************************/
23 #ifndef KDGANTTTREEVIEWROWCONTROLLER_H
24 #define KDGANTTTREEVIEWROWCONTROLLER_H
26 #include "kdganttabstractrowcontroller.h"
28 class QAbstractProxyModel;
29 class QTreeView;
31 namespace KDGantt {
32 class KDGANTT_EXPORT TreeViewRowController : public AbstractRowController {
33 KDGANTT_DECLARE_PRIVATE_BASE_POLYMORPHIC(TreeViewRowController)
34 public:
35 TreeViewRowController( QTreeView* tv, QAbstractProxyModel* proxy );
36 virtual ~TreeViewRowController();
38 /*reimp*/ int headerHeight() const;
39 /*reimp*/ int maximumItemHeight() const;
40 /*reimp*/ bool isRowVisible( const QModelIndex& idx ) const;
41 /*reimp*/ Span rowGeometry( const QModelIndex& idx ) const;
42 /*reimp*/ QModelIndex indexAt( int height ) const;
43 /*reimp*/ QModelIndex indexAbove( const QModelIndex& idx ) const;
44 /*reimp*/ QModelIndex indexBelow( const QModelIndex& idx ) const;
48 #endif /* KDGANTTTREEVIEWROWCONTROLLER_H */