##// END OF EJS Templates
improved so that dict contains properties and that dir() shows all available things, including the derived base attributes...
improved so that dict contains properties and that dir() shows all available things, including the derived base attributes git-svn-id: svn://svn.code.sf.net/p/pythonqt/code/trunk@70 ea8d5007-eb21-0410-b261-ccb3ea6e24a9

File last commit:

r28:cf202027b50b
r34:5daedfb035c8
Show More
PythonQtWrapper_QKeySequence.cpp
95 lines | 2.7 KiB | text/x-c | CppLexer
#include "PythonQtWrapper_QKeySequence.h"
#include <PythonQtSignalReceiver.h>
#include <PythonQtMethodInfo.h>
#include <PythonQtConversion.h>
#include <QVariant>
#include <qdatastream.h>
#include <qkeysequence.h>
#include <qlist.h>
QKeySequence* PythonQtWrapper_QKeySequence::new_QKeySequence()
{
return new QKeySequence(); }
QKeySequence* PythonQtWrapper_QKeySequence::new_QKeySequence(QKeySequence::StandardKey key)
{
return new QKeySequence(key); }
QKeySequence* PythonQtWrapper_QKeySequence::new_QKeySequence(const QKeySequence& ks)
{
return new QKeySequence(ks); }
QKeySequence* PythonQtWrapper_QKeySequence::new_QKeySequence(const QString& key)
{
return new QKeySequence(key); }
QKeySequence* PythonQtWrapper_QKeySequence::new_QKeySequence(int k1, int k2, int k3, int k4)
{
return new QKeySequence(k1, k2, k3, k4); }
bool PythonQtWrapper_QKeySequence::isEmpty(QKeySequence* theWrappedObject) const
{
return theWrappedObject->isEmpty();
}
QKeySequence PythonQtWrapper_QKeySequence::static_QKeySequence_mnemonic(const QString& text)
{
return QKeySequence::mnemonic(text);
}
int PythonQtWrapper_QKeySequence::operator_subscript(QKeySequence* theWrappedObject, uint i) const
{
return (*theWrappedObject)[i];
}
bool PythonQtWrapper_QKeySequence::operator_equal(QKeySequence* theWrappedObject, const QKeySequence& other) const
{
return (*theWrappedObject)== other;
}
void PythonQtWrapper_QKeySequence::readFrom(QKeySequence* theWrappedObject, QDataStream& out)
{
out >> (*theWrappedObject);
}
uint PythonQtWrapper_QKeySequence::count(QKeySequence* theWrappedObject) const
{
return theWrappedObject->count();
}
bool PythonQtWrapper_QKeySequence::operator_less(QKeySequence* theWrappedObject, const QKeySequence& ks) const
{
return (*theWrappedObject)< ks;
}
void PythonQtWrapper_QKeySequence::writeTo(QKeySequence* theWrappedObject, QDataStream& in)
{
in << (*theWrappedObject);
}
QKeySequence PythonQtWrapper_QKeySequence::static_QKeySequence_fromString(const QString& str, QKeySequence::SequenceFormat format)
{
return QKeySequence::fromString(str, format);
}
QKeySequence::SequenceMatch PythonQtWrapper_QKeySequence::matches(QKeySequence* theWrappedObject, const QKeySequence& seq) const
{
return theWrappedObject->matches(seq);
}
int PythonQtWrapper_QKeySequence::operator_cast_int(QKeySequence* theWrappedObject) const
{
return theWrappedObject->operator int();
}
QString PythonQtWrapper_QKeySequence::toString(QKeySequence* theWrappedObject, QKeySequence::SequenceFormat format) const
{
return theWrappedObject->toString(format);
}
QList<QKeySequence > PythonQtWrapper_QKeySequence::static_QKeySequence_keyBindings(QKeySequence::StandardKey key)
{
return QKeySequence::keyBindings(key);
}