PythonQtWrapper_QTime.cpp
134 lines
| 3.1 KiB
| text/x-c
|
CppLexer
florianlink
|
r13 | #include "PythonQtWrapper_QTime.h" | ||
#include <QVariant> | ||||
#include <qdatastream.h> | ||||
#include <qdatetime.h> | ||||
QTime* PythonQtWrapper_QTime::new_QTime() | ||||
{ | ||||
return new QTime(); } | ||||
QTime* PythonQtWrapper_QTime::new_QTime(int h, int m, int s, int ms) | ||||
{ | ||||
return new QTime(h, m, s, ms); } | ||||
QTime PythonQtWrapper_QTime::addMSecs(QTime* theWrappedObject, int ms) const | ||||
{ | ||||
return theWrappedObject->addMSecs(ms); | ||||
} | ||||
QTime PythonQtWrapper_QTime::addSecs(QTime* theWrappedObject, int secs) const | ||||
{ | ||||
return theWrappedObject->addSecs(secs); | ||||
} | ||||
QTime PythonQtWrapper_QTime::static_QTime_currentTime() | ||||
{ | ||||
return QTime::currentTime(); | ||||
} | ||||
int PythonQtWrapper_QTime::elapsed(QTime* theWrappedObject) const | ||||
{ | ||||
return theWrappedObject->elapsed(); | ||||
} | ||||
QTime PythonQtWrapper_QTime::static_QTime_fromString(const QString& s, Qt::DateFormat f) | ||||
{ | ||||
return QTime::fromString(s, f); | ||||
} | ||||
QTime PythonQtWrapper_QTime::static_QTime_fromString(const QString& s, const QString& format) | ||||
{ | ||||
return QTime::fromString(s, format); | ||||
} | ||||
int PythonQtWrapper_QTime::hour(QTime* theWrappedObject) const | ||||
{ | ||||
return theWrappedObject->hour(); | ||||
} | ||||
bool PythonQtWrapper_QTime::isNull(QTime* theWrappedObject) const | ||||
{ | ||||
return theWrappedObject->isNull(); | ||||
} | ||||
bool PythonQtWrapper_QTime::isValid(QTime* theWrappedObject) const | ||||
{ | ||||
return theWrappedObject->isValid(); | ||||
} | ||||
bool PythonQtWrapper_QTime::static_QTime_isValid(int h, int m, int s, int ms) | ||||
{ | ||||
return QTime::isValid(h, m, s, ms); | ||||
} | ||||
int PythonQtWrapper_QTime::minute(QTime* theWrappedObject) const | ||||
{ | ||||
return theWrappedObject->minute(); | ||||
} | ||||
int PythonQtWrapper_QTime::msec(QTime* theWrappedObject) const | ||||
{ | ||||
return theWrappedObject->msec(); | ||||
} | ||||
int PythonQtWrapper_QTime::msecsTo(QTime* theWrappedObject, const QTime& arg__1) const | ||||
{ | ||||
return theWrappedObject->msecsTo(arg__1); | ||||
} | ||||
bool PythonQtWrapper_QTime::operator_less(QTime* theWrappedObject, const QTime& other) const | ||||
{ | ||||
return *theWrappedObject < other; | ||||
} | ||||
void PythonQtWrapper_QTime::writeTo(QTime* theWrappedObject, QDataStream& arg__1) | ||||
{ | ||||
arg__1 << *theWrappedObject; | ||||
} | ||||
bool PythonQtWrapper_QTime::operator_equal(QTime* theWrappedObject, const QTime& other) const | ||||
{ | ||||
return *theWrappedObject == other; | ||||
} | ||||
void PythonQtWrapper_QTime::readFrom(QTime* theWrappedObject, QDataStream& arg__1) | ||||
{ | ||||
arg__1 >> *theWrappedObject; | ||||
} | ||||
int PythonQtWrapper_QTime::restart(QTime* theWrappedObject) | ||||
{ | ||||
return theWrappedObject->restart(); | ||||
} | ||||
int PythonQtWrapper_QTime::second(QTime* theWrappedObject) const | ||||
{ | ||||
return theWrappedObject->second(); | ||||
} | ||||
int PythonQtWrapper_QTime::secsTo(QTime* theWrappedObject, const QTime& arg__1) const | ||||
{ | ||||
return theWrappedObject->secsTo(arg__1); | ||||
} | ||||
bool PythonQtWrapper_QTime::setHMS(QTime* theWrappedObject, int h, int m, int s, int ms) | ||||
{ | ||||
return theWrappedObject->setHMS(h, m, s, ms); | ||||
} | ||||
void PythonQtWrapper_QTime::start(QTime* theWrappedObject) | ||||
{ | ||||
theWrappedObject->start(); | ||||
} | ||||
QString PythonQtWrapper_QTime::toString(QTime* theWrappedObject, Qt::DateFormat f) const | ||||
{ | ||||
return theWrappedObject->toString(f); | ||||
} | ||||
QString PythonQtWrapper_QTime::toString(QTime* theWrappedObject, const QString& format) const | ||||
{ | ||||
return theWrappedObject->toString(format); | ||||
} | ||||