List of all members | Public Member Functions | Public Slots
XSqlQueryProto Class Reference

#include <xsqlqueryproto.h>

Public Member Functions

 XSqlQueryProto (QObject *parent=0)
 
Q_INVOKABLE int findFirst (int, int)
 
Q_INVOKABLE int findFirst (const QString &, int)
 
Q_INVOKABLE int findFirst (const QString &, const QString &)
 
Q_INVOKABLE bool isActive ()
 
Q_INVOKABLE bool isForwardOnly ()
 
Q_INVOKABLE bool isSelect ()
 
Q_INVOKABLE bool isValid ()
 
Q_INVOKABLE QVariantMap lastError ()
 
Q_INVOKABLE int numRowsAffected ()
 
Q_INVOKABLE QSqlRecord record () const
 
Q_INVOKABLE int size ()
 
Q_INVOKABLE QString toString () const
 
Q_INVOKABLE QVariant value (int index)
 
Q_INVOKABLE QVariant value (const QString &field)
 

Public Slots

bool first ()
 
bool last ()
 
bool next ()
 
bool previous ()
 

Constructor & Destructor Documentation

XSqlQueryProto::XSqlQueryProto ( QObject parent = 0)

Member Function Documentation

int XSqlQueryProto::findFirst ( int  col,
int  val 
)
int XSqlQueryProto::findFirst ( const QString &  col,
int  val 
)
int XSqlQueryProto::findFirst ( const QString &  col,
const QString &  val 
)
bool XSqlQueryProto::first ( )
slot
bool XSqlQueryProto::isActive ( )
bool XSqlQueryProto::isForwardOnly ( )
bool XSqlQueryProto::isSelect ( )
bool XSqlQueryProto::isValid ( )
bool XSqlQueryProto::last ( )
slot
QVariantMap XSqlQueryProto::lastError ( )
bool XSqlQueryProto::next ( )
slot
int XSqlQueryProto::numRowsAffected ( )
bool XSqlQueryProto::previous ( )
slot
QSqlRecord XSqlQueryProto::record ( ) const
int XSqlQueryProto::size ( )
QString XSqlQueryProto::toString ( ) const
QVariant XSqlQueryProto::value ( int  index)
QVariant XSqlQueryProto::value ( const QString &  field)

The documentation for this class was generated from the following files:

Generated on Fri Oct 7 2016 14:23:35 xTuple ERP Programmer Reference, Version 4.2.0 doxygen 1.8.10