1 #include "lqt_common.hpp"
6 template <> class LuaBinder
< QLineEdit
> : public QLineEdit
{
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
);
77 void styleChange (QStyle
& arg1
);
80 void mouseReleaseEvent (QMouseEvent
* arg1
);
83 void keyPressEvent (QKeyEvent
* arg1
);
86 void contextMenuEvent (QContextMenuEvent
* arg1
);
89 void setVisible (bool arg1
);
90 QVariant
inputMethodQuery (Qt::InputMethodQuery arg1
) const;
91 QPaintEngine
* paintEngine () const;
93 void dragLeaveEvent (QDragLeaveEvent
* arg1
);
96 void mousePressEvent (QMouseEvent
* arg1
);
98 QSize
sizeHint () const;
100 void changeEvent (QEvent
* arg1
);
103 void tabletEvent (QTabletEvent
* arg1
);
106 void enterEvent (QEvent
* arg1
);
109 void closeEvent (QCloseEvent
* arg1
);
111 QSize
minimumSizeHint () const;
113 void dragEnterEvent (QDragEnterEvent
* arg1
);
116 void actionEvent (QActionEvent
* arg1
);
119 void showEvent (QShowEvent
* arg1
);
121 const QMetaObject
* metaObject () const;
123 void paintEvent (QPaintEvent
* arg1
);
126 void dragMoveEvent (QDragMoveEvent
* arg1
);
129 void focusInEvent (QFocusEvent
* arg1
);
132 void enabledChange (bool arg1
);
135 void windowActivationChange (bool arg1
);
137 int heightForWidth (int arg1
) const;
139 void mouseDoubleClickEvent (QMouseEvent
* arg1
);
142 void fontChange (const QFont
& arg1
);
145 void timerEvent (QTimerEvent
* arg1
);
148 void mouseMoveEvent (QMouseEvent
* arg1
);
151 void disconnectNotify (const char * arg1
);
154 void childEvent (QChildEvent
* arg1
);
157 void focusOutEvent (QFocusEvent
* arg1
);
160 int metric (QPaintDevice::PaintDeviceMetric arg1
) const;
163 bool focusNextPrevChild (bool arg1
);
165 bool eventFilter (QObject
* arg1
, QEvent
* arg2
);
167 void inputMethodEvent (QInputMethodEvent
* arg1
);
170 void wheelEvent (QWheelEvent
* arg1
);
173 void resizeEvent (QResizeEvent
* arg1
);
176 void paletteChange (const QPalette
& arg1
);
179 void languageChange ();
181 bool event (QEvent
* arg1
);
183 void hideEvent (QHideEvent
* arg1
);
186 void connectNotify (const char * arg1
);
189 void moveEvent (QMoveEvent
* arg1
);
192 void keyReleaseEvent (QKeyEvent
* arg1
);
195 void leaveEvent (QEvent
* arg1
);
198 void dropEvent (QDropEvent
* arg1
);
201 void customEvent (QEvent
* arg1
);
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
);