##// END OF EJS Templates
enabled downcasting only on base classes...
enabled downcasting only on base classes git-svn-id: svn://svn.code.sf.net/p/pythonqt/code/trunk@67 ea8d5007-eb21-0410-b261-ccb3ea6e24a9

File last commit:

r28:cf202027b50b
r31:8293debcc536
Show More
PythonQtWrapper_QKeySequence.cpp
95 lines | 2.7 KiB | text/x-c | CppLexer
florianlink
added initial generated wrappers for Qt 4.4.3...
r13 #include "PythonQtWrapper_QKeySequence.h"
florianlink
- added support for deriving CPP classes in Python and to override all public and protected virtual functions from PythonQt...
r24 #include <PythonQtSignalReceiver.h>
#include <PythonQtMethodInfo.h>
#include <PythonQtConversion.h>
florianlink
added initial generated wrappers for Qt 4.4.3...
r13 #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); }
florianlink
upgraded wrappers to current generator version...
r28 bool PythonQtWrapper_QKeySequence::isEmpty(QKeySequence* theWrappedObject) const
florianlink
added initial generated wrappers for Qt 4.4.3...
r13 {
florianlink
upgraded wrappers to current generator version...
r28 return theWrappedObject->isEmpty();
florianlink
added initial generated wrappers for Qt 4.4.3...
r13 }
florianlink
- added support for deriving CPP classes in Python and to override all public and protected virtual functions from PythonQt...
r24 QKeySequence PythonQtWrapper_QKeySequence::static_QKeySequence_mnemonic(const QString& text)
florianlink
added initial generated wrappers for Qt 4.4.3...
r13 {
florianlink
- added support for deriving CPP classes in Python and to override all public and protected virtual functions from PythonQt...
r24 return QKeySequence::mnemonic(text);
florianlink
added initial generated wrappers for Qt 4.4.3...
r13 }
florianlink
- added support for deriving CPP classes in Python and to override all public and protected virtual functions from PythonQt...
r24 int PythonQtWrapper_QKeySequence::operator_subscript(QKeySequence* theWrappedObject, uint i) const
florianlink
added initial generated wrappers for Qt 4.4.3...
r13 {
florianlink
- added support for deriving CPP classes in Python and to override all public and protected virtual functions from PythonQt...
r24 return (*theWrappedObject)[i];
florianlink
added initial generated wrappers for Qt 4.4.3...
r13 }
florianlink
- added support for deriving CPP classes in Python and to override all public and protected virtual functions from PythonQt...
r24 bool PythonQtWrapper_QKeySequence::operator_equal(QKeySequence* theWrappedObject, const QKeySequence& other) const
florianlink
added initial generated wrappers for Qt 4.4.3...
r13 {
florianlink
- added support for deriving CPP classes in Python and to override all public and protected virtual functions from PythonQt...
r24 return (*theWrappedObject)== other;
florianlink
added initial generated wrappers for Qt 4.4.3...
r13 }
florianlink
upgraded wrappers to current generator version...
r28 void PythonQtWrapper_QKeySequence::readFrom(QKeySequence* theWrappedObject, QDataStream& out)
florianlink
added initial generated wrappers for Qt 4.4.3...
r13 {
florianlink
upgraded wrappers to current generator version...
r28 out >> (*theWrappedObject);
florianlink
added initial generated wrappers for Qt 4.4.3...
r13 }
florianlink
- added support for deriving CPP classes in Python and to override all public and protected virtual functions from PythonQt...
r24 uint PythonQtWrapper_QKeySequence::count(QKeySequence* theWrappedObject) const
florianlink
added initial generated wrappers for Qt 4.4.3...
r13 {
florianlink
upgraded wrappers to current generator version...
r28 return theWrappedObject->count();
florianlink
added initial generated wrappers for Qt 4.4.3...
r13 }
florianlink
upgraded wrappers to current generator version...
r28 bool PythonQtWrapper_QKeySequence::operator_less(QKeySequence* theWrappedObject, const QKeySequence& ks) const
florianlink
added initial generated wrappers for Qt 4.4.3...
r13 {
florianlink
upgraded wrappers to current generator version...
r28 return (*theWrappedObject)< ks;
florianlink
added initial generated wrappers for Qt 4.4.3...
r13 }
florianlink
upgraded wrappers to current generator version...
r28 void PythonQtWrapper_QKeySequence::writeTo(QKeySequence* theWrappedObject, QDataStream& in)
florianlink
added initial generated wrappers for Qt 4.4.3...
r13 {
florianlink
upgraded wrappers to current generator version...
r28 in << (*theWrappedObject);
florianlink
added initial generated wrappers for Qt 4.4.3...
r13 }
florianlink
- added support for deriving CPP classes in Python and to override all public and protected virtual functions from PythonQt...
r24 QKeySequence PythonQtWrapper_QKeySequence::static_QKeySequence_fromString(const QString& str, QKeySequence::SequenceFormat format)
florianlink
added initial generated wrappers for Qt 4.4.3...
r13 {
florianlink
- added support for deriving CPP classes in Python and to override all public and protected virtual functions from PythonQt...
r24 return QKeySequence::fromString(str, format);
florianlink
added initial generated wrappers for Qt 4.4.3...
r13 }
florianlink
- added support for deriving CPP classes in Python and to override all public and protected virtual functions from PythonQt...
r24 QKeySequence::SequenceMatch PythonQtWrapper_QKeySequence::matches(QKeySequence* theWrappedObject, const QKeySequence& seq) const
florianlink
added initial generated wrappers for Qt 4.4.3...
r13 {
florianlink
upgraded wrappers to current generator version...
r28 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);
florianlink
added initial generated wrappers for Qt 4.4.3...
r13 }