##// END OF EJS Templates
Added lost SocExplorerPlot wrapper and win32 libelf binary.
Jeandet Alexis -
r7:1abdb58baffd default
parent child
Show More
1 NO CONTENT: new file 100644, binary diff hidden
NO CONTENT: new file 100644, binary diff hidden
@@ -1,35 +1,36
1 # use glob syntax.
1 # use glob syntax.
2 syntax: glob
2 syntax: glob
3
3
4 moc_*
4 moc_*
5 Makefil*
5 Makefil*
6 qrc_*
6 qrc_*
7 *.qm
7 *.qm
8 *.tex
8 *.tex
9 *.html
9 *.html
10 *log*
10 *log*
11 *.dot
11 *.dot
12 *.css
12 *.css
13 *.md5
13 *.md5
14 *.eps
14 *.eps
15 *.pdf
15 *.pdf
16 *.toc
16 *.toc
17 *.map
17 *.map
18 *.sty
18 *.sty
19 *.3
19 *.3
20 *.js
20 *.js
21 *.aux
21 *.aux
22 *.idx
22 *.idx
23 *.orig
23 *.orig
24 *.o
24 *.o
25 *.dll
25 *.dll
26 *.a
26 *.a
27 *.bin
27 *.bin
28 *~
28 *~
29 *.pro.user
29 *.pro.user
30 src/PythonQt/tests/PythonQtTest
30 src/PythonQt/tests/PythonQtTest
31 src/PythonQt/generator/pythonqt_generator
31 src/PythonQt/generator/pythonqt_generator
32 src/plugins/common/.preprocessed.tmp
32 src/plugins/common/.preprocessed.tmp
33 *.exe
33 *.exe
34 src/common/.preprocessed.tmp
34 syntax: regexp
35 syntax: regexp
35 bin/*
36 bin/*
@@ -1,419 +1,519
1 #include "PySocExplorer0.h"
1 #include "PySocExplorer0.h"
2 #include <PythonQtConversion.h>
2 #include <PythonQtConversion.h>
3 #include <PythonQtMethodInfo.h>
3 #include <PythonQtMethodInfo.h>
4 #include <PythonQtSignalReceiver.h>
4 #include <PythonQtSignalReceiver.h>
5 #include <QVariant>
5 #include <QVariant>
6
6
7 MemSizeWdgt* PythonQtWrapper_MemSizeWdgt::new_MemSizeWdgt(QWidget* parent)
7 MemSizeWdgt* PythonQtWrapper_MemSizeWdgt::new_MemSizeWdgt(QWidget* parent)
8 {
8 {
9 return new MemSizeWdgt(parent); }
9 return new MemSizeWdgt(parent); }
10
10
11 MemSizeWdgt* PythonQtWrapper_MemSizeWdgt::new_MemSizeWdgt(int defaultSize, QWidget* parent)
11 MemSizeWdgt* PythonQtWrapper_MemSizeWdgt::new_MemSizeWdgt(int defaultSize, QWidget* parent)
12 {
12 {
13 return new MemSizeWdgt(defaultSize, parent); }
13 return new MemSizeWdgt(defaultSize, parent); }
14
14
15 int PythonQtWrapper_MemSizeWdgt::getsize(MemSizeWdgt* theWrappedObject)
15 int PythonQtWrapper_MemSizeWdgt::getsize(MemSizeWdgt* theWrappedObject)
16 {
16 {
17 return ( theWrappedObject->getsize());
17 return ( theWrappedObject->getsize());
18 }
18 }
19
19
20 void PythonQtWrapper_MemSizeWdgt::setMaximum(MemSizeWdgt* theWrappedObject, unsigned int max)
20 void PythonQtWrapper_MemSizeWdgt::setMaximum(MemSizeWdgt* theWrappedObject, unsigned int max)
21 {
21 {
22 ( theWrappedObject->setMaximum(max));
22 ( theWrappedObject->setMaximum(max));
23 }
23 }
24
24
25 void PythonQtWrapper_MemSizeWdgt::show(MemSizeWdgt* theWrappedObject)
25 void PythonQtWrapper_MemSizeWdgt::show(MemSizeWdgt* theWrappedObject)
26 {
26 {
27 ( theWrappedObject->show());
27 ( theWrappedObject->show());
28 }
28 }
29
29
30 void PythonQtWrapper_MemSizeWdgt::updateSizeValue(MemSizeWdgt* theWrappedObject)
30 void PythonQtWrapper_MemSizeWdgt::updateSizeValue(MemSizeWdgt* theWrappedObject)
31 {
31 {
32 ( theWrappedObject->updateSizeValue());
32 ( theWrappedObject->updateSizeValue());
33 }
33 }
34
34
35
35
36
36
37 PythonQtShell_QHexEdit::~PythonQtShell_QHexEdit() {
37 PythonQtShell_QHexEdit::~PythonQtShell_QHexEdit() {
38 PythonQtPrivate* priv = PythonQt::priv();
38 PythonQtPrivate* priv = PythonQt::priv();
39 if (priv) { priv->shellClassDeleted(this); }
39 if (priv) { priv->shellClassDeleted(this); }
40 }
40 }
41 QHexEdit* PythonQtWrapper_QHexEdit::new_QHexEdit(QWidget* parent)
41 QHexEdit* PythonQtWrapper_QHexEdit::new_QHexEdit(QWidget* parent)
42 {
42 {
43 return new PythonQtShell_QHexEdit(parent); }
43 return new PythonQtShell_QHexEdit(parent); }
44
44
45 QColor PythonQtWrapper_QHexEdit::addressAreaColor(QHexEdit* theWrappedObject)
45 QColor PythonQtWrapper_QHexEdit::addressAreaColor(QHexEdit* theWrappedObject)
46 {
46 {
47 return ( theWrappedObject->addressAreaColor());
47 return ( theWrappedObject->addressAreaColor());
48 }
48 }
49
49
50 int PythonQtWrapper_QHexEdit::addressOffset(QHexEdit* theWrappedObject)
50 int PythonQtWrapper_QHexEdit::addressOffset(QHexEdit* theWrappedObject)
51 {
51 {
52 return ( theWrappedObject->addressOffset());
52 return ( theWrappedObject->addressOffset());
53 }
53 }
54
54
55 int PythonQtWrapper_QHexEdit::cursorPosition(QHexEdit* theWrappedObject)
55 int PythonQtWrapper_QHexEdit::cursorPosition(QHexEdit* theWrappedObject)
56 {
56 {
57 return ( theWrappedObject->cursorPosition());
57 return ( theWrappedObject->cursorPosition());
58 }
58 }
59
59
60 QByteArray PythonQtWrapper_QHexEdit::data(QHexEdit* theWrappedObject)
60 QByteArray PythonQtWrapper_QHexEdit::data(QHexEdit* theWrappedObject)
61 {
61 {
62 return ( theWrappedObject->data());
62 return ( theWrappedObject->data());
63 }
63 }
64
64
65 const QFont* PythonQtWrapper_QHexEdit::font(QHexEdit* theWrappedObject) const
65 const QFont* PythonQtWrapper_QHexEdit::font(QHexEdit* theWrappedObject) const
66 {
66 {
67 return &( theWrappedObject->font());
67 return &( theWrappedObject->font());
68 }
68 }
69
69
70 QColor PythonQtWrapper_QHexEdit::highlightingColor(QHexEdit* theWrappedObject)
70 QColor PythonQtWrapper_QHexEdit::highlightingColor(QHexEdit* theWrappedObject)
71 {
71 {
72 return ( theWrappedObject->highlightingColor());
72 return ( theWrappedObject->highlightingColor());
73 }
73 }
74
74
75 int PythonQtWrapper_QHexEdit::indexOf(QHexEdit* theWrappedObject, const QByteArray& ba, int from) const
75 int PythonQtWrapper_QHexEdit::indexOf(QHexEdit* theWrappedObject, const QByteArray& ba, int from) const
76 {
76 {
77 return ( theWrappedObject->indexOf(ba, from));
77 return ( theWrappedObject->indexOf(ba, from));
78 }
78 }
79
79
80 void PythonQtWrapper_QHexEdit::insert(QHexEdit* theWrappedObject, int i, char ch)
80 void PythonQtWrapper_QHexEdit::insert(QHexEdit* theWrappedObject, int i, char ch)
81 {
81 {
82 ( theWrappedObject->insert(i, ch));
82 ( theWrappedObject->insert(i, ch));
83 }
83 }
84
84
85 void PythonQtWrapper_QHexEdit::insert(QHexEdit* theWrappedObject, int i, const QByteArray& ba)
85 void PythonQtWrapper_QHexEdit::insert(QHexEdit* theWrappedObject, int i, const QByteArray& ba)
86 {
86 {
87 ( theWrappedObject->insert(i, ba));
87 ( theWrappedObject->insert(i, ba));
88 }
88 }
89
89
90 bool PythonQtWrapper_QHexEdit::isReadOnly(QHexEdit* theWrappedObject)
90 bool PythonQtWrapper_QHexEdit::isReadOnly(QHexEdit* theWrappedObject)
91 {
91 {
92 return ( theWrappedObject->isReadOnly());
92 return ( theWrappedObject->isReadOnly());
93 }
93 }
94
94
95 int PythonQtWrapper_QHexEdit::lastIndexOf(QHexEdit* theWrappedObject, const QByteArray& ba, int from) const
95 int PythonQtWrapper_QHexEdit::lastIndexOf(QHexEdit* theWrappedObject, const QByteArray& ba, int from) const
96 {
96 {
97 return ( theWrappedObject->lastIndexOf(ba, from));
97 return ( theWrappedObject->lastIndexOf(ba, from));
98 }
98 }
99
99
100 bool PythonQtWrapper_QHexEdit::overwriteMode(QHexEdit* theWrappedObject)
100 bool PythonQtWrapper_QHexEdit::overwriteMode(QHexEdit* theWrappedObject)
101 {
101 {
102 return ( theWrappedObject->overwriteMode());
102 return ( theWrappedObject->overwriteMode());
103 }
103 }
104
104
105 void PythonQtWrapper_QHexEdit::remove(QHexEdit* theWrappedObject, int pos, int len)
105 void PythonQtWrapper_QHexEdit::remove(QHexEdit* theWrappedObject, int pos, int len)
106 {
106 {
107 ( theWrappedObject->remove(pos, len));
107 ( theWrappedObject->remove(pos, len));
108 }
108 }
109
109
110 void PythonQtWrapper_QHexEdit::replace(QHexEdit* theWrappedObject, int pos, int len, const QByteArray& after)
110 void PythonQtWrapper_QHexEdit::replace(QHexEdit* theWrappedObject, int pos, int len, const QByteArray& after)
111 {
111 {
112 ( theWrappedObject->replace(pos, len, after));
112 ( theWrappedObject->replace(pos, len, after));
113 }
113 }
114
114
115 QColor PythonQtWrapper_QHexEdit::selectionColor(QHexEdit* theWrappedObject)
115 QColor PythonQtWrapper_QHexEdit::selectionColor(QHexEdit* theWrappedObject)
116 {
116 {
117 return ( theWrappedObject->selectionColor());
117 return ( theWrappedObject->selectionColor());
118 }
118 }
119
119
120 QString PythonQtWrapper_QHexEdit::selectionToReadableString(QHexEdit* theWrappedObject)
120 QString PythonQtWrapper_QHexEdit::selectionToReadableString(QHexEdit* theWrappedObject)
121 {
121 {
122 return ( theWrappedObject->selectionToReadableString());
122 return ( theWrappedObject->selectionToReadableString());
123 }
123 }
124
124
125 void PythonQtWrapper_QHexEdit::setAddressAreaColor(QHexEdit* theWrappedObject, const QColor& color)
125 void PythonQtWrapper_QHexEdit::setAddressAreaColor(QHexEdit* theWrappedObject, const QColor& color)
126 {
126 {
127 ( theWrappedObject->setAddressAreaColor(color));
127 ( theWrappedObject->setAddressAreaColor(color));
128 }
128 }
129
129
130 void PythonQtWrapper_QHexEdit::setAddressOffset(QHexEdit* theWrappedObject, int offset)
130 void PythonQtWrapper_QHexEdit::setAddressOffset(QHexEdit* theWrappedObject, int offset)
131 {
131 {
132 ( theWrappedObject->setAddressOffset(offset));
132 ( theWrappedObject->setAddressOffset(offset));
133 }
133 }
134
134
135 void PythonQtWrapper_QHexEdit::setCursorPosition(QHexEdit* theWrappedObject, int cusorPos)
135 void PythonQtWrapper_QHexEdit::setCursorPosition(QHexEdit* theWrappedObject, int cusorPos)
136 {
136 {
137 ( theWrappedObject->setCursorPosition(cusorPos));
137 ( theWrappedObject->setCursorPosition(cusorPos));
138 }
138 }
139
139
140 void PythonQtWrapper_QHexEdit::setData(QHexEdit* theWrappedObject, const QByteArray& data)
140 void PythonQtWrapper_QHexEdit::setData(QHexEdit* theWrappedObject, const QByteArray& data)
141 {
141 {
142 ( theWrappedObject->setData(data));
142 ( theWrappedObject->setData(data));
143 }
143 }
144
144
145 void PythonQtWrapper_QHexEdit::setFont(QHexEdit* theWrappedObject, const QFont& arg__1)
145 void PythonQtWrapper_QHexEdit::setFont(QHexEdit* theWrappedObject, const QFont& arg__1)
146 {
146 {
147 ( theWrappedObject->setFont(arg__1));
147 ( theWrappedObject->setFont(arg__1));
148 }
148 }
149
149
150 void PythonQtWrapper_QHexEdit::setHighlightingColor(QHexEdit* theWrappedObject, const QColor& color)
150 void PythonQtWrapper_QHexEdit::setHighlightingColor(QHexEdit* theWrappedObject, const QColor& color)
151 {
151 {
152 ( theWrappedObject->setHighlightingColor(color));
152 ( theWrappedObject->setHighlightingColor(color));
153 }
153 }
154
154
155 void PythonQtWrapper_QHexEdit::setOverwriteMode(QHexEdit* theWrappedObject, bool arg__1)
155 void PythonQtWrapper_QHexEdit::setOverwriteMode(QHexEdit* theWrappedObject, bool arg__1)
156 {
156 {
157 ( theWrappedObject->setOverwriteMode(arg__1));
157 ( theWrappedObject->setOverwriteMode(arg__1));
158 }
158 }
159
159
160 void PythonQtWrapper_QHexEdit::setReadOnly(QHexEdit* theWrappedObject, bool arg__1)
160 void PythonQtWrapper_QHexEdit::setReadOnly(QHexEdit* theWrappedObject, bool arg__1)
161 {
161 {
162 ( theWrappedObject->setReadOnly(arg__1));
162 ( theWrappedObject->setReadOnly(arg__1));
163 }
163 }
164
164
165 void PythonQtWrapper_QHexEdit::setSelectionColor(QHexEdit* theWrappedObject, const QColor& color)
165 void PythonQtWrapper_QHexEdit::setSelectionColor(QHexEdit* theWrappedObject, const QColor& color)
166 {
166 {
167 ( theWrappedObject->setSelectionColor(color));
167 ( theWrappedObject->setSelectionColor(color));
168 }
168 }
169
169
170 QString PythonQtWrapper_QHexEdit::toReadableString(QHexEdit* theWrappedObject)
170 QString PythonQtWrapper_QHexEdit::toReadableString(QHexEdit* theWrappedObject)
171 {
171 {
172 return ( theWrappedObject->toReadableString());
172 return ( theWrappedObject->toReadableString());
173 }
173 }
174
174
175
175
176
176
177 QHexSpinBox* PythonQtWrapper_QHexSpinBox::new_QHexSpinBox(QWidget* parent)
177 QHexSpinBox* PythonQtWrapper_QHexSpinBox::new_QHexSpinBox(QWidget* parent)
178 {
178 {
179 return new QHexSpinBox(parent); }
179 return new QHexSpinBox(parent); }
180
180
181 void PythonQtWrapper_QHexSpinBox::show(QHexSpinBox* theWrappedObject)
181 void PythonQtWrapper_QHexSpinBox::show(QHexSpinBox* theWrappedObject)
182 {
182 {
183 ( theWrappedObject->show());
183 ( theWrappedObject->show());
184 }
184 }
185
185
186 QString PythonQtWrapper_QHexSpinBox::textFromValue(QHexSpinBox* theWrappedObject, int value) const
186 QString PythonQtWrapper_QHexSpinBox::textFromValue(QHexSpinBox* theWrappedObject, int value) const
187 {
187 {
188 return ( theWrappedObject->textFromValue(value));
188 return ( theWrappedObject->textFromValue(value));
189 }
189 }
190
190
191 QValidator::State PythonQtWrapper_QHexSpinBox::validate(QHexSpinBox* theWrappedObject, QString& input, int& pos) const
191 QValidator::State PythonQtWrapper_QHexSpinBox::validate(QHexSpinBox* theWrappedObject, QString& input, int& pos) const
192 {
192 {
193 return ( theWrappedObject->validate(input, pos));
193 return ( theWrappedObject->validate(input, pos));
194 }
194 }
195
195
196 int PythonQtWrapper_QHexSpinBox::valueFromText(QHexSpinBox* theWrappedObject, const QString& text) const
196 int PythonQtWrapper_QHexSpinBox::valueFromText(QHexSpinBox* theWrappedObject, const QString& text) const
197 {
197 {
198 return ( theWrappedObject->valueFromText(text));
198 return ( theWrappedObject->valueFromText(text));
199 }
199 }
200
200
201
201
202
202
203 PythonQtShell_SocExplorerPlot::~PythonQtShell_SocExplorerPlot() {
204 PythonQtPrivate* priv = PythonQt::priv();
205 if (priv) { priv->shellClassDeleted(this); }
206 }
207 SocExplorerPlot* PythonQtWrapper_SocExplorerPlot::new_SocExplorerPlot(QWidget* parent)
208 {
209 return new PythonQtShell_SocExplorerPlot(parent); }
210
211 int PythonQtWrapper_SocExplorerPlot::addGraph(SocExplorerPlot* theWrappedObject)
212 {
213 return ( theWrappedObject->addGraph());
214 }
215
216 void PythonQtWrapper_SocExplorerPlot::addGraphData(SocExplorerPlot* theWrappedObject, int graphIndex, QList<QVariant > x, QList<QVariant > y)
217 {
218 ( theWrappedObject->addGraphData(graphIndex, x, y));
219 }
220
221 void PythonQtWrapper_SocExplorerPlot::addGraphData(SocExplorerPlot* theWrappedObject, int graphIndex, QVariant x, QVariant y)
222 {
223 ( theWrappedObject->addGraphData(graphIndex, x, y));
224 }
225
226 QPen PythonQtWrapper_SocExplorerPlot::getGraphPen(SocExplorerPlot* theWrappedObject, int graphIndex)
227 {
228 return ( theWrappedObject->getGraphPen(graphIndex));
229 }
230
231 void PythonQtWrapper_SocExplorerPlot::rescaleAxis(SocExplorerPlot* theWrappedObject)
232 {
233 ( theWrappedObject->rescaleAxis());
234 }
235
236 void PythonQtWrapper_SocExplorerPlot::setGraphData(SocExplorerPlot* theWrappedObject, int graphIndex, QList<QVariant > x, QList<QVariant > y)
237 {
238 ( theWrappedObject->setGraphData(graphIndex, x, y));
239 }
240
241 void PythonQtWrapper_SocExplorerPlot::setGraphLineStyle(SocExplorerPlot* theWrappedObject, int graphIndex, QString lineStyle)
242 {
243 ( theWrappedObject->setGraphLineStyle(graphIndex, lineStyle));
244 }
245
246 void PythonQtWrapper_SocExplorerPlot::setGraphName(SocExplorerPlot* theWrappedObject, int graphIndex, QString name)
247 {
248 ( theWrappedObject->setGraphName(graphIndex, name));
249 }
250
251 void PythonQtWrapper_SocExplorerPlot::setGraphPen(SocExplorerPlot* theWrappedObject, int graphIndex, QPen pen)
252 {
253 ( theWrappedObject->setGraphPen(graphIndex, pen));
254 }
255
256 void PythonQtWrapper_SocExplorerPlot::setGraphScatterStyle(SocExplorerPlot* theWrappedObject, int graphIndex, QString scatterStyle)
257 {
258 ( theWrappedObject->setGraphScatterStyle(graphIndex, scatterStyle));
259 }
260
261 void PythonQtWrapper_SocExplorerPlot::setLegendFont(SocExplorerPlot* theWrappedObject, QFont font)
262 {
263 ( theWrappedObject->setLegendFont(font));
264 }
265
266 void PythonQtWrapper_SocExplorerPlot::setLegendSelectedFont(SocExplorerPlot* theWrappedObject, QFont font)
267 {
268 ( theWrappedObject->setLegendSelectedFont(font));
269 }
270
271 void PythonQtWrapper_SocExplorerPlot::setTitle(SocExplorerPlot* theWrappedObject, QString title)
272 {
273 ( theWrappedObject->setTitle(title));
274 }
275
276 void PythonQtWrapper_SocExplorerPlot::setXaxisLabel(SocExplorerPlot* theWrappedObject, QString label)
277 {
278 ( theWrappedObject->setXaxisLabel(label));
279 }
280
281 void PythonQtWrapper_SocExplorerPlot::setXaxisRange(SocExplorerPlot* theWrappedObject, double lower, double upper)
282 {
283 ( theWrappedObject->setXaxisRange(lower, upper));
284 }
285
286 void PythonQtWrapper_SocExplorerPlot::setYaxisLabel(SocExplorerPlot* theWrappedObject, QString label)
287 {
288 ( theWrappedObject->setYaxisLabel(label));
289 }
290
291 void PythonQtWrapper_SocExplorerPlot::setYaxisRange(SocExplorerPlot* theWrappedObject, double lower, double upper)
292 {
293 ( theWrappedObject->setYaxisRange(lower, upper));
294 }
295
296 void PythonQtWrapper_SocExplorerPlot::show(SocExplorerPlot* theWrappedObject)
297 {
298 ( theWrappedObject->show());
299 }
300
301
302
203 TCP_Terminal_Client* PythonQtWrapper_TCP_Terminal_Client::new_TCP_Terminal_Client(QObject* parent)
303 TCP_Terminal_Client* PythonQtWrapper_TCP_Terminal_Client::new_TCP_Terminal_Client(QObject* parent)
204 {
304 {
205 return new TCP_Terminal_Client(parent); }
305 return new TCP_Terminal_Client(parent); }
206
306
207 void PythonQtWrapper_TCP_Terminal_Client::connectToServer(TCP_Terminal_Client* theWrappedObject)
307 void PythonQtWrapper_TCP_Terminal_Client::connectToServer(TCP_Terminal_Client* theWrappedObject)
208 {
308 {
209 ( theWrappedObject->connectToServer());
309 ( theWrappedObject->connectToServer());
210 }
310 }
211
311
212 void PythonQtWrapper_TCP_Terminal_Client::connectToServer(TCP_Terminal_Client* theWrappedObject, const QString& IP, int port)
312 void PythonQtWrapper_TCP_Terminal_Client::connectToServer(TCP_Terminal_Client* theWrappedObject, const QString& IP, int port)
213 {
313 {
214 ( theWrappedObject->connectToServer(IP, port));
314 ( theWrappedObject->connectToServer(IP, port));
215 }
315 }
216
316
217 bool PythonQtWrapper_TCP_Terminal_Client::isConnected(TCP_Terminal_Client* theWrappedObject)
317 bool PythonQtWrapper_TCP_Terminal_Client::isConnected(TCP_Terminal_Client* theWrappedObject)
218 {
318 {
219 return ( theWrappedObject->isConnected());
319 return ( theWrappedObject->isConnected());
220 }
320 }
221
321
222 void PythonQtWrapper_TCP_Terminal_Client::sendText(TCP_Terminal_Client* theWrappedObject, const QString& text)
322 void PythonQtWrapper_TCP_Terminal_Client::sendText(TCP_Terminal_Client* theWrappedObject, const QString& text)
223 {
323 {
224 ( theWrappedObject->sendText(text));
324 ( theWrappedObject->sendText(text));
225 }
325 }
226
326
227 void PythonQtWrapper_TCP_Terminal_Client::startServer(TCP_Terminal_Client* theWrappedObject)
327 void PythonQtWrapper_TCP_Terminal_Client::startServer(TCP_Terminal_Client* theWrappedObject)
228 {
328 {
229 ( theWrappedObject->startServer());
329 ( theWrappedObject->startServer());
230 }
330 }
231
331
232 void PythonQtWrapper_TCP_Terminal_Client::startServer(TCP_Terminal_Client* theWrappedObject, int port)
332 void PythonQtWrapper_TCP_Terminal_Client::startServer(TCP_Terminal_Client* theWrappedObject, int port)
233 {
333 {
234 ( theWrappedObject->startServer(port));
334 ( theWrappedObject->startServer(port));
235 }
335 }
236
336
237
337
238
338
239 XByteArray* PythonQtWrapper_XByteArray::new_XByteArray()
339 XByteArray* PythonQtWrapper_XByteArray::new_XByteArray()
240 {
340 {
241 return new XByteArray(); }
341 return new XByteArray(); }
242
342
243 int PythonQtWrapper_XByteArray::addressOffset(XByteArray* theWrappedObject)
343 int PythonQtWrapper_XByteArray::addressOffset(XByteArray* theWrappedObject)
244 {
344 {
245 return ( theWrappedObject->addressOffset());
345 return ( theWrappedObject->addressOffset());
246 }
346 }
247
347
248 int PythonQtWrapper_XByteArray::addressWidth(XByteArray* theWrappedObject)
348 int PythonQtWrapper_XByteArray::addressWidth(XByteArray* theWrappedObject)
249 {
349 {
250 return ( theWrappedObject->addressWidth());
350 return ( theWrappedObject->addressWidth());
251 }
351 }
252
352
253 QChar PythonQtWrapper_XByteArray::asciiChar(XByteArray* theWrappedObject, int index)
353 QChar PythonQtWrapper_XByteArray::asciiChar(XByteArray* theWrappedObject, int index)
254 {
354 {
255 return ( theWrappedObject->asciiChar(index));
355 return ( theWrappedObject->asciiChar(index));
256 }
356 }
257
357
258 QByteArray* PythonQtWrapper_XByteArray::data(XByteArray* theWrappedObject)
358 QByteArray* PythonQtWrapper_XByteArray::data(XByteArray* theWrappedObject)
259 {
359 {
260 return &( theWrappedObject->data());
360 return &( theWrappedObject->data());
261 }
361 }
262
362
263 bool PythonQtWrapper_XByteArray::dataChanged(XByteArray* theWrappedObject, int i)
363 bool PythonQtWrapper_XByteArray::dataChanged(XByteArray* theWrappedObject, int i)
264 {
364 {
265 return ( theWrappedObject->dataChanged(i));
365 return ( theWrappedObject->dataChanged(i));
266 }
366 }
267
367
268 QByteArray PythonQtWrapper_XByteArray::dataChanged(XByteArray* theWrappedObject, int i, int len)
368 QByteArray PythonQtWrapper_XByteArray::dataChanged(XByteArray* theWrappedObject, int i, int len)
269 {
369 {
270 return ( theWrappedObject->dataChanged(i, len));
370 return ( theWrappedObject->dataChanged(i, len));
271 }
371 }
272
372
273 QByteArray* PythonQtWrapper_XByteArray::insert(XByteArray* theWrappedObject, int i, char ch)
373 QByteArray* PythonQtWrapper_XByteArray::insert(XByteArray* theWrappedObject, int i, char ch)
274 {
374 {
275 return &( theWrappedObject->insert(i, ch));
375 return &( theWrappedObject->insert(i, ch));
276 }
376 }
277
377
278 QByteArray* PythonQtWrapper_XByteArray::insert(XByteArray* theWrappedObject, int i, const QByteArray& ba)
378 QByteArray* PythonQtWrapper_XByteArray::insert(XByteArray* theWrappedObject, int i, const QByteArray& ba)
279 {
379 {
280 return &( theWrappedObject->insert(i, ba));
380 return &( theWrappedObject->insert(i, ba));
281 }
381 }
282
382
283 int PythonQtWrapper_XByteArray::realAddressNumbers(XByteArray* theWrappedObject)
383 int PythonQtWrapper_XByteArray::realAddressNumbers(XByteArray* theWrappedObject)
284 {
384 {
285 return ( theWrappedObject->realAddressNumbers());
385 return ( theWrappedObject->realAddressNumbers());
286 }
386 }
287
387
288 QByteArray* PythonQtWrapper_XByteArray::remove(XByteArray* theWrappedObject, int pos, int len)
388 QByteArray* PythonQtWrapper_XByteArray::remove(XByteArray* theWrappedObject, int pos, int len)
289 {
389 {
290 return &( theWrappedObject->remove(pos, len));
390 return &( theWrappedObject->remove(pos, len));
291 }
391 }
292
392
293 QByteArray* PythonQtWrapper_XByteArray::replace(XByteArray* theWrappedObject, int index, char ch)
393 QByteArray* PythonQtWrapper_XByteArray::replace(XByteArray* theWrappedObject, int index, char ch)
294 {
394 {
295 return &( theWrappedObject->replace(index, ch));
395 return &( theWrappedObject->replace(index, ch));
296 }
396 }
297
397
298 QByteArray* PythonQtWrapper_XByteArray::replace(XByteArray* theWrappedObject, int index, const QByteArray& ba)
398 QByteArray* PythonQtWrapper_XByteArray::replace(XByteArray* theWrappedObject, int index, const QByteArray& ba)
299 {
399 {
300 return &( theWrappedObject->replace(index, ba));
400 return &( theWrappedObject->replace(index, ba));
301 }
401 }
302
402
303 QByteArray* PythonQtWrapper_XByteArray::replace(XByteArray* theWrappedObject, int index, int length, const QByteArray& ba)
403 QByteArray* PythonQtWrapper_XByteArray::replace(XByteArray* theWrappedObject, int index, int length, const QByteArray& ba)
304 {
404 {
305 return &( theWrappedObject->replace(index, length, ba));
405 return &( theWrappedObject->replace(index, length, ba));
306 }
406 }
307
407
308 void PythonQtWrapper_XByteArray::setAddressOffset(XByteArray* theWrappedObject, int offset)
408 void PythonQtWrapper_XByteArray::setAddressOffset(XByteArray* theWrappedObject, int offset)
309 {
409 {
310 ( theWrappedObject->setAddressOffset(offset));
410 ( theWrappedObject->setAddressOffset(offset));
311 }
411 }
312
412
313 void PythonQtWrapper_XByteArray::setAddressWidth(XByteArray* theWrappedObject, int width)
413 void PythonQtWrapper_XByteArray::setAddressWidth(XByteArray* theWrappedObject, int width)
314 {
414 {
315 ( theWrappedObject->setAddressWidth(width));
415 ( theWrappedObject->setAddressWidth(width));
316 }
416 }
317
417
318 void PythonQtWrapper_XByteArray::setData(XByteArray* theWrappedObject, QByteArray data)
418 void PythonQtWrapper_XByteArray::setData(XByteArray* theWrappedObject, QByteArray data)
319 {
419 {
320 ( theWrappedObject->setData(data));
420 ( theWrappedObject->setData(data));
321 }
421 }
322
422
323 void PythonQtWrapper_XByteArray::setDataChanged(XByteArray* theWrappedObject, int i, bool state)
423 void PythonQtWrapper_XByteArray::setDataChanged(XByteArray* theWrappedObject, int i, bool state)
324 {
424 {
325 ( theWrappedObject->setDataChanged(i, state));
425 ( theWrappedObject->setDataChanged(i, state));
326 }
426 }
327
427
328 void PythonQtWrapper_XByteArray::setDataChanged(XByteArray* theWrappedObject, int i, const QByteArray& state)
428 void PythonQtWrapper_XByteArray::setDataChanged(XByteArray* theWrappedObject, int i, const QByteArray& state)
329 {
429 {
330 ( theWrappedObject->setDataChanged(i, state));
430 ( theWrappedObject->setDataChanged(i, state));
331 }
431 }
332
432
333 int PythonQtWrapper_XByteArray::size(XByteArray* theWrappedObject)
433 int PythonQtWrapper_XByteArray::size(XByteArray* theWrappedObject)
334 {
434 {
335 return ( theWrappedObject->size());
435 return ( theWrappedObject->size());
336 }
436 }
337
437
338 QString PythonQtWrapper_XByteArray::toRedableString(XByteArray* theWrappedObject, int start, int end)
438 QString PythonQtWrapper_XByteArray::toRedableString(XByteArray* theWrappedObject, int start, int end)
339 {
439 {
340 return ( theWrappedObject->toRedableString(start, end));
440 return ( theWrappedObject->toRedableString(start, end));
341 }
441 }
342
442
343
443
344
444
345 elfparser* PythonQtWrapper_elfparser::new_elfparser()
445 elfparser* PythonQtWrapper_elfparser::new_elfparser()
346 {
446 {
347 return new elfparser(); }
447 return new elfparser(); }
348
448
349 int PythonQtWrapper_elfparser::closeFile(elfparser* theWrappedObject)
449 int PythonQtWrapper_elfparser::closeFile(elfparser* theWrappedObject)
350 {
450 {
351 return ( theWrappedObject->closeFile());
451 return ( theWrappedObject->closeFile());
352 }
452 }
353
453
354 QString PythonQtWrapper_elfparser::getArchitecture(elfparser* theWrappedObject)
454 QString PythonQtWrapper_elfparser::getArchitecture(elfparser* theWrappedObject)
355 {
455 {
356 return ( theWrappedObject->getArchitecture());
456 return ( theWrappedObject->getArchitecture());
357 }
457 }
358
458
359 bool PythonQtWrapper_elfparser::getSectionData(elfparser* theWrappedObject, int index, char** buffer)
459 bool PythonQtWrapper_elfparser::getSectionData(elfparser* theWrappedObject, int index, char** buffer)
360 {
460 {
361 return ( theWrappedObject->getSectionData(index, buffer));
461 return ( theWrappedObject->getSectionData(index, buffer));
362 }
462 }
363
463
364 QString PythonQtWrapper_elfparser::getSectionName(elfparser* theWrappedObject, int index)
464 QString PythonQtWrapper_elfparser::getSectionName(elfparser* theWrappedObject, int index)
365 {
465 {
366 return ( theWrappedObject->getSectionName(index));
466 return ( theWrappedObject->getSectionName(index));
367 }
467 }
368
468
369 QString PythonQtWrapper_elfparser::getSectionType(elfparser* theWrappedObject, int index)
469 QString PythonQtWrapper_elfparser::getSectionType(elfparser* theWrappedObject, int index)
370 {
470 {
371 return ( theWrappedObject->getSectionType(index));
471 return ( theWrappedObject->getSectionType(index));
372 }
472 }
373
473
374 int PythonQtWrapper_elfparser::getSectioncount(elfparser* theWrappedObject)
474 int PythonQtWrapper_elfparser::getSectioncount(elfparser* theWrappedObject)
375 {
475 {
376 return ( theWrappedObject->getSectioncount());
476 return ( theWrappedObject->getSectioncount());
377 }
477 }
378
478
379 QString PythonQtWrapper_elfparser::getSegmentFlags(elfparser* theWrappedObject, int index)
479 QString PythonQtWrapper_elfparser::getSegmentFlags(elfparser* theWrappedObject, int index)
380 {
480 {
381 return ( theWrappedObject->getSegmentFlags(index));
481 return ( theWrappedObject->getSegmentFlags(index));
382 }
482 }
383
483
384 QString PythonQtWrapper_elfparser::getSegmentType(elfparser* theWrappedObject, int index)
484 QString PythonQtWrapper_elfparser::getSegmentType(elfparser* theWrappedObject, int index)
385 {
485 {
386 return ( theWrappedObject->getSegmentType(index));
486 return ( theWrappedObject->getSegmentType(index));
387 }
487 }
388
488
389 int PythonQtWrapper_elfparser::getSegmentcount(elfparser* theWrappedObject)
489 int PythonQtWrapper_elfparser::getSegmentcount(elfparser* theWrappedObject)
390 {
490 {
391 return ( theWrappedObject->getSegmentcount());
491 return ( theWrappedObject->getSegmentcount());
392 }
492 }
393
493
394 QString PythonQtWrapper_elfparser::getType(elfparser* theWrappedObject)
494 QString PythonQtWrapper_elfparser::getType(elfparser* theWrappedObject)
395 {
495 {
396 return ( theWrappedObject->getType());
496 return ( theWrappedObject->getType());
397 }
497 }
398
498
399 bool PythonQtWrapper_elfparser::static_elfparser_isElf(const QString& File)
499 bool PythonQtWrapper_elfparser::static_elfparser_isElf(const QString& File)
400 {
500 {
401 return (elfparser::isElf(File));
501 return (elfparser::isElf(File));
402 }
502 }
403
503
404 bool PythonQtWrapper_elfparser::iself(elfparser* theWrappedObject)
504 bool PythonQtWrapper_elfparser::iself(elfparser* theWrappedObject)
405 {
505 {
406 return ( theWrappedObject->iself());
506 return ( theWrappedObject->iself());
407 }
507 }
408
508
409 bool PythonQtWrapper_elfparser::isopened(elfparser* theWrappedObject)
509 bool PythonQtWrapper_elfparser::isopened(elfparser* theWrappedObject)
410 {
510 {
411 return ( theWrappedObject->isopened());
511 return ( theWrappedObject->isopened());
412 }
512 }
413
513
414 int PythonQtWrapper_elfparser::setFilename(elfparser* theWrappedObject, const QString& name)
514 int PythonQtWrapper_elfparser::setFilename(elfparser* theWrappedObject, const QString& name)
415 {
515 {
416 return ( theWrappedObject->setFilename(name));
516 return ( theWrappedObject->setFilename(name));
417 }
517 }
418
518
419
519
@@ -1,167 +1,209
1 #include <PythonQt.h>
1 #include <PythonQt.h>
2 #include <QObject>
2 #include <QObject>
3 #include <QVariant>
3 #include <QVariant>
4 #include <SocExplorerPlot.h>
4 #include <elfparser.h>
5 #include <elfparser.h>
5 #include <memsizewdgt.h>
6 #include <memsizewdgt.h>
6 #include <qhexedit.h>
7 #include <qhexedit.h>
7 #include <qhexspinbox.h>
8 #include <qhexspinbox.h>
8 #include <tcp_terminal_client.h>
9 #include <tcp_terminal_client.h>
9 #include <xbytearray.h>
10 #include <xbytearray.h>
10
11
11
12
12
13
13 class PythonQtWrapper_MemSizeWdgt : public QObject
14 class PythonQtWrapper_MemSizeWdgt : public QObject
14 { Q_OBJECT
15 { Q_OBJECT
15 public:
16 public:
16 public slots:
17 public slots:
17 MemSizeWdgt* new_MemSizeWdgt(QWidget* parent = 0);
18 MemSizeWdgt* new_MemSizeWdgt(QWidget* parent = 0);
18 MemSizeWdgt* new_MemSizeWdgt(int defaultSize, QWidget* parent = 0);
19 MemSizeWdgt* new_MemSizeWdgt(int defaultSize, QWidget* parent = 0);
19 void delete_MemSizeWdgt(MemSizeWdgt* obj) { delete obj; }
20 void delete_MemSizeWdgt(MemSizeWdgt* obj) { delete obj; }
20 int getsize(MemSizeWdgt* theWrappedObject);
21 int getsize(MemSizeWdgt* theWrappedObject);
21 void setMaximum(MemSizeWdgt* theWrappedObject, unsigned int max);
22 void setMaximum(MemSizeWdgt* theWrappedObject, unsigned int max);
22 void show(MemSizeWdgt* theWrappedObject);
23 void show(MemSizeWdgt* theWrappedObject);
23 void updateSizeValue(MemSizeWdgt* theWrappedObject);
24 void updateSizeValue(MemSizeWdgt* theWrappedObject);
24 };
25 };
25
26
26
27
27
28
28
29
29
30
30 class PythonQtShell_QHexEdit : public QHexEdit
31 class PythonQtShell_QHexEdit : public QHexEdit
31 {
32 {
32 public:
33 public:
33 PythonQtShell_QHexEdit(QWidget* parent = 0):QHexEdit(parent),_wrapper(NULL) {};
34 PythonQtShell_QHexEdit(QWidget* parent = 0):QHexEdit(parent),_wrapper(NULL) {};
34
35
35 ~PythonQtShell_QHexEdit();
36 ~PythonQtShell_QHexEdit();
36
37
37
38
38 PythonQtInstanceWrapper* _wrapper;
39 PythonQtInstanceWrapper* _wrapper;
39 };
40 };
40
41
41 class PythonQtWrapper_QHexEdit : public QObject
42 class PythonQtWrapper_QHexEdit : public QObject
42 { Q_OBJECT
43 { Q_OBJECT
43 public:
44 public:
44 public slots:
45 public slots:
45 QHexEdit* new_QHexEdit(QWidget* parent = 0);
46 QHexEdit* new_QHexEdit(QWidget* parent = 0);
46 void delete_QHexEdit(QHexEdit* obj) { delete obj; }
47 void delete_QHexEdit(QHexEdit* obj) { delete obj; }
47 QColor addressAreaColor(QHexEdit* theWrappedObject);
48 QColor addressAreaColor(QHexEdit* theWrappedObject);
48 int addressOffset(QHexEdit* theWrappedObject);
49 int addressOffset(QHexEdit* theWrappedObject);
49 int cursorPosition(QHexEdit* theWrappedObject);
50 int cursorPosition(QHexEdit* theWrappedObject);
50 QByteArray data(QHexEdit* theWrappedObject);
51 QByteArray data(QHexEdit* theWrappedObject);
51 const QFont* font(QHexEdit* theWrappedObject) const;
52 const QFont* font(QHexEdit* theWrappedObject) const;
52 QColor highlightingColor(QHexEdit* theWrappedObject);
53 QColor highlightingColor(QHexEdit* theWrappedObject);
53 int indexOf(QHexEdit* theWrappedObject, const QByteArray& ba, int from = 0) const;
54 int indexOf(QHexEdit* theWrappedObject, const QByteArray& ba, int from = 0) const;
54 void insert(QHexEdit* theWrappedObject, int i, char ch);
55 void insert(QHexEdit* theWrappedObject, int i, char ch);
55 void insert(QHexEdit* theWrappedObject, int i, const QByteArray& ba);
56 void insert(QHexEdit* theWrappedObject, int i, const QByteArray& ba);
56 bool isReadOnly(QHexEdit* theWrappedObject);
57 bool isReadOnly(QHexEdit* theWrappedObject);
57 int lastIndexOf(QHexEdit* theWrappedObject, const QByteArray& ba, int from = 0) const;
58 int lastIndexOf(QHexEdit* theWrappedObject, const QByteArray& ba, int from = 0) const;
58 bool overwriteMode(QHexEdit* theWrappedObject);
59 bool overwriteMode(QHexEdit* theWrappedObject);
59 void remove(QHexEdit* theWrappedObject, int pos, int len = 1);
60 void remove(QHexEdit* theWrappedObject, int pos, int len = 1);
60 void replace(QHexEdit* theWrappedObject, int pos, int len, const QByteArray& after);
61 void replace(QHexEdit* theWrappedObject, int pos, int len, const QByteArray& after);
61 QColor selectionColor(QHexEdit* theWrappedObject);
62 QColor selectionColor(QHexEdit* theWrappedObject);
62 QString selectionToReadableString(QHexEdit* theWrappedObject);
63 QString selectionToReadableString(QHexEdit* theWrappedObject);
63 void setAddressAreaColor(QHexEdit* theWrappedObject, const QColor& color);
64 void setAddressAreaColor(QHexEdit* theWrappedObject, const QColor& color);
64 void setAddressOffset(QHexEdit* theWrappedObject, int offset);
65 void setAddressOffset(QHexEdit* theWrappedObject, int offset);
65 void setCursorPosition(QHexEdit* theWrappedObject, int cusorPos);
66 void setCursorPosition(QHexEdit* theWrappedObject, int cusorPos);
66 void setData(QHexEdit* theWrappedObject, const QByteArray& data);
67 void setData(QHexEdit* theWrappedObject, const QByteArray& data);
67 void setFont(QHexEdit* theWrappedObject, const QFont& arg__1);
68 void setFont(QHexEdit* theWrappedObject, const QFont& arg__1);
68 void setHighlightingColor(QHexEdit* theWrappedObject, const QColor& color);
69 void setHighlightingColor(QHexEdit* theWrappedObject, const QColor& color);
69 void setOverwriteMode(QHexEdit* theWrappedObject, bool arg__1);
70 void setOverwriteMode(QHexEdit* theWrappedObject, bool arg__1);
70 void setReadOnly(QHexEdit* theWrappedObject, bool arg__1);
71 void setReadOnly(QHexEdit* theWrappedObject, bool arg__1);
71 void setSelectionColor(QHexEdit* theWrappedObject, const QColor& color);
72 void setSelectionColor(QHexEdit* theWrappedObject, const QColor& color);
72 QString toReadableString(QHexEdit* theWrappedObject);
73 QString toReadableString(QHexEdit* theWrappedObject);
73 };
74 };
74
75
75
76
76
77
77
78
78
79
79 class PythonQtWrapper_QHexSpinBox : public QObject
80 class PythonQtWrapper_QHexSpinBox : public QObject
80 { Q_OBJECT
81 { Q_OBJECT
81 public:
82 public:
82 public slots:
83 public slots:
83 QHexSpinBox* new_QHexSpinBox(QWidget* parent = 0);
84 QHexSpinBox* new_QHexSpinBox(QWidget* parent = 0);
84 void delete_QHexSpinBox(QHexSpinBox* obj) { delete obj; }
85 void delete_QHexSpinBox(QHexSpinBox* obj) { delete obj; }
85 void show(QHexSpinBox* theWrappedObject);
86 void show(QHexSpinBox* theWrappedObject);
86 QString textFromValue(QHexSpinBox* theWrappedObject, int value) const;
87 QString textFromValue(QHexSpinBox* theWrappedObject, int value) const;
87 QValidator::State validate(QHexSpinBox* theWrappedObject, QString& input, int& pos) const;
88 QValidator::State validate(QHexSpinBox* theWrappedObject, QString& input, int& pos) const;
88 int valueFromText(QHexSpinBox* theWrappedObject, const QString& text) const;
89 int valueFromText(QHexSpinBox* theWrappedObject, const QString& text) const;
89 };
90 };
90
91
91
92
92
93
93
94
94
95
96 class PythonQtShell_SocExplorerPlot : public SocExplorerPlot
97 {
98 public:
99 PythonQtShell_SocExplorerPlot(QWidget* parent = 0):SocExplorerPlot(parent),_wrapper(NULL) {};
100
101 ~PythonQtShell_SocExplorerPlot();
102
103
104 PythonQtInstanceWrapper* _wrapper;
105 };
106
107 class PythonQtWrapper_SocExplorerPlot : public QObject
108 { Q_OBJECT
109 public:
110 public slots:
111 SocExplorerPlot* new_SocExplorerPlot(QWidget* parent = 0);
112 void delete_SocExplorerPlot(SocExplorerPlot* obj) { delete obj; }
113 int addGraph(SocExplorerPlot* theWrappedObject);
114 void addGraphData(SocExplorerPlot* theWrappedObject, int graphIndex, QList<QVariant > x, QList<QVariant > y);
115 void addGraphData(SocExplorerPlot* theWrappedObject, int graphIndex, QVariant x, QVariant y);
116 QPen getGraphPen(SocExplorerPlot* theWrappedObject, int graphIndex);
117 void rescaleAxis(SocExplorerPlot* theWrappedObject);
118 void setGraphData(SocExplorerPlot* theWrappedObject, int graphIndex, QList<QVariant > x, QList<QVariant > y);
119 void setGraphLineStyle(SocExplorerPlot* theWrappedObject, int graphIndex, QString lineStyle);
120 void setGraphName(SocExplorerPlot* theWrappedObject, int graphIndex, QString name);
121 void setGraphPen(SocExplorerPlot* theWrappedObject, int graphIndex, QPen pen);
122 void setGraphScatterStyle(SocExplorerPlot* theWrappedObject, int graphIndex, QString scatterStyle);
123 void setLegendFont(SocExplorerPlot* theWrappedObject, QFont font);
124 void setLegendSelectedFont(SocExplorerPlot* theWrappedObject, QFont font);
125 void setTitle(SocExplorerPlot* theWrappedObject, QString title);
126 void setXaxisLabel(SocExplorerPlot* theWrappedObject, QString label);
127 void setXaxisRange(SocExplorerPlot* theWrappedObject, double lower, double upper);
128 void setYaxisLabel(SocExplorerPlot* theWrappedObject, QString label);
129 void setYaxisRange(SocExplorerPlot* theWrappedObject, double lower, double upper);
130 void show(SocExplorerPlot* theWrappedObject);
131 };
132
133
134
135
136
95 class PythonQtWrapper_TCP_Terminal_Client : public QObject
137 class PythonQtWrapper_TCP_Terminal_Client : public QObject
96 { Q_OBJECT
138 { Q_OBJECT
97 public:
139 public:
98 public slots:
140 public slots:
99 TCP_Terminal_Client* new_TCP_Terminal_Client(QObject* parent = 0);
141 TCP_Terminal_Client* new_TCP_Terminal_Client(QObject* parent = 0);
100 void delete_TCP_Terminal_Client(TCP_Terminal_Client* obj) { delete obj; }
142 void delete_TCP_Terminal_Client(TCP_Terminal_Client* obj) { delete obj; }
101 void connectToServer(TCP_Terminal_Client* theWrappedObject);
143 void connectToServer(TCP_Terminal_Client* theWrappedObject);
102 void connectToServer(TCP_Terminal_Client* theWrappedObject, const QString& IP, int port);
144 void connectToServer(TCP_Terminal_Client* theWrappedObject, const QString& IP, int port);
103 bool isConnected(TCP_Terminal_Client* theWrappedObject);
145 bool isConnected(TCP_Terminal_Client* theWrappedObject);
104 void sendText(TCP_Terminal_Client* theWrappedObject, const QString& text);
146 void sendText(TCP_Terminal_Client* theWrappedObject, const QString& text);
105 void startServer(TCP_Terminal_Client* theWrappedObject);
147 void startServer(TCP_Terminal_Client* theWrappedObject);
106 void startServer(TCP_Terminal_Client* theWrappedObject, int port);
148 void startServer(TCP_Terminal_Client* theWrappedObject, int port);
107 };
149 };
108
150
109
151
110
152
111
153
112
154
113 class PythonQtWrapper_XByteArray : public QObject
155 class PythonQtWrapper_XByteArray : public QObject
114 { Q_OBJECT
156 { Q_OBJECT
115 public:
157 public:
116 public slots:
158 public slots:
117 XByteArray* new_XByteArray();
159 XByteArray* new_XByteArray();
118 void delete_XByteArray(XByteArray* obj) { delete obj; }
160 void delete_XByteArray(XByteArray* obj) { delete obj; }
119 int addressOffset(XByteArray* theWrappedObject);
161 int addressOffset(XByteArray* theWrappedObject);
120 int addressWidth(XByteArray* theWrappedObject);
162 int addressWidth(XByteArray* theWrappedObject);
121 QChar asciiChar(XByteArray* theWrappedObject, int index);
163 QChar asciiChar(XByteArray* theWrappedObject, int index);
122 QByteArray* data(XByteArray* theWrappedObject);
164 QByteArray* data(XByteArray* theWrappedObject);
123 bool dataChanged(XByteArray* theWrappedObject, int i);
165 bool dataChanged(XByteArray* theWrappedObject, int i);
124 QByteArray dataChanged(XByteArray* theWrappedObject, int i, int len);
166 QByteArray dataChanged(XByteArray* theWrappedObject, int i, int len);
125 QByteArray* insert(XByteArray* theWrappedObject, int i, char ch);
167 QByteArray* insert(XByteArray* theWrappedObject, int i, char ch);
126 QByteArray* insert(XByteArray* theWrappedObject, int i, const QByteArray& ba);
168 QByteArray* insert(XByteArray* theWrappedObject, int i, const QByteArray& ba);
127 int realAddressNumbers(XByteArray* theWrappedObject);
169 int realAddressNumbers(XByteArray* theWrappedObject);
128 QByteArray* remove(XByteArray* theWrappedObject, int pos, int len);
170 QByteArray* remove(XByteArray* theWrappedObject, int pos, int len);
129 QByteArray* replace(XByteArray* theWrappedObject, int index, char ch);
171 QByteArray* replace(XByteArray* theWrappedObject, int index, char ch);
130 QByteArray* replace(XByteArray* theWrappedObject, int index, const QByteArray& ba);
172 QByteArray* replace(XByteArray* theWrappedObject, int index, const QByteArray& ba);
131 QByteArray* replace(XByteArray* theWrappedObject, int index, int length, const QByteArray& ba);
173 QByteArray* replace(XByteArray* theWrappedObject, int index, int length, const QByteArray& ba);
132 void setAddressOffset(XByteArray* theWrappedObject, int offset);
174 void setAddressOffset(XByteArray* theWrappedObject, int offset);
133 void setAddressWidth(XByteArray* theWrappedObject, int width);
175 void setAddressWidth(XByteArray* theWrappedObject, int width);
134 void setData(XByteArray* theWrappedObject, QByteArray data);
176 void setData(XByteArray* theWrappedObject, QByteArray data);
135 void setDataChanged(XByteArray* theWrappedObject, int i, bool state);
177 void setDataChanged(XByteArray* theWrappedObject, int i, bool state);
136 void setDataChanged(XByteArray* theWrappedObject, int i, const QByteArray& state);
178 void setDataChanged(XByteArray* theWrappedObject, int i, const QByteArray& state);
137 int size(XByteArray* theWrappedObject);
179 int size(XByteArray* theWrappedObject);
138 QString toRedableString(XByteArray* theWrappedObject, int start = 0, int end = -1);
180 QString toRedableString(XByteArray* theWrappedObject, int start = 0, int end = -1);
139 };
181 };
140
182
141
183
142
184
143
185
144
186
145 class PythonQtWrapper_elfparser : public QObject
187 class PythonQtWrapper_elfparser : public QObject
146 { Q_OBJECT
188 { Q_OBJECT
147 public:
189 public:
148 public slots:
190 public slots:
149 elfparser* new_elfparser();
191 elfparser* new_elfparser();
150 void delete_elfparser(elfparser* obj) { delete obj; }
192 void delete_elfparser(elfparser* obj) { delete obj; }
151 int closeFile(elfparser* theWrappedObject);
193 int closeFile(elfparser* theWrappedObject);
152 QString getArchitecture(elfparser* theWrappedObject);
194 QString getArchitecture(elfparser* theWrappedObject);
153 bool getSectionData(elfparser* theWrappedObject, int index, char** buffer);
195 bool getSectionData(elfparser* theWrappedObject, int index, char** buffer);
154 QString getSectionName(elfparser* theWrappedObject, int index);
196 QString getSectionName(elfparser* theWrappedObject, int index);
155 QString getSectionType(elfparser* theWrappedObject, int index);
197 QString getSectionType(elfparser* theWrappedObject, int index);
156 int getSectioncount(elfparser* theWrappedObject);
198 int getSectioncount(elfparser* theWrappedObject);
157 QString getSegmentFlags(elfparser* theWrappedObject, int index);
199 QString getSegmentFlags(elfparser* theWrappedObject, int index);
158 QString getSegmentType(elfparser* theWrappedObject, int index);
200 QString getSegmentType(elfparser* theWrappedObject, int index);
159 int getSegmentcount(elfparser* theWrappedObject);
201 int getSegmentcount(elfparser* theWrappedObject);
160 QString getType(elfparser* theWrappedObject);
202 QString getType(elfparser* theWrappedObject);
161 bool static_elfparser_isElf(const QString& File);
203 bool static_elfparser_isElf(const QString& File);
162 bool iself(elfparser* theWrappedObject);
204 bool iself(elfparser* theWrappedObject);
163 bool isopened(elfparser* theWrappedObject);
205 bool isopened(elfparser* theWrappedObject);
164 int setFilename(elfparser* theWrappedObject, const QString& name);
206 int setFilename(elfparser* theWrappedObject, const QString& name);
165 };
207 };
166
208
167
209
@@ -1,13 +1,14
1 #include <PythonQt.h>
1 #include <PythonQt.h>
2 #include "PySocExplorer0.h"
2 #include "PySocExplorer0.h"
3
3
4
4
5 void PythonQt_init_PySocExplorer(PyObject* module) {
5 void PythonQt_init_PySocExplorer(PyObject* module) {
6 PythonQt::priv()->registerCPPClass("MemSizeWdgt", "", "PySocExplorer", PythonQtCreateObject<PythonQtWrapper_MemSizeWdgt>, NULL, module, 0);
6 PythonQt::priv()->registerCPPClass("MemSizeWdgt", "", "PySocExplorer", PythonQtCreateObject<PythonQtWrapper_MemSizeWdgt>, NULL, module, 0);
7 PythonQt::priv()->registerCPPClass("QHexEdit", "", "PySocExplorer", PythonQtCreateObject<PythonQtWrapper_QHexEdit>, PythonQtSetInstanceWrapperOnShell<PythonQtShell_QHexEdit>, module, 0);
7 PythonQt::priv()->registerCPPClass("QHexEdit", "", "PySocExplorer", PythonQtCreateObject<PythonQtWrapper_QHexEdit>, PythonQtSetInstanceWrapperOnShell<PythonQtShell_QHexEdit>, module, 0);
8 PythonQt::priv()->registerCPPClass("QHexSpinBox", "", "PySocExplorer", PythonQtCreateObject<PythonQtWrapper_QHexSpinBox>, NULL, module, 0);
8 PythonQt::priv()->registerCPPClass("QHexSpinBox", "", "PySocExplorer", PythonQtCreateObject<PythonQtWrapper_QHexSpinBox>, NULL, module, 0);
9 PythonQt::priv()->registerCPPClass("SocExplorerPlot", "", "PySocExplorer", PythonQtCreateObject<PythonQtWrapper_SocExplorerPlot>, PythonQtSetInstanceWrapperOnShell<PythonQtShell_SocExplorerPlot>, module, 0);
9 PythonQt::priv()->registerClass(&TCP_Terminal_Client::staticMetaObject, "PySocExplorer", PythonQtCreateObject<PythonQtWrapper_TCP_Terminal_Client>, NULL, module, 0);
10 PythonQt::priv()->registerClass(&TCP_Terminal_Client::staticMetaObject, "PySocExplorer", PythonQtCreateObject<PythonQtWrapper_TCP_Terminal_Client>, NULL, module, 0);
10 PythonQt::priv()->registerCPPClass("XByteArray", "", "PySocExplorer", PythonQtCreateObject<PythonQtWrapper_XByteArray>, NULL, module, 0);
11 PythonQt::priv()->registerCPPClass("XByteArray", "", "PySocExplorer", PythonQtCreateObject<PythonQtWrapper_XByteArray>, NULL, module, 0);
11 PythonQt::priv()->registerCPPClass("elfparser", "", "PySocExplorer", PythonQtCreateObject<PythonQtWrapper_elfparser>, NULL, module, 0);
12 PythonQt::priv()->registerCPPClass("elfparser", "", "PySocExplorer", PythonQtCreateObject<PythonQtWrapper_elfparser>, NULL, module, 0);
12
13
13 }
14 }
General Comments 0
You need to be logged in to leave comments. Login now