Skip to content
Permalink
Browse files

Add missing docs

  • Loading branch information
nyalldawson committed Jan 24, 2017
1 parent 00b0271 commit 98169386d126b0b8ecf4a22555195d520e09d64b
Showing with 8 additions and 0 deletions.
  1. +8 −0 src/gui/qgstreewidgetitem.h
@@ -117,8 +117,16 @@ class GUI_EXPORT QgsTreeWidgetItem : public QTreeWidgetItem
*/
int alwaysOnTopPriority() const;

/**
* Returns true if this item should appear before another item when sorting
* a list of items.
*/
virtual bool operator<( const QTreeWidgetItem &other ) const override;

/**
* Returns true if this item should appear after another item when sorting
* a list of items.
*/
bool operator>=( const QTreeWidgetItem &other ) const { return !( *this < other ); }

private:

0 comments on commit 9816938

Please sign in to comment.
You can’t perform that action at this time.