Quantum GIS API Documentation  1.8
src/analysis/network/qgsarcproperter.h
Go to the documentation of this file.
00001 /***************************************************************************
00002   qgsedgeproperter.h
00003   --------------------------------------
00004   Date                 : 2011-04-01
00005   Copyright            : (C) 2010 by Yakushev Sergey
00006   Email                : YakushevS <at> list.ru
00007 ****************************************************************************
00008 *                                                                          *
00009 *   This program is free software; you can redistribute it and/or modify   *
00010 *   it under the terms of the GNU General Public License as published by   *
00011 *   the Free Software Foundation; either version 2 of the License, or      *
00012 *   (at your option) any later version.                                    *
00013 *                                                                          *
00014 ***************************************************************************/
00015 
00016 #ifndef QGSEDGEPROPERTERH
00017 #define QGSEDGEPROPERTERH
00018 
00019 // QT4 includes
00020 #include <QVariant>
00021 
00022 // QGIS includes
00023 #include <qgsfeature.h>
00024 #include <qgslabel.h>
00025 
00032 class ANALYSIS_EXPORT QgsArcProperter
00033 {
00034   public:
00038     QgsArcProperter()
00039     { }
00040 
00045     virtual QgsAttributeList requiredAttributes() const
00046     { return QgsAttributeList(); }
00047 
00051     virtual QVariant property( double distance, const QgsFeature &f ) const
00052     {
00053       Q_UNUSED( distance );
00054       Q_UNUSED( f );
00055       return QVariant();
00056     }
00057 };
00058 #endif //QGSEDGEPROPERTYH
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines