##// END OF EJS Templates
added builtin support for variants etc., this will replace the direct includes in PythonQt...
added builtin support for variants etc., this will replace the direct includes in PythonQt git-svn-id: svn://svn.code.sf.net/p/pythonqt/code/trunk@129 ea8d5007-eb21-0410-b261-ccb3ea6e24a9

File last commit:

r73:40dc86970256
r93:7b53f64eae84
Show More
PythonQtWrapper_QTextFormat.cpp
265 lines | 7.6 KiB | text/x-c | CppLexer
#include "PythonQtWrapper_QTextFormat.h"
#include <PythonQtSignalReceiver.h>
#include <PythonQtMethodInfo.h>
#include <PythonQtConversion.h>
#include <QVariant>
#include <qbrush.h>
#include <qcolor.h>
#include <qdatastream.h>
#include <qpen.h>
#include <qtextformat.h>
#include <qvector.h>
QTextFormat* PythonQtWrapper_QTextFormat::new_QTextFormat()
{
return new QTextFormat(); }
QTextFormat* PythonQtWrapper_QTextFormat::new_QTextFormat(const QTextFormat& rhs)
{
return new QTextFormat(rhs); }
QTextFormat* PythonQtWrapper_QTextFormat::new_QTextFormat(int type)
{
return new QTextFormat(type); }
int PythonQtWrapper_QTextFormat::type(QTextFormat* theWrappedObject) const
{
return ( theWrappedObject->type());
}
int PythonQtWrapper_QTextFormat::intProperty(QTextFormat* theWrappedObject, int propertyId) const
{
return ( theWrappedObject->intProperty(propertyId));
}
void PythonQtWrapper_QTextFormat::merge(QTextFormat* theWrappedObject, const QTextFormat& other)
{
( theWrappedObject->merge(other));
}
void PythonQtWrapper_QTextFormat::setObjectType(QTextFormat* theWrappedObject, int type)
{
( theWrappedObject->setObjectType(type));
}
bool PythonQtWrapper_QTextFormat::isTableCellFormat(QTextFormat* theWrappedObject) const
{
return ( theWrappedObject->isTableCellFormat());
}
Qt::LayoutDirection PythonQtWrapper_QTextFormat::layoutDirection(QTextFormat* theWrappedObject) const
{
return ( theWrappedObject->layoutDirection());
}
int PythonQtWrapper_QTextFormat::objectIndex(QTextFormat* theWrappedObject) const
{
return ( theWrappedObject->objectIndex());
}
void PythonQtWrapper_QTextFormat::clearBackground(QTextFormat* theWrappedObject)
{
( theWrappedObject->clearBackground());
}
QTextCharFormat PythonQtWrapper_QTextFormat::toCharFormat(QTextFormat* theWrappedObject) const
{
return ( theWrappedObject->toCharFormat());
}
int PythonQtWrapper_QTextFormat::propertyCount(QTextFormat* theWrappedObject) const
{
return ( theWrappedObject->propertyCount());
}
QTextListFormat PythonQtWrapper_QTextFormat::toListFormat(QTextFormat* theWrappedObject) const
{
return ( theWrappedObject->toListFormat());
}
int PythonQtWrapper_QTextFormat::objectType(QTextFormat* theWrappedObject) const
{
return ( theWrappedObject->objectType());
}
QVariant PythonQtWrapper_QTextFormat::property(QTextFormat* theWrappedObject, int propertyId) const
{
return ( theWrappedObject->property(propertyId));
}
bool PythonQtWrapper_QTextFormat::isValid(QTextFormat* theWrappedObject) const
{
return ( theWrappedObject->isValid());
}
void PythonQtWrapper_QTextFormat::clearProperty(QTextFormat* theWrappedObject, int propertyId)
{
( theWrappedObject->clearProperty(propertyId));
}
QMap<int , QVariant > PythonQtWrapper_QTextFormat::properties(QTextFormat* theWrappedObject) const
{
return ( theWrappedObject->properties());
}
void PythonQtWrapper_QTextFormat::setLayoutDirection(QTextFormat* theWrappedObject, Qt::LayoutDirection direction)
{
( theWrappedObject->setLayoutDirection(direction));
}
qreal PythonQtWrapper_QTextFormat::doubleProperty(QTextFormat* theWrappedObject, int propertyId) const
{
return ( theWrappedObject->doubleProperty(propertyId));
}
void PythonQtWrapper_QTextFormat::readFrom(QTextFormat* theWrappedObject, QDataStream& arg__1)
{
arg__1 >> (*theWrappedObject);
}
void PythonQtWrapper_QTextFormat::writeTo(QTextFormat* theWrappedObject, QDataStream& arg__1)
{
arg__1 << (*theWrappedObject);
}
void PythonQtWrapper_QTextFormat::setProperty(QTextFormat* theWrappedObject, int propertyId, const QVariant& value)
{
( theWrappedObject->setProperty(propertyId, value));
}
bool PythonQtWrapper_QTextFormat::isListFormat(QTextFormat* theWrappedObject) const
{
return ( theWrappedObject->isListFormat());
}
bool PythonQtWrapper_QTextFormat::operator_equal(QTextFormat* theWrappedObject, const QTextFormat& rhs) const
{
return ( (*theWrappedObject)== rhs);
}
QColor PythonQtWrapper_QTextFormat::colorProperty(QTextFormat* theWrappedObject, int propertyId) const
{
return ( theWrappedObject->colorProperty(propertyId));
}
bool PythonQtWrapper_QTextFormat::isFrameFormat(QTextFormat* theWrappedObject) const
{
return ( theWrappedObject->isFrameFormat());
}
bool PythonQtWrapper_QTextFormat::isImageFormat(QTextFormat* theWrappedObject) const
{
return ( theWrappedObject->isImageFormat());
}
QString PythonQtWrapper_QTextFormat::stringProperty(QTextFormat* theWrappedObject, int propertyId) const
{
return ( theWrappedObject->stringProperty(propertyId));
}
QBrush PythonQtWrapper_QTextFormat::brushProperty(QTextFormat* theWrappedObject, int propertyId) const
{
return ( theWrappedObject->brushProperty(propertyId));
}
QPen PythonQtWrapper_QTextFormat::penProperty(QTextFormat* theWrappedObject, int propertyId) const
{
return ( theWrappedObject->penProperty(propertyId));
}
bool PythonQtWrapper_QTextFormat::boolProperty(QTextFormat* theWrappedObject, int propertyId) const
{
return ( theWrappedObject->boolProperty(propertyId));
}
QTextFrameFormat PythonQtWrapper_QTextFormat::toFrameFormat(QTextFormat* theWrappedObject) const
{
return ( theWrappedObject->toFrameFormat());
}
QTextImageFormat PythonQtWrapper_QTextFormat::toImageFormat(QTextFormat* theWrappedObject) const
{
return ( theWrappedObject->toImageFormat());
}
bool PythonQtWrapper_QTextFormat::isBlockFormat(QTextFormat* theWrappedObject) const
{
return ( theWrappedObject->isBlockFormat());
}
QBrush PythonQtWrapper_QTextFormat::foreground(QTextFormat* theWrappedObject) const
{
return ( theWrappedObject->foreground());
}
void PythonQtWrapper_QTextFormat::setBackground(QTextFormat* theWrappedObject, const QBrush& brush)
{
( theWrappedObject->setBackground(brush));
}
bool PythonQtWrapper_QTextFormat::hasProperty(QTextFormat* theWrappedObject, int propertyId) const
{
return ( theWrappedObject->hasProperty(propertyId));
}
void PythonQtWrapper_QTextFormat::setObjectIndex(QTextFormat* theWrappedObject, int object)
{
( theWrappedObject->setObjectIndex(object));
}
QTextLength PythonQtWrapper_QTextFormat::lengthProperty(QTextFormat* theWrappedObject, int propertyId) const
{
return ( theWrappedObject->lengthProperty(propertyId));
}
QBrush PythonQtWrapper_QTextFormat::background(QTextFormat* theWrappedObject) const
{
return ( theWrappedObject->background());
}
void PythonQtWrapper_QTextFormat::setProperty(QTextFormat* theWrappedObject, int propertyId, const QVector<QTextLength >& lengths)
{
( theWrappedObject->setProperty(propertyId, lengths));
}
void PythonQtWrapper_QTextFormat::clearForeground(QTextFormat* theWrappedObject)
{
( theWrappedObject->clearForeground());
}
QVector<QTextLength > PythonQtWrapper_QTextFormat::lengthVectorProperty(QTextFormat* theWrappedObject, int propertyId) const
{
return ( theWrappedObject->lengthVectorProperty(propertyId));
}
QTextTableCellFormat PythonQtWrapper_QTextFormat::toTableCellFormat(QTextFormat* theWrappedObject) const
{
return ( theWrappedObject->toTableCellFormat());
}
QTextBlockFormat PythonQtWrapper_QTextFormat::toBlockFormat(QTextFormat* theWrappedObject) const
{
return ( theWrappedObject->toBlockFormat());
}
void PythonQtWrapper_QTextFormat::setForeground(QTextFormat* theWrappedObject, const QBrush& brush)
{
( theWrappedObject->setForeground(brush));
}
bool PythonQtWrapper_QTextFormat::isTableFormat(QTextFormat* theWrappedObject) const
{
return ( theWrappedObject->isTableFormat());
}
QTextTableFormat PythonQtWrapper_QTextFormat::toTableFormat(QTextFormat* theWrappedObject) const
{
return ( theWrappedObject->toTableFormat());
}
bool PythonQtWrapper_QTextFormat::isCharFormat(QTextFormat* theWrappedObject) const
{
return ( theWrappedObject->isCharFormat());
}