Qt 4.8
Public Functions | Public Variables | List of all members
QHolder Struct Reference

Public Functions

bool operator!= (const QHolder &h) const
 
bool operator== (const QHolder &h) const
 
 QHolder (const QString &hldr=QString(), int index=-1)
 

Public Variables

QString holderName
 
int holderPos
 

Detailed Description

Definition at line 56 of file qsqlresult.cpp.

Constructors and Destructors

◆ QHolder()

QHolder::QHolder ( const QString hldr = QString(),
int  index = -1 
)
inline

Definition at line 57 of file qsqlresult.cpp.

Referenced by QSqlResult::prepare().

57 : holderName(hldr), holderPos(index) {}
QString holderName
Definition: qsqlresult.cpp:60
int holderPos
Definition: qsqlresult.cpp:61
quint16 index

Functions

◆ operator!=()

bool QHolder::operator!= ( const QHolder h) const
inline

Definition at line 59 of file qsqlresult.cpp.

59 { return h.holderPos != holderPos || h.holderName != holderName; }
QString holderName
Definition: qsqlresult.cpp:60
int holderPos
Definition: qsqlresult.cpp:61

◆ operator==()

bool QHolder::operator== ( const QHolder h) const
inline

Definition at line 58 of file qsqlresult.cpp.

58 { return h.holderPos == holderPos && h.holderName == holderName; }
QString holderName
Definition: qsqlresult.cpp:60
int holderPos
Definition: qsqlresult.cpp:61

Properties

◆ holderName

QString QHolder::holderName

Definition at line 60 of file qsqlresult.cpp.

Referenced by operator!=(), and operator==().

◆ holderPos

int QHolder::holderPos

Definition at line 61 of file qsqlresult.cpp.

Referenced by operator!=(), and operator==().


The documentation for this struct was generated from the following file: