##// END OF EJS Templates
Added some regs definitions for LFR instrument. Added memory size measurement.
jeandet -
r73:680fae912f57 default
parent child
Show More
@@ -0,0 +1,23
1 <?xml version='1.0' encoding='utf-8'?>
2 <soc name="Leon">
3 <peripheral vid="32" name="SRCTRLS-0WS" pid="1">
4 <register name="EDAC Control" addOffset="0">
5 <bitField size="4" offset="0" name="BTOS" mode="3" desc="write or read busy to scrub delay configuration"/>
6 <bitField size="4" offset="4" name="SCRUBRATE" mode="3" desc="write or read scrub rate period configuration"/>
7 <bitField name="RUN" offset="8" size="1" mode="3" desc="when set run the memory configuration"/>
8 <bitField name="BPBUSYN" offset="9" size="1" mode="3" desc="make controller to ignore busy signal"/>
9 <bitField name="WENSRAM" offset="12" size="8" mode="3" desc="when set write configuration to chip 8 to 1, else read configuration"/>
10 <bitField name="BYPASSEDAC" offset="20" size="8" mode="3" desc="bypass edac (for chips 8 to 1)"/>
11 <bitField name="WASHMEM" offset="31" size="1" mode="3" desc="Frame error (FE) - indicates that a framing error was detected. Reset value: ‘0’"/>
12 </register>
13 </peripheral>
14 </soc>
15
16
17
18
19
20
21
22
23
@@ -0,0 +1,71
1 <?xml version='1.0' encoding='utf-8'?>
2 <soc name="Leon">
3 <peripheral vid="25" name="LPP_APB_DAC" pid="7">
4 <register name="DAC Control" addOffset="0">
5 <bitField size="2" offset="0" name="Dac config" mode="3" desc="Set the two configuration bits of the DAC ‘00’ mean normal operation, ‘01’ mean 1kOhms connected to GND, ‘10’ mean 100kOhms connected to GND, ‘11’ mean high impedance"/>
6 <bitField size="1" offset="4" name="Reload" mode="3" desc="Reload freq divider to the value N, can be used also to stop dac"/>
7 <bitField name="Interleavde" offset="5" size="1" mode="3" desc="Set interleaved mode"/>
8 </register>
9 <register name="Prescaller" addOffset="4">
10 <bitField size="32" offset="0" name="Pre" mode="3" desc="Set the prescaller division"/>
11 </register>
12 <register name="Div" addOffset="8">
13 <bitField size="32" offset="0" name="N" mode="3" desc="Set the division factor"/>
14 </register>
15 <register name="Address" addOffset="12">
16 <bitField size="32" offset="0" name="Address" mode="3" desc="Set the DAC RAM buffer address pointer"/>
17 </register>
18 <register name="DATA" addOffset="16">
19 <bitField size="32" offset="0" name="DATA" mode="3" desc="DATA to be written in the DAC RAM buffer"/>
20 </register>
21 </peripheral>
22 <peripheral vid="25" name="LPP_LFR_MANAGEMENT" pid="34">
23 <register name="CONTROL" addOffset="0">
24 <bitField size="1" offset="0" name="ctrl" mode="3" desc="NC"/>
25 <bitField size="1" offset="1" name="Soft Reset" mode="3" desc="NC "/>
26 <bitField name="LFR Soft Reset" offset="5" size="1" mode="3" desc="NC"/>
27 </register>
28 <register name="COARSE TIME LOAD" addOffset="4">
29 <bitField size="31" offset="0" name="Coarse Time Load" mode="3" desc="NC"/>
30 </register>
31 <register name="COARSE TIME" addOffset="8">
32 <bitField size="31" offset="0" name="Coarse Time" mode="1" desc="NC"/>
33 </register>
34 <register name="TEMP0" addOffset="12">
35 <bitField size="16" offset="0" name="HK Temperature 0" mode="1" desc="NC"/>
36 </register>
37 <register name="TEMP1" addOffset="16">
38 <bitField size="16" offset="0" name="HK Temperature 1" mode="1" desc="NC"/>
39 </register>
40 <register name="TEMP2" addOffset="20">
41 <bitField size="16" offset="0" name="HK Temperature 2" mode="1" desc="NC"/>
42 </register>
43 <register name="DAC Control" addOffset="24">
44 <bitField size="2" offset="0" name="Dac config" mode="3" desc="Set the two configuration bits of the DAC ‘00’ mean normal operation, ‘01’ mean 1kOhms connected to GND, ‘10’ mean 100kOhms connected to GND, ‘11’ mean high impedance"/>
45 <bitField size="1" offset="4" name="Reload" mode="3" desc="Reload freq divider to the value N, can be used also to stop dac"/>
46 <bitField name="Interleavde" offset="5" size="1" mode="3" desc="Set interleaved mode"/>
47 <bitField name="Enable" offset="6" size="1" mode="3" desc="Scm cal enable, drives the multiplexer"/>
48 </register>
49 <register name="Prescaller" addOffset="28">
50 <bitField size="32" offset="0" name="Pre" mode="3" desc="Set the prescaller division"/>
51 </register>
52 <register name="Div" addOffset="32">
53 <bitField size="32" offset="0" name="N" mode="3" desc="Set the division factor"/>
54 </register>
55 <register name="Address" addOffset="36">
56 <bitField size="32" offset="0" name="Address" mode="3" desc="Set the DAC RAM buffer address pointer"/>
57 </register>
58 <register name="DATA" addOffset="40">
59 <bitField size="32" offset="0" name="DATA" mode="3" desc="DATA to be written in the DAC RAM buffer"/>
60 </register>
61 </peripheral>
62 </soc>
63
64
65
66
67
68
69
70
71
@@ -0,0 +1,75
1 #include "memtester.h"
2 #include <socexplorerengine.h>
3 #include <socexplorerproxy.h>
4
5 MemTester::MemTester(QObject* parent)
6 :QObject(parent)
7 {
8
9 }
10
11 MemTester::~MemTester()
12 {
13
14 }
15
16
17 unsigned int p_pow2(unsigned int v)
18 {
19 static const char LogTable256[256] =
20 {
21 #define LT(n) n, n, n, n, n, n, n, n, n, n, n, n, n, n, n, n
22 -1, 0, 1, 1, 2, 2, 2, 2, 3, 3, 3, 3, 3, 3, 3, 3,
23 LT(4), LT(5), LT(5), LT(6), LT(6), LT(6), LT(6),
24 LT(7), LT(7), LT(7), LT(7), LT(7), LT(7), LT(7), LT(7)
25 };
26
27 unsigned int r; // r will be lg(v)
28 register unsigned int t, tt; // temporaries
29
30 if (tt = v >> 16)
31 {
32 r = (t = tt >> 8) ? 24 + LogTable256[t] : 16 + LogTable256[tt];
33 }
34 else
35 {
36 r = (t = v >> 8) ? 8 + LogTable256[t] : LogTable256[v];
37 }
38 return r;
39 }
40
41 unsigned int MemTester::measureMemSize(socexplorerplugin *plugin, unsigned int address, unsigned int maxSize)
42 {
43 unsigned int curVal=1,testAddress=address;
44 unsigned int size=0;
45 if(Q_UNLIKELY(!plugin || !plugin->isConnected()))return 0;
46 plugin->Write(&curVal,1,testAddress);
47 plugin->Read(&curVal,1,testAddress);
48 if(Q_UNLIKELY(curVal!=1))
49 return size;
50 unsigned int max= p_pow2((0xFFFFFFFFFFFFFFFF - address))+1;
51 register unsigned int maxSizeLg=p_pow2(maxSize)-1;
52 if(max>maxSizeLg)
53 max=maxSizeLg;
54 if(max>32)max=32;
55 for(size=2;size<max;size++) //check each address bit
56 {
57 testAddress = (unsigned int)(address+(1<<size));
58 curVal = (unsigned int)(1<<size);
59 plugin->Write(&curVal,1,testAddress);
60 plugin->Read(&curVal,1,testAddress);
61 if((unsigned int)curVal!=(unsigned int)(1<<size))
62 return (1<<(size));
63 plugin->Read(&curVal,1,address);
64 if((curVal==(unsigned int)(1<<size)) && (size!=0))
65 return (1<<(size));
66 }
67 return (1<<(size+1));
68 }
69
70 unsigned int MemTester::measureMemSize(const QString &plugin, unsigned int address, unsigned int maxSize)
71 {
72 return measureMemSize(socexplorerproxy::findPlugin(plugin),address,maxSize);
73 }
74
75
@@ -0,0 +1,19
1 #ifndef MEMTESTER_H
2 #define MEMTESTER_H
3 #include <socexplorerplugin.h>
4 #include <QObject>
5
6 class MemTester : public QObject
7 {
8 Q_OBJECT
9 public:
10 MemTester(QObject *parent=0);
11 ~MemTester();
12
13 static unsigned int measureMemSize(socexplorerplugin* plugin, unsigned int address,unsigned int maxSize=0xFFFFFFFF);
14 static unsigned int measureMemSize(const QString& plugin, unsigned int address,unsigned int maxSize=0xFFFFFFFF);
15 public slots:
16
17 };
18
19 #endif // MEMTESTER_H
@@ -0,0 +1,325
1 %global upstream_name socexplorer-0.4
2
3 Name: socexplorer
4 Version: 0.4
5 Release: 6%{?dist}
6 Summary: SocExplorer is an open source generic System On Chip testing software/framework.
7 Group: Development/Tools
8 License: GPLv2+
9 URL: https://hephaistos.lpp.polytechnique.fr/redmine/projects/socexplorer
10 Source0: https://hephaistos.lpp.polytechnique.fr/redmine/attachments/download/376/socexplorer-0.4.zip
11 #
12 #Patch0: socexplorer_desktop.patch
13
14
15 BuildRequires: python2-devel
16 BuildRequires: qt5-qtbase-devel
17 BuildRequires: qt5-qtwebkit-devel
18 BuildRequires: qt5-qttools-static
19 BuildRequires: qt5-qttools-devel
20 BuildRequires: qt5-qtsvg-devel
21 BuildRequires: qt5-qtxmlpatterns-devel
22 BuildRequires: qt5-qtmultimedia-devel
23 BuildRequires: elfutils-libelf-devel
24 BuildRequires: qt5-pythonqt-devel
25 BuildRequires: mercurial
26 BuildRequires: appdata-tools
27 BuildRequires: desktop-file-utils
28
29 Requires(post): python2
30 Requires(post): qt5-qtbase
31 Requires(post): qt5-qtwebkit
32 Requires(post): qt5-qtsvg
33 Requires(post): qt5-qtxmlpatterns
34 Requires(post): elfutils-libelf
35 Requires(post): qt5-pythonqt
36
37 Provides: socexplorer = 0.4-6
38 Obsoletes: socexplorer < 0.4-5
39
40 %description
41 SocExplorer is an open source generic System On Chip testing software/framework. We write this software for the development and the validation of our instrument, the Low Frequency Receiver(LFR) for the Solar Orbiter mission. This instrument is based on an actel FPGA hosting a LEON3FT processor and some peripherals. To make it more collaborative, we use a plugin based system, the main executable is SocExplorer then all the functionality are provided by plugins. Like this everybody can provide his set of plugins to handle a new SOC or just a new peripheral. SocExplorer uses PythonQt to allow user to automate some tasks such as loading some plugins, configuring them and talking with his device.
42
43 %package devel
44 Summary: SocExplorer is an open source generic System On Chip testing software/framework.
45 Group: Development/Tools
46 Requires: %{name}%{?_isa} = %{version}-%{release}
47
48 %description devel
49 Header files and development libraries for SocExplorer package. SocExplorer is an open source generic System On Chip testing software/framework.
50
51 %prep
52 %setup -q -n %{upstream_name}
53 #%patch0 -p1 -b .desktop
54
55
56
57 %build
58 %{_qt5_qmake}
59
60 make %{?_smp_mflags}
61
62 %install
63 make install INSTALL_ROOT=%{buildroot}
64 appdata-validate --nonet %{buildroot}/%{_datadir}/appdata/socexplorer.appdata.xml
65 desktop-file-validate $RPM_BUILD_ROOT%{_datadir}/applications/socexplorer.desktop
66
67 %post -p /sbin/ldconfig
68
69 %postun -p /sbin/ldconfig
70
71 %files
72 /etc/SocExplorer/python/PygmentsHighlighter.py
73 /etc/SocExplorer/python/PygmentsHighlighter.pyc
74 /etc/SocExplorer/python/PygmentsHighlighter.pyo
75 /etc/SocExplorer/python/PythonCompleter.py
76 /etc/SocExplorer/python/PythonCompleter.pyc
77 /etc/SocExplorer/python/PythonCompleter.pyo
78 /etc/SocExplorer/python/module_completion.py
79 /etc/SocExplorer/python/module_completion.pyc
80 /etc/SocExplorer/python/module_completion.pyo
81 /etc/SocExplorer/python/pygments/__init__.py
82 /etc/SocExplorer/python/pygments/__init__.pyc
83 /etc/SocExplorer/python/pygments/__init__.pyo
84 /etc/SocExplorer/python/pygments/cmdline.py
85 /etc/SocExplorer/python/pygments/cmdline.pyc
86 /etc/SocExplorer/python/pygments/cmdline.pyo
87 /etc/SocExplorer/python/pygments/console.py
88 /etc/SocExplorer/python/pygments/console.pyc
89 /etc/SocExplorer/python/pygments/console.pyo
90 /etc/SocExplorer/python/pygments/filter.py
91 /etc/SocExplorer/python/pygments/filter.pyc
92 /etc/SocExplorer/python/pygments/filter.pyo
93 /etc/SocExplorer/python/pygments/filters/__init__.py
94 /etc/SocExplorer/python/pygments/filters/__init__.pyc
95 /etc/SocExplorer/python/pygments/filters/__init__.pyo
96 /etc/SocExplorer/python/pygments/formatter.py
97 /etc/SocExplorer/python/pygments/formatter.pyc
98 /etc/SocExplorer/python/pygments/formatter.pyo
99 /etc/SocExplorer/python/pygments/formatters/__init__.py
100 /etc/SocExplorer/python/pygments/formatters/__init__.pyc
101 /etc/SocExplorer/python/pygments/formatters/__init__.pyo
102 /etc/SocExplorer/python/pygments/formatters/_mapping.py
103 /etc/SocExplorer/python/pygments/formatters/_mapping.pyc
104 /etc/SocExplorer/python/pygments/formatters/_mapping.pyo
105 /etc/SocExplorer/python/pygments/formatters/bbcode.py
106 /etc/SocExplorer/python/pygments/formatters/bbcode.pyc
107 /etc/SocExplorer/python/pygments/formatters/bbcode.pyo
108 /etc/SocExplorer/python/pygments/formatters/html.py
109 /etc/SocExplorer/python/pygments/formatters/html.pyc
110 /etc/SocExplorer/python/pygments/formatters/html.pyo
111 /etc/SocExplorer/python/pygments/formatters/img.py
112 /etc/SocExplorer/python/pygments/formatters/img.pyc
113 /etc/SocExplorer/python/pygments/formatters/img.pyo
114 /etc/SocExplorer/python/pygments/formatters/latex.py
115 /etc/SocExplorer/python/pygments/formatters/latex.pyc
116 /etc/SocExplorer/python/pygments/formatters/latex.pyo
117 /etc/SocExplorer/python/pygments/formatters/other.py
118 /etc/SocExplorer/python/pygments/formatters/other.pyc
119 /etc/SocExplorer/python/pygments/formatters/other.pyo
120 /etc/SocExplorer/python/pygments/formatters/rtf.py
121 /etc/SocExplorer/python/pygments/formatters/rtf.pyc
122 /etc/SocExplorer/python/pygments/formatters/rtf.pyo
123 /etc/SocExplorer/python/pygments/formatters/svg.py
124 /etc/SocExplorer/python/pygments/formatters/svg.pyc
125 /etc/SocExplorer/python/pygments/formatters/svg.pyo
126 /etc/SocExplorer/python/pygments/formatters/terminal.py
127 /etc/SocExplorer/python/pygments/formatters/terminal.pyc
128 /etc/SocExplorer/python/pygments/formatters/terminal.pyo
129 /etc/SocExplorer/python/pygments/formatters/terminal256.py
130 /etc/SocExplorer/python/pygments/formatters/terminal256.pyc
131 /etc/SocExplorer/python/pygments/formatters/terminal256.pyo
132 /etc/SocExplorer/python/pygments/lexer.py
133 /etc/SocExplorer/python/pygments/lexer.pyc
134 /etc/SocExplorer/python/pygments/lexer.pyo
135 /etc/SocExplorer/python/pygments/lexers/__init__.py
136 /etc/SocExplorer/python/pygments/lexers/__init__.pyc
137 /etc/SocExplorer/python/pygments/lexers/__init__.pyo
138 /etc/SocExplorer/python/pygments/lexers/_asybuiltins.py
139 /etc/SocExplorer/python/pygments/lexers/_asybuiltins.pyc
140 /etc/SocExplorer/python/pygments/lexers/_asybuiltins.pyo
141 /etc/SocExplorer/python/pygments/lexers/_clbuiltins.py
142 /etc/SocExplorer/python/pygments/lexers/_clbuiltins.pyc
143 /etc/SocExplorer/python/pygments/lexers/_clbuiltins.pyo
144 /etc/SocExplorer/python/pygments/lexers/_luabuiltins.py
145 /etc/SocExplorer/python/pygments/lexers/_luabuiltins.pyc
146 /etc/SocExplorer/python/pygments/lexers/_luabuiltins.pyo
147 /etc/SocExplorer/python/pygments/lexers/_mapping.py
148 /etc/SocExplorer/python/pygments/lexers/_mapping.pyc
149 /etc/SocExplorer/python/pygments/lexers/_mapping.pyo
150 /etc/SocExplorer/python/pygments/lexers/_phpbuiltins.py
151 /etc/SocExplorer/python/pygments/lexers/_phpbuiltins.pyc
152 /etc/SocExplorer/python/pygments/lexers/_phpbuiltins.pyo
153 /etc/SocExplorer/python/pygments/lexers/_postgres_builtins.py
154 /etc/SocExplorer/python/pygments/lexers/_postgres_builtins.pyc
155 /etc/SocExplorer/python/pygments/lexers/_postgres_builtins.pyo
156 /etc/SocExplorer/python/pygments/lexers/_scilab_builtins.py
157 /etc/SocExplorer/python/pygments/lexers/_scilab_builtins.pyc
158 /etc/SocExplorer/python/pygments/lexers/_scilab_builtins.pyo
159 /etc/SocExplorer/python/pygments/lexers/_vimbuiltins.py
160 /etc/SocExplorer/python/pygments/lexers/_vimbuiltins.pyc
161 /etc/SocExplorer/python/pygments/lexers/_vimbuiltins.pyo
162 /etc/SocExplorer/python/pygments/lexers/agile.py
163 /etc/SocExplorer/python/pygments/lexers/agile.pyc
164 /etc/SocExplorer/python/pygments/lexers/agile.pyo
165 /etc/SocExplorer/python/pygments/lexers/asm.py
166 /etc/SocExplorer/python/pygments/lexers/asm.pyc
167 /etc/SocExplorer/python/pygments/lexers/asm.pyo
168 /etc/SocExplorer/python/pygments/lexers/compiled.py
169 /etc/SocExplorer/python/pygments/lexers/compiled.pyc
170 /etc/SocExplorer/python/pygments/lexers/compiled.pyo
171 /etc/SocExplorer/python/pygments/lexers/dotnet.py
172 /etc/SocExplorer/python/pygments/lexers/dotnet.pyc
173 /etc/SocExplorer/python/pygments/lexers/dotnet.pyo
174 /etc/SocExplorer/python/pygments/lexers/functional.py
175 /etc/SocExplorer/python/pygments/lexers/functional.pyc
176 /etc/SocExplorer/python/pygments/lexers/functional.pyo
177 /etc/SocExplorer/python/pygments/lexers/hdl.py
178 /etc/SocExplorer/python/pygments/lexers/hdl.pyc
179 /etc/SocExplorer/python/pygments/lexers/hdl.pyo
180 /etc/SocExplorer/python/pygments/lexers/jvm.py
181 /etc/SocExplorer/python/pygments/lexers/jvm.pyc
182 /etc/SocExplorer/python/pygments/lexers/jvm.pyo
183 /etc/SocExplorer/python/pygments/lexers/math.py
184 /etc/SocExplorer/python/pygments/lexers/math.pyc
185 /etc/SocExplorer/python/pygments/lexers/math.pyo
186 /etc/SocExplorer/python/pygments/lexers/other.py
187 /etc/SocExplorer/python/pygments/lexers/other.pyc
188 /etc/SocExplorer/python/pygments/lexers/other.pyo
189 /etc/SocExplorer/python/pygments/lexers/parsers.py
190 /etc/SocExplorer/python/pygments/lexers/parsers.pyc
191 /etc/SocExplorer/python/pygments/lexers/parsers.pyo
192 /etc/SocExplorer/python/pygments/lexers/shell.py
193 /etc/SocExplorer/python/pygments/lexers/shell.pyc
194 /etc/SocExplorer/python/pygments/lexers/shell.pyo
195 /etc/SocExplorer/python/pygments/lexers/special.py
196 /etc/SocExplorer/python/pygments/lexers/special.pyc
197 /etc/SocExplorer/python/pygments/lexers/special.pyo
198 /etc/SocExplorer/python/pygments/lexers/sql.py
199 /etc/SocExplorer/python/pygments/lexers/sql.pyc
200 /etc/SocExplorer/python/pygments/lexers/sql.pyo
201 /etc/SocExplorer/python/pygments/lexers/templates.py
202 /etc/SocExplorer/python/pygments/lexers/templates.pyc
203 /etc/SocExplorer/python/pygments/lexers/templates.pyo
204 /etc/SocExplorer/python/pygments/lexers/text.py
205 /etc/SocExplorer/python/pygments/lexers/text.pyc
206 /etc/SocExplorer/python/pygments/lexers/text.pyo
207 /etc/SocExplorer/python/pygments/lexers/web.py
208 /etc/SocExplorer/python/pygments/lexers/web.pyc
209 /etc/SocExplorer/python/pygments/lexers/web.pyo
210 /etc/SocExplorer/python/pygments/plugin.py
211 /etc/SocExplorer/python/pygments/plugin.pyc
212 /etc/SocExplorer/python/pygments/plugin.pyo
213 /etc/SocExplorer/python/pygments/scanner.py
214 /etc/SocExplorer/python/pygments/scanner.pyc
215 /etc/SocExplorer/python/pygments/scanner.pyo
216 /etc/SocExplorer/python/pygments/style.py
217 /etc/SocExplorer/python/pygments/style.pyc
218 /etc/SocExplorer/python/pygments/style.pyo
219 /etc/SocExplorer/python/pygments/styles/__init__.py
220 /etc/SocExplorer/python/pygments/styles/__init__.pyc
221 /etc/SocExplorer/python/pygments/styles/__init__.pyo
222 /etc/SocExplorer/python/pygments/styles/autumn.py
223 /etc/SocExplorer/python/pygments/styles/autumn.pyc
224 /etc/SocExplorer/python/pygments/styles/autumn.pyo
225 /etc/SocExplorer/python/pygments/styles/borland.py
226 /etc/SocExplorer/python/pygments/styles/borland.pyc
227 /etc/SocExplorer/python/pygments/styles/borland.pyo
228 /etc/SocExplorer/python/pygments/styles/bw.py
229 /etc/SocExplorer/python/pygments/styles/bw.pyc
230 /etc/SocExplorer/python/pygments/styles/bw.pyo
231 /etc/SocExplorer/python/pygments/styles/colorful.py
232 /etc/SocExplorer/python/pygments/styles/colorful.pyc
233 /etc/SocExplorer/python/pygments/styles/colorful.pyo
234 /etc/SocExplorer/python/pygments/styles/default.py
235 /etc/SocExplorer/python/pygments/styles/default.pyc
236 /etc/SocExplorer/python/pygments/styles/default.pyo
237 /etc/SocExplorer/python/pygments/styles/emacs.py
238 /etc/SocExplorer/python/pygments/styles/emacs.pyc
239 /etc/SocExplorer/python/pygments/styles/emacs.pyo
240 /etc/SocExplorer/python/pygments/styles/friendly.py
241 /etc/SocExplorer/python/pygments/styles/friendly.pyc
242 /etc/SocExplorer/python/pygments/styles/friendly.pyo
243 /etc/SocExplorer/python/pygments/styles/fruity.py
244 /etc/SocExplorer/python/pygments/styles/fruity.pyc
245 /etc/SocExplorer/python/pygments/styles/fruity.pyo
246 /etc/SocExplorer/python/pygments/styles/manni.py
247 /etc/SocExplorer/python/pygments/styles/manni.pyc
248 /etc/SocExplorer/python/pygments/styles/manni.pyo
249 /etc/SocExplorer/python/pygments/styles/monokai.py
250 /etc/SocExplorer/python/pygments/styles/monokai.pyc
251 /etc/SocExplorer/python/pygments/styles/monokai.pyo
252 /etc/SocExplorer/python/pygments/styles/murphy.py
253 /etc/SocExplorer/python/pygments/styles/murphy.pyc
254 /etc/SocExplorer/python/pygments/styles/murphy.pyo
255 /etc/SocExplorer/python/pygments/styles/native.py
256 /etc/SocExplorer/python/pygments/styles/native.pyc
257 /etc/SocExplorer/python/pygments/styles/native.pyo
258 /etc/SocExplorer/python/pygments/styles/pastie.py
259 /etc/SocExplorer/python/pygments/styles/pastie.pyc
260 /etc/SocExplorer/python/pygments/styles/pastie.pyo
261 /etc/SocExplorer/python/pygments/styles/perldoc.py
262 /etc/SocExplorer/python/pygments/styles/perldoc.pyc
263 /etc/SocExplorer/python/pygments/styles/perldoc.pyo
264 /etc/SocExplorer/python/pygments/styles/rrt.py
265 /etc/SocExplorer/python/pygments/styles/rrt.pyc
266 /etc/SocExplorer/python/pygments/styles/rrt.pyo
267 /etc/SocExplorer/python/pygments/styles/tango.py
268 /etc/SocExplorer/python/pygments/styles/tango.pyc
269 /etc/SocExplorer/python/pygments/styles/tango.pyo
270 /etc/SocExplorer/python/pygments/styles/trac.py
271 /etc/SocExplorer/python/pygments/styles/trac.pyc
272 /etc/SocExplorer/python/pygments/styles/trac.pyo
273 /etc/SocExplorer/python/pygments/styles/vim.py
274 /etc/SocExplorer/python/pygments/styles/vim.pyc
275 /etc/SocExplorer/python/pygments/styles/vim.pyo
276 /etc/SocExplorer/python/pygments/styles/vs.py
277 /etc/SocExplorer/python/pygments/styles/vs.pyc
278 /etc/SocExplorer/python/pygments/styles/vs.pyo
279 /etc/SocExplorer/python/pygments/token.py
280 /etc/SocExplorer/python/pygments/token.pyc
281 /etc/SocExplorer/python/pygments/token.pyo
282 /etc/SocExplorer/python/pygments/unistring.py
283 /etc/SocExplorer/python/pygments/unistring.pyc
284 /etc/SocExplorer/python/pygments/unistring.pyo
285 /etc/SocExplorer/python/pygments/util.py
286 /etc/SocExplorer/python/pygments/util.pyc
287 /etc/SocExplorer/python/pygments/util.pyo
288 /etc/SocExplorer/plugin.conf.d/plugins.conf
289 %{_bindir}/SocExplorer_TCP_Terminal
290 %{_bindir}/socexplorer
291 %{_datadir}/SocExplorer/icon.png
292 %{_datadir}/SocExplorer/Grlib.xml
293 %{_datadir}/SocExplorer/LPP.xml
294 %{_datadir}/SocExplorer/IAP.xml
295 %{_datadir}/applications/socexplorer.desktop
296 %{_datadir}/appdata/socexplorer.appdata.xml
297 %{_qt5_libdir}/libsocexplorercommon.so*
298 %{_qt5_libdir}/libsocexplorerengine.so*
299
300
301 %files devel
302 %{_qt5_headerdir}/SocExplorer/
303 %{_qt5_archdatadir}/mkspecs/features/socexplorerplugin.prf
304 /usr/share/qtcreator/templates/wizards/SocExplorerPlugin/plugin.cpp
305 /usr/share/qtcreator/templates/wizards/SocExplorerPlugin/plugin.h
306 /usr/share/qtcreator/templates/wizards/SocExplorerPlugin/project.pro
307 /usr/share/qtcreator/templates/wizards/SocExplorerPlugin/wizard.xml
308
309
310 %changelog
311 * Fri Feb 6 2015 Alexis Jeandet <alexis.jeandet@member.fsf.org> - 0.4
312 - Reseted patches uses r73 as source.
313 * Tue Dec 30 2014 Alexis Jeandet <alexis.jeandet@member.fsf.org> - 0.4
314 - Reseted patches uses r72 as source.
315
316 * Sun Jun 29 2014 Alexis Jeandet <alexis.jeandet@member.fsf.org> - 0.4
317 - Reseted patches uses r69 as source.
318
319 * Sat Jun 28 2014 Alexis Jeandet <alexis.jeandet@member.fsf.org> - 0.4
320 - Applied patch r65 to install also plugin as RPM
321 - Applied patch r66 to install xml soc descriptions in /usr/share/SocExplorer
322 - Applied patch r67 to add appdata for gnome-software visibility
323
324 * Tue Jun 24 2014 Alexis Jeandet <alexis.jeandet@member.fsf.org> - 0.4
325 - Initial Fedora packaging
@@ -28,7 +28,10 unix{
28 PluginConfPath.files = unixcfg/plugins.conf
28 PluginConfPath.files = unixcfg/plugins.conf
29 share.path = /usr/share/SocExplorer
29 share.path = /usr/share/SocExplorer
30 share.files = ressources/images/icon.png \
30 share.files = ressources/images/icon.png \
31 ressources/Grlib.xml
31 ressources/Grlib.xml \
32 ressources/LPP.xml \
33 ressources/IAP.xml
34
32 Wizard.path = /usr/share/qtcreator/templates/wizards/SocExplorerPlugin
35 Wizard.path = /usr/share/qtcreator/templates/wizards/SocExplorerPlugin
33 Wizard.files = Qt_Creator_Wizard/SocExplorerPlugin/logo-lpp-cutted.png \
36 Wizard.files = Qt_Creator_Wizard/SocExplorerPlugin/logo-lpp-cutted.png \
34 Qt_Creator_Wizard/SocExplorerPlugin/plugin.cpp \
37 Qt_Creator_Wizard/SocExplorerPlugin/plugin.cpp \
@@ -40,6 +40,12 void PythonConsole::addObject(const QStr
40 this->mainContext->addObject(name, object);
40 this->mainContext->addObject(name, object);
41 }
41 }
42
42
43 void PythonConsole::removeVariable(const QString& name)
44 {
45 this->mainContext->removeVariable(name);
46 }
47
48
43 void PythonConsole::setBussDriver(socexplorerplugin *driver)
49 void PythonConsole::setBussDriver(socexplorerplugin *driver)
44 {
50 {
45 this->bussdriver = driver;
51 this->bussdriver = driver;
@@ -57,6 +57,7 public slots:
57 void registerObject(QObject* object,const QString& instanceName);
57 void registerObject(QObject* object,const QString& instanceName);
58 void changeSysDriverInstName(const QString newinstanceName,const QString previnstanceName);
58 void changeSysDriverInstName(const QString newinstanceName,const QString previnstanceName);
59 void addObject(const QString& name, QObject* object);
59 void addObject(const QString& name, QObject* object);
60 void removeVariable(const QString& name);
60 protected:
61 protected:
61 QSize sizeHint();
62 QSize sizeHint();
62
63
@@ -1,4 +1,3
1 #include <QtCore/QObject>
1 #include <QtCore/QObject>
2 #include <QtWidgets/QtWidgets>
2 #include <QtWidgets/QtWidgets>
3 #include "plugins/socexplorerplugin.h"
3 #include "plugins/socexplorerplugin.h"
4
@@ -10,7 +10,7 SOCEXPLORER_PLUGIN_LOADER="custom"
10
10
11 SOCEXPLORER_CHAGESETNUM=$$system(hg id)
11 SOCEXPLORER_CHAGESETNUM=$$system(hg id)
12 isEmpty(SOCEXPLORER_CHAGESETNUM){
12 isEmpty(SOCEXPLORER_CHAGESETNUM){
13 SOCEXPLORER_CHAGESETNUM=6e5eaa13fad9
13 SOCEXPLORER_CHAGESETNUM=c4b98d42ee59
14 }
14 }
15 SOCEXPLORER_CHAGESETNUMSTR = '\\"$${SOCEXPLORER_CHAGESETNUM}\\"'
15 SOCEXPLORER_CHAGESETNUMSTR = '\\"$${SOCEXPLORER_CHAGESETNUM}\\"'
16 SOCEXPLORER_BRANCH=$$system(hg branch)
16 SOCEXPLORER_BRANCH=$$system(hg branch)
@@ -19,7 +19,7 isEmpty(SOCEXPLORER_BRANCH){
19 }
19 }
20 SOCEXPLORER_BRANCHSTR = '\\"$${SOCEXPLORER_BRANCH}\\"'
20 SOCEXPLORER_BRANCHSTR = '\\"$${SOCEXPLORER_BRANCH}\\"'
21
21
22 DEFINES += SOCEXPLORER_VERSION="\"\\\"0.4.4"\\\"\"
22 DEFINES += SOCEXPLORER_VERSION="\"\\\"0.4.5"\\\"\"
23 DEFINES += SOCEXPLORER_CHAGESET=\"$${SOCEXPLORER_CHAGESETNUMSTR}\"
23 DEFINES += SOCEXPLORER_CHAGESET=\"$${SOCEXPLORER_CHAGESETNUMSTR}\"
24 DEFINES += SOCEXPLORER_BRANCH=\"$${SOCEXPLORER_BRANCHSTR}\"
24 DEFINES += SOCEXPLORER_BRANCH=\"$${SOCEXPLORER_BRANCHSTR}\"
25
25
@@ -66,7 +66,8 header.files = engine/socexplorerengine.
66 SOC/socclk.h \
66 SOC/socclk.h \
67 PeripheralWidget/src/peripheralwidget.h \
67 PeripheralWidget/src/peripheralwidget.h \
68 PeripheralWidget/src/registerwidget.h \
68 PeripheralWidget/src/registerwidget.h \
69 PeripheralWidget/src/socregsviewer.h
69 PeripheralWidget/src/socregsviewer.h \
70 memtester/memtester.h
70
71
71
72
72
73
@@ -94,7 +95,8 INCLUDEPATH += engine \
94 RegisterMVS \
95 RegisterMVS \
95 XmlEngine \
96 XmlEngine \
96 SOC \
97 SOC \
97 PeripheralWidget/src
98 PeripheralWidget/src \
99 memtester
98
100
99
101
100 HEADERS += \
102 HEADERS += \
@@ -121,7 +123,8 HEADERS += \
121 pluginsInterface/socexplorerplugininterface_global.h \
123 pluginsInterface/socexplorerplugininterface_global.h \
122 proxy/socexplorerproxy.h \
124 proxy/socexplorerproxy.h \
123 SOC/socexplorerenumdevice.h \
125 SOC/socexplorerenumdevice.h \
124 PySocExplorerEngine.h
126 PySocExplorerEngine.h \
127 memtester/memtester.h
125
128
126
129
127
130
@@ -149,7 +152,8 SOURCES += \
149 engine/socexplorerxmlfile.cpp \
152 engine/socexplorerxmlfile.cpp \
150 proxy/socexplorerproxy.cpp \
153 proxy/socexplorerproxy.cpp \
151 SOC/socexplorerenumdevice.cpp \
154 SOC/socexplorerenumdevice.cpp \
152 plugins/socexplorerplugin.cpp
155 plugins/socexplorerplugin.cpp \
156 memtester/memtester.cpp
153
157
154
158
155 OTHER_FILES += \
159 OTHER_FILES += \
@@ -183,6 +183,16 int SocExplorerEngine::addEnumDevice(con
183 return 1;
183 return 1;
184 }
184 }
185
185
186 unsigned int SocExplorerEngine::memMeasureSize(socexplorerplugin *plugin, unsigned int address, unsigned int maxSize)
187 {
188 return MemTester::measureMemSize(plugin,address,maxSize);
189 }
190
191 unsigned int SocExplorerEngine::memMeasureSize(const QString &plugin, unsigned int address, unsigned int maxSize)
192 {
193 return MemTester::measureMemSize(plugin,address,maxSize);
194 }
195
186
196
187 QString SocExplorerEngine::getDevName(int VID, int PID)
197 QString SocExplorerEngine::getDevName(int VID, int PID)
188 {
198 {
@@ -41,6 +41,7
41 #include <peripheralwidget.h>
41 #include <peripheralwidget.h>
42 #include <registerwidget.h>
42 #include <registerwidget.h>
43 #include <socmodel.h>
43 #include <socmodel.h>
44 #include <memtester.h>
44
45
45 #if defined(SOCEXPLORER_SDK_BUILD)
46 #if defined(SOCEXPLORER_SDK_BUILD)
46 # define SOCEXPLORER_SDK_EXPORT Q_DECL_EXPORT
47 # define SOCEXPLORER_SDK_EXPORT Q_DECL_EXPORT
@@ -119,6 +120,8 public slots:
119 qint32 getEnumDeviceCount(socexplorerplugin* plugin,int VID,int PID);
120 qint32 getEnumDeviceCount(socexplorerplugin* plugin,int VID,int PID);
120 qint32 getEnumDeviceCount(const QString& rootPlugin,int VID,int PID);
121 qint32 getEnumDeviceCount(const QString& rootPlugin,int VID,int PID);
121 int addEnumDevice(const QString& rootPlugin,int VID,int PID,qint32 baseAddress,const QString& name);
122 int addEnumDevice(const QString& rootPlugin,int VID,int PID,qint32 baseAddress,const QString& name);
123 unsigned int memMeasureSize(socexplorerplugin* plugin, unsigned int address,unsigned int maxSize=0xFFFFFFFF);
124 unsigned int memMeasureSize(const QString& plugin, unsigned int address,unsigned int maxSize=0xFFFFFFFF);
122
125
123 private:
126 private:
124 static SOCModel* plugin2Soc(socexplorerplugin* plugin);
127 static SOCModel* plugin2Soc(socexplorerplugin* plugin);
@@ -257,7 +257,7 socexplorerplugin *socexplorerproxy::fin
257 if(!_self)init();
257 if(!_self)init();
258 for(int k=0;k<linearDriverList->count();k++)
258 for(int k=0;k<linearDriverList->count();k++)
259 {
259 {
260 if(linearDriverList->at(k)->instanceName().compare(instanceName))
260 if(!linearDriverList->at(k)->instanceName().compare(instanceName))
261 return linearDriverList->at(k);
261 return linearDriverList->at(k);
262 }
262 }
263 return NULL;
263 return NULL;
This diff has been collapsed as it changes many lines, (826 lines changed) Show them Hide them
@@ -2,9 +2,9
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 <QIconEngine>
6 #include <QVariant>
5 #include <QVariant>
7 #include <qaction.h>
6 #include <qaction.h>
7 #include <qbackingstore.h>
8 #include <qbitmap.h>
8 #include <qbitmap.h>
9 #include <qbytearray.h>
9 #include <qbytearray.h>
10 #include <qcoreevent.h>
10 #include <qcoreevent.h>
@@ -14,12 +14,14
14 #include <qfont.h>
14 #include <qfont.h>
15 #include <qgraphicseffect.h>
15 #include <qgraphicseffect.h>
16 #include <qgraphicsproxywidget.h>
16 #include <qgraphicsproxywidget.h>
17 #include <qicon.h>
17 #include <qkeysequence.h>
18 #include <qkeysequence.h>
18 #include <qlayout.h>
19 #include <qlayout.h>
19 #include <qlist.h>
20 #include <qlist.h>
20 #include <qlocale.h>
21 #include <qlocale.h>
21 #include <qmargins.h>
22 #include <qmargins.h>
22 #include <qmenu.h>
23 #include <qmenu.h>
24 #include <qmetaobject.h>
23 #include <qobject.h>
25 #include <qobject.h>
24 #include <qpaintdevice.h>
26 #include <qpaintdevice.h>
25 #include <qpaintengine.h>
27 #include <qpaintengine.h>
@@ -34,6 +36,7
34 #include <qstyle.h>
36 #include <qstyle.h>
35 #include <qstyleoption.h>
37 #include <qstyleoption.h>
36 #include <qwidget.h>
38 #include <qwidget.h>
39 #include <qwindow.h>
37 #include <socexplorerplugin.h>
40 #include <socexplorerplugin.h>
38
41
39 PythonQtShell_socexplorerplugin::~PythonQtShell_socexplorerplugin() {
42 PythonQtShell_socexplorerplugin::~PythonQtShell_socexplorerplugin() {
@@ -42,10 +45,10 PythonQtShell_socexplorerplugin::~Python
42 }
45 }
43 int PythonQtShell_socexplorerplugin::PID()
46 int PythonQtShell_socexplorerplugin::PID()
44 {
47 {
45 if (_wrapper) {
48 if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) {
46 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "PID");
49 static PyObject* name = PyString_FromString("PID");
47 PyErr_Clear();
50 PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name);
48 if (obj && !PythonQtSlotFunction_Check(obj)) {
51 if (obj) {
49 static const char* argumentList[] ={"int"};
52 static const char* argumentList[] ={"int"};
50 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList);
53 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList);
51 int returnValue;
54 int returnValue;
@@ -64,20 +67,22 if (_wrapper) {
64 if (result) { Py_DECREF(result); }
67 if (result) { Py_DECREF(result); }
65 Py_DECREF(obj);
68 Py_DECREF(obj);
66 return returnValue;
69 return returnValue;
70 } else {
71 PyErr_Clear();
67 }
72 }
68 }
73 }
69 return socexplorerplugin::PID();
74 return socexplorerplugin::PID();
70 }
75 }
71 unsigned int PythonQtShell_socexplorerplugin::Read(unsigned int* Value, unsigned int count, unsigned int address)
76 unsigned int PythonQtShell_socexplorerplugin::Read(unsigned int* Value0, unsigned int count1, unsigned int address2)
72 {
77 {
73 if (_wrapper) {
78 if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) {
74 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "Read");
79 static PyObject* name = PyString_FromString("Read");
75 PyErr_Clear();
80 PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name);
76 if (obj && !PythonQtSlotFunction_Check(obj)) {
81 if (obj) {
77 static const char* argumentList[] ={"unsigned int" , "unsigned int*" , "unsigned int" , "unsigned int"};
82 static const char* argumentList[] ={"unsigned int" , "unsigned int*" , "unsigned int" , "unsigned int"};
78 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList);
83 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList);
79 unsigned int returnValue;
84 unsigned int returnValue;
80 void* args[4] = {NULL, (void*)&Value, (void*)&count, (void*)&address};
85 void* args[4] = {NULL, (void*)&Value0, (void*)&count1, (void*)&address2};
81 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
86 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
82 if (result) {
87 if (result) {
83 args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue);
88 args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue);
@@ -92,16 +97,18 if (_wrapper) {
92 if (result) { Py_DECREF(result); }
97 if (result) { Py_DECREF(result); }
93 Py_DECREF(obj);
98 Py_DECREF(obj);
94 return returnValue;
99 return returnValue;
100 } else {
101 PyErr_Clear();
95 }
102 }
96 }
103 }
97 return socexplorerplugin::Read(Value, count, address);
104 return socexplorerplugin::Read(Value0, count1, address2);
98 }
105 }
99 int PythonQtShell_socexplorerplugin::VID()
106 int PythonQtShell_socexplorerplugin::VID()
100 {
107 {
101 if (_wrapper) {
108 if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) {
102 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "VID");
109 static PyObject* name = PyString_FromString("VID");
103 PyErr_Clear();
110 PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name);
104 if (obj && !PythonQtSlotFunction_Check(obj)) {
111 if (obj) {
105 static const char* argumentList[] ={"int"};
112 static const char* argumentList[] ={"int"};
106 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList);
113 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList);
107 int returnValue;
114 int returnValue;
@@ -120,20 +127,22 if (_wrapper) {
120 if (result) { Py_DECREF(result); }
127 if (result) { Py_DECREF(result); }
121 Py_DECREF(obj);
128 Py_DECREF(obj);
122 return returnValue;
129 return returnValue;
130 } else {
131 PyErr_Clear();
123 }
132 }
124 }
133 }
125 return socexplorerplugin::VID();
134 return socexplorerplugin::VID();
126 }
135 }
127 unsigned int PythonQtShell_socexplorerplugin::Write(unsigned int* Value, unsigned int count, unsigned int address)
136 unsigned int PythonQtShell_socexplorerplugin::Write(unsigned int* Value0, unsigned int count1, unsigned int address2)
128 {
137 {
129 if (_wrapper) {
138 if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) {
130 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "Write");
139 static PyObject* name = PyString_FromString("Write");
131 PyErr_Clear();
140 PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name);
132 if (obj && !PythonQtSlotFunction_Check(obj)) {
141 if (obj) {
133 static const char* argumentList[] ={"unsigned int" , "unsigned int*" , "unsigned int" , "unsigned int"};
142 static const char* argumentList[] ={"unsigned int" , "unsigned int*" , "unsigned int" , "unsigned int"};
134 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList);
143 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList);
135 unsigned int returnValue;
144 unsigned int returnValue;
136 void* args[4] = {NULL, (void*)&Value, (void*)&count, (void*)&address};
145 void* args[4] = {NULL, (void*)&Value0, (void*)&count1, (void*)&address2};
137 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
146 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
138 if (result) {
147 if (result) {
139 args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue);
148 args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue);
@@ -148,16 +157,18 if (_wrapper) {
148 if (result) { Py_DECREF(result); }
157 if (result) { Py_DECREF(result); }
149 Py_DECREF(obj);
158 Py_DECREF(obj);
150 return returnValue;
159 return returnValue;
160 } else {
161 PyErr_Clear();
151 }
162 }
152 }
163 }
153 return socexplorerplugin::Write(Value, count, address);
164 return socexplorerplugin::Write(Value0, count1, address2);
154 }
165 }
155 void PythonQtShell_socexplorerplugin::actionEvent(QActionEvent* arg__1)
166 void PythonQtShell_socexplorerplugin::actionEvent(QActionEvent* arg__1)
156 {
167 {
157 if (_wrapper) {
168 if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) {
158 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "actionEvent");
169 static PyObject* name = PyString_FromString("actionEvent");
159 PyErr_Clear();
170 PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name);
160 if (obj && !PythonQtSlotFunction_Check(obj)) {
171 if (obj) {
161 static const char* argumentList[] ={"" , "QActionEvent*"};
172 static const char* argumentList[] ={"" , "QActionEvent*"};
162 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
173 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
163 void* args[2] = {NULL, (void*)&arg__1};
174 void* args[2] = {NULL, (void*)&arg__1};
@@ -165,33 +176,37 if (_wrapper) {
165 if (result) { Py_DECREF(result); }
176 if (result) { Py_DECREF(result); }
166 Py_DECREF(obj);
177 Py_DECREF(obj);
167 return;
178 return;
179 } else {
180 PyErr_Clear();
168 }
181 }
169 }
182 }
170 socexplorerplugin::actionEvent(arg__1);
183 socexplorerplugin::actionEvent(arg__1);
171 }
184 }
172 void PythonQtShell_socexplorerplugin::activate(bool flag)
185 void PythonQtShell_socexplorerplugin::activate(bool flag0)
173 {
186 {
174 if (_wrapper) {
187 if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) {
175 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "activate");
188 static PyObject* name = PyString_FromString("activate");
176 PyErr_Clear();
189 PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name);
177 if (obj && !PythonQtSlotFunction_Check(obj)) {
190 if (obj) {
178 static const char* argumentList[] ={"" , "bool"};
191 static const char* argumentList[] ={"" , "bool"};
179 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
192 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
180 void* args[2] = {NULL, (void*)&flag};
193 void* args[2] = {NULL, (void*)&flag0};
181 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
194 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
182 if (result) { Py_DECREF(result); }
195 if (result) { Py_DECREF(result); }
183 Py_DECREF(obj);
196 Py_DECREF(obj);
184 return;
197 return;
198 } else {
199 PyErr_Clear();
185 }
200 }
186 }
201 }
187 socexplorerplugin::activate(flag);
202 socexplorerplugin::activate(flag0);
188 }
203 }
189 int PythonQtShell_socexplorerplugin::baseAddress()
204 int PythonQtShell_socexplorerplugin::baseAddress()
190 {
205 {
191 if (_wrapper) {
206 if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) {
192 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "baseAddress");
207 static PyObject* name = PyString_FromString("baseAddress");
193 PyErr_Clear();
208 PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name);
194 if (obj && !PythonQtSlotFunction_Check(obj)) {
209 if (obj) {
195 static const char* argumentList[] ={"int"};
210 static const char* argumentList[] ={"int"};
196 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList);
211 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList);
197 int returnValue;
212 int returnValue;
@@ -210,16 +225,18 if (_wrapper) {
210 if (result) { Py_DECREF(result); }
225 if (result) { Py_DECREF(result); }
211 Py_DECREF(obj);
226 Py_DECREF(obj);
212 return returnValue;
227 return returnValue;
228 } else {
229 PyErr_Clear();
213 }
230 }
214 }
231 }
215 return socexplorerplugin::baseAddress();
232 return socexplorerplugin::baseAddress();
216 }
233 }
217 QString PythonQtShell_socexplorerplugin::baseName()
234 QString PythonQtShell_socexplorerplugin::baseName()
218 {
235 {
219 if (_wrapper) {
236 if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) {
220 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "baseName");
237 static PyObject* name = PyString_FromString("baseName");
221 PyErr_Clear();
238 PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name);
222 if (obj && !PythonQtSlotFunction_Check(obj)) {
239 if (obj) {
223 static const char* argumentList[] ={"QString"};
240 static const char* argumentList[] ={"QString"};
224 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList);
241 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList);
225 QString returnValue;
242 QString returnValue;
@@ -238,33 +255,37 if (_wrapper) {
238 if (result) { Py_DECREF(result); }
255 if (result) { Py_DECREF(result); }
239 Py_DECREF(obj);
256 Py_DECREF(obj);
240 return returnValue;
257 return returnValue;
258 } else {
259 PyErr_Clear();
241 }
260 }
242 }
261 }
243 return socexplorerplugin::baseName();
262 return socexplorerplugin::baseName();
244 }
263 }
245 void PythonQtShell_socexplorerplugin::changeEvent(QEvent* event)
264 void PythonQtShell_socexplorerplugin::changeEvent(QEvent* event0)
246 {
265 {
247 if (_wrapper) {
266 if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) {
248 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "changeEvent");
267 static PyObject* name = PyString_FromString("changeEvent");
249 PyErr_Clear();
268 PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name);
250 if (obj && !PythonQtSlotFunction_Check(obj)) {
269 if (obj) {
251 static const char* argumentList[] ={"" , "QEvent*"};
270 static const char* argumentList[] ={"" , "QEvent*"};
252 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
271 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
253 void* args[2] = {NULL, (void*)&event};
272 void* args[2] = {NULL, (void*)&event0};
254 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
273 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
255 if (result) { Py_DECREF(result); }
274 if (result) { Py_DECREF(result); }
256 Py_DECREF(obj);
275 Py_DECREF(obj);
257 return;
276 return;
277 } else {
278 PyErr_Clear();
258 }
279 }
259 }
280 }
260 socexplorerplugin::changeEvent(event);
281 socexplorerplugin::changeEvent(event0);
261 }
282 }
262 void PythonQtShell_socexplorerplugin::childEvent(QChildEvent* arg__1)
283 void PythonQtShell_socexplorerplugin::childEvent(QChildEvent* arg__1)
263 {
284 {
264 if (_wrapper) {
285 if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) {
265 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "childEvent");
286 static PyObject* name = PyString_FromString("childEvent");
266 PyErr_Clear();
287 PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name);
267 if (obj && !PythonQtSlotFunction_Check(obj)) {
288 if (obj) {
268 static const char* argumentList[] ={"" , "QChildEvent*"};
289 static const char* argumentList[] ={"" , "QChildEvent*"};
269 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
290 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
270 void* args[2] = {NULL, (void*)&arg__1};
291 void* args[2] = {NULL, (void*)&arg__1};
@@ -272,33 +293,37 if (_wrapper) {
272 if (result) { Py_DECREF(result); }
293 if (result) { Py_DECREF(result); }
273 Py_DECREF(obj);
294 Py_DECREF(obj);
274 return;
295 return;
296 } else {
297 PyErr_Clear();
275 }
298 }
276 }
299 }
277 socexplorerplugin::childEvent(arg__1);
300 socexplorerplugin::childEvent(arg__1);
278 }
301 }
279 void PythonQtShell_socexplorerplugin::closeEvent(QCloseEvent* event)
302 void PythonQtShell_socexplorerplugin::closeEvent(QCloseEvent* event0)
280 {
303 {
281 if (_wrapper) {
304 if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) {
282 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "closeEvent");
305 static PyObject* name = PyString_FromString("closeEvent");
283 PyErr_Clear();
306 PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name);
284 if (obj && !PythonQtSlotFunction_Check(obj)) {
307 if (obj) {
285 static const char* argumentList[] ={"" , "QCloseEvent*"};
308 static const char* argumentList[] ={"" , "QCloseEvent*"};
286 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
309 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
287 void* args[2] = {NULL, (void*)&event};
310 void* args[2] = {NULL, (void*)&event0};
288 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
311 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
289 if (result) { Py_DECREF(result); }
312 if (result) { Py_DECREF(result); }
290 Py_DECREF(obj);
313 Py_DECREF(obj);
291 return;
314 return;
315 } else {
316 PyErr_Clear();
292 }
317 }
293 }
318 }
294 socexplorerplugin::closeEvent(event);
319 socexplorerplugin::closeEvent(event0);
295 }
320 }
296 void PythonQtShell_socexplorerplugin::closeMe()
321 void PythonQtShell_socexplorerplugin::closeMe()
297 {
322 {
298 if (_wrapper) {
323 if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) {
299 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "closeMe");
324 static PyObject* name = PyString_FromString("closeMe");
300 PyErr_Clear();
325 PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name);
301 if (obj && !PythonQtSlotFunction_Check(obj)) {
326 if (obj) {
302 static const char* argumentList[] ={""};
327 static const char* argumentList[] ={""};
303 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList);
328 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList);
304 void* args[1] = {NULL};
329 void* args[1] = {NULL};
@@ -306,16 +331,18 if (_wrapper) {
306 if (result) { Py_DECREF(result); }
331 if (result) { Py_DECREF(result); }
307 Py_DECREF(obj);
332 Py_DECREF(obj);
308 return;
333 return;
334 } else {
335 PyErr_Clear();
309 }
336 }
310 }
337 }
311 socexplorerplugin::closeMe();
338 socexplorerplugin::closeMe();
312 }
339 }
313 void PythonQtShell_socexplorerplugin::contextMenuEvent(QContextMenuEvent* arg__1)
340 void PythonQtShell_socexplorerplugin::contextMenuEvent(QContextMenuEvent* arg__1)
314 {
341 {
315 if (_wrapper) {
342 if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) {
316 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "contextMenuEvent");
343 static PyObject* name = PyString_FromString("contextMenuEvent");
317 PyErr_Clear();
344 PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name);
318 if (obj && !PythonQtSlotFunction_Check(obj)) {
345 if (obj) {
319 static const char* argumentList[] ={"" , "QContextMenuEvent*"};
346 static const char* argumentList[] ={"" , "QContextMenuEvent*"};
320 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
347 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
321 void* args[2] = {NULL, (void*)&arg__1};
348 void* args[2] = {NULL, (void*)&arg__1};
@@ -323,16 +350,18 if (_wrapper) {
323 if (result) { Py_DECREF(result); }
350 if (result) { Py_DECREF(result); }
324 Py_DECREF(obj);
351 Py_DECREF(obj);
325 return;
352 return;
353 } else {
354 PyErr_Clear();
326 }
355 }
327 }
356 }
328 socexplorerplugin::contextMenuEvent(arg__1);
357 socexplorerplugin::contextMenuEvent(arg__1);
329 }
358 }
330 void PythonQtShell_socexplorerplugin::customEvent(QEvent* arg__1)
359 void PythonQtShell_socexplorerplugin::customEvent(QEvent* arg__1)
331 {
360 {
332 if (_wrapper) {
361 if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) {
333 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "customEvent");
362 static PyObject* name = PyString_FromString("customEvent");
334 PyErr_Clear();
363 PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name);
335 if (obj && !PythonQtSlotFunction_Check(obj)) {
364 if (obj) {
336 static const char* argumentList[] ={"" , "QEvent*"};
365 static const char* argumentList[] ={"" , "QEvent*"};
337 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
366 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
338 void* args[2] = {NULL, (void*)&arg__1};
367 void* args[2] = {NULL, (void*)&arg__1};
@@ -340,16 +369,18 if (_wrapper) {
340 if (result) { Py_DECREF(result); }
369 if (result) { Py_DECREF(result); }
341 Py_DECREF(obj);
370 Py_DECREF(obj);
342 return;
371 return;
372 } else {
373 PyErr_Clear();
343 }
374 }
344 }
375 }
345 socexplorerplugin::customEvent(arg__1);
376 socexplorerplugin::customEvent(arg__1);
346 }
377 }
347 int PythonQtShell_socexplorerplugin::devType() const
378 int PythonQtShell_socexplorerplugin::devType() const
348 {
379 {
349 if (_wrapper) {
380 if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) {
350 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "devType");
381 static PyObject* name = PyString_FromString("devType");
351 PyErr_Clear();
382 PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name);
352 if (obj && !PythonQtSlotFunction_Check(obj)) {
383 if (obj) {
353 static const char* argumentList[] ={"int"};
384 static const char* argumentList[] ={"int"};
354 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList);
385 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList);
355 int returnValue;
386 int returnValue;
@@ -368,16 +399,18 if (_wrapper) {
368 if (result) { Py_DECREF(result); }
399 if (result) { Py_DECREF(result); }
369 Py_DECREF(obj);
400 Py_DECREF(obj);
370 return returnValue;
401 return returnValue;
402 } else {
403 PyErr_Clear();
371 }
404 }
372 }
405 }
373 return socexplorerplugin::devType();
406 return socexplorerplugin::devType();
374 }
407 }
375 void PythonQtShell_socexplorerplugin::dragEnterEvent(QDragEnterEvent* arg__1)
408 void PythonQtShell_socexplorerplugin::dragEnterEvent(QDragEnterEvent* arg__1)
376 {
409 {
377 if (_wrapper) {
410 if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) {
378 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dragEnterEvent");
411 static PyObject* name = PyString_FromString("dragEnterEvent");
379 PyErr_Clear();
412 PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name);
380 if (obj && !PythonQtSlotFunction_Check(obj)) {
413 if (obj) {
381 static const char* argumentList[] ={"" , "QDragEnterEvent*"};
414 static const char* argumentList[] ={"" , "QDragEnterEvent*"};
382 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
415 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
383 void* args[2] = {NULL, (void*)&arg__1};
416 void* args[2] = {NULL, (void*)&arg__1};
@@ -385,16 +418,18 if (_wrapper) {
385 if (result) { Py_DECREF(result); }
418 if (result) { Py_DECREF(result); }
386 Py_DECREF(obj);
419 Py_DECREF(obj);
387 return;
420 return;
421 } else {
422 PyErr_Clear();
388 }
423 }
389 }
424 }
390 socexplorerplugin::dragEnterEvent(arg__1);
425 socexplorerplugin::dragEnterEvent(arg__1);
391 }
426 }
392 void PythonQtShell_socexplorerplugin::dragLeaveEvent(QDragLeaveEvent* arg__1)
427 void PythonQtShell_socexplorerplugin::dragLeaveEvent(QDragLeaveEvent* arg__1)
393 {
428 {
394 if (_wrapper) {
429 if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) {
395 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dragLeaveEvent");
430 static PyObject* name = PyString_FromString("dragLeaveEvent");
396 PyErr_Clear();
431 PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name);
397 if (obj && !PythonQtSlotFunction_Check(obj)) {
432 if (obj) {
398 static const char* argumentList[] ={"" , "QDragLeaveEvent*"};
433 static const char* argumentList[] ={"" , "QDragLeaveEvent*"};
399 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
434 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
400 void* args[2] = {NULL, (void*)&arg__1};
435 void* args[2] = {NULL, (void*)&arg__1};
@@ -402,16 +437,18 if (_wrapper) {
402 if (result) { Py_DECREF(result); }
437 if (result) { Py_DECREF(result); }
403 Py_DECREF(obj);
438 Py_DECREF(obj);
404 return;
439 return;
440 } else {
441 PyErr_Clear();
405 }
442 }
406 }
443 }
407 socexplorerplugin::dragLeaveEvent(arg__1);
444 socexplorerplugin::dragLeaveEvent(arg__1);
408 }
445 }
409 void PythonQtShell_socexplorerplugin::dragMoveEvent(QDragMoveEvent* arg__1)
446 void PythonQtShell_socexplorerplugin::dragMoveEvent(QDragMoveEvent* arg__1)
410 {
447 {
411 if (_wrapper) {
448 if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) {
412 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dragMoveEvent");
449 static PyObject* name = PyString_FromString("dragMoveEvent");
413 PyErr_Clear();
450 PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name);
414 if (obj && !PythonQtSlotFunction_Check(obj)) {
451 if (obj) {
415 static const char* argumentList[] ={"" , "QDragMoveEvent*"};
452 static const char* argumentList[] ={"" , "QDragMoveEvent*"};
416 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
453 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
417 void* args[2] = {NULL, (void*)&arg__1};
454 void* args[2] = {NULL, (void*)&arg__1};
@@ -419,16 +456,18 if (_wrapper) {
419 if (result) { Py_DECREF(result); }
456 if (result) { Py_DECREF(result); }
420 Py_DECREF(obj);
457 Py_DECREF(obj);
421 return;
458 return;
459 } else {
460 PyErr_Clear();
422 }
461 }
423 }
462 }
424 socexplorerplugin::dragMoveEvent(arg__1);
463 socexplorerplugin::dragMoveEvent(arg__1);
425 }
464 }
426 void PythonQtShell_socexplorerplugin::dropEvent(QDropEvent* arg__1)
465 void PythonQtShell_socexplorerplugin::dropEvent(QDropEvent* arg__1)
427 {
466 {
428 if (_wrapper) {
467 if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) {
429 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dropEvent");
468 static PyObject* name = PyString_FromString("dropEvent");
430 PyErr_Clear();
469 PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name);
431 if (obj && !PythonQtSlotFunction_Check(obj)) {
470 if (obj) {
432 static const char* argumentList[] ={"" , "QDropEvent*"};
471 static const char* argumentList[] ={"" , "QDropEvent*"};
433 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
472 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
434 void* args[2] = {NULL, (void*)&arg__1};
473 void* args[2] = {NULL, (void*)&arg__1};
@@ -436,16 +475,78 if (_wrapper) {
436 if (result) { Py_DECREF(result); }
475 if (result) { Py_DECREF(result); }
437 Py_DECREF(obj);
476 Py_DECREF(obj);
438 return;
477 return;
478 } else {
479 PyErr_Clear();
439 }
480 }
440 }
481 }
441 socexplorerplugin::dropEvent(arg__1);
482 socexplorerplugin::dropEvent(arg__1);
442 }
483 }
484 bool PythonQtShell_socexplorerplugin::dumpMemory(unsigned int address0, unsigned int count1, QString file2)
485 {
486 if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) {
487 static PyObject* name = PyString_FromString("dumpMemory");
488 PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name);
489 if (obj) {
490 static const char* argumentList[] ={"bool" , "unsigned int" , "unsigned int" , "QString"};
491 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList);
492 bool returnValue;
493 void* args[4] = {NULL, (void*)&address0, (void*)&count1, (void*)&file2};
494 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
495 if (result) {
496 args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue);
497 if (args[0]!=&returnValue) {
498 if (args[0]==NULL) {
499 PythonQt::priv()->handleVirtualOverloadReturnError("dumpMemory", methodInfo, result);
500 } else {
501 returnValue = *((bool*)args[0]);
502 }
503 }
504 }
505 if (result) { Py_DECREF(result); }
506 Py_DECREF(obj);
507 return returnValue;
508 } else {
509 PyErr_Clear();
510 }
511 }
512 return socexplorerplugin::dumpMemory(address0, count1, file2);
513 }
514 bool PythonQtShell_socexplorerplugin::dumpMemory(unsigned int address0, unsigned int count1, QString file2, const QString& format3)
515 {
516 if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) {
517 static PyObject* name = PyString_FromString("dumpMemory");
518 PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name);
519 if (obj) {
520 static const char* argumentList[] ={"bool" , "unsigned int" , "unsigned int" , "QString" , "const QString&"};
521 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(5, argumentList);
522 bool returnValue;
523 void* args[5] = {NULL, (void*)&address0, (void*)&count1, (void*)&file2, (void*)&format3};
524 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
525 if (result) {
526 args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue);
527 if (args[0]!=&returnValue) {
528 if (args[0]==NULL) {
529 PythonQt::priv()->handleVirtualOverloadReturnError("dumpMemory", methodInfo, result);
530 } else {
531 returnValue = *((bool*)args[0]);
532 }
533 }
534 }
535 if (result) { Py_DECREF(result); }
536 Py_DECREF(obj);
537 return returnValue;
538 } else {
539 PyErr_Clear();
540 }
541 }
542 return socexplorerplugin::dumpMemory(address0, count1, file2, format3);
543 }
443 void PythonQtShell_socexplorerplugin::enterEvent(QEvent* arg__1)
544 void PythonQtShell_socexplorerplugin::enterEvent(QEvent* arg__1)
444 {
545 {
445 if (_wrapper) {
546 if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) {
446 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "enterEvent");
547 static PyObject* name = PyString_FromString("enterEvent");
447 PyErr_Clear();
548 PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name);
448 if (obj && !PythonQtSlotFunction_Check(obj)) {
549 if (obj) {
449 static const char* argumentList[] ={"" , "QEvent*"};
550 static const char* argumentList[] ={"" , "QEvent*"};
450 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
551 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
451 void* args[2] = {NULL, (void*)&arg__1};
552 void* args[2] = {NULL, (void*)&arg__1};
@@ -453,20 +554,22 if (_wrapper) {
453 if (result) { Py_DECREF(result); }
554 if (result) { Py_DECREF(result); }
454 Py_DECREF(obj);
555 Py_DECREF(obj);
455 return;
556 return;
557 } else {
558 PyErr_Clear();
456 }
559 }
457 }
560 }
458 socexplorerplugin::enterEvent(arg__1);
561 socexplorerplugin::enterEvent(arg__1);
459 }
562 }
460 bool PythonQtShell_socexplorerplugin::event(QEvent* event)
563 bool PythonQtShell_socexplorerplugin::event(QEvent* event0)
461 {
564 {
462 if (_wrapper) {
565 if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) {
463 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "event");
566 static PyObject* name = PyString_FromString("event");
464 PyErr_Clear();
567 PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name);
465 if (obj && !PythonQtSlotFunction_Check(obj)) {
568 if (obj) {
466 static const char* argumentList[] ={"bool" , "QEvent*"};
569 static const char* argumentList[] ={"bool" , "QEvent*"};
467 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
570 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
468 bool returnValue;
571 bool returnValue;
469 void* args[2] = {NULL, (void*)&event};
572 void* args[2] = {NULL, (void*)&event0};
470 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
573 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
471 if (result) {
574 if (result) {
472 args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue);
575 args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue);
@@ -481,16 +584,18 if (_wrapper) {
481 if (result) { Py_DECREF(result); }
584 if (result) { Py_DECREF(result); }
482 Py_DECREF(obj);
585 Py_DECREF(obj);
483 return returnValue;
586 return returnValue;
587 } else {
588 PyErr_Clear();
484 }
589 }
485 }
590 }
486 return socexplorerplugin::event(event);
591 return socexplorerplugin::event(event0);
487 }
592 }
488 bool PythonQtShell_socexplorerplugin::eventFilter(QObject* arg__1, QEvent* arg__2)
593 bool PythonQtShell_socexplorerplugin::eventFilter(QObject* arg__1, QEvent* arg__2)
489 {
594 {
490 if (_wrapper) {
595 if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) {
491 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "eventFilter");
596 static PyObject* name = PyString_FromString("eventFilter");
492 PyErr_Clear();
597 PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name);
493 if (obj && !PythonQtSlotFunction_Check(obj)) {
598 if (obj) {
494 static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"};
599 static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"};
495 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList);
600 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList);
496 bool returnValue;
601 bool returnValue;
@@ -509,16 +614,18 if (_wrapper) {
509 if (result) { Py_DECREF(result); }
614 if (result) { Py_DECREF(result); }
510 Py_DECREF(obj);
615 Py_DECREF(obj);
511 return returnValue;
616 return returnValue;
617 } else {
618 PyErr_Clear();
512 }
619 }
513 }
620 }
514 return socexplorerplugin::eventFilter(arg__1, arg__2);
621 return socexplorerplugin::eventFilter(arg__1, arg__2);
515 }
622 }
516 void PythonQtShell_socexplorerplugin::focusInEvent(QFocusEvent* arg__1)
623 void PythonQtShell_socexplorerplugin::focusInEvent(QFocusEvent* arg__1)
517 {
624 {
518 if (_wrapper) {
625 if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) {
519 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "focusInEvent");
626 static PyObject* name = PyString_FromString("focusInEvent");
520 PyErr_Clear();
627 PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name);
521 if (obj && !PythonQtSlotFunction_Check(obj)) {
628 if (obj) {
522 static const char* argumentList[] ={"" , "QFocusEvent*"};
629 static const char* argumentList[] ={"" , "QFocusEvent*"};
523 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
630 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
524 void* args[2] = {NULL, (void*)&arg__1};
631 void* args[2] = {NULL, (void*)&arg__1};
@@ -526,20 +633,22 if (_wrapper) {
526 if (result) { Py_DECREF(result); }
633 if (result) { Py_DECREF(result); }
527 Py_DECREF(obj);
634 Py_DECREF(obj);
528 return;
635 return;
636 } else {
637 PyErr_Clear();
529 }
638 }
530 }
639 }
531 socexplorerplugin::focusInEvent(arg__1);
640 socexplorerplugin::focusInEvent(arg__1);
532 }
641 }
533 bool PythonQtShell_socexplorerplugin::focusNextPrevChild(bool next)
642 bool PythonQtShell_socexplorerplugin::focusNextPrevChild(bool next0)
534 {
643 {
535 if (_wrapper) {
644 if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) {
536 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "focusNextPrevChild");
645 static PyObject* name = PyString_FromString("focusNextPrevChild");
537 PyErr_Clear();
646 PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name);
538 if (obj && !PythonQtSlotFunction_Check(obj)) {
647 if (obj) {
539 static const char* argumentList[] ={"bool" , "bool"};
648 static const char* argumentList[] ={"bool" , "bool"};
540 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
649 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
541 bool returnValue;
650 bool returnValue;
542 void* args[2] = {NULL, (void*)&next};
651 void* args[2] = {NULL, (void*)&next0};
543 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
652 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
544 if (result) {
653 if (result) {
545 args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue);
654 args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue);
@@ -554,16 +663,18 if (_wrapper) {
554 if (result) { Py_DECREF(result); }
663 if (result) { Py_DECREF(result); }
555 Py_DECREF(obj);
664 Py_DECREF(obj);
556 return returnValue;
665 return returnValue;
666 } else {
667 PyErr_Clear();
557 }
668 }
558 }
669 }
559 return socexplorerplugin::focusNextPrevChild(next);
670 return socexplorerplugin::focusNextPrevChild(next0);
560 }
671 }
561 void PythonQtShell_socexplorerplugin::focusOutEvent(QFocusEvent* arg__1)
672 void PythonQtShell_socexplorerplugin::focusOutEvent(QFocusEvent* arg__1)
562 {
673 {
563 if (_wrapper) {
674 if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) {
564 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "focusOutEvent");
675 static PyObject* name = PyString_FromString("focusOutEvent");
565 PyErr_Clear();
676 PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name);
566 if (obj && !PythonQtSlotFunction_Check(obj)) {
677 if (obj) {
567 static const char* argumentList[] ={"" , "QFocusEvent*"};
678 static const char* argumentList[] ={"" , "QFocusEvent*"};
568 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
679 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
569 void* args[2] = {NULL, (void*)&arg__1};
680 void* args[2] = {NULL, (void*)&arg__1};
@@ -571,16 +682,18 if (_wrapper) {
571 if (result) { Py_DECREF(result); }
682 if (result) { Py_DECREF(result); }
572 Py_DECREF(obj);
683 Py_DECREF(obj);
573 return;
684 return;
685 } else {
686 PyErr_Clear();
574 }
687 }
575 }
688 }
576 socexplorerplugin::focusOutEvent(arg__1);
689 socexplorerplugin::focusOutEvent(arg__1);
577 }
690 }
578 bool PythonQtShell_socexplorerplugin::hasHeightForWidth() const
691 bool PythonQtShell_socexplorerplugin::hasHeightForWidth() const
579 {
692 {
580 if (_wrapper) {
693 if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) {
581 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "hasHeightForWidth");
694 static PyObject* name = PyString_FromString("hasHeightForWidth");
582 PyErr_Clear();
695 PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name);
583 if (obj && !PythonQtSlotFunction_Check(obj)) {
696 if (obj) {
584 static const char* argumentList[] ={"bool"};
697 static const char* argumentList[] ={"bool"};
585 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList);
698 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList);
586 bool returnValue;
699 bool returnValue;
@@ -599,16 +712,18 if (_wrapper) {
599 if (result) { Py_DECREF(result); }
712 if (result) { Py_DECREF(result); }
600 Py_DECREF(obj);
713 Py_DECREF(obj);
601 return returnValue;
714 return returnValue;
715 } else {
716 PyErr_Clear();
602 }
717 }
603 }
718 }
604 return socexplorerplugin::hasHeightForWidth();
719 return socexplorerplugin::hasHeightForWidth();
605 }
720 }
606 int PythonQtShell_socexplorerplugin::heightForWidth(int arg__1) const
721 int PythonQtShell_socexplorerplugin::heightForWidth(int arg__1) const
607 {
722 {
608 if (_wrapper) {
723 if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) {
609 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "heightForWidth");
724 static PyObject* name = PyString_FromString("heightForWidth");
610 PyErr_Clear();
725 PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name);
611 if (obj && !PythonQtSlotFunction_Check(obj)) {
726 if (obj) {
612 static const char* argumentList[] ={"int" , "int"};
727 static const char* argumentList[] ={"int" , "int"};
613 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
728 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
614 int returnValue;
729 int returnValue;
@@ -627,16 +742,18 if (_wrapper) {
627 if (result) { Py_DECREF(result); }
742 if (result) { Py_DECREF(result); }
628 Py_DECREF(obj);
743 Py_DECREF(obj);
629 return returnValue;
744 return returnValue;
745 } else {
746 PyErr_Clear();
630 }
747 }
631 }
748 }
632 return socexplorerplugin::heightForWidth(arg__1);
749 return socexplorerplugin::heightForWidth(arg__1);
633 }
750 }
634 void PythonQtShell_socexplorerplugin::hideEvent(QHideEvent* arg__1)
751 void PythonQtShell_socexplorerplugin::hideEvent(QHideEvent* arg__1)
635 {
752 {
636 if (_wrapper) {
753 if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) {
637 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "hideEvent");
754 static PyObject* name = PyString_FromString("hideEvent");
638 PyErr_Clear();
755 PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name);
639 if (obj && !PythonQtSlotFunction_Check(obj)) {
756 if (obj) {
640 static const char* argumentList[] ={"" , "QHideEvent*"};
757 static const char* argumentList[] ={"" , "QHideEvent*"};
641 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
758 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
642 void* args[2] = {NULL, (void*)&arg__1};
759 void* args[2] = {NULL, (void*)&arg__1};
@@ -644,33 +761,37 if (_wrapper) {
644 if (result) { Py_DECREF(result); }
761 if (result) { Py_DECREF(result); }
645 Py_DECREF(obj);
762 Py_DECREF(obj);
646 return;
763 return;
764 } else {
765 PyErr_Clear();
647 }
766 }
648 }
767 }
649 socexplorerplugin::hideEvent(arg__1);
768 socexplorerplugin::hideEvent(arg__1);
650 }
769 }
651 void PythonQtShell_socexplorerplugin::initPainter(QPainter* painter) const
770 void PythonQtShell_socexplorerplugin::initPainter(QPainter* painter0) const
652 {
771 {
653 if (_wrapper) {
772 if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) {
654 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "initPainter");
773 static PyObject* name = PyString_FromString("initPainter");
655 PyErr_Clear();
774 PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name);
656 if (obj && !PythonQtSlotFunction_Check(obj)) {
775 if (obj) {
657 static const char* argumentList[] ={"" , "QPainter*"};
776 static const char* argumentList[] ={"" , "QPainter*"};
658 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
777 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
659 void* args[2] = {NULL, (void*)&painter};
778 void* args[2] = {NULL, (void*)&painter0};
660 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
779 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
661 if (result) { Py_DECREF(result); }
780 if (result) { Py_DECREF(result); }
662 Py_DECREF(obj);
781 Py_DECREF(obj);
663 return;
782 return;
783 } else {
784 PyErr_Clear();
664 }
785 }
665 }
786 }
666 socexplorerplugin::initPainter(painter);
787 socexplorerplugin::initPainter(painter0);
667 }
788 }
668 void PythonQtShell_socexplorerplugin::inputMethodEvent(QInputMethodEvent* arg__1)
789 void PythonQtShell_socexplorerplugin::inputMethodEvent(QInputMethodEvent* arg__1)
669 {
790 {
670 if (_wrapper) {
791 if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) {
671 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "inputMethodEvent");
792 static PyObject* name = PyString_FromString("inputMethodEvent");
672 PyErr_Clear();
793 PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name);
673 if (obj && !PythonQtSlotFunction_Check(obj)) {
794 if (obj) {
674 static const char* argumentList[] ={"" , "QInputMethodEvent*"};
795 static const char* argumentList[] ={"" , "QInputMethodEvent*"};
675 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
796 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
676 void* args[2] = {NULL, (void*)&arg__1};
797 void* args[2] = {NULL, (void*)&arg__1};
@@ -678,16 +799,18 if (_wrapper) {
678 if (result) { Py_DECREF(result); }
799 if (result) { Py_DECREF(result); }
679 Py_DECREF(obj);
800 Py_DECREF(obj);
680 return;
801 return;
802 } else {
803 PyErr_Clear();
681 }
804 }
682 }
805 }
683 socexplorerplugin::inputMethodEvent(arg__1);
806 socexplorerplugin::inputMethodEvent(arg__1);
684 }
807 }
685 QVariant PythonQtShell_socexplorerplugin::inputMethodQuery(Qt::InputMethodQuery arg__1) const
808 QVariant PythonQtShell_socexplorerplugin::inputMethodQuery(Qt::InputMethodQuery arg__1) const
686 {
809 {
687 if (_wrapper) {
810 if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) {
688 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "inputMethodQuery");
811 static PyObject* name = PyString_FromString("inputMethodQuery");
689 PyErr_Clear();
812 PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name);
690 if (obj && !PythonQtSlotFunction_Check(obj)) {
813 if (obj) {
691 static const char* argumentList[] ={"QVariant" , "Qt::InputMethodQuery"};
814 static const char* argumentList[] ={"QVariant" , "Qt::InputMethodQuery"};
692 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
815 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
693 QVariant returnValue;
816 QVariant returnValue;
@@ -706,16 +829,18 if (_wrapper) {
706 if (result) { Py_DECREF(result); }
829 if (result) { Py_DECREF(result); }
707 Py_DECREF(obj);
830 Py_DECREF(obj);
708 return returnValue;
831 return returnValue;
832 } else {
833 PyErr_Clear();
709 }
834 }
710 }
835 }
711 return socexplorerplugin::inputMethodQuery(arg__1);
836 return socexplorerplugin::inputMethodQuery(arg__1);
712 }
837 }
713 int PythonQtShell_socexplorerplugin::isConnected()
838 int PythonQtShell_socexplorerplugin::isConnected()
714 {
839 {
715 if (_wrapper) {
840 if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) {
716 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "isConnected");
841 static PyObject* name = PyString_FromString("isConnected");
717 PyErr_Clear();
842 PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name);
718 if (obj && !PythonQtSlotFunction_Check(obj)) {
843 if (obj) {
719 static const char* argumentList[] ={"int"};
844 static const char* argumentList[] ={"int"};
720 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList);
845 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList);
721 int returnValue;
846 int returnValue;
@@ -734,16 +859,37 if (_wrapper) {
734 if (result) { Py_DECREF(result); }
859 if (result) { Py_DECREF(result); }
735 Py_DECREF(obj);
860 Py_DECREF(obj);
736 return returnValue;
861 return returnValue;
862 } else {
863 PyErr_Clear();
737 }
864 }
738 }
865 }
739 return socexplorerplugin::isConnected();
866 return socexplorerplugin::isConnected();
740 }
867 }
741 void PythonQtShell_socexplorerplugin::keyPressEvent(QKeyEvent* arg__1)
868 void PythonQtShell_socexplorerplugin::keyPressEvent(QKeyEvent* arg__1)
742 {
869 {
743 if (_wrapper) {
870 if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) {
744 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "keyPressEvent");
871 static PyObject* name = PyString_FromString("keyPressEvent");
872 PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name);
873 if (obj) {
874 static const char* argumentList[] ={"" , "QKeyEvent*"};
875 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
876 void* args[2] = {NULL, (void*)&arg__1};
877 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
878 if (result) { Py_DECREF(result); }
879 Py_DECREF(obj);
880 return;
881 } else {
745 PyErr_Clear();
882 PyErr_Clear();
746 if (obj && !PythonQtSlotFunction_Check(obj)) {
883 }
884 }
885 socexplorerplugin::keyPressEvent(arg__1);
886 }
887 void PythonQtShell_socexplorerplugin::keyReleaseEvent(QKeyEvent* arg__1)
888 {
889 if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) {
890 static PyObject* name = PyString_FromString("keyReleaseEvent");
891 PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name);
892 if (obj) {
747 static const char* argumentList[] ={"" , "QKeyEvent*"};
893 static const char* argumentList[] ={"" , "QKeyEvent*"};
748 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
894 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
749 void* args[2] = {NULL, (void*)&arg__1};
895 void* args[2] = {NULL, (void*)&arg__1};
@@ -751,33 +897,18 if (_wrapper) {
751 if (result) { Py_DECREF(result); }
897 if (result) { Py_DECREF(result); }
752 Py_DECREF(obj);
898 Py_DECREF(obj);
753 return;
899 return;
754 }
900 } else {
755 }
756 socexplorerplugin::keyPressEvent(arg__1);
757 }
758 void PythonQtShell_socexplorerplugin::keyReleaseEvent(QKeyEvent* arg__1)
759 {
760 if (_wrapper) {
761 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "keyReleaseEvent");
762 PyErr_Clear();
901 PyErr_Clear();
763 if (obj && !PythonQtSlotFunction_Check(obj)) {
764 static const char* argumentList[] ={"" , "QKeyEvent*"};
765 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
766 void* args[2] = {NULL, (void*)&arg__1};
767 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
768 if (result) { Py_DECREF(result); }
769 Py_DECREF(obj);
770 return;
771 }
902 }
772 }
903 }
773 socexplorerplugin::keyReleaseEvent(arg__1);
904 socexplorerplugin::keyReleaseEvent(arg__1);
774 }
905 }
775 void PythonQtShell_socexplorerplugin::leaveEvent(QEvent* arg__1)
906 void PythonQtShell_socexplorerplugin::leaveEvent(QEvent* arg__1)
776 {
907 {
777 if (_wrapper) {
908 if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) {
778 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "leaveEvent");
909 static PyObject* name = PyString_FromString("leaveEvent");
779 PyErr_Clear();
910 PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name);
780 if (obj && !PythonQtSlotFunction_Check(obj)) {
911 if (obj) {
781 static const char* argumentList[] ={"" , "QEvent*"};
912 static const char* argumentList[] ={"" , "QEvent*"};
782 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
913 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
783 void* args[2] = {NULL, (void*)&arg__1};
914 void* args[2] = {NULL, (void*)&arg__1};
@@ -785,16 +916,78 if (_wrapper) {
785 if (result) { Py_DECREF(result); }
916 if (result) { Py_DECREF(result); }
786 Py_DECREF(obj);
917 Py_DECREF(obj);
787 return;
918 return;
919 } else {
920 PyErr_Clear();
788 }
921 }
789 }
922 }
790 socexplorerplugin::leaveEvent(arg__1);
923 socexplorerplugin::leaveEvent(arg__1);
791 }
924 }
925 bool PythonQtShell_socexplorerplugin::loadbin(unsigned int address0, QString file1)
926 {
927 if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) {
928 static PyObject* name = PyString_FromString("loadbin");
929 PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name);
930 if (obj) {
931 static const char* argumentList[] ={"bool" , "unsigned int" , "QString"};
932 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList);
933 bool returnValue;
934 void* args[3] = {NULL, (void*)&address0, (void*)&file1};
935 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
936 if (result) {
937 args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue);
938 if (args[0]!=&returnValue) {
939 if (args[0]==NULL) {
940 PythonQt::priv()->handleVirtualOverloadReturnError("loadbin", methodInfo, result);
941 } else {
942 returnValue = *((bool*)args[0]);
943 }
944 }
945 }
946 if (result) { Py_DECREF(result); }
947 Py_DECREF(obj);
948 return returnValue;
949 } else {
950 PyErr_Clear();
951 }
952 }
953 return socexplorerplugin::loadbin(address0, file1);
954 }
955 bool PythonQtShell_socexplorerplugin::memSet(unsigned int address0, int value1, unsigned int count2)
956 {
957 if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) {
958 static PyObject* name = PyString_FromString("memSet");
959 PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name);
960 if (obj) {
961 static const char* argumentList[] ={"bool" , "unsigned int" , "int" , "unsigned int"};
962 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList);
963 bool returnValue;
964 void* args[4] = {NULL, (void*)&address0, (void*)&value1, (void*)&count2};
965 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
966 if (result) {
967 args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue);
968 if (args[0]!=&returnValue) {
969 if (args[0]==NULL) {
970 PythonQt::priv()->handleVirtualOverloadReturnError("memSet", methodInfo, result);
971 } else {
972 returnValue = *((bool*)args[0]);
973 }
974 }
975 }
976 if (result) { Py_DECREF(result); }
977 Py_DECREF(obj);
978 return returnValue;
979 } else {
980 PyErr_Clear();
981 }
982 }
983 return socexplorerplugin::memSet(address0, value1, count2);
984 }
792 int PythonQtShell_socexplorerplugin::metric(QPaintDevice::PaintDeviceMetric arg__1) const
985 int PythonQtShell_socexplorerplugin::metric(QPaintDevice::PaintDeviceMetric arg__1) const
793 {
986 {
794 if (_wrapper) {
987 if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) {
795 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "metric");
988 static PyObject* name = PyString_FromString("metric");
796 PyErr_Clear();
989 PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name);
797 if (obj && !PythonQtSlotFunction_Check(obj)) {
990 if (obj) {
798 static const char* argumentList[] ={"int" , "QPaintDevice::PaintDeviceMetric"};
991 static const char* argumentList[] ={"int" , "QPaintDevice::PaintDeviceMetric"};
799 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
992 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
800 int returnValue;
993 int returnValue;
@@ -813,16 +1006,18 if (_wrapper) {
813 if (result) { Py_DECREF(result); }
1006 if (result) { Py_DECREF(result); }
814 Py_DECREF(obj);
1007 Py_DECREF(obj);
815 return returnValue;
1008 return returnValue;
1009 } else {
1010 PyErr_Clear();
816 }
1011 }
817 }
1012 }
818 return socexplorerplugin::metric(arg__1);
1013 return socexplorerplugin::metric(arg__1);
819 }
1014 }
820 QSize PythonQtShell_socexplorerplugin::minimumSizeHint() const
1015 QSize PythonQtShell_socexplorerplugin::minimumSizeHint() const
821 {
1016 {
822 if (_wrapper) {
1017 if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) {
823 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "getMinimumSizeHint");
1018 static PyObject* name = PyString_FromString("getMinimumSizeHint");
824 PyErr_Clear();
1019 PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name);
825 if (obj && !PythonQtSlotFunction_Check(obj)) {
1020 if (obj) {
826 static const char* argumentList[] ={"QSize"};
1021 static const char* argumentList[] ={"QSize"};
827 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList);
1022 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList);
828 QSize returnValue;
1023 QSize returnValue;
@@ -841,16 +1036,18 if (_wrapper) {
841 if (result) { Py_DECREF(result); }
1036 if (result) { Py_DECREF(result); }
842 Py_DECREF(obj);
1037 Py_DECREF(obj);
843 return returnValue;
1038 return returnValue;
1039 } else {
1040 PyErr_Clear();
844 }
1041 }
845 }
1042 }
846 return socexplorerplugin::minimumSizeHint();
1043 return socexplorerplugin::minimumSizeHint();
847 }
1044 }
848 void PythonQtShell_socexplorerplugin::mouseDoubleClickEvent(QMouseEvent* arg__1)
1045 void PythonQtShell_socexplorerplugin::mouseDoubleClickEvent(QMouseEvent* arg__1)
849 {
1046 {
850 if (_wrapper) {
1047 if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) {
851 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mouseDoubleClickEvent");
1048 static PyObject* name = PyString_FromString("mouseDoubleClickEvent");
852 PyErr_Clear();
1049 PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name);
853 if (obj && !PythonQtSlotFunction_Check(obj)) {
1050 if (obj) {
854 static const char* argumentList[] ={"" , "QMouseEvent*"};
1051 static const char* argumentList[] ={"" , "QMouseEvent*"};
855 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
1052 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
856 void* args[2] = {NULL, (void*)&arg__1};
1053 void* args[2] = {NULL, (void*)&arg__1};
@@ -858,16 +1055,18 if (_wrapper) {
858 if (result) { Py_DECREF(result); }
1055 if (result) { Py_DECREF(result); }
859 Py_DECREF(obj);
1056 Py_DECREF(obj);
860 return;
1057 return;
1058 } else {
1059 PyErr_Clear();
861 }
1060 }
862 }
1061 }
863 socexplorerplugin::mouseDoubleClickEvent(arg__1);
1062 socexplorerplugin::mouseDoubleClickEvent(arg__1);
864 }
1063 }
865 void PythonQtShell_socexplorerplugin::mouseMoveEvent(QMouseEvent* arg__1)
1064 void PythonQtShell_socexplorerplugin::mouseMoveEvent(QMouseEvent* arg__1)
866 {
1065 {
867 if (_wrapper) {
1066 if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) {
868 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mouseMoveEvent");
1067 static PyObject* name = PyString_FromString("mouseMoveEvent");
869 PyErr_Clear();
1068 PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name);
870 if (obj && !PythonQtSlotFunction_Check(obj)) {
1069 if (obj) {
871 static const char* argumentList[] ={"" , "QMouseEvent*"};
1070 static const char* argumentList[] ={"" , "QMouseEvent*"};
872 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
1071 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
873 void* args[2] = {NULL, (void*)&arg__1};
1072 void* args[2] = {NULL, (void*)&arg__1};
@@ -875,16 +1074,18 if (_wrapper) {
875 if (result) { Py_DECREF(result); }
1074 if (result) { Py_DECREF(result); }
876 Py_DECREF(obj);
1075 Py_DECREF(obj);
877 return;
1076 return;
1077 } else {
1078 PyErr_Clear();
878 }
1079 }
879 }
1080 }
880 socexplorerplugin::mouseMoveEvent(arg__1);
1081 socexplorerplugin::mouseMoveEvent(arg__1);
881 }
1082 }
882 void PythonQtShell_socexplorerplugin::mousePressEvent(QMouseEvent* arg__1)
1083 void PythonQtShell_socexplorerplugin::mousePressEvent(QMouseEvent* arg__1)
883 {
1084 {
884 if (_wrapper) {
1085 if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) {
885 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mousePressEvent");
1086 static PyObject* name = PyString_FromString("mousePressEvent");
886 PyErr_Clear();
1087 PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name);
887 if (obj && !PythonQtSlotFunction_Check(obj)) {
1088 if (obj) {
888 static const char* argumentList[] ={"" , "QMouseEvent*"};
1089 static const char* argumentList[] ={"" , "QMouseEvent*"};
889 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
1090 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
890 void* args[2] = {NULL, (void*)&arg__1};
1091 void* args[2] = {NULL, (void*)&arg__1};
@@ -892,16 +1093,18 if (_wrapper) {
892 if (result) { Py_DECREF(result); }
1093 if (result) { Py_DECREF(result); }
893 Py_DECREF(obj);
1094 Py_DECREF(obj);
894 return;
1095 return;
1096 } else {
1097 PyErr_Clear();
895 }
1098 }
896 }
1099 }
897 socexplorerplugin::mousePressEvent(arg__1);
1100 socexplorerplugin::mousePressEvent(arg__1);
898 }
1101 }
899 void PythonQtShell_socexplorerplugin::mouseReleaseEvent(QMouseEvent* arg__1)
1102 void PythonQtShell_socexplorerplugin::mouseReleaseEvent(QMouseEvent* arg__1)
900 {
1103 {
901 if (_wrapper) {
1104 if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) {
902 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mouseReleaseEvent");
1105 static PyObject* name = PyString_FromString("mouseReleaseEvent");
903 PyErr_Clear();
1106 PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name);
904 if (obj && !PythonQtSlotFunction_Check(obj)) {
1107 if (obj) {
905 static const char* argumentList[] ={"" , "QMouseEvent*"};
1108 static const char* argumentList[] ={"" , "QMouseEvent*"};
906 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
1109 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
907 void* args[2] = {NULL, (void*)&arg__1};
1110 void* args[2] = {NULL, (void*)&arg__1};
@@ -909,16 +1112,18 if (_wrapper) {
909 if (result) { Py_DECREF(result); }
1112 if (result) { Py_DECREF(result); }
910 Py_DECREF(obj);
1113 Py_DECREF(obj);
911 return;
1114 return;
1115 } else {
1116 PyErr_Clear();
912 }
1117 }
913 }
1118 }
914 socexplorerplugin::mouseReleaseEvent(arg__1);
1119 socexplorerplugin::mouseReleaseEvent(arg__1);
915 }
1120 }
916 void PythonQtShell_socexplorerplugin::moveEvent(QMoveEvent* arg__1)
1121 void PythonQtShell_socexplorerplugin::moveEvent(QMoveEvent* arg__1)
917 {
1122 {
918 if (_wrapper) {
1123 if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) {
919 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "moveEvent");
1124 static PyObject* name = PyString_FromString("moveEvent");
920 PyErr_Clear();
1125 PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name);
921 if (obj && !PythonQtSlotFunction_Check(obj)) {
1126 if (obj) {
922 static const char* argumentList[] ={"" , "QMoveEvent*"};
1127 static const char* argumentList[] ={"" , "QMoveEvent*"};
923 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
1128 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
924 void* args[2] = {NULL, (void*)&arg__1};
1129 void* args[2] = {NULL, (void*)&arg__1};
@@ -926,20 +1131,22 if (_wrapper) {
926 if (result) { Py_DECREF(result); }
1131 if (result) { Py_DECREF(result); }
927 Py_DECREF(obj);
1132 Py_DECREF(obj);
928 return;
1133 return;
1134 } else {
1135 PyErr_Clear();
929 }
1136 }
930 }
1137 }
931 socexplorerplugin::moveEvent(arg__1);
1138 socexplorerplugin::moveEvent(arg__1);
932 }
1139 }
933 bool PythonQtShell_socexplorerplugin::nativeEvent(const QByteArray& eventType, void* message, long* result)
1140 bool PythonQtShell_socexplorerplugin::nativeEvent(const QByteArray& eventType0, void* message1, long* result2)
934 {
1141 {
935 if (_wrapper) {
1142 if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) {
936 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "nativeEvent");
1143 static PyObject* name = PyString_FromString("nativeEvent");
937 PyErr_Clear();
1144 PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name);
938 if (obj && !PythonQtSlotFunction_Check(obj)) {
1145 if (obj) {
939 static const char* argumentList[] ={"bool" , "const QByteArray&" , "void*" , "long*"};
1146 static const char* argumentList[] ={"bool" , "const QByteArray&" , "void*" , "long*"};
940 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList);
1147 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList);
941 bool returnValue;
1148 bool returnValue;
942 void* args[4] = {NULL, (void*)&eventType, (void*)&message, (void*)&result};
1149 void* args[4] = {NULL, (void*)&eventType0, (void*)&message1, (void*)&result2};
943 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
1150 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
944 if (result) {
1151 if (result) {
945 args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue);
1152 args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue);
@@ -954,16 +1161,18 if (_wrapper) {
954 if (result) { Py_DECREF(result); }
1161 if (result) { Py_DECREF(result); }
955 Py_DECREF(obj);
1162 Py_DECREF(obj);
956 return returnValue;
1163 return returnValue;
1164 } else {
1165 PyErr_Clear();
957 }
1166 }
958 }
1167 }
959 return socexplorerplugin::nativeEvent(eventType, message, result);
1168 return socexplorerplugin::nativeEvent(eventType0, message1, result2);
960 }
1169 }
961 QPaintEngine* PythonQtShell_socexplorerplugin::paintEngine() const
1170 QPaintEngine* PythonQtShell_socexplorerplugin::paintEngine() const
962 {
1171 {
963 if (_wrapper) {
1172 if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) {
964 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "paintEngine");
1173 static PyObject* name = PyString_FromString("paintEngine");
965 PyErr_Clear();
1174 PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name);
966 if (obj && !PythonQtSlotFunction_Check(obj)) {
1175 if (obj) {
967 static const char* argumentList[] ={"QPaintEngine*"};
1176 static const char* argumentList[] ={"QPaintEngine*"};
968 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList);
1177 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList);
969 QPaintEngine* returnValue;
1178 QPaintEngine* returnValue;
@@ -982,33 +1191,37 if (_wrapper) {
982 if (result) { Py_DECREF(result); }
1191 if (result) { Py_DECREF(result); }
983 Py_DECREF(obj);
1192 Py_DECREF(obj);
984 return returnValue;
1193 return returnValue;
1194 } else {
1195 PyErr_Clear();
985 }
1196 }
986 }
1197 }
987 return socexplorerplugin::paintEngine();
1198 return socexplorerplugin::paintEngine();
988 }
1199 }
989 void PythonQtShell_socexplorerplugin::paintEvent(QPaintEvent* event)
1200 void PythonQtShell_socexplorerplugin::paintEvent(QPaintEvent* event0)
990 {
1201 {
991 if (_wrapper) {
1202 if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) {
992 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "paintEvent");
1203 static PyObject* name = PyString_FromString("paintEvent");
993 PyErr_Clear();
1204 PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name);
994 if (obj && !PythonQtSlotFunction_Check(obj)) {
1205 if (obj) {
995 static const char* argumentList[] ={"" , "QPaintEvent*"};
1206 static const char* argumentList[] ={"" , "QPaintEvent*"};
996 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
1207 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
997 void* args[2] = {NULL, (void*)&event};
1208 void* args[2] = {NULL, (void*)&event0};
998 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
1209 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
999 if (result) { Py_DECREF(result); }
1210 if (result) { Py_DECREF(result); }
1000 Py_DECREF(obj);
1211 Py_DECREF(obj);
1001 return;
1212 return;
1213 } else {
1214 PyErr_Clear();
1002 }
1215 }
1003 }
1216 }
1004 socexplorerplugin::paintEvent(event);
1217 socexplorerplugin::paintEvent(event0);
1005 }
1218 }
1006 void PythonQtShell_socexplorerplugin::postInstantiationTrigger()
1219 void PythonQtShell_socexplorerplugin::postInstantiationTrigger()
1007 {
1220 {
1008 if (_wrapper) {
1221 if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) {
1009 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "postInstantiationTrigger");
1222 static PyObject* name = PyString_FromString("postInstantiationTrigger");
1010 PyErr_Clear();
1223 PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name);
1011 if (obj && !PythonQtSlotFunction_Check(obj)) {
1224 if (obj) {
1012 static const char* argumentList[] ={""};
1225 static const char* argumentList[] ={""};
1013 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList);
1226 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList);
1014 void* args[1] = {NULL};
1227 void* args[1] = {NULL};
@@ -1016,20 +1229,22 if (_wrapper) {
1016 if (result) { Py_DECREF(result); }
1229 if (result) { Py_DECREF(result); }
1017 Py_DECREF(obj);
1230 Py_DECREF(obj);
1018 return;
1231 return;
1232 } else {
1233 PyErr_Clear();
1019 }
1234 }
1020 }
1235 }
1021 socexplorerplugin::postInstantiationTrigger();
1236 socexplorerplugin::postInstantiationTrigger();
1022 }
1237 }
1023 QPaintDevice* PythonQtShell_socexplorerplugin::redirected(QPoint* offset) const
1238 QPaintDevice* PythonQtShell_socexplorerplugin::redirected(QPoint* offset0) const
1024 {
1239 {
1025 if (_wrapper) {
1240 if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) {
1026 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "redirected");
1241 static PyObject* name = PyString_FromString("redirected");
1027 PyErr_Clear();
1242 PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name);
1028 if (obj && !PythonQtSlotFunction_Check(obj)) {
1243 if (obj) {
1029 static const char* argumentList[] ={"QPaintDevice*" , "QPoint*"};
1244 static const char* argumentList[] ={"QPaintDevice*" , "QPoint*"};
1030 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
1245 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
1031 QPaintDevice* returnValue;
1246 QPaintDevice* returnValue;
1032 void* args[2] = {NULL, (void*)&offset};
1247 void* args[2] = {NULL, (void*)&offset0};
1033 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
1248 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
1034 if (result) {
1249 if (result) {
1035 args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue);
1250 args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue);
@@ -1044,20 +1259,22 if (_wrapper) {
1044 if (result) { Py_DECREF(result); }
1259 if (result) { Py_DECREF(result); }
1045 Py_DECREF(obj);
1260 Py_DECREF(obj);
1046 return returnValue;
1261 return returnValue;
1262 } else {
1263 PyErr_Clear();
1047 }
1264 }
1048 }
1265 }
1049 return socexplorerplugin::redirected(offset);
1266 return socexplorerplugin::redirected(offset0);
1050 }
1267 }
1051 int PythonQtShell_socexplorerplugin::registermenu(QMenu* menu)
1268 int PythonQtShell_socexplorerplugin::registermenu(QMenu* menu0)
1052 {
1269 {
1053 if (_wrapper) {
1270 if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) {
1054 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "registermenu");
1271 static PyObject* name = PyString_FromString("registermenu");
1055 PyErr_Clear();
1272 PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name);
1056 if (obj && !PythonQtSlotFunction_Check(obj)) {
1273 if (obj) {
1057 static const char* argumentList[] ={"int" , "QMenu*"};
1274 static const char* argumentList[] ={"int" , "QMenu*"};
1058 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
1275 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
1059 int returnValue;
1276 int returnValue;
1060 void* args[2] = {NULL, (void*)&menu};
1277 void* args[2] = {NULL, (void*)&menu0};
1061 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
1278 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
1062 if (result) {
1279 if (result) {
1063 args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue);
1280 args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue);
@@ -1072,16 +1289,18 if (_wrapper) {
1072 if (result) { Py_DECREF(result); }
1289 if (result) { Py_DECREF(result); }
1073 Py_DECREF(obj);
1290 Py_DECREF(obj);
1074 return returnValue;
1291 return returnValue;
1292 } else {
1293 PyErr_Clear();
1075 }
1294 }
1076 }
1295 }
1077 return socexplorerplugin::registermenu(menu);
1296 return socexplorerplugin::registermenu(menu0);
1078 }
1297 }
1079 void PythonQtShell_socexplorerplugin::resizeEvent(QResizeEvent* arg__1)
1298 void PythonQtShell_socexplorerplugin::resizeEvent(QResizeEvent* arg__1)
1080 {
1299 {
1081 if (_wrapper) {
1300 if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) {
1082 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "resizeEvent");
1301 static PyObject* name = PyString_FromString("resizeEvent");
1083 PyErr_Clear();
1302 PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name);
1084 if (obj && !PythonQtSlotFunction_Check(obj)) {
1303 if (obj) {
1085 static const char* argumentList[] ={"" , "QResizeEvent*"};
1304 static const char* argumentList[] ={"" , "QResizeEvent*"};
1086 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
1305 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
1087 void* args[2] = {NULL, (void*)&arg__1};
1306 void* args[2] = {NULL, (void*)&arg__1};
@@ -1089,50 +1308,56 if (_wrapper) {
1089 if (result) { Py_DECREF(result); }
1308 if (result) { Py_DECREF(result); }
1090 Py_DECREF(obj);
1309 Py_DECREF(obj);
1091 return;
1310 return;
1311 } else {
1312 PyErr_Clear();
1092 }
1313 }
1093 }
1314 }
1094 socexplorerplugin::resizeEvent(arg__1);
1315 socexplorerplugin::resizeEvent(arg__1);
1095 }
1316 }
1096 void PythonQtShell_socexplorerplugin::setBaseAddress(unsigned int baseAddress)
1317 void PythonQtShell_socexplorerplugin::setBaseAddress(unsigned int baseAddress0)
1097 {
1318 {
1098 if (_wrapper) {
1319 if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) {
1099 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "setBaseAddress");
1320 static PyObject* name = PyString_FromString("setBaseAddress");
1100 PyErr_Clear();
1321 PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name);
1101 if (obj && !PythonQtSlotFunction_Check(obj)) {
1322 if (obj) {
1102 static const char* argumentList[] ={"" , "unsigned int"};
1323 static const char* argumentList[] ={"" , "unsigned int"};
1103 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
1324 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
1104 void* args[2] = {NULL, (void*)&baseAddress};
1325 void* args[2] = {NULL, (void*)&baseAddress0};
1105 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
1326 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
1106 if (result) { Py_DECREF(result); }
1327 if (result) { Py_DECREF(result); }
1107 Py_DECREF(obj);
1328 Py_DECREF(obj);
1108 return;
1329 return;
1330 } else {
1331 PyErr_Clear();
1109 }
1332 }
1110 }
1333 }
1111 socexplorerplugin::setBaseAddress(baseAddress);
1334 socexplorerplugin::setBaseAddress(baseAddress0);
1112 }
1335 }
1113 void PythonQtShell_socexplorerplugin::setInstanceName(const QString& newName)
1336 void PythonQtShell_socexplorerplugin::setInstanceName(const QString& newName0)
1114 {
1337 {
1115 if (_wrapper) {
1338 if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) {
1116 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "setInstanceName");
1339 static PyObject* name = PyString_FromString("setInstanceName");
1117 PyErr_Clear();
1340 PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name);
1118 if (obj && !PythonQtSlotFunction_Check(obj)) {
1341 if (obj) {
1119 static const char* argumentList[] ={"" , "const QString&"};
1342 static const char* argumentList[] ={"" , "const QString&"};
1120 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
1343 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
1121 void* args[2] = {NULL, (void*)&newName};
1344 void* args[2] = {NULL, (void*)&newName0};
1122 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
1345 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
1123 if (result) { Py_DECREF(result); }
1346 if (result) { Py_DECREF(result); }
1124 Py_DECREF(obj);
1347 Py_DECREF(obj);
1125 return;
1348 return;
1349 } else {
1350 PyErr_Clear();
1126 }
1351 }
1127 }
1352 }
1128 socexplorerplugin::setInstanceName(newName);
1353 socexplorerplugin::setInstanceName(newName0);
1129 }
1354 }
1130 QPainter* PythonQtShell_socexplorerplugin::sharedPainter() const
1355 QPainter* PythonQtShell_socexplorerplugin::sharedPainter() const
1131 {
1356 {
1132 if (_wrapper) {
1357 if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) {
1133 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "sharedPainter");
1358 static PyObject* name = PyString_FromString("sharedPainter");
1134 PyErr_Clear();
1359 PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name);
1135 if (obj && !PythonQtSlotFunction_Check(obj)) {
1360 if (obj) {
1136 static const char* argumentList[] ={"QPainter*"};
1361 static const char* argumentList[] ={"QPainter*"};
1137 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList);
1362 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList);
1138 QPainter* returnValue;
1363 QPainter* returnValue;
@@ -1151,16 +1376,18 if (_wrapper) {
1151 if (result) { Py_DECREF(result); }
1376 if (result) { Py_DECREF(result); }
1152 Py_DECREF(obj);
1377 Py_DECREF(obj);
1153 return returnValue;
1378 return returnValue;
1379 } else {
1380 PyErr_Clear();
1154 }
1381 }
1155 }
1382 }
1156 return socexplorerplugin::sharedPainter();
1383 return socexplorerplugin::sharedPainter();
1157 }
1384 }
1158 void PythonQtShell_socexplorerplugin::showEvent(QShowEvent* arg__1)
1385 void PythonQtShell_socexplorerplugin::showEvent(QShowEvent* arg__1)
1159 {
1386 {
1160 if (_wrapper) {
1387 if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) {
1161 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "showEvent");
1388 static PyObject* name = PyString_FromString("showEvent");
1162 PyErr_Clear();
1389 PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name);
1163 if (obj && !PythonQtSlotFunction_Check(obj)) {
1390 if (obj) {
1164 static const char* argumentList[] ={"" , "QShowEvent*"};
1391 static const char* argumentList[] ={"" , "QShowEvent*"};
1165 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
1392 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
1166 void* args[2] = {NULL, (void*)&arg__1};
1393 void* args[2] = {NULL, (void*)&arg__1};
@@ -1168,16 +1395,18 if (_wrapper) {
1168 if (result) { Py_DECREF(result); }
1395 if (result) { Py_DECREF(result); }
1169 Py_DECREF(obj);
1396 Py_DECREF(obj);
1170 return;
1397 return;
1398 } else {
1399 PyErr_Clear();
1171 }
1400 }
1172 }
1401 }
1173 socexplorerplugin::showEvent(arg__1);
1402 socexplorerplugin::showEvent(arg__1);
1174 }
1403 }
1175 QSize PythonQtShell_socexplorerplugin::sizeHint() const
1404 QSize PythonQtShell_socexplorerplugin::sizeHint() const
1176 {
1405 {
1177 if (_wrapper) {
1406 if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) {
1178 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "getSizeHint");
1407 static PyObject* name = PyString_FromString("getSizeHint");
1179 PyErr_Clear();
1408 PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name);
1180 if (obj && !PythonQtSlotFunction_Check(obj)) {
1409 if (obj) {
1181 static const char* argumentList[] ={"QSize"};
1410 static const char* argumentList[] ={"QSize"};
1182 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList);
1411 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList);
1183 QSize returnValue;
1412 QSize returnValue;
@@ -1196,16 +1425,18 if (_wrapper) {
1196 if (result) { Py_DECREF(result); }
1425 if (result) { Py_DECREF(result); }
1197 Py_DECREF(obj);
1426 Py_DECREF(obj);
1198 return returnValue;
1427 return returnValue;
1428 } else {
1429 PyErr_Clear();
1199 }
1430 }
1200 }
1431 }
1201 return socexplorerplugin::sizeHint();
1432 return socexplorerplugin::sizeHint();
1202 }
1433 }
1203 void PythonQtShell_socexplorerplugin::tabletEvent(QTabletEvent* arg__1)
1434 void PythonQtShell_socexplorerplugin::tabletEvent(QTabletEvent* arg__1)
1204 {
1435 {
1205 if (_wrapper) {
1436 if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) {
1206 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "tabletEvent");
1437 static PyObject* name = PyString_FromString("tabletEvent");
1207 PyErr_Clear();
1438 PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name);
1208 if (obj && !PythonQtSlotFunction_Check(obj)) {
1439 if (obj) {
1209 static const char* argumentList[] ={"" , "QTabletEvent*"};
1440 static const char* argumentList[] ={"" , "QTabletEvent*"};
1210 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
1441 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
1211 void* args[2] = {NULL, (void*)&arg__1};
1442 void* args[2] = {NULL, (void*)&arg__1};
@@ -1213,16 +1444,18 if (_wrapper) {
1213 if (result) { Py_DECREF(result); }
1444 if (result) { Py_DECREF(result); }
1214 Py_DECREF(obj);
1445 Py_DECREF(obj);
1215 return;
1446 return;
1447 } else {
1448 PyErr_Clear();
1216 }
1449 }
1217 }
1450 }
1218 socexplorerplugin::tabletEvent(arg__1);
1451 socexplorerplugin::tabletEvent(arg__1);
1219 }
1452 }
1220 void PythonQtShell_socexplorerplugin::timerEvent(QTimerEvent* arg__1)
1453 void PythonQtShell_socexplorerplugin::timerEvent(QTimerEvent* arg__1)
1221 {
1454 {
1222 if (_wrapper) {
1455 if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) {
1223 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "timerEvent");
1456 static PyObject* name = PyString_FromString("timerEvent");
1224 PyErr_Clear();
1457 PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name);
1225 if (obj && !PythonQtSlotFunction_Check(obj)) {
1458 if (obj) {
1226 static const char* argumentList[] ={"" , "QTimerEvent*"};
1459 static const char* argumentList[] ={"" , "QTimerEvent*"};
1227 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
1460 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
1228 void* args[2] = {NULL, (void*)&arg__1};
1461 void* args[2] = {NULL, (void*)&arg__1};
@@ -1230,16 +1463,18 if (_wrapper) {
1230 if (result) { Py_DECREF(result); }
1463 if (result) { Py_DECREF(result); }
1231 Py_DECREF(obj);
1464 Py_DECREF(obj);
1232 return;
1465 return;
1466 } else {
1467 PyErr_Clear();
1233 }
1468 }
1234 }
1469 }
1235 socexplorerplugin::timerEvent(arg__1);
1470 socexplorerplugin::timerEvent(arg__1);
1236 }
1471 }
1237 void PythonQtShell_socexplorerplugin::wheelEvent(QWheelEvent* arg__1)
1472 void PythonQtShell_socexplorerplugin::wheelEvent(QWheelEvent* arg__1)
1238 {
1473 {
1239 if (_wrapper) {
1474 if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) {
1240 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "wheelEvent");
1475 static PyObject* name = PyString_FromString("wheelEvent");
1241 PyErr_Clear();
1476 PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name);
1242 if (obj && !PythonQtSlotFunction_Check(obj)) {
1477 if (obj) {
1243 static const char* argumentList[] ={"" , "QWheelEvent*"};
1478 static const char* argumentList[] ={"" , "QWheelEvent*"};
1244 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
1479 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
1245 void* args[2] = {NULL, (void*)&arg__1};
1480 void* args[2] = {NULL, (void*)&arg__1};
@@ -1247,6 +1482,8 if (_wrapper) {
1247 if (result) { Py_DECREF(result); }
1482 if (result) { Py_DECREF(result); }
1248 Py_DECREF(obj);
1483 Py_DECREF(obj);
1249 return;
1484 return;
1485 } else {
1486 PyErr_Clear();
1250 }
1487 }
1251 }
1488 }
1252 socexplorerplugin::wheelEvent(arg__1);
1489 socexplorerplugin::wheelEvent(arg__1);
@@ -1295,6 +1532,16 void PythonQtWrapper_socexplorerplugin::
1295 ( ((PythonQtPublicPromoter_socexplorerplugin*)theWrappedObject)->promoted_closeMe());
1532 ( ((PythonQtPublicPromoter_socexplorerplugin*)theWrappedObject)->promoted_closeMe());
1296 }
1533 }
1297
1534
1535 bool PythonQtWrapper_socexplorerplugin::dumpMemory(socexplorerplugin* theWrappedObject, unsigned int address, unsigned int count, QString file)
1536 {
1537 return ( ((PythonQtPublicPromoter_socexplorerplugin*)theWrappedObject)->promoted_dumpMemory(address, count, file));
1538 }
1539
1540 bool PythonQtWrapper_socexplorerplugin::dumpMemory(socexplorerplugin* theWrappedObject, unsigned int address, unsigned int count, QString file, const QString& format)
1541 {
1542 return ( ((PythonQtPublicPromoter_socexplorerplugin*)theWrappedObject)->promoted_dumpMemory(address, count, file, format));
1543 }
1544
1298 QString PythonQtWrapper_socexplorerplugin::instanceName(socexplorerplugin* theWrappedObject)
1545 QString PythonQtWrapper_socexplorerplugin::instanceName(socexplorerplugin* theWrappedObject)
1299 {
1546 {
1300 return ( theWrappedObject->instanceName());
1547 return ( theWrappedObject->instanceName());
@@ -1305,6 +1552,21 int PythonQtWrapper_socexplorerplugin::
1305 return ( ((PythonQtPublicPromoter_socexplorerplugin*)theWrappedObject)->promoted_isConnected());
1552 return ( ((PythonQtPublicPromoter_socexplorerplugin*)theWrappedObject)->promoted_isConnected());
1306 }
1553 }
1307
1554
1555 bool PythonQtWrapper_socexplorerplugin::loadbin(socexplorerplugin* theWrappedObject, unsigned int address, QString file)
1556 {
1557 return ( ((PythonQtPublicPromoter_socexplorerplugin*)theWrappedObject)->promoted_loadbin(address, file));
1558 }
1559
1560 void PythonQtWrapper_socexplorerplugin::makeGenericPyWrapper(socexplorerplugin* theWrappedObject)
1561 {
1562 ( ((PythonQtPublicPromoter_socexplorerplugin*)theWrappedObject)->promoted_makeGenericPyWrapper());
1563 }
1564
1565 bool PythonQtWrapper_socexplorerplugin::memSet(socexplorerplugin* theWrappedObject, unsigned int address, int value, unsigned int count)
1566 {
1567 return ( ((PythonQtPublicPromoter_socexplorerplugin*)theWrappedObject)->promoted_memSet(address, value, count));
1568 }
1569
1308 void PythonQtWrapper_socexplorerplugin::postInstantiationTrigger(socexplorerplugin* theWrappedObject)
1570 void PythonQtWrapper_socexplorerplugin::postInstantiationTrigger(socexplorerplugin* theWrappedObject)
1309 {
1571 {
1310 ( ((PythonQtPublicPromoter_socexplorerplugin*)theWrappedObject)->promoted_postInstantiationTrigger());
1572 ( ((PythonQtPublicPromoter_socexplorerplugin*)theWrappedObject)->promoted_postInstantiationTrigger());
@@ -1,8 +1,8
1 #include <PythonQt.h>
1 #include <PythonQt.h>
2 #include <QIconEngine>
3 #include <QObject>
2 #include <QObject>
4 #include <QVariant>
3 #include <QVariant>
5 #include <qaction.h>
4 #include <qaction.h>
5 #include <qbackingstore.h>
6 #include <qbitmap.h>
6 #include <qbitmap.h>
7 #include <qbytearray.h>
7 #include <qbytearray.h>
8 #include <qcoreevent.h>
8 #include <qcoreevent.h>
@@ -12,12 +12,14
12 #include <qfont.h>
12 #include <qfont.h>
13 #include <qgraphicseffect.h>
13 #include <qgraphicseffect.h>
14 #include <qgraphicsproxywidget.h>
14 #include <qgraphicsproxywidget.h>
15 #include <qicon.h>
15 #include <qkeysequence.h>
16 #include <qkeysequence.h>
16 #include <qlayout.h>
17 #include <qlayout.h>
17 #include <qlist.h>
18 #include <qlist.h>
18 #include <qlocale.h>
19 #include <qlocale.h>
19 #include <qmargins.h>
20 #include <qmargins.h>
20 #include <qmenu.h>
21 #include <qmenu.h>
22 #include <qmetaobject.h>
21 #include <qobject.h>
23 #include <qobject.h>
22 #include <qpaintdevice.h>
24 #include <qpaintdevice.h>
23 #include <qpaintengine.h>
25 #include <qpaintengine.h>
@@ -32,6 +34,7
32 #include <qstyle.h>
34 #include <qstyle.h>
33 #include <qstyleoption.h>
35 #include <qstyleoption.h>
34 #include <qwidget.h>
36 #include <qwidget.h>
37 #include <qwindow.h>
35 #include <socexplorerplugin.h>
38 #include <socexplorerplugin.h>
36
39
37
40
@@ -62,6 +65,8 virtual void dragEnterEvent(QDragEnterEv
62 virtual void dragLeaveEvent(QDragLeaveEvent* arg__1);
65 virtual void dragLeaveEvent(QDragLeaveEvent* arg__1);
63 virtual void dragMoveEvent(QDragMoveEvent* arg__1);
66 virtual void dragMoveEvent(QDragMoveEvent* arg__1);
64 virtual void dropEvent(QDropEvent* arg__1);
67 virtual void dropEvent(QDropEvent* arg__1);
68 virtual bool dumpMemory(unsigned int address, unsigned int count, QString file);
69 virtual bool dumpMemory(unsigned int address, unsigned int count, QString file, const QString& format);
65 virtual void enterEvent(QEvent* arg__1);
70 virtual void enterEvent(QEvent* arg__1);
66 virtual bool event(QEvent* event);
71 virtual bool event(QEvent* event);
67 virtual bool eventFilter(QObject* arg__1, QEvent* arg__2);
72 virtual bool eventFilter(QObject* arg__1, QEvent* arg__2);
@@ -78,6 +83,8 virtual int isConnected();
78 virtual void keyPressEvent(QKeyEvent* arg__1);
83 virtual void keyPressEvent(QKeyEvent* arg__1);
79 virtual void keyReleaseEvent(QKeyEvent* arg__1);
84 virtual void keyReleaseEvent(QKeyEvent* arg__1);
80 virtual void leaveEvent(QEvent* arg__1);
85 virtual void leaveEvent(QEvent* arg__1);
86 virtual bool loadbin(unsigned int address, QString file);
87 virtual bool memSet(unsigned int address, int value, unsigned int count);
81 virtual int metric(QPaintDevice::PaintDeviceMetric arg__1) const;
88 virtual int metric(QPaintDevice::PaintDeviceMetric arg__1) const;
82 virtual QSize minimumSizeHint() const;
89 virtual QSize minimumSizeHint() const;
83 virtual void mouseDoubleClickEvent(QMouseEvent* arg__1);
90 virtual void mouseDoubleClickEvent(QMouseEvent* arg__1);
@@ -114,7 +121,12 inline void promoted_activate(bool flag
114 inline int promoted_baseAddress() { return socexplorerplugin::baseAddress(); }
121 inline int promoted_baseAddress() { return socexplorerplugin::baseAddress(); }
115 inline QString promoted_baseName() { return socexplorerplugin::baseName(); }
122 inline QString promoted_baseName() { return socexplorerplugin::baseName(); }
116 inline void promoted_closeMe() { socexplorerplugin::closeMe(); }
123 inline void promoted_closeMe() { socexplorerplugin::closeMe(); }
124 inline bool promoted_dumpMemory(unsigned int address, unsigned int count, QString file) { return socexplorerplugin::dumpMemory(address, count, file); }
125 inline bool promoted_dumpMemory(unsigned int address, unsigned int count, QString file, const QString& format) { return socexplorerplugin::dumpMemory(address, count, file, format); }
117 inline int promoted_isConnected() { return socexplorerplugin::isConnected(); }
126 inline int promoted_isConnected() { return socexplorerplugin::isConnected(); }
127 inline bool promoted_loadbin(unsigned int address, QString file) { return socexplorerplugin::loadbin(address, file); }
128 inline void promoted_makeGenericPyWrapper() { socexplorerplugin::makeGenericPyWrapper(); }
129 inline bool promoted_memSet(unsigned int address, int value, unsigned int count) { return socexplorerplugin::memSet(address, value, count); }
118 inline void promoted_postInstantiationTrigger() { socexplorerplugin::postInstantiationTrigger(); }
130 inline void promoted_postInstantiationTrigger() { socexplorerplugin::postInstantiationTrigger(); }
119 inline int promoted_registermenu(QMenu* menu) { return socexplorerplugin::registermenu(menu); }
131 inline int promoted_registermenu(QMenu* menu) { return socexplorerplugin::registermenu(menu); }
120 inline void promoted_setBaseAddress(unsigned int baseAddress) { socexplorerplugin::setBaseAddress(baseAddress); }
132 inline void promoted_setBaseAddress(unsigned int baseAddress) { socexplorerplugin::setBaseAddress(baseAddress); }
@@ -135,22 +147,27 void delete_socexplorerplugin(socexplore
135 int baseAddress(socexplorerplugin* theWrappedObject);
147 int baseAddress(socexplorerplugin* theWrappedObject);
136 QString baseName(socexplorerplugin* theWrappedObject);
148 QString baseName(socexplorerplugin* theWrappedObject);
137 void closeMe(socexplorerplugin* theWrappedObject);
149 void closeMe(socexplorerplugin* theWrappedObject);
150 bool dumpMemory(socexplorerplugin* theWrappedObject, unsigned int address, unsigned int count, QString file);
151 bool dumpMemory(socexplorerplugin* theWrappedObject, unsigned int address, unsigned int count, QString file, const QString& format);
138 QString instanceName(socexplorerplugin* theWrappedObject);
152 QString instanceName(socexplorerplugin* theWrappedObject);
139 int isConnected(socexplorerplugin* theWrappedObject);
153 int isConnected(socexplorerplugin* theWrappedObject);
154 bool loadbin(socexplorerplugin* theWrappedObject, unsigned int address, QString file);
155 void makeGenericPyWrapper(socexplorerplugin* theWrappedObject);
156 bool memSet(socexplorerplugin* theWrappedObject, unsigned int address, int value, unsigned int count);
140 void postInstantiationTrigger(socexplorerplugin* theWrappedObject);
157 void postInstantiationTrigger(socexplorerplugin* theWrappedObject);
141 int registermenu(socexplorerplugin* theWrappedObject, QMenu* menu);
158 int registermenu(socexplorerplugin* theWrappedObject, QMenu* menu);
142 void setBaseAddress(socexplorerplugin* theWrappedObject, unsigned int baseAddress);
159 void setBaseAddress(socexplorerplugin* theWrappedObject, unsigned int baseAddress);
143 void setInstanceName(socexplorerplugin* theWrappedObject, const QString& newName);
160 void setInstanceName(socexplorerplugin* theWrappedObject, const QString& newName);
144 void py_set_parent(socexplorerplugin* theWrappedObject, socexplorerplugin* parent){ theWrappedObject->parent = parent; }
161 void py_set_ChildsMenu(socexplorerplugin* theWrappedObject, QMenu* ChildsMenu){ theWrappedObject->ChildsMenu = ChildsMenu; }
145 socexplorerplugin* py_get_parent(socexplorerplugin* theWrappedObject){ return theWrappedObject->parent; }
162 QMenu* py_get_ChildsMenu(socexplorerplugin* theWrappedObject){ return theWrappedObject->ChildsMenu; }
163 void py_set_childs(socexplorerplugin* theWrappedObject, QList<socexplorerplugin* > childs){ theWrappedObject->childs = childs; }
164 QList<socexplorerplugin* > py_get_childs(socexplorerplugin* theWrappedObject){ return theWrappedObject->childs; }
165 void py_set_closeAction(socexplorerplugin* theWrappedObject, QAction* closeAction){ theWrappedObject->closeAction = closeAction; }
166 QAction* py_get_closeAction(socexplorerplugin* theWrappedObject){ return theWrappedObject->closeAction; }
146 void py_set_menu(socexplorerplugin* theWrappedObject, QMenu* menu){ theWrappedObject->menu = menu; }
167 void py_set_menu(socexplorerplugin* theWrappedObject, QMenu* menu){ theWrappedObject->menu = menu; }
147 QMenu* py_get_menu(socexplorerplugin* theWrappedObject){ return theWrappedObject->menu; }
168 QMenu* py_get_menu(socexplorerplugin* theWrappedObject){ return theWrappedObject->menu; }
148 void py_set_ChildsMenu(socexplorerplugin* theWrappedObject, QMenu* ChildsMenu){ theWrappedObject->ChildsMenu = ChildsMenu; }
169 void py_set_parent(socexplorerplugin* theWrappedObject, socexplorerplugin* parent){ theWrappedObject->parent = parent; }
149 QMenu* py_get_ChildsMenu(socexplorerplugin* theWrappedObject){ return theWrappedObject->ChildsMenu; }
170 socexplorerplugin* py_get_parent(socexplorerplugin* theWrappedObject){ return theWrappedObject->parent; }
150 void py_set_closeAction(socexplorerplugin* theWrappedObject, QAction* closeAction){ theWrappedObject->closeAction = closeAction; }
151 QAction* py_get_closeAction(socexplorerplugin* theWrappedObject){ return theWrappedObject->closeAction; }
152 void py_set_childs(socexplorerplugin* theWrappedObject, QList<socexplorerplugin* > childs){ theWrappedObject->childs = childs; }
153 QList<socexplorerplugin* > py_get_childs(socexplorerplugin* theWrappedObject){ return theWrappedObject->childs; }
154 };
171 };
155
172
156
173
@@ -1,8 +1,11
1 #include <PythonQt.h>
1 #include <PythonQt.h>
2 #include <PythonQtConversion.h>
2 #include "PySocExplorerEngine0.h"
3 #include "PySocExplorerEngine0.h"
3
4
4
5
6
5 void PythonQt_init_PySocExplorerEngine(PyObject* module) {
7 void PythonQt_init_PySocExplorerEngine(PyObject* module) {
6 PythonQt::priv()->registerClass(&socexplorerplugin::staticMetaObject, "PySocExplorerEngine", PythonQtCreateObject<PythonQtWrapper_socexplorerplugin>, PythonQtSetInstanceWrapperOnShell<PythonQtShell_socexplorerplugin>, module, 0);
8 PythonQt::priv()->registerClass(&socexplorerplugin::staticMetaObject, "PySocExplorerEngine", PythonQtCreateObject<PythonQtWrapper_socexplorerplugin>, PythonQtSetInstanceWrapperOnShell<PythonQtShell_socexplorerplugin>, module, 0);
7
9
10
8 }
11 }
@@ -37,9 +37,10 int main(int argc, char *argv[])
37 QApplication a(argc, argv);
37 QApplication a(argc, argv);
38 QString scriptToEval;
38 QString scriptToEval;
39 QStringList args= a.arguments();
39 QStringList args= a.arguments();
40 for(int i=0;i<args.count()-1;i++)
40 bool noGUI=false;
41 for(int i=0;i<=args.count()-1;i++)
41 {
42 {
42 if((args.at(i).compare("-e")==0) || (args.at(i).compare("--execute")==0))
43 if(((args.at(i).compare("-e")==0) || (args.at(i).compare("--execute")==0)) && (i<(args.count()-1)))
43 {
44 {
44 scriptToEval = args.at(i+1);
45 scriptToEval = args.at(i+1);
45 if(!QFile::exists(scriptToEval))
46 if(!QFile::exists(scriptToEval))
@@ -50,7 +51,7 int main(int argc, char *argv[])
50 qDebug() << "Will execute" << scriptToEval;
51 qDebug() << "Will execute" << scriptToEval;
51 break;
52 break;
52 }
53 }
53 if((args.at(i).compare("-d")==0) || (args.at(i).compare("--debug-level")==0))
54 if(((args.at(i).compare("-d")==0) || (args.at(i).compare("--debug-level")==0)) && (i<(args.count()-1)))
54 {
55 {
55 bool success;
56 bool success;
56 int lvl;
57 int lvl;
@@ -60,10 +61,23 int main(int argc, char *argv[])
60 SocExplorerEngine::setLogLevel(lvl);
61 SocExplorerEngine::setLogLevel(lvl);
61 }
62 }
62 }
63 }
64 if((args.at(i).compare("--no-gui")==0))
65 {
66 noGUI = true;
67 qDebug() << "CLI mode";
68 }
63 }
69 }
64
70
65 SocExplorerMainWindow w(scriptToEval);
71 SocExplorerMainWindow w(scriptToEval);
72 if(!noGUI)
73 {
74
66 w.show();
75 w.show();
76 }
77 else
78 {
79
80 }
67 return a.exec();
81 return a.exec();
68 }
82 }
69
83
@@ -35,7 +35,8 INCLUDEPATH+=$${PWD} \
35 SocExplorerEngine/RegisterMVS \
35 SocExplorerEngine/RegisterMVS \
36 SocExplorerEngine/XmlEngine \
36 SocExplorerEngine/XmlEngine \
37 SocExplorerEngine/SOC \
37 SocExplorerEngine/SOC \
38 SocExplorerEngine/PeripheralWidget/src
38 SocExplorerEngine/PeripheralWidget/src \
39 SocExplorerEngine/memtester
39
40
40 win32:INCLUDEPATH+= \
41 win32:INCLUDEPATH+= \
41 $${PWD}/common/genericBinaryFiles/elf/libelfWin32/include \
42 $${PWD}/common/genericBinaryFiles/elf/libelfWin32/include \
General Comments 0
You need to be logged in to leave comments. Login now