added "install" instruction
[Leditor.git] / src / lqt_bind_QFileDialog.hpp
blobb429f94951207bd6260e794527a01c309c9825d0
1 #include "lqt_common.hpp"
2 #include <QFileDialog>
3 #include <QtCore>
4 #include <QtGui>
6 template <> class LuaBinder< QFileDialog > : public QFileDialog {
7 private:
8 lua_State *L;
9 public:
10 static int __LuaWrapCall__confirmOverwrite (lua_State *L);
11 static int __LuaWrapCall__selectFilter (lua_State *L);
12 static int __LuaWrapCall__saveState (lua_State *L);
13 static int __LuaWrapCall__resolveSymlinks (lua_State *L);
14 static int __LuaWrapCall__setAcceptMode (lua_State *L);
15 static int __LuaWrapCall__setSidebarUrls (lua_State *L);
16 static int __LuaWrapCall__trUtf8__OverloadedVersion__1 (lua_State *L);
17 static int __LuaWrapCall__trUtf8__OverloadedVersion__2 (lua_State *L);
18 static int __LuaWrapCall__trUtf8 (lua_State *L);
19 static int __LuaWrapCall__filters (lua_State *L);
20 static int __LuaWrapCall__tr__OverloadedVersion__1 (lua_State *L);
21 static int __LuaWrapCall__tr__OverloadedVersion__2 (lua_State *L);
22 static int __LuaWrapCall__tr (lua_State *L);
23 static int __LuaWrapCall__sidebarUrls (lua_State *L);
24 static int __LuaWrapCall__setConfirmOverwrite (lua_State *L);
25 static int __LuaWrapCall__setViewMode (lua_State *L);
26 static int __LuaWrapCall__acceptMode (lua_State *L);
27 static int __LuaWrapCall__setHistory (lua_State *L);
28 static int __LuaWrapCall__fileMode (lua_State *L);
29 static int __LuaWrapCall__setDefaultSuffix (lua_State *L);
30 static int __LuaWrapCall__getOpenFileName (lua_State *L);
31 static int __LuaWrapCall__setReadOnly (lua_State *L);
32 static int __LuaWrapCall__setLabelText (lua_State *L);
33 static int __LuaWrapCall__selectFile (lua_State *L);
34 static int __LuaWrapCall__setFilters (lua_State *L);
35 static int __LuaWrapCall__selectedFiles (lua_State *L);
36 static int __LuaWrapCall__viewMode (lua_State *L);
37 static int __LuaWrapCall__setFileMode (lua_State *L);
38 static int __LuaWrapCall__getExistingDirectory (lua_State *L);
39 static int __LuaWrapCall__delete (lua_State *L);
40 static int __LuaWrapCall__metaObject (lua_State *L);
41 static int __LuaWrapCall__getSaveFileName (lua_State *L);
42 static int __LuaWrapCall__setResolveSymlinks (lua_State *L);
43 static int __LuaWrapCall__new__OverloadedVersion__1 (lua_State *L);
44 static int __LuaWrapCall__new__OverloadedVersion__2 (lua_State *L);
45 static int __LuaWrapCall__new (lua_State *L);
46 static int __LuaWrapCall__selectedFilter (lua_State *L);
47 static int __LuaWrapCall__directory (lua_State *L);
48 static int __LuaWrapCall__isReadOnly (lua_State *L);
49 static int __LuaWrapCall__defaultSuffix (lua_State *L);
50 static int __LuaWrapCall__setFilter (lua_State *L);
51 static int __LuaWrapCall__setDirectory__OverloadedVersion__1 (lua_State *L);
52 static int __LuaWrapCall__setDirectory__OverloadedVersion__2 (lua_State *L);
53 static int __LuaWrapCall__setDirectory (lua_State *L);
54 static int __LuaWrapCall__setItemDelegate (lua_State *L);
55 static int __LuaWrapCall__restoreState (lua_State *L);
56 static int __LuaWrapCall__itemDelegate (lua_State *L);
57 static int __LuaWrapCall__history (lua_State *L);
58 static int __LuaWrapCall__setIconProvider (lua_State *L);
59 static int __LuaWrapCall__iconProvider (lua_State *L);
60 static int __LuaWrapCall__proxyModel (lua_State *L);
61 static int __LuaWrapCall__labelText (lua_State *L);
62 static int __LuaWrapCall__setProxyModel (lua_State *L);
63 static int __LuaWrapCall__getOpenFileNames (lua_State *L);
64 protected:
65 void styleChange (QStyle& arg1);
66 public:
67 protected:
68 void focusInEvent (QFocusEvent * arg1);
69 public:
70 protected:
71 void keyPressEvent (QKeyEvent * arg1);
72 public:
73 const QMetaObject * metaObject () const;
74 int devType () const;
75 void setVisible (bool arg1);
76 protected:
77 void keyReleaseEvent (QKeyEvent * arg1);
78 public:
79 QPaintEngine * paintEngine () const;
80 protected:
81 void dragLeaveEvent (QDragLeaveEvent * arg1);
82 public:
83 protected:
84 void mousePressEvent (QMouseEvent * arg1);
85 public:
86 protected:
87 void dragEnterEvent (QDragEnterEvent * arg1);
88 public:
89 protected:
90 void closeEvent (QCloseEvent * arg1);
91 public:
92 protected:
93 void enterEvent (QEvent * arg1);
94 public:
95 protected:
96 void accept ();
97 public:
98 protected:
99 void tabletEvent (QTabletEvent * arg1);
100 public:
101 protected:
102 void dragMoveEvent (QDragMoveEvent * arg1);
103 public:
104 protected:
105 void changeEvent (QEvent * arg1);
106 public:
107 protected:
108 void moveEvent (QMoveEvent * arg1);
109 public:
110 protected:
111 void dropEvent (QDropEvent * arg1);
112 public:
113 QSize sizeHint () const;
114 QVariant inputMethodQuery (Qt::InputMethodQuery arg1) const;
115 protected:
116 void showEvent (QShowEvent * arg1);
117 public:
118 protected:
119 void windowActivationChange (bool arg1);
120 public:
121 protected:
122 void paintEvent (QPaintEvent * arg1);
123 public:
124 protected:
125 void contextMenuEvent (QContextMenuEvent * arg1);
126 public:
127 protected:
128 void mouseDoubleClickEvent (QMouseEvent * arg1);
129 public:
130 protected:
131 void enabledChange (bool arg1);
132 public:
133 protected:
134 void disconnectNotify (const char * arg1);
135 public:
136 int heightForWidth (int arg1) const;
137 protected:
138 void fontChange (const QFont& arg1);
139 public:
140 protected:
141 void actionEvent (QActionEvent * arg1);
142 public:
143 protected:
144 void timerEvent (QTimerEvent * arg1);
145 public:
146 protected:
147 void mouseMoveEvent (QMouseEvent * arg1);
148 public:
149 protected:
150 int metric (QPaintDevice::PaintDeviceMetric arg1) const;
151 public:
152 protected:
153 void childEvent (QChildEvent * arg1);
154 public:
155 protected:
156 void connectNotify (const char * arg1);
157 public:
158 protected:
159 void mouseReleaseEvent (QMouseEvent * arg1);
160 public:
161 protected:
162 void focusOutEvent (QFocusEvent * arg1);
163 public:
164 protected:
165 bool eventFilter (QObject * arg1, QEvent * arg2);
166 public:
167 protected:
168 void inputMethodEvent (QInputMethodEvent * arg1);
169 public:
170 protected:
171 void wheelEvent (QWheelEvent * arg1);
172 public:
173 protected:
174 void resizeEvent (QResizeEvent * arg1);
175 public:
176 protected:
177 void paletteChange (const QPalette& arg1);
178 public:
179 protected:
180 void languageChange ();
181 public:
182 protected:
183 bool event (QEvent * arg1);
184 public:
185 protected:
186 void hideEvent (QHideEvent * arg1);
187 public:
188 protected:
189 bool focusNextPrevChild (bool arg1);
190 public:
191 protected:
192 void done (int arg1);
193 public:
194 QSize minimumSizeHint () const;
195 protected:
196 void leaveEvent (QEvent * arg1);
197 public:
198 protected:
199 void customEvent (QEvent * arg1);
200 public:
201 void reject ();
202 ~LuaBinder< QFileDialog > ();
203 static int lqt_pushenum_ViewMode (lua_State *L);
204 static int lqt_pushenum_ViewMode_QFLAGS_CREATOR (lua_State *L);
205 static int lqt_pushenum_FileMode (lua_State *L);
206 static int lqt_pushenum_FileMode_QFLAGS_CREATOR (lua_State *L);
207 static int lqt_pushenum_AcceptMode (lua_State *L);
208 static int lqt_pushenum_AcceptMode_QFLAGS_CREATOR (lua_State *L);
209 static int lqt_pushenum_DialogLabel (lua_State *L);
210 static int lqt_pushenum_DialogLabel_QFLAGS_CREATOR (lua_State *L);
211 static int lqt_pushenum_Option (lua_State *L);
212 static int lqt_pushenum_Option_QFLAGS_CREATOR (lua_State *L);
213 LuaBinder< QFileDialog > (lua_State *l, QWidget * arg1, QFlags<Qt::WindowType> arg2):QFileDialog(arg1, arg2), L(l) {}
214 LuaBinder< QFileDialog > (lua_State *l, QWidget * arg1, const QString& arg2, const QString& arg3, const QString& arg4):QFileDialog(arg1, arg2, arg3, arg4), L(l) {}
217 extern "C" int luaopen_QFileDialog (lua_State *L);