QGIS API Documentation  2.18.21-Las Palmas (9fba24a)
qgsnumericsortlistviewitem.h
Go to the documentation of this file.
1 /***************************************************************************
2  qgsnumericsortlistviewitem.h - A QListViewItem that can sort numerically
3  (as opposed to just lexigraphically)
4  -------------------
5  begin : 06 Nov, 2005
6  copyright : (C) 2005 by Brendan Morley
7  email : morb at ozemail dot com dot au
8  ***************************************************************************/
9 
10 /***************************************************************************
11  * *
12  * This program is free software; you can redistribute it and/or modify *
13  * it under the terms of the GNU General Public License as published by *
14  * the Free Software Foundation; either version 2 of the License, or *
15  * (at your option) any later version. *
16  * *
17  ***************************************************************************/
18 
19 
20 #ifndef QGSNUMERICSORTLISTVIEWITEM_H
21 #define QGSNUMERICSORTLISTVIEWITEM_H
22 
23 #include <QTreeWidgetItem>
24 
37 {
38  public:
44 
47 
48  virtual bool operator<( const QTreeWidgetItem &other ) const override;
49 
50 };
51 
52 #endif
virtual bool operator<(const QTreeWidgetItem &other) const
QTreeWidgetItem that can sort numerically (as opposed to just lexigraphically)