KD Chart 2: KDChartAbstractProxyModel.h Source File

Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | File List | Namespace Members | Class Members | File Members | Related Pages

# KDChartAbstractProxyModel.h

Go to the documentation of this file.

    00001 #ifndef KDCHARTABSTRACTPROXYMODEL_H
    00002 #define KDCHARTABSTRACTPROXYMODEL_H
    00003
    00004 /* -*- Mode: C++ -*-
    00005    KDChart - a multi-platform charting engine
    00006    */
    00007
    00008 /****************************************************************************
    00009  ** Copyright (C) 2006 Klaraelvdalens Datakonsult AB.  All rights reserved.
    00010  **
    00011  ** This file is part of the KDChart library.
    00012  **
    00013  ** This file may be distributed and/or modified under the terms of the
    00014  ** GNU General Public License version 2 as published by the Free Software
    00015  ** Foundation and appearing in the file LICENSE.GPL included in the
    00016  ** packaging of this file.
    00017  **
    00018  ** Licensees holding valid commercial KDChart licenses may use this file in
    00019  ** accordance with the KDChart Commercial License Agreement provided with
    00020  ** the Software.
    00021  **
    00022  ** This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE
    00023  ** WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
    00024  **
    00025  ** See http://www.klaralvdalens-datakonsult.se/?page=products for
    00026  **   information about KDChart Commercial License Agreements.
    00027  **
    00028  ** Contact info@klaralvdalens-datakonsult.se if any conditions of this
    00029  ** licensing are not clear to you.
    00030  **
    00031  **********************************************************************/
    00032
    00033 #include <QAbstractProxyModel>
    00034
    00035 #include "KDChartGlobal.h"
    00036
    00037 namespace KDChart {
    00038   class KDCHART_EXPORT AbstractProxyModel : public QAbstractProxyModel {
    00039     Q_OBJECT
    00040   public:
    00041     explicit AbstractProxyModel( QObject* parent = 0 );
    00042  QModelIndex mapFromSource( const QModelIndex & sourceIndex ) const; QModelIndex mapToSource( const QModelIndex &proxyIndex ) const;
    00045  QModelIndex index( int row, int col, const QModelIndex& index ) const; QModelIndex parent( const QModelIndex& index ) const;
    00048   };
    00049 }
    00050
    00051 #endif /* KDCHARTABSTRACTPROXYMODEL_H */
    00052