##// END OF EJS Templates
added alphabetic sorting...
added alphabetic sorting git-svn-id: svn://svn.code.sf.net/p/pythonqt/code/trunk@132 ea8d5007-eb21-0410-b261-ccb3ea6e24a9

File last commit:

r73:40dc86970256
r96:3170eb771a99
Show More
PythonQtWrapper_QColor.cpp
351 lines | 8.4 KiB | text/x-c | CppLexer
#include "PythonQtWrapper_QColor.h"
#include <PythonQtSignalReceiver.h>
#include <PythonQtMethodInfo.h>
#include <PythonQtConversion.h>
#include <QVariant>
#include <qcolor.h>
#include <qdatastream.h>
#include <qstringlist.h>
QColor* PythonQtWrapper_QColor::new_QColor()
{
return new QColor(); }
QColor* PythonQtWrapper_QColor::new_QColor(Qt::GlobalColor color)
{
return new QColor(color); }
QColor* PythonQtWrapper_QColor::new_QColor(const QColor& color)
{
return new QColor(color); }
QColor* PythonQtWrapper_QColor::new_QColor(const QString& name)
{
return new QColor(name); }
QColor* PythonQtWrapper_QColor::new_QColor(int r, int g, int b, int a)
{
return new QColor(r, g, b, a); }
QColor* PythonQtWrapper_QColor::new_QColor(unsigned int rgb)
{
return new QColor(rgb); }
void PythonQtWrapper_QColor::setNamedColor(QColor* theWrappedObject, const QString& name)
{
( theWrappedObject->setNamedColor(name));
}
void PythonQtWrapper_QColor::setRedF(QColor* theWrappedObject, qreal red)
{
( theWrappedObject->setRedF(red));
}
int PythonQtWrapper_QColor::value(QColor* theWrappedObject) const
{
return ( theWrappedObject->value());
}
void PythonQtWrapper_QColor::setBlue(QColor* theWrappedObject, int blue)
{
( theWrappedObject->setBlue(blue));
}
void PythonQtWrapper_QColor::setHsvF(QColor* theWrappedObject, qreal h, qreal s, qreal v, qreal a)
{
( theWrappedObject->setHsvF(h, s, v, a));
}
unsigned int PythonQtWrapper_QColor::rgba(QColor* theWrappedObject) const
{
return ( theWrappedObject->rgba());
}
void PythonQtWrapper_QColor::writeTo(QColor* theWrappedObject, QDataStream& arg__1)
{
arg__1 << (*theWrappedObject);
}
unsigned int PythonQtWrapper_QColor::rgb(QColor* theWrappedObject) const
{
return ( theWrappedObject->rgb());
}
int PythonQtWrapper_QColor::black(QColor* theWrappedObject) const
{
return ( theWrappedObject->black());
}
void PythonQtWrapper_QColor::setRgbF(QColor* theWrappedObject, qreal r, qreal g, qreal b, qreal a)
{
( theWrappedObject->setRgbF(r, g, b, a));
}
void PythonQtWrapper_QColor::setRed(QColor* theWrappedObject, int red)
{
( theWrappedObject->setRed(red));
}
QColor PythonQtWrapper_QColor::toHsv(QColor* theWrappedObject) const
{
return ( theWrappedObject->toHsv());
}
qreal PythonQtWrapper_QColor::saturationF(QColor* theWrappedObject) const
{
return ( theWrappedObject->saturationF());
}
qreal PythonQtWrapper_QColor::valueF(QColor* theWrappedObject) const
{
return ( theWrappedObject->valueF());
}
QColor PythonQtWrapper_QColor::static_QColor_fromRgbF(qreal r, qreal g, qreal b, qreal a)
{
return (QColor::fromRgbF(r, g, b, a));
}
qreal PythonQtWrapper_QColor::magentaF(QColor* theWrappedObject) const
{
return ( theWrappedObject->magentaF());
}
void PythonQtWrapper_QColor::setRgba(QColor* theWrappedObject, unsigned int rgba)
{
( theWrappedObject->setRgba(rgba));
}
int PythonQtWrapper_QColor::hue(QColor* theWrappedObject) const
{
return ( theWrappedObject->hue());
}
void PythonQtWrapper_QColor::setAlphaF(QColor* theWrappedObject, qreal alpha)
{
( theWrappedObject->setAlphaF(alpha));
}
int PythonQtWrapper_QColor::red(QColor* theWrappedObject) const
{
return ( theWrappedObject->red());
}
QColor::Spec PythonQtWrapper_QColor::spec(QColor* theWrappedObject) const
{
return ( theWrappedObject->spec());
}
qreal PythonQtWrapper_QColor::blueF(QColor* theWrappedObject) const
{
return ( theWrappedObject->blueF());
}
void PythonQtWrapper_QColor::setCmyk(QColor* theWrappedObject, int c, int m, int y, int k, int a)
{
( theWrappedObject->setCmyk(c, m, y, k, a));
}
QColor PythonQtWrapper_QColor::toCmyk(QColor* theWrappedObject) const
{
return ( theWrappedObject->toCmyk());
}
qreal PythonQtWrapper_QColor::blackF(QColor* theWrappedObject) const
{
return ( theWrappedObject->blackF());
}
QColor PythonQtWrapper_QColor::toRgb(QColor* theWrappedObject) const
{
return ( theWrappedObject->toRgb());
}
void PythonQtWrapper_QColor::setCmykF(QColor* theWrappedObject, qreal c, qreal m, qreal y, qreal k, qreal a)
{
( theWrappedObject->setCmykF(c, m, y, k, a));
}
qreal PythonQtWrapper_QColor::alphaF(QColor* theWrappedObject) const
{
return ( theWrappedObject->alphaF());
}
QColor PythonQtWrapper_QColor::darker(QColor* theWrappedObject, int f) const
{
return ( theWrappedObject->darker(f));
}
QColor PythonQtWrapper_QColor::static_QColor_fromHsvF(qreal h, qreal s, qreal v, qreal a)
{
return (QColor::fromHsvF(h, s, v, a));
}
qreal PythonQtWrapper_QColor::redF(QColor* theWrappedObject) const
{
return ( theWrappedObject->redF());
}
int PythonQtWrapper_QColor::yellow(QColor* theWrappedObject) const
{
return ( theWrappedObject->yellow());
}
int PythonQtWrapper_QColor::alpha(QColor* theWrappedObject) const
{
return ( theWrappedObject->alpha());
}
QColor PythonQtWrapper_QColor::static_QColor_fromRgb(int r, int g, int b, int a)
{
return (QColor::fromRgb(r, g, b, a));
}
qreal PythonQtWrapper_QColor::greenF(QColor* theWrappedObject) const
{
return ( theWrappedObject->greenF());
}
void PythonQtWrapper_QColor::setBlueF(QColor* theWrappedObject, qreal blue)
{
( theWrappedObject->setBlueF(blue));
}
QColor PythonQtWrapper_QColor::convertTo(QColor* theWrappedObject, QColor::Spec colorSpec) const
{
return ( theWrappedObject->convertTo(colorSpec));
}
void PythonQtWrapper_QColor::setHsv(QColor* theWrappedObject, int h, int s, int v, int a)
{
( theWrappedObject->setHsv(h, s, v, a));
}
int PythonQtWrapper_QColor::cyan(QColor* theWrappedObject) const
{
return ( theWrappedObject->cyan());
}
QColor PythonQtWrapper_QColor::static_QColor_fromHsv(int h, int s, int v, int a)
{
return (QColor::fromHsv(h, s, v, a));
}
QColor PythonQtWrapper_QColor::static_QColor_fromRgba(unsigned int rgba)
{
return (QColor::fromRgba(rgba));
}
void PythonQtWrapper_QColor::setRgb(QColor* theWrappedObject, int r, int g, int b, int a)
{
( theWrappedObject->setRgb(r, g, b, a));
}
bool PythonQtWrapper_QColor::operator_equal(QColor* theWrappedObject, const QColor& c) const
{
return ( (*theWrappedObject)== c);
}
void PythonQtWrapper_QColor::readFrom(QColor* theWrappedObject, QDataStream& arg__1)
{
arg__1 >> (*theWrappedObject);
}
void PythonQtWrapper_QColor::setAlpha(QColor* theWrappedObject, int alpha)
{
( theWrappedObject->setAlpha(alpha));
}
int PythonQtWrapper_QColor::green(QColor* theWrappedObject) const
{
return ( theWrappedObject->green());
}
QColor PythonQtWrapper_QColor::static_QColor_fromRgb(unsigned int rgb)
{
return (QColor::fromRgb(rgb));
}
QColor PythonQtWrapper_QColor::static_QColor_fromCmyk(int c, int m, int y, int k, int a)
{
return (QColor::fromCmyk(c, m, y, k, a));
}
qreal PythonQtWrapper_QColor::yellowF(QColor* theWrappedObject) const
{
return ( theWrappedObject->yellowF());
}
qreal PythonQtWrapper_QColor::cyanF(QColor* theWrappedObject) const
{
return ( theWrappedObject->cyanF());
}
QColor PythonQtWrapper_QColor::static_QColor_fromCmykF(qreal c, qreal m, qreal y, qreal k, qreal a)
{
return (QColor::fromCmykF(c, m, y, k, a));
}
int PythonQtWrapper_QColor::magenta(QColor* theWrappedObject) const
{
return ( theWrappedObject->magenta());
}
int PythonQtWrapper_QColor::saturation(QColor* theWrappedObject) const
{
return ( theWrappedObject->saturation());
}
int PythonQtWrapper_QColor::blue(QColor* theWrappedObject) const
{
return ( theWrappedObject->blue());
}
QStringList PythonQtWrapper_QColor::static_QColor_colorNames()
{
return (QColor::colorNames());
}
qreal PythonQtWrapper_QColor::hueF(QColor* theWrappedObject) const
{
return ( theWrappedObject->hueF());
}
bool PythonQtWrapper_QColor::isValid(QColor* theWrappedObject) const
{
return ( theWrappedObject->isValid());
}
void PythonQtWrapper_QColor::setGreen(QColor* theWrappedObject, int green)
{
( theWrappedObject->setGreen(green));
}
void PythonQtWrapper_QColor::setRgb(QColor* theWrappedObject, unsigned int rgb)
{
( theWrappedObject->setRgb(rgb));
}
QString PythonQtWrapper_QColor::name(QColor* theWrappedObject) const
{
return ( theWrappedObject->name());
}
void PythonQtWrapper_QColor::setGreenF(QColor* theWrappedObject, qreal green)
{
( theWrappedObject->setGreenF(green));
}
QColor PythonQtWrapper_QColor::lighter(QColor* theWrappedObject, int f) const
{
return ( theWrappedObject->lighter(f));
}
QString PythonQtWrapper_QColor::toString(QColor* obj) {
QString result;
QDebug d(&result);
d << *obj;
return result;
}