27 #ifndef __vtkQtSQLQuery_h
28 #define __vtkQtSQLQuery_h
32 #if (QT_EDITION & QT_MODULE_SQL)
34 #include "vtkGUISupportQtSQLModule.h"
35 #include "vtkSQLQuery.h"
39 class vtkQtSQLQueryInternals;
41 class VTKGUISUPPORTQTSQL_EXPORT
vtkQtSQLQuery :
public vtkSQLQuery
46 void PrintSelf(ostream& os, vtkIndent indent);
50 virtual bool Execute();
53 virtual int GetNumberOfFields();
56 virtual const char* GetFieldName(
int col);
60 virtual int GetFieldType(
int col);
63 virtual bool NextRow();
66 virtual vtkVariant DataValue(vtkIdType c);
69 virtual bool HasError();
72 virtual const char* GetLastErrorText();
78 vtkQtSQLQueryInternals* Internals;
84 vtkSetStringMacro(LastErrorText);
92 #endif // (QT_EDITION & QT_MODULE_SQL)
93 #endif // __vtkQtSQLQuery_h
query class associated with vtkQtSQLDatabase
maintains a connection to an sql database