DBField Class Reference
[
DataWidget Index
] [
DataWidget Hierarchy
]
More...
#include <
dbtable.h
>
Public Members
int
sqlType
int
sqlScale
int
cType
int
cSize
bool
isValid
bool
isNull
void *
buffer
long
tmp
DBField
()
DBField
( const DBField &s )
~DBField
()
static int
cTypeOfSQL
(int sql, int scale = 0)
void
init
(int sql, int size, int scale = 0)
DBField&
operator=
( const DBField & s )
bool
operator==
( const DBField & s )
bool
operator!=
( const DBField & s )
bool
setQString
(const QString &str)
QString
getQString
(const char *format = 0)
bool
setQDate
(const QDate &val)
QDate
getQDate
()
bool
setQTime
(const QTime &val)
QTime
getQTime
()
bool
setQDateTime
(const QDateTime &val)
QDateTime
getQDateTime
()
bool
setDouble
(double num)
double
getDouble
()
bool
setLong
(long num)
long
getLong
()
Protected Members
static char *
initFormat
(char *buffer, const char *format)
static bool
scanDate
(const char *str, const char *f, struct tm *res)
Documentation generated by eg@wonko on Sam Feb 19 00:09:53 MET 2000
K
doc