##// END OF EJS Templates
added methods to qt namespace...
added methods to qt namespace git-svn-id: svn://svn.code.sf.net/p/pythonqt/code/trunk@71 ea8d5007-eb21-0410-b261-ccb3ea6e24a9

File last commit:

r24:f543ed746063
r35:b8dce620ba5c
Show More
PythonQtWrapper_QSyntaxHighlighter.h
51 lines | 1.7 KiB | text/x-c | CLexer
/ generated_cpp / com_trolltech_qt_gui / PythonQtWrapper_QSyntaxHighlighter.h
#ifndef PYTHONQTWRAPPER_QSYNTAXHIGHLIGHTER_H
#define PYTHONQTWRAPPER_QSYNTAXHIGHLIGHTER_H
#include <qsyntaxhighlighter.h>
#include <QObject>
#include <PythonQt.h>
#include <QVariant>
#include <qbytearray.h>
#include <qcolor.h>
#include <qcoreevent.h>
#include <qfont.h>
#include <qlist.h>
#include <qobject.h>
#include <qsyntaxhighlighter.h>
#include <qtextdocument.h>
#include <qtextedit.h>
#include <qtextformat.h>
#include <qtextobject.h>
class PythonQtShell_QSyntaxHighlighter : public QSyntaxHighlighter
{
public:
PythonQtShell_QSyntaxHighlighter(QObject* parent):QSyntaxHighlighter(parent),_wrapper(NULL) {};
PythonQtShell_QSyntaxHighlighter(QTextDocument* parent):QSyntaxHighlighter(parent),_wrapper(NULL) {};
PythonQtShell_QSyntaxHighlighter(QTextEdit* parent):QSyntaxHighlighter(parent),_wrapper(NULL) {};
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 highlightBlock(const QString& text);
virtual void timerEvent(QTimerEvent* arg__1);
PythonQtInstanceWrapper* _wrapper;
};
class PythonQtWrapper_QSyntaxHighlighter : public QObject
{ Q_OBJECT
public:
public slots:
QSyntaxHighlighter* new_QSyntaxHighlighter(QObject* parent);
QSyntaxHighlighter* new_QSyntaxHighlighter(QTextDocument* parent);
QSyntaxHighlighter* new_QSyntaxHighlighter(QTextEdit* parent);
void delete_QSyntaxHighlighter(QSyntaxHighlighter* obj) { delete obj; }
QTextDocument* document(QSyntaxHighlighter* theWrappedObject) const;
void setDocument(QSyntaxHighlighter* theWrappedObject, QTextDocument* doc);
};
#endif // PYTHONQTWRAPPER_QSYNTAXHIGHLIGHTER_H