1
/************************************************************************************
2
TerraView - visualization and exploration of geographical databases
4
Copyright � 2001-2004 INPE and Tecgraf/PUC-Rio.
5
This file is part of TerraView. TerraView is free software; you can redistribute it
6
and/or modify it under the terms of the GNU General Public License as published by
7
the Free Software Foundation; either version 2 of the License, or
8
(at your option) any later version.
10
You should have received a copy of the GNU General Public License
12
The authors reassure the license terms regarding the warranties.
13
They specifically disclaim any warranties, including, but not limited to,
14
the implied warranties of merchantability and fitness for a particular purpose.
15
The software provided hereunder is on an "as is" basis, and the authors have no
16
obligation to provide maintenance, support, updates, enhancements, or modifications.
17
In no event shall INPE and Tecgraf / PUC-Rio be held liable to any party for direct,
18
indirect, special, incidental, or consequential damages arising out of the use of
19
this program and its documentation.
20
*************************************************************************************/
22
#ifndef __TERRALIB_INTERNAL_QTDATABASEITEM_H
23
#define __TERRALIB_INTERNAL_QTDATABASEITEM_H
25
#include <TeQtCheckListItem.h>
30
class TeQtDatabaseItem : public TeQtCheckListItem
33
TeQtDatabaseItem(QListView *parent, QString text,
36
~TeQtDatabaseItem () {}
38
int compare(QListViewItem * i, int col, bool ascending) const
39
{ return QListViewItem::compare(i, col, ascending); }
41
QString key(int col, bool ascending) const
42
{ return QListViewItem::key(col, ascending); }
44
TeDatabase* getDatabase()