@@ -5,4 +5,26 | |||
|
5 | 5 | #include <PythonQtConversion.h> |
|
6 | 6 | #include <QTextDocument> |
|
7 | 7 | #include <QVariant> |
|
8 | #include <qbytearray.h> | |
|
9 | #include <qtextcodec.h> | |
|
10 | ||
|
11 | bool PythonQtWrapper_Qt::static_Qt_mightBeRichText(const QString& arg__1) | |
|
12 | { | |
|
13 | return Qt::mightBeRichText(arg__1); | |
|
14 | } | |
|
15 | ||
|
16 | QString PythonQtWrapper_Qt::static_Qt_convertFromPlainText(const QString& plain, Qt::WhiteSpaceMode mode) | |
|
17 | { | |
|
18 | return Qt::convertFromPlainText(plain, mode); | |
|
19 | } | |
|
20 | ||
|
21 | QTextCodec* PythonQtWrapper_Qt::static_Qt_codecForHtml(const QByteArray& ba) | |
|
22 | { | |
|
23 | return Qt::codecForHtml(ba); | |
|
24 | } | |
|
25 | ||
|
26 | QString PythonQtWrapper_Qt::static_Qt_escape(const QString& plain) | |
|
27 | { | |
|
28 | return Qt::escape(plain); | |
|
29 | } | |
|
8 | 30 |
@@ -8,6 +8,8 | |||
|
8 | 8 | |
|
9 | 9 | #include <QTextDocument> |
|
10 | 10 | #include <QVariant> |
|
11 | #include <qbytearray.h> | |
|
12 | #include <qtextcodec.h> | |
|
11 | 13 | |
|
12 | 14 | class PythonQtWrapper_Qt : public QObject |
|
13 | 15 | { Q_OBJECT |
@@ -140,6 +142,10 enum ItemFlag{ | |||
|
140 | 142 | enum HitTestAccuracy{ |
|
141 | 143 | ExactHit = Qt::ExactHit, FuzzyHit = Qt::FuzzyHit}; |
|
142 | 144 | public slots: |
|
145 | bool static_Qt_mightBeRichText(const QString& arg__1); | |
|
146 | QString static_Qt_convertFromPlainText(const QString& plain, Qt::WhiteSpaceMode mode = Qt::WhiteSpacePre); | |
|
147 | QTextCodec* static_Qt_codecForHtml(const QByteArray& ba); | |
|
148 | QString static_Qt_escape(const QString& plain); | |
|
143 | 149 | }; |
|
144 | 150 | |
|
145 | 151 | #endif // PYTHONQTWRAPPER_QT_H |
General Comments 0
You need to be logged in to leave comments.
Login now