Quantum GIS API Documentation  master-693a1fe
QgsComposerAttributeTableCompare Class Reference

Helper class for sorting, takes into account sorting column and ascending / descending. More...

#include <qgscomposerattributetable.h>

List of all members.

Public Member Functions

 QgsComposerAttributeTableCompare ()
bool operator() (const QgsAttributes &m1, const QgsAttributes &m2)
void setAscending (bool asc)
void setSortColumn (int col)

Private Attributes

bool mAscending
int mCurrentSortColumn

Detailed Description

Helper class for sorting, takes into account sorting column and ascending / descending.

Definition at line 27 of file qgscomposerattributetable.h.


Constructor & Destructor Documentation


Member Function Documentation

bool QgsComposerAttributeTableCompare::operator() ( const QgsAttributes m1,
const QgsAttributes m2 
)

Definition at line 28 of file qgscomposerattributetable.cpp.

References mAscending, and mCurrentSortColumn.


Member Data Documentation

Definition at line 36 of file qgscomposerattributetable.h.

Referenced by operator()().

Definition at line 35 of file qgscomposerattributetable.h.

Referenced by operator()().


The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Defines