Quantum GIS API Documentation  1.8
src/gui/qgsnumericsortlistviewitem.h
Go to the documentation of this file.
00001 /***************************************************************************
00002     qgsnumericsortlistviewitem.h  -  A QListViewItem that can sort numerically
00003                                      (as opposed to just lexigraphically)
00004                              -------------------
00005     begin                : 06 Nov, 2005
00006     copyright            : (C) 2005 by Brendan Morley
00007     email                : morb at ozemail dot com dot au
00008  ***************************************************************************/
00009 
00010 /***************************************************************************
00011  *                                                                         *
00012  *   This program is free software; you can redistribute it and/or modify  *
00013  *   it under the terms of the GNU General Public License as published by  *
00014  *   the Free Software Foundation; either version 2 of the License, or     *
00015  *   (at your option) any later version.                                   *
00016  *                                                                         *
00017  ***************************************************************************/
00018 
00019 
00020 #ifndef QGSNUMERICSORTLISTVIEWITEM_H
00021 #define QGSNUMERICSORTLISTVIEWITEM_H
00022 
00023 #include <QTreeWidgetItem>
00024 
00036 class GUI_EXPORT QgsNumericSortTreeWidgetItem : public QTreeWidgetItem
00037 {
00038 
00039 //  Q_OBJECT
00040 
00041   public:
00045     QgsNumericSortTreeWidgetItem( QTreeWidget * parent );
00046     QgsNumericSortTreeWidgetItem( QTreeWidgetItem * parent );
00047 
00049     virtual ~QgsNumericSortTreeWidgetItem();
00050 
00051     virtual bool operator<( const QTreeWidgetItem &other ) const;
00052 
00053 };
00054 
00055 #endif
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines