Qt 4.8
Macros
qabstractdatetime.cpp File Reference
#include <QStringList>
#include "qbuiltintypes_p.h"
#include "qitem_p.h"
#include "qpatternistlocale_p.h"
#include "qvalidationerror_p.h"
#include "qabstractdatetime_p.h"

Go to the source code of this file.

Macros

#define badData(msg)   errorMessage = ValidationError::createError(msg); return QDateTime()
 
#define getCapt(sym)   ((captTable.sym == -1) ? QString() : capts.at(captTable.sym))
 
#define getSafeCapt(sym)   ((captTable.sym == -1) ? QString() : capts.value(captTable.sym))
 

Macro Definition Documentation

◆ badData

#define badData (   msg)    errorMessage = ValidationError::createError(msg); return QDateTime()

Definition at line 60 of file qabstractdatetime.cpp.

Referenced by QPatternist::AbstractDateTime::create().

◆ getCapt

#define getCapt (   sym)    ((captTable.sym == -1) ? QString() : capts.at(captTable.sym))

◆ getSafeCapt

#define getSafeCapt (   sym)    ((captTable.sym == -1) ? QString() : capts.value(captTable.sym))

Definition at line 62 of file qabstractdatetime.cpp.

Referenced by QPatternist::AbstractDateTime::create().