##// 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:

r28:cf202027b50b
r93:7b53f64eae84
Show More
PythonQtWrapper_QTextBlockGroup.h
51 lines | 1.7 KiB | text/x-c | CLexer
#ifndef PYTHONQTWRAPPER_QTEXTBLOCKGROUP_H
#define PYTHONQTWRAPPER_QTEXTBLOCKGROUP_H
#include <qtextobject.h>
#include <QObject>
#include <PythonQt.h>
#include <QVariant>
#include <qbytearray.h>
#include <qcoreevent.h>
#include <qlist.h>
#include <qobject.h>
#include <qtextdocument.h>
#include <qtextformat.h>
#include <qtextobject.h>
class PythonQtShell_QTextBlockGroup : public QTextBlockGroup
{
public:
PythonQtShell_QTextBlockGroup(QTextDocument* doc):QTextBlockGroup(doc),_wrapper(NULL) {};
virtual void blockFormatChanged(const QTextBlock& block);
virtual void blockInserted(const QTextBlock& block);
virtual void blockRemoved(const QTextBlock& block);
virtual void childEvent(QChildEvent* arg__1);
virtual void customEvent(QEvent* arg__1);
virtual bool event(QEvent* arg__1);
virtual bool eventFilter(QObject* arg__1, QEvent* arg__2);
virtual void timerEvent(QTimerEvent* arg__1);
PythonQtInstanceWrapper* _wrapper;
};
class PythonQtPublicPromoter_QTextBlockGroup : public QTextBlockGroup
{ public:
inline void promoted_blockInserted(const QTextBlock& block) { QTextBlockGroup::blockInserted(block); }
inline void promoted_blockFormatChanged(const QTextBlock& block) { QTextBlockGroup::blockFormatChanged(block); }
inline void promoted_blockRemoved(const QTextBlock& block) { QTextBlockGroup::blockRemoved(block); }
};
class PythonQtWrapper_QTextBlockGroup : public QObject
{ Q_OBJECT
public:
public slots:
void blockInserted(QTextBlockGroup* theWrappedObject, const QTextBlock& block);
void blockFormatChanged(QTextBlockGroup* theWrappedObject, const QTextBlock& block);
void blockRemoved(QTextBlockGroup* theWrappedObject, const QTextBlock& block);
};
#endif // PYTHONQTWRAPPER_QTEXTBLOCKGROUP_H