|
Quantum GIS API Documentation
master-693a1fe
|
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 public: 00042 QgsNumericSortTreeWidgetItem( QTreeWidget * parent ); 00043 QgsNumericSortTreeWidgetItem( QTreeWidgetItem * parent ); 00044 00046 virtual ~QgsNumericSortTreeWidgetItem(); 00047 00048 virtual bool operator<( const QTreeWidgetItem &other ) const; 00049 00050 }; 00051 00052 #endif