1
/***************************************************************************
2
QgsAttributeTableIdColumnPair.h - Helper class for attribute tables
6
email : weetya (at) gmail.com
8
***************************************************************************
10
* This program is free software; you can redistribute it and/or modify *
11
* it under the terms of the GNU General Public License as published by *
12
* the Free Software Foundation; either version 2 of the License, or *
13
* (at your option) any later version. *
15
***************************************************************************/
17
#ifndef QGSATTRIBUTETABKEIDCOLUMNPAIR_H
18
#define QGSATTRIBUTETABKEIDCOLUMNPAIR_H
22
class QgsAttributeTableIdColumnPair
28
QgsAttributeTableIdColumnPair( int anId, QVariant anItem ) : mId( anId ), mItem( anItem ) {}
30
* Returns true if this id-column pair is less the the tested one
31
* @param b the tested id-column pair
33
bool operator<( const QgsAttributeTableIdColumnPair &b ) const;
34
int id() { return mId; }