added "install" instruction
[Leditor.git] / src / lqt_bind_QTextEdit.hpp
blob316e63c620241fb4628f48e852e453ca2872c8c2
1 #include "lqt_common.hpp"
2 #include <QTextEdit>
3 #include <QtCore>
4 #include <QtGui>
6 template <> class LuaBinder< QTextEdit > : public QTextEdit {
7 private:
8 lua_State *L;
9 public:
10 static int __LuaWrapCall__lineWrapColumnOrWidth (lua_State *L);
11 static int __LuaWrapCall__lineWrapMode (lua_State *L);
12 static int __LuaWrapCall__ensureCursorVisible (lua_State *L);
13 static int __LuaWrapCall__cut (lua_State *L);
14 static int __LuaWrapCall__selectAll (lua_State *L);
15 static int __LuaWrapCall__copy (lua_State *L);
16 static int __LuaWrapCall__fontFamily (lua_State *L);
17 static int __LuaWrapCall__insertHtml (lua_State *L);
18 static int __LuaWrapCall__fontWeight (lua_State *L);
19 static int __LuaWrapCall__setLineWrapMode (lua_State *L);
20 static int __LuaWrapCall__setAlignment (lua_State *L);
21 static int __LuaWrapCall__isUndoRedoEnabled (lua_State *L);
22 static int __LuaWrapCall__setReadOnly (lua_State *L);
23 static int __LuaWrapCall__document (lua_State *L);
24 static int __LuaWrapCall__setDocumentTitle (lua_State *L);
25 static int __LuaWrapCall__documentTitle (lua_State *L);
26 static int __LuaWrapCall__setTextCursor (lua_State *L);
27 static int __LuaWrapCall__setFontPointSize (lua_State *L);
28 static int __LuaWrapCall__tabChangesFocus (lua_State *L);
29 static int __LuaWrapCall__setWordWrapMode (lua_State *L);
30 static int __LuaWrapCall__metaObject (lua_State *L);
31 static int __LuaWrapCall__cursorWidth (lua_State *L);
32 static int __LuaWrapCall__setDocument (lua_State *L);
33 static int __LuaWrapCall__delete (lua_State *L);
34 static int __LuaWrapCall__isReadOnly (lua_State *L);
35 static int __LuaWrapCall__textCursor (lua_State *L);
36 static int __LuaWrapCall__setTextInteractionFlags (lua_State *L);
37 static int __LuaWrapCall__zoomIn (lua_State *L);
38 static int __LuaWrapCall__undo (lua_State *L);
39 static int __LuaWrapCall__paste (lua_State *L);
40 static int __LuaWrapCall__fontUnderline (lua_State *L);
41 static int __LuaWrapCall__textColor (lua_State *L);
42 static int __LuaWrapCall__setFontFamily (lua_State *L);
43 static int __LuaWrapCall__createStandardContextMenu (lua_State *L);
44 static int __LuaWrapCall__setFontItalic (lua_State *L);
45 static int __LuaWrapCall__print (lua_State *L);
46 static int __LuaWrapCall__cursorForPosition (lua_State *L);
47 static int __LuaWrapCall__autoFormatting (lua_State *L);
48 static int __LuaWrapCall__fontItalic (lua_State *L);
49 static int __LuaWrapCall__trUtf8__OverloadedVersion__1 (lua_State *L);
50 static int __LuaWrapCall__trUtf8__OverloadedVersion__2 (lua_State *L);
51 static int __LuaWrapCall__trUtf8 (lua_State *L);
52 static int __LuaWrapCall__setTabStopWidth (lua_State *L);
53 static int __LuaWrapCall__setUndoRedoEnabled (lua_State *L);
54 static int __LuaWrapCall__currentCharFormat (lua_State *L);
55 static int __LuaWrapCall__find (lua_State *L);
56 static int __LuaWrapCall__textInteractionFlags (lua_State *L);
57 static int __LuaWrapCall__setCurrentFont (lua_State *L);
58 static int __LuaWrapCall__mergeCurrentCharFormat (lua_State *L);
59 static int __LuaWrapCall__scrollToAnchor (lua_State *L);
60 static int __LuaWrapCall__append (lua_State *L);
61 static int __LuaWrapCall__tabStopWidth (lua_State *L);
62 static int __LuaWrapCall__loadResource (lua_State *L);
63 static int __LuaWrapCall__setLineWrapColumnOrWidth (lua_State *L);
64 static int __LuaWrapCall__clear (lua_State *L);
65 static int __LuaWrapCall__setTabChangesFocus (lua_State *L);
66 static int __LuaWrapCall__redo (lua_State *L);
67 static int __LuaWrapCall__extraSelections (lua_State *L);
68 static int __LuaWrapCall__acceptRichText (lua_State *L);
69 static int __LuaWrapCall__toPlainText (lua_State *L);
70 static int __LuaWrapCall__setExtraSelections (lua_State *L);
71 static int __LuaWrapCall__currentFont (lua_State *L);
72 static int __LuaWrapCall__setAcceptRichText (lua_State *L);
73 static int __LuaWrapCall__wordWrapMode (lua_State *L);
74 static int __LuaWrapCall__setAutoFormatting (lua_State *L);
75 static int __LuaWrapCall__setCurrentCharFormat (lua_State *L);
76 static int __LuaWrapCall__setPlainText (lua_State *L);
77 static int __LuaWrapCall__setTextColor (lua_State *L);
78 static int __LuaWrapCall__fontPointSize (lua_State *L);
79 static int __LuaWrapCall__new__OverloadedVersion__1 (lua_State *L);
80 static int __LuaWrapCall__new__OverloadedVersion__2 (lua_State *L);
81 static int __LuaWrapCall__new (lua_State *L);
82 static int __LuaWrapCall__setFontUnderline (lua_State *L);
83 static int __LuaWrapCall__canPaste (lua_State *L);
84 static int __LuaWrapCall__anchorAt (lua_State *L);
85 static int __LuaWrapCall__toHtml (lua_State *L);
86 static int __LuaWrapCall__tr__OverloadedVersion__1 (lua_State *L);
87 static int __LuaWrapCall__tr__OverloadedVersion__2 (lua_State *L);
88 static int __LuaWrapCall__tr (lua_State *L);
89 static int __LuaWrapCall__setFontWeight (lua_State *L);
90 static int __LuaWrapCall__zoomOut (lua_State *L);
91 static int __LuaWrapCall__setHtml (lua_State *L);
92 static int __LuaWrapCall__setCursorWidth (lua_State *L);
93 static int __LuaWrapCall__overwriteMode (lua_State *L);
94 static int __LuaWrapCall__alignment (lua_State *L);
95 static int __LuaWrapCall__setText (lua_State *L);
96 static int __LuaWrapCall__setOverwriteMode (lua_State *L);
97 static int __LuaWrapCall__cursorRect__OverloadedVersion__1 (lua_State *L);
98 static int __LuaWrapCall__cursorRect__OverloadedVersion__2 (lua_State *L);
99 static int __LuaWrapCall__cursorRect (lua_State *L);
100 static int __LuaWrapCall__insertPlainText (lua_State *L);
101 static int __LuaWrapCall__moveCursor (lua_State *L);
102 protected:
103 void styleChange (QStyle& arg1);
104 public:
105 protected:
106 void focusInEvent (QFocusEvent * arg1);
107 public:
108 protected:
109 void keyPressEvent (QKeyEvent * arg1);
110 public:
111 const QMetaObject * metaObject () const;
112 int devType () const;
113 void setVisible (bool arg1);
114 protected:
115 void keyReleaseEvent (QKeyEvent * arg1);
116 public:
117 protected:
118 void scrollContentsBy (int arg1, int arg2);
119 public:
120 protected:
121 void dragLeaveEvent (QDragLeaveEvent * arg1);
122 public:
123 protected:
124 void mousePressEvent (QMouseEvent * arg1);
125 public:
126 protected:
127 void customEvent (QEvent * arg1);
128 public:
129 protected:
130 void dragMoveEvent (QDragMoveEvent * arg1);
131 public:
132 QSize sizeHint () const;
133 protected:
134 bool canInsertFromMimeData (const QMimeData * arg1) const;
135 public:
136 protected:
137 void changeEvent (QEvent * arg1);
138 public:
139 protected:
140 bool viewportEvent (QEvent * arg1);
141 public:
142 protected:
143 void mouseReleaseEvent (QMouseEvent * arg1);
144 public:
145 protected:
146 void tabletEvent (QTabletEvent * arg1);
147 public:
148 QPaintEngine * paintEngine () const;
149 protected:
150 void closeEvent (QCloseEvent * arg1);
151 public:
152 protected:
153 bool focusNextPrevChild (bool arg1);
154 public:
155 protected:
156 void dropEvent (QDropEvent * arg1);
157 public:
158 protected:
159 void fontChange (const QFont& arg1);
160 public:
161 protected:
162 void insertFromMimeData (const QMimeData * arg1);
163 public:
164 protected:
165 void showEvent (QShowEvent * arg1);
166 public:
167 protected:
168 void connectNotify (const char * arg1);
169 public:
170 protected:
171 void paintEvent (QPaintEvent * arg1);
172 public:
173 protected:
174 void windowActivationChange (bool arg1);
175 public:
176 protected:
177 void disconnectNotify (const char * arg1);
178 public:
179 protected:
180 QMimeData * createMimeDataFromSelection () const;
181 public:
182 protected:
183 int metric (QPaintDevice::PaintDeviceMetric arg1) const;
184 public:
185 int heightForWidth (int arg1) const;
186 protected:
187 void mouseDoubleClickEvent (QMouseEvent * arg1);
188 public:
189 protected:
190 void enabledChange (bool arg1);
191 public:
192 protected:
193 void timerEvent (QTimerEvent * arg1);
194 public:
195 QVariant loadResource (int arg1, const QUrl& arg2);
196 protected:
197 void actionEvent (QActionEvent * arg1);
198 public:
199 protected:
200 void childEvent (QChildEvent * arg1);
201 public:
202 protected:
203 void focusOutEvent (QFocusEvent * arg1);
204 public:
205 QSize minimumSizeHint () const;
206 protected:
207 void moveEvent (QMoveEvent * arg1);
208 public:
209 bool eventFilter (QObject * arg1, QEvent * arg2);
210 protected:
211 void inputMethodEvent (QInputMethodEvent * arg1);
212 public:
213 protected:
214 void wheelEvent (QWheelEvent * arg1);
215 public:
216 protected:
217 void resizeEvent (QResizeEvent * arg1);
218 public:
219 protected:
220 void paletteChange (const QPalette& arg1);
221 public:
222 protected:
223 void languageChange ();
224 public:
225 protected:
226 bool event (QEvent * arg1);
227 public:
228 protected:
229 void hideEvent (QHideEvent * arg1);
230 public:
231 protected:
232 void contextMenuEvent (QContextMenuEvent * arg1);
233 public:
234 protected:
235 QVariant inputMethodQuery (Qt::InputMethodQuery arg1) const;
236 public:
237 protected:
238 void mouseMoveEvent (QMouseEvent * arg1);
239 public:
240 protected:
241 void leaveEvent (QEvent * arg1);
242 public:
243 protected:
244 void dragEnterEvent (QDragEnterEvent * arg1);
245 public:
246 protected:
247 void enterEvent (QEvent * arg1);
248 public:
249 ~LuaBinder< QTextEdit > ();
250 static int lqt_pushenum_LineWrapMode (lua_State *L);
251 static int lqt_pushenum_LineWrapMode_QFLAGS_CREATOR (lua_State *L);
252 static int lqt_pushenum_AutoFormattingFlag (lua_State *L);
253 static int lqt_pushenum_AutoFormattingFlag_QFLAGS_CREATOR (lua_State *L);
254 LuaBinder< QTextEdit > (lua_State *l, QWidget * arg1):QTextEdit(arg1), L(l) {}
255 LuaBinder< QTextEdit > (lua_State *l, const QString& arg1, QWidget * arg2):QTextEdit(arg1, arg2), L(l) {}
258 extern "C" int luaopen_QTextEdit (lua_State *L);