added "install" instruction
[Leditor.git] / src / lqt_bind_QLineEdit.hpp
blob1fc3930041f4768c5ed64df220d555ebcf68f749
1 #include "lqt_common.hpp"
2 #include <QLineEdit>
3 #include <QtCore>
4 #include <QtGui>
6 template <> class LuaBinder< QLineEdit > : public QLineEdit {
7 private:
8 lua_State *L;
9 public:
10 static int __LuaWrapCall__setValidator (lua_State *L);
11 static int __LuaWrapCall__inputMask (lua_State *L);
12 static int __LuaWrapCall__createStandardContextMenu (lua_State *L);
13 static int __LuaWrapCall__sizeHint (lua_State *L);
14 static int __LuaWrapCall__validator (lua_State *L);
15 static int __LuaWrapCall__cursorWordBackward (lua_State *L);
16 static int __LuaWrapCall__cut (lua_State *L);
17 static int __LuaWrapCall__hasSelectedText (lua_State *L);
18 static int __LuaWrapCall__copy (lua_State *L);
19 static int __LuaWrapCall__home (lua_State *L);
20 static int __LuaWrapCall__trUtf8__OverloadedVersion__1 (lua_State *L);
21 static int __LuaWrapCall__trUtf8__OverloadedVersion__2 (lua_State *L);
22 static int __LuaWrapCall__trUtf8 (lua_State *L);
23 static int __LuaWrapCall__cursorWordForward (lua_State *L);
24 static int __LuaWrapCall__tr__OverloadedVersion__1 (lua_State *L);
25 static int __LuaWrapCall__tr__OverloadedVersion__2 (lua_State *L);
26 static int __LuaWrapCall__tr (lua_State *L);
27 static int __LuaWrapCall__cursorPositionAt (lua_State *L);
28 static int __LuaWrapCall__isReadOnly (lua_State *L);
29 static int __LuaWrapCall__insert (lua_State *L);
30 static int __LuaWrapCall__setMaxLength (lua_State *L);
31 static int __LuaWrapCall__text (lua_State *L);
32 static int __LuaWrapCall__event (lua_State *L);
33 static int __LuaWrapCall__isModified (lua_State *L);
34 static int __LuaWrapCall__hasFrame (lua_State *L);
35 static int __LuaWrapCall__setCursorPosition (lua_State *L);
36 static int __LuaWrapCall__echoMode (lua_State *L);
37 static int __LuaWrapCall__isUndoAvailable (lua_State *L);
38 static int __LuaWrapCall__cursorBackward (lua_State *L);
39 static int __LuaWrapCall__setSelection (lua_State *L);
40 static int __LuaWrapCall__setReadOnly (lua_State *L);
41 static int __LuaWrapCall__setModified (lua_State *L);
42 static int __LuaWrapCall__setDragEnabled (lua_State *L);
43 static int __LuaWrapCall__cursorPosition (lua_State *L);
44 static int __LuaWrapCall__isRedoAvailable (lua_State *L);
45 static int __LuaWrapCall__del (lua_State *L);
46 static int __LuaWrapCall__displayText (lua_State *L);
47 static int __LuaWrapCall__setText (lua_State *L);
48 static int __LuaWrapCall__minimumSizeHint (lua_State *L);
49 static int __LuaWrapCall__hasAcceptableInput (lua_State *L);
50 static int __LuaWrapCall__selectionStart (lua_State *L);
51 static int __LuaWrapCall__backspace (lua_State *L);
52 static int __LuaWrapCall__setEchoMode (lua_State *L);
53 static int __LuaWrapCall__end (lua_State *L);
54 static int __LuaWrapCall__selectedText (lua_State *L);
55 static int __LuaWrapCall__setCompleter (lua_State *L);
56 static int __LuaWrapCall__metaObject (lua_State *L);
57 static int __LuaWrapCall__new__OverloadedVersion__1 (lua_State *L);
58 static int __LuaWrapCall__new__OverloadedVersion__2 (lua_State *L);
59 static int __LuaWrapCall__new (lua_State *L);
60 static int __LuaWrapCall__inputMethodQuery (lua_State *L);
61 static int __LuaWrapCall__delete (lua_State *L);
62 static int __LuaWrapCall__redo (lua_State *L);
63 static int __LuaWrapCall__deselect (lua_State *L);
64 static int __LuaWrapCall__completer (lua_State *L);
65 static int __LuaWrapCall__setInputMask (lua_State *L);
66 static int __LuaWrapCall__clear (lua_State *L);
67 static int __LuaWrapCall__maxLength (lua_State *L);
68 static int __LuaWrapCall__setFrame (lua_State *L);
69 static int __LuaWrapCall__selectAll (lua_State *L);
70 static int __LuaWrapCall__alignment (lua_State *L);
71 static int __LuaWrapCall__cursorForward (lua_State *L);
72 static int __LuaWrapCall__undo (lua_State *L);
73 static int __LuaWrapCall__paste (lua_State *L);
74 static int __LuaWrapCall__dragEnabled (lua_State *L);
75 static int __LuaWrapCall__setAlignment (lua_State *L);
76 protected:
77 void styleChange (QStyle& arg1);
78 public:
79 protected:
80 void mouseReleaseEvent (QMouseEvent * arg1);
81 public:
82 protected:
83 void keyPressEvent (QKeyEvent * arg1);
84 public:
85 protected:
86 void contextMenuEvent (QContextMenuEvent * arg1);
87 public:
88 int devType () const;
89 void setVisible (bool arg1);
90 QVariant inputMethodQuery (Qt::InputMethodQuery arg1) const;
91 QPaintEngine * paintEngine () const;
92 protected:
93 void dragLeaveEvent (QDragLeaveEvent * arg1);
94 public:
95 protected:
96 void mousePressEvent (QMouseEvent * arg1);
97 public:
98 QSize sizeHint () const;
99 protected:
100 void changeEvent (QEvent * arg1);
101 public:
102 protected:
103 void tabletEvent (QTabletEvent * arg1);
104 public:
105 protected:
106 void enterEvent (QEvent * arg1);
107 public:
108 protected:
109 void closeEvent (QCloseEvent * arg1);
110 public:
111 QSize minimumSizeHint () const;
112 protected:
113 void dragEnterEvent (QDragEnterEvent * arg1);
114 public:
115 protected:
116 void actionEvent (QActionEvent * arg1);
117 public:
118 protected:
119 void showEvent (QShowEvent * arg1);
120 public:
121 const QMetaObject * metaObject () const;
122 protected:
123 void paintEvent (QPaintEvent * arg1);
124 public:
125 protected:
126 void dragMoveEvent (QDragMoveEvent * arg1);
127 public:
128 protected:
129 void focusInEvent (QFocusEvent * arg1);
130 public:
131 protected:
132 void enabledChange (bool arg1);
133 public:
134 protected:
135 void windowActivationChange (bool arg1);
136 public:
137 int heightForWidth (int arg1) const;
138 protected:
139 void mouseDoubleClickEvent (QMouseEvent * arg1);
140 public:
141 protected:
142 void fontChange (const QFont& arg1);
143 public:
144 protected:
145 void timerEvent (QTimerEvent * arg1);
146 public:
147 protected:
148 void mouseMoveEvent (QMouseEvent * arg1);
149 public:
150 protected:
151 void disconnectNotify (const char * arg1);
152 public:
153 protected:
154 void childEvent (QChildEvent * arg1);
155 public:
156 protected:
157 void focusOutEvent (QFocusEvent * arg1);
158 public:
159 protected:
160 int metric (QPaintDevice::PaintDeviceMetric arg1) const;
161 public:
162 protected:
163 bool focusNextPrevChild (bool arg1);
164 public:
165 bool eventFilter (QObject * arg1, QEvent * arg2);
166 protected:
167 void inputMethodEvent (QInputMethodEvent * arg1);
168 public:
169 protected:
170 void wheelEvent (QWheelEvent * arg1);
171 public:
172 protected:
173 void resizeEvent (QResizeEvent * arg1);
174 public:
175 protected:
176 void paletteChange (const QPalette& arg1);
177 public:
178 protected:
179 void languageChange ();
180 public:
181 bool event (QEvent * arg1);
182 protected:
183 void hideEvent (QHideEvent * arg1);
184 public:
185 protected:
186 void connectNotify (const char * arg1);
187 public:
188 protected:
189 void moveEvent (QMoveEvent * arg1);
190 public:
191 protected:
192 void keyReleaseEvent (QKeyEvent * arg1);
193 public:
194 protected:
195 void leaveEvent (QEvent * arg1);
196 public:
197 protected:
198 void dropEvent (QDropEvent * arg1);
199 public:
200 protected:
201 void customEvent (QEvent * arg1);
202 public:
203 ~LuaBinder< QLineEdit > ();
204 static int lqt_pushenum_EchoMode (lua_State *L);
205 static int lqt_pushenum_EchoMode_QFLAGS_CREATOR (lua_State *L);
206 LuaBinder< QLineEdit > (lua_State *l, QWidget * arg1):QLineEdit(arg1), L(l) {}
207 LuaBinder< QLineEdit > (lua_State *l, const QString& arg1, QWidget * arg2):QLineEdit(arg1, arg2), L(l) {}
210 extern "C" int luaopen_QLineEdit (lua_State *L);