| TerraLib 4.1

- Main Page
- Related Pages
- Modules
- Namespaces
- Classes
- Files
- Examples

- File List
- File Members

E:/Projetos_Primeiro_Semestre_2012/TerraView/terralib/src/terralib/drivers/qt/TeQtDataSource.h
Go to the documentation of this file.

    00001 #ifndef TEQTDATASOURCE_H
    00002 #define TEQTDATASOURCE_H
    00003
    00004 #include <qobject.h>
    00005 #include <qvariant.h>
    00006
    00007 #include "../../kernel/TeDefines.h"
    00008
    00009 class TL_DLL TeQtDataSource : public QObject
    00010 {
    00011            Q_OBJECT
    00012 public:
    00013            TeQtDataSource() {}
    00014            virtual ~TeQtDataSource() {}
    00015
    00016            virtual QVariant cell(int row, int col) = 0;
    00017            virtual void setCell(int row, int col, const QVariant &text) = 0;
    00018
    00019            virtual int numRows() const = 0;
    00020            virtual int numCols() const = 0;
    00021
    00022 signals:
    00023            void dataChanged();
    00024 };
    00025
    00026 #endif

All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines