##// END OF EJS Templates
added PyLauncher example...
added PyLauncher example added hadError() to scripting console added addSysPath() git-svn-id: svn://svn.code.sf.net/p/pythonqt/code/trunk@50 ea8d5007-eb21-0410-b261-ccb3ea6e24a9

File last commit:

r13:d46b01f7163a
r14:59f352c6d9fb
Show More
PythonQtWrapper_QKeySequence.cpp
92 lines | 2.6 KiB | text/x-c | CppLexer
#include "PythonQtWrapper_QKeySequence.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); }
uint PythonQtWrapper_QKeySequence::count(QKeySequence* theWrappedObject) const
{
return theWrappedObject->count();
}
QKeySequence PythonQtWrapper_QKeySequence::static_QKeySequence_fromString(const QString& str, QKeySequence::SequenceFormat format)
{
return QKeySequence::fromString(str, format);
}
bool PythonQtWrapper_QKeySequence::isEmpty(QKeySequence* theWrappedObject) const
{
return theWrappedObject->isEmpty();
}
QList<QKeySequence > PythonQtWrapper_QKeySequence::static_QKeySequence_keyBindings(QKeySequence::StandardKey key)
{
return QKeySequence::keyBindings(key);
}
QKeySequence::SequenceMatch PythonQtWrapper_QKeySequence::matches(QKeySequence* theWrappedObject, const QKeySequence& seq) const
{
return theWrappedObject->matches(seq);
}
QKeySequence PythonQtWrapper_QKeySequence::static_QKeySequence_mnemonic(const QString& text)
{
return QKeySequence::mnemonic(text);
}
int PythonQtWrapper_QKeySequence::operator_cast_int(QKeySequence* theWrappedObject) const
{
return theWrappedObject->operator int();
}
bool PythonQtWrapper_QKeySequence::operator_less(QKeySequence* theWrappedObject, const QKeySequence& ks) const
{
return *theWrappedObject < ks;
}
void PythonQtWrapper_QKeySequence::writeTo(QKeySequence* theWrappedObject, QDataStream& in)
{
in << *theWrappedObject;
}
bool PythonQtWrapper_QKeySequence::operator_equal(QKeySequence* theWrappedObject, const QKeySequence& other) const
{
return *theWrappedObject == other;
}
void PythonQtWrapper_QKeySequence::readFrom(QKeySequence* theWrappedObject, QDataStream& out)
{
out >> *theWrappedObject;
}
int PythonQtWrapper_QKeySequence::operator_subscript(QKeySequence* theWrappedObject, uint i) const
{
return (*theWrappedObject)[i];
}
QString PythonQtWrapper_QKeySequence::toString(QKeySequence* theWrappedObject, QKeySequence::SequenceFormat format) const
{
return theWrappedObject->toString(format);
}