##// END OF EJS Templates
Sync
Jeandet Alexis -
r57:d1a982ae47e5 default
parent child
Show More
@@ -0,0 +1,62
1 #include "genericbinaryfilewidget.h"
2 #include "ui_genericbinaryfilewidget.h"
3 #include <QFileDialog>
4 #include <QFile>
5 #include "srec/srecfile.h"
6
7 genericBinaryFileWidget::genericBinaryFileWidget(QWidget *parent) :
8 QWidget(parent),
9 ui(new Ui::genericBinaryFileWidget)
10 {
11 ui->setupUi(this);
12 }
13
14 genericBinaryFileWidget::~genericBinaryFileWidget()
15 {
16 delete ui;
17 }
18
19 void genericBinaryFileWidget::openFile()
20 {
21 QStringList filesNames = QFileDialog::getOpenFileNames(
22 this,
23 "Select one or more files to open",
24 NULL,
25 "Binary Files (*.bin);;SREC Files (*.srec);;Elf Files (*)");
26
27 for(int i=0;i<filesNames.count();i++)
28 {
29 QFile file(filesNames.at(i));
30 if(file.open(QIODevice::ReadOnly))
31 {
32 char magic[4];
33 file.read(magic,4);
34 QString line;
35 switch((int)magic[0])
36 {
37 case 'e':
38 if((magic[1]=='l') && (magic[2]=='f'))
39 {
40 files.append(new FileListElement(filesNames.at(i),false,Type_Elf,NULL));
41 }
42 break;
43 case 'S':
44 file.seek(0);
45 line = file.readLine();
46 if(srecFile::checkSum(line))
47 {
48 files.append(new FileListElement(filesNames.at(i),false,Type_SREC,NULL));
49 }
50 break;
51 default:
52 files.append(new FileListElement(filesNames.at(i),false,Type_Bin,NULL));
53 break;
54 }
55 }
56 }
57
58 }
59
60
61
62
@@ -0,0 +1,42
1 #ifndef GENERICBINARYFILEWIDGET_H
2 #define GENERICBINARYFILEWIDGET_H
3
4 #include <QWidget>
5 #include <QString>
6 #include <QStringList>
7 #include <abstractbinfile.h>
8
9 namespace Ui {
10 class genericBinaryFileWidget;
11 }
12
13 typedef enum {Type_SREC,Type_Bin,Type_Elf}FileTypeEnum;
14 class FileListElement
15 {
16 public:
17 FileListElement() {}
18 FileListElement(QString fileName,bool isOpened,FileTypeEnum FileType,abstractBinFileWidget* viewer)
19 :fileName(fileName),isOpened(isOpened),FileType(FileType),viewer(viewer){}
20 QString fileName;
21 bool isOpened;
22 FileTypeEnum FileType;
23 abstractBinFileWidget* viewer;
24 };
25
26 class genericBinaryFileWidget : public QWidget
27 {
28 Q_OBJECT
29
30 public:
31 explicit genericBinaryFileWidget(QWidget *parent = 0);
32 ~genericBinaryFileWidget();
33
34 public slots:
35 void openFile();
36
37 private:
38 Ui::genericBinaryFileWidget *ui;
39 QList<FileListElement*> files;
40 };
41
42 #endif // GENERICBINARYFILEWIDGET_H
@@ -0,0 +1,103
1 <?xml version="1.0" encoding="UTF-8"?>
2 <ui version="4.0">
3 <class>genericBinaryFileWidget</class>
4 <widget class="QWidget" name="genericBinaryFileWidget">
5 <property name="geometry">
6 <rect>
7 <x>0</x>
8 <y>0</y>
9 <width>878</width>
10 <height>360</height>
11 </rect>
12 </property>
13 <property name="acceptDrops">
14 <bool>false</bool>
15 </property>
16 <property name="windowTitle">
17 <string>Form</string>
18 </property>
19 <layout class="QGridLayout" name="gridLayout_2">
20 <item row="0" column="0">
21 <widget class="QSplitter" name="splitter">
22 <property name="orientation">
23 <enum>Qt::Horizontal</enum>
24 </property>
25 <widget class="QWidget" name="widget" native="true">
26 <layout class="QGridLayout" name="gridLayout">
27 <item row="1" column="0">
28 <widget class="QPushButton" name="openFileQpb">
29 <property name="text">
30 <string/>
31 </property>
32 <property name="icon">
33 <iconset resource="../SocExplorerCommon.qrc">
34 <normaloff>:/images/add.svg</normaloff>:/images/add.svg</iconset>
35 </property>
36 <property name="iconSize">
37 <size>
38 <width>32</width>
39 <height>32</height>
40 </size>
41 </property>
42 </widget>
43 </item>
44 <item row="1" column="1">
45 <widget class="QPushButton" name="removeFileQpb">
46 <property name="text">
47 <string/>
48 </property>
49 <property name="icon">
50 <iconset resource="../SocExplorerCommon.qrc">
51 <normaloff>:/images/trash.svg</normaloff>:/images/trash.svg</iconset>
52 </property>
53 <property name="iconSize">
54 <size>
55 <width>32</width>
56 <height>32</height>
57 </size>
58 </property>
59 </widget>
60 </item>
61 <item row="1" column="2">
62 <spacer name="horizontalSpacer">
63 <property name="orientation">
64 <enum>Qt::Horizontal</enum>
65 </property>
66 <property name="sizeHint" stdset="0">
67 <size>
68 <width>40</width>
69 <height>20</height>
70 </size>
71 </property>
72 </spacer>
73 </item>
74 <item row="0" column="0" colspan="3">
75 <widget class="QTableWidget" name="tableWidget">
76 <column>
77 <property name="text">
78 <string>File</string>
79 </property>
80 </column>
81 <column>
82 <property name="text">
83 <string>Type</string>
84 </property>
85 </column>
86 </widget>
87 </item>
88 </layout>
89 </widget>
90 <widget class="QTabWidget" name="fileViewerTab">
91 <property name="currentIndex">
92 <number>-1</number>
93 </property>
94 </widget>
95 </widget>
96 </item>
97 </layout>
98 </widget>
99 <resources>
100 <include location="../SocExplorerCommon.qrc"/>
101 </resources>
102 <connections/>
103 </ui>
@@ -1,17 +1,17
1 #include <QtCore/QObject>
1 #include <QtCore/QObject>
2 #include <QtWidgets/QtWidgets>
2 #include <QtWidgets/QtWidgets>
3 #include "qhexspinbox.h"
3 #include "qhexspinbox.h"
4 #include "memsizewdgt.h"
4 #include "memsizewdgt.h"
5 #include "qhexedit/qhexedit.h"
5 #include "qhexedit/qhexedit.h"
6 #include "SocExplorerPlot.h"
6 #include "SocExplorerPlot.h"
7 #include "tcp_terminal_client.h"
7 #include "tcp_terminal_client.h"
8 #include "elf/elfparser.h"
9 #include "abstractbinfile.h"
10 #include "elf/elffile.h"
11 #include "elf/elffilewidget.h"
12 #include "elf/elfinfowdgt.h"
13 #include "QCustomPlot/qcustomplot.h"
8 #include "QCustomPlot/qcustomplot.h"
14 #include "srec/srecfile.h"
9 #include "genericBinaryFiles/abstractbinfile.h"
15 #include "srec/srecfilewidget.h"
10 #include "genericBinaryFiles/elf/elfparser.h"
16 #include "BinFile/binaryfile.h"
11 #include "genericBinaryFiles/elf/elffile.h"
17 #include "BinFile/binaryfilewidget.h"
12 #include "genericBinaryFiles/elf/elffilewidget.h"
13 #include "genericBinaryFiles/elf/elfinfowdgt.h"
14 #include "genericBinaryFiles/srec/srecfile.h"
15 #include "genericBinaryFiles/srec/srecfilewidget.h"
16 #include "genericBinaryFiles/BinFile/binaryfile.h"
17 #include "genericBinaryFiles/BinFile/binaryfilewidget.h"
@@ -1,135 +1,140
1 SOCEXPLORER_ROOT = \"$${PWD}/../..\"
1 SOCEXPLORER_ROOT = \"$${PWD}/../..\"
2 include($${PWD}/../../build_cfg/socexplorer.pri)
2 include($${PWD}/../../build_cfg/socexplorer.pri)
3 include($${PWD}/lppserial/lppserial.pri)
3 include($${PWD}/lppserial/lppserial.pri)
4
4
5 TEMPLATE = lib
5 TEMPLATE = lib
6 TARGET = socexplorercommon$${DEBUG_EXT}
6 TARGET = socexplorercommon$${DEBUG_EXT}
7
7
8 win32:CONFIG += dll
8 win32:CONFIG += dll
9 win32:CONFIG -= static
9 win32:CONFIG -= static
10
10
11 win32:INCLUDEPATH += $${PWD}/genericBinaryFiles/elf/libelfWin32/include
11 win32:INCLUDEPATH += $${PWD}/genericBinaryFiles/elf/libelfWin32/include
12 win32:INCLUDEPATH += $${PWD}/genericBinaryFiles/elf/libelfWin32/include/libelf
12 win32:INCLUDEPATH += $${PWD}/genericBinaryFiles/elf/libelfWin32/include/libelf
13 win32:DEFINES+=_ELF_WINDOWS_
13 win32:DEFINES+=_ELF_WINDOWS_
14 DEFINES+=RS232_debug
14 DEFINES+=RS232_debug
15
15
16 win32:LIBS += $${PWD}/genericBinaryFiles/elf/libelfWin32/bin/libelf.a
16 win32:LIBS += $${PWD}/genericBinaryFiles/elf/libelfWin32/bin/libelf.a
17 unix:LIBS += -lelf
17 unix:LIBS += -lelf
18
18
19 QMAKE_LFLAGS_RELEASE += --enable-auto-import
19 QMAKE_LFLAGS_RELEASE += --enable-auto-import
20 QMAKE_LFLAGS_DEBUG += --enable-auto-import
20 QMAKE_LFLAGS_DEBUG += --enable-auto-import
21
21
22 target.path = $$[QT_INSTALL_LIBS]
22 target.path = $$[QT_INSTALL_LIBS]
23 isEmpty(target.path) {
23 isEmpty(target.path) {
24 error(can\'t get QT_INSTALL_LIBS)
24 error(can\'t get QT_INSTALL_LIBS)
25 }
25 }
26
26
27 header.path = $$[QT_INSTALL_HEADERS]/SocExplorer/common
27 header.path = $$[QT_INSTALL_HEADERS]/SocExplorer/common
28 header.files = \
28 header.files = \
29 memsizewdgt.h \
29 memsizewdgt.h \
30 qhexspinbox.h \
30 qhexspinbox.h \
31 qsvgicon.h \
31 qsvgicon.h \
32 qhexedit/qhexedit_p.h \
32 qhexedit/qhexedit_p.h \
33 qhexedit/qhexedit.h \
33 qhexedit/qhexedit.h \
34 qhexedit/xbytearray.h \
34 qhexedit/xbytearray.h \
35 QCustomPlot/qcustomplot.h \
35 QCustomPlot/qcustomplot.h \
36 SocExplorerPlot.h \
36 SocExplorerPlot.h \
37 tcp_terminal_client.h \
37 tcp_terminal_client.h \
38 genericBinaryFiles/elf/elfinfowdgt.h \
38 genericBinaryFiles/elf/elfinfowdgt.h \
39 genericBinaryFiles/elf/elfparser.h \
39 genericBinaryFiles/elf/elfparser.h \
40 genericBinaryFiles/elf/elffile.h \
40 genericBinaryFiles/elf/elffile.h \
41 genericBinaryFiles/elf/elffilewidget.h \
41 genericBinaryFiles/elf/elffilewidget.h \
42 qipdialogbox.h \
42 qipdialogbox.h \
43 lppserial/src/RS232.h \
43 lppserial/src/RS232.h \
44 qtablewidgetintitem.h \
44 qtablewidgetintitem.h \
45 genericBinaryFiles/srec/srecfile.h \
45 genericBinaryFiles/srec/srecfile.h \
46 genericBinaryFiles/srec/srecfilewidget.h \
46 genericBinaryFiles/srec/srecfilewidget.h \
47 genericBinaryFiles/BinFile/binaryfile.h \
47 genericBinaryFiles/BinFile/binaryfile.h \
48 genericBinaryFiles/BinFile/binaryfilewidget.h \
48 genericBinaryFiles/BinFile/binaryfilewidget.h \
49 genericBinaryFiles/abstractbinfile.h
49 genericBinaryFiles/abstractbinfile.h
50
50
51 win32{
51 win32{
52 elfheader.path = $$[QT_INSTALL_HEADERS]/SocExplorer/common/genericBinaryFiles/libelf
52 elfheader.path = $$[QT_INSTALL_HEADERS]/SocExplorer/common/genericBinaryFiles/libelf
53 elfheader.files += \
53 elfheader.files += \
54 genericBinaryFiles/elf/libelfWin32/include/libelf/byteswap.h \
54 genericBinaryFiles/elf/libelfWin32/include/libelf/byteswap.h \
55 genericBinaryFiles/elf/libelfWin32/include/libelf/errors.h \
55 genericBinaryFiles/elf/libelfWin32/include/libelf/errors.h \
56 genericBinaryFiles/elf/libelfWin32/include/libelf/gelf.h \
56 genericBinaryFiles/elf/libelfWin32/include/libelf/gelf.h \
57 genericBinaryFiles/elf/libelfWin32/include/libelf/nlist.h \
57 genericBinaryFiles/elf/libelfWin32/include/libelf/nlist.h \
58 genericBinaryFiles/elf/libelfWin32/include/libelf/sys_elf.h \
58 genericBinaryFiles/elf/libelfWin32/include/libelf/sys_elf.h \
59 genericBinaryFiles/elf/libelfWin32/include/libelf/verneed.h \
59 genericBinaryFiles/elf/libelfWin32/include/libelf/verneed.h \
60 genericBinaryFiles/elf/libelfWin32/include/libelf/elf_repl.h \
60 genericBinaryFiles/elf/libelfWin32/include/libelf/elf_repl.h \
61 genericBinaryFiles/elf/libelfWin32/include/libelf/ext_types.h \
61 genericBinaryFiles/elf/libelfWin32/include/libelf/ext_types.h \
62 genericBinaryFiles/elf/libelfWin32/include/libelf/libelf.h \
62 genericBinaryFiles/elf/libelfWin32/include/libelf/libelf.h \
63 genericBinaryFiles/elf/libelfWin32/include/libelf/private.h \
63 genericBinaryFiles/elf/libelfWin32/include/libelf/private.h \
64 genericBinaryFiles/elf/libelfWin32/include/libelf/verdef.h
64 genericBinaryFiles/elf/libelfWin32/include/libelf/verdef.h
65 INSTALLS += elfheader
65 INSTALLS += elfheader
66 }
66 }
67
67
68
68
69 isEmpty(header.path) {
69 isEmpty(header.path) {
70 error(can\'t get QT_INSTALL_HEADERS)
70 error(can\'t get QT_INSTALL_HEADERS)
71 }
71 }
72
72
73 INSTALLS += target header
73 INSTALLS += target header
74
74
75 INCLUDEPATH += QCustomPlot qhexedit genericBinaryFiles genericBinaryFiles/srec genericBinaryFiles/BinFile
75 INCLUDEPATH += QCustomPlot qhexedit genericBinaryFiles genericBinaryFiles/srec genericBinaryFiles/BinFile
76
76
77 HEADERS += \
77 HEADERS += \
78 memsizewdgt.h \
78 memsizewdgt.h \
79 qhexspinbox.h \
79 qhexspinbox.h \
80 qsvgicon.h \
80 qsvgicon.h \
81 qhexedit/qhexedit_p.h \
81 qhexedit/qhexedit_p.h \
82 qhexedit/qhexedit.h \
82 qhexedit/qhexedit.h \
83 qhexedit/xbytearray.h \
83 qhexedit/xbytearray.h \
84 qhexedit/commands.h \
84 qhexedit/commands.h \
85 QCustomPlot/qcustomplot.h \
85 QCustomPlot/qcustomplot.h \
86 tcp_terminal_client.h \
86 tcp_terminal_client.h \
87 genericBinaryFiles/elf/elfinfowdgt.h \
87 genericBinaryFiles/elf/elfinfowdgt.h \
88 genericBinaryFiles/elf/elfparser.h \
88 genericBinaryFiles/elf/elfparser.h \
89 genericBinaryFiles/elf/elffile.h \
89 genericBinaryFiles/elf/elffile.h \
90 qipdialogbox.h \
90 qipdialogbox.h \
91 PySocExplorer.h \
91 PySocExplorer.h \
92 SocExplorerPlot.h \
92 SocExplorerPlot.h \
93 genericBinaryFiles/elf/elffilewidget.h \
93 genericBinaryFiles/elf/elffilewidget.h \
94 qtablewidgetintitem.h \
94 qtablewidgetintitem.h \
95 genericBinaryFiles/srec/srecfile.h \
95 genericBinaryFiles/srec/srecfile.h \
96 genericBinaryFiles/srec/srecfilewidget.h \
96 genericBinaryFiles/srec/srecfilewidget.h \
97 genericBinaryFiles/abstractbinfile.h \
97 genericBinaryFiles/abstractbinfile.h \
98 genericBinaryFiles/BinFile/binaryfile.h \
98 genericBinaryFiles/BinFile/binaryfile.h \
99 genericBinaryFiles/BinFile/binaryfilewidget.h
99 genericBinaryFiles/BinFile/binaryfilewidget.h \
100 genericBinaryFiles/genericbinaryfilewidget.h
100
101
101
102
102 SOURCES += \
103 SOURCES += \
103 memsizewdgt.cpp \
104 memsizewdgt.cpp \
104 qhexspinbox.cpp \
105 qhexspinbox.cpp \
105 qsvgicon.cpp \
106 qsvgicon.cpp \
106 qhexedit/qhexedit_p.cpp \
107 qhexedit/qhexedit_p.cpp \
107 qhexedit/qhexedit.cpp \
108 qhexedit/qhexedit.cpp \
108 qhexedit/xbytearray.cpp \
109 qhexedit/xbytearray.cpp \
109 qhexedit/commands.cpp \
110 qhexedit/commands.cpp \
110 QCustomPlot/qcustomplot.cpp \
111 QCustomPlot/qcustomplot.cpp \
111 tcp_terminal_client.cpp \
112 tcp_terminal_client.cpp \
112 genericBinaryFiles/elf/elfinfowdgt.cpp \
113 genericBinaryFiles/elf/elfinfowdgt.cpp \
113 genericBinaryFiles/elf/elfparser.cpp \
114 genericBinaryFiles/elf/elfparser.cpp \
114 genericBinaryFiles/elf/elffile.cpp \
115 genericBinaryFiles/elf/elffile.cpp \
115 qipdialogbox.cpp \
116 qipdialogbox.cpp \
116 SocExplorerPlot.cpp \
117 SocExplorerPlot.cpp \
117 genericBinaryFiles/elf/elffilewidget.cpp \
118 genericBinaryFiles/elf/elffilewidget.cpp \
118 qtablewidgetintitem.cpp \
119 qtablewidgetintitem.cpp \
119 genericBinaryFiles/srec/srecfile.cpp \
120 genericBinaryFiles/srec/srecfile.cpp \
120 genericBinaryFiles/srec/srecfilewidget.cpp \
121 genericBinaryFiles/srec/srecfilewidget.cpp \
121 genericBinaryFiles/abstractbinfile.cpp \
122 genericBinaryFiles/abstractbinfile.cpp \
122 genericBinaryFiles/BinFile/binaryfile.cpp \
123 genericBinaryFiles/BinFile/binaryfile.cpp \
123 genericBinaryFiles/BinFile/binaryfilewidget.cpp
124 genericBinaryFiles/BinFile/binaryfilewidget.cpp \
125 genericBinaryFiles/genericbinaryfilewidget.cpp
124
126
125 FORMS += \
127 FORMS += \
126 genericBinaryFiles/elf/elffilewidget.ui \
128 genericBinaryFiles/elf/elffilewidget.ui \
127 genericBinaryFiles/srec/srecfilewidget.ui \
129 genericBinaryFiles/srec/srecfilewidget.ui \
128 genericBinaryFiles/BinFile/binaryfilewidget.ui
130 genericBinaryFiles/BinFile/binaryfilewidget.ui \
131 genericBinaryFiles/genericbinaryfilewidget.ui
129
132
130 OTHER_FILES += \
133 OTHER_FILES += \
131 ./pythongenerator.sh \
134 ./pythongenerator.sh \
132 ./pythonQtgeneratorCfg.txt
135 ./pythonQtgeneratorCfg.txt
133
136
134
137
135
138
139
140
@@ -1,403 +1,456
1 /*------------------------------------------------------------------------------
1 /*------------------------------------------------------------------------------
2 -- This file is a part of the SocExplorer Software
2 -- This file is a part of the SocExplorer Software
3 -- Copyright (C) 2014, Plasma Physics Laboratory - CNRS
3 -- Copyright (C) 2014, Plasma Physics Laboratory - CNRS
4 --
4 --
5 -- This program is free software; you can redistribute it and/or modify
5 -- This program is free software; you can redistribute it and/or modify
6 -- it under the terms of the GNU General Public License as published by
6 -- it under the terms of the GNU General Public License as published by
7 -- the Free Software Foundation; either version 2 of the License, or
7 -- the Free Software Foundation; either version 2 of the License, or
8 -- (at your option) any later version.
8 -- (at your option) any later version.
9 --
9 --
10 -- This program is distributed in the hope that it will be useful,
10 -- This program is distributed in the hope that it will be useful,
11 -- but WITHOUT ANY WARRANTY; without even the implied warranty of
11 -- but WITHOUT ANY WARRANTY; without even the implied warranty of
12 -- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 -- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 -- GNU General Public License for more details.
13 -- GNU General Public License for more details.
14 --
14 --
15 -- You should have received a copy of the GNU General Public License
15 -- You should have received a copy of the GNU General Public License
16 -- along with this program; if not, write to the Free Software
16 -- along with this program; if not, write to the Free Software
17 -- Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
17 -- Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
18 -------------------------------------------------------------------------------*/
18 -------------------------------------------------------------------------------*/
19 /*-- Author : Alexis Jeandet
19 /*-- Author : Alexis Jeandet
20 -- Mail : alexis.jeandet@member.fsf.org
20 -- Mail : alexis.jeandet@member.fsf.org
21 ----------------------------------------------------------------------------*/
21 ----------------------------------------------------------------------------*/
22 #include "srecfile.h"
22 #include "srecfile.h"
23 #include <QTextStream>
23 #include <QTextStream>
24 #include "binaryfile.h"
24 #include "binaryfile.h"
25
25
26 srecFile::srecFile()
26 srecFile::srecFile()
27 {
27 {
28 p_mergingRecords = true;
28 }
29 }
29
30
30 srecFile::srecFile(const QString &File)
31 srecFile::srecFile(const QString &File)
31 {
32 {
33 p_mergingRecords = true;
32 openFile(File);
34 openFile(File);
33 }
35 }
34
36
35 srecFile::srecFile(const QStringList &Files)
37 srecFile::srecFile(const QStringList &Files)
36 {
38 {
39 p_mergingRecords = true;
37 openFiles(Files);
40 openFiles(Files);
38 }
41 }
39
42
40 srecFile::~srecFile()
43 srecFile::~srecFile()
41 {
44 {
42
45
43 }
46 }
44
47
45 bool srecFile::openFile(const QString &File)
48 bool srecFile::openFile(const QString &File)
46 {
49 {
47 return openFiles(QStringList()<<File);
50 return openFiles(QStringList()<<File);
48 }
51 }
49
52
50 bool srecFile::openFiles(const QStringList &Files)
53 bool srecFile::openFiles(const QStringList &Files)
51 {
54 {
52 for(int i=0;i<Files.count();i++)
55 for(int i=0;i<Files.count();i++)
53 {
56 {
54 this->p_isSrec=true;
57 this->p_isSrec=true;
55 this->p_isSrec &= isSREC(Files.at(i));
58 this->p_isSrec &= isSREC(Files.at(i));
56 this->p_files.append(new QFile(Files.at(i)));
59 this->p_files.append(new QFile(Files.at(i)));
57 this->p_files.at(i)->open(QIODevice::ReadOnly);
60 this->p_files.at(i)->open(QIODevice::ReadOnly);
58 parseFile(this->p_files.at(i));
61 parseFile(this->p_files.at(i));
59 }
62 }
60 return true;
63 return true;
61 }
64 }
62
65
63 bool srecFile::isopened()
66 bool srecFile::isopened()
64 {
67 {
65 bool opened = true;
68 bool opened = true;
66 for(int i=0;i<this->p_files.count();i++)
69 for(int i=0;i<this->p_files.count();i++)
67 {
70 {
68 opened &= p_files.at(i)->isOpen();
71 opened &= p_files.at(i)->isOpen();
69 }
72 }
70 return opened;
73 return opened;
71 }
74 }
72
75
73 int srecFile::closeFile()
76 int srecFile::closeFile()
74 {
77 {
75 for(int i=0;i<p_files.count();i++)
78 for(int i=0;i<p_files.count();i++)
76 {
79 {
77 delete p_files.at(i);
80 delete p_files.at(i);
78 delete p_fragments.at(i);
81 delete p_fragments.at(i);
79 }
82 }
80 p_fragments.clear();
83 p_fragments.clear();
81 p_files.clear();
84 p_files.clear();
82 p_fileName.clear();
85 p_fileName.clear();
83 return 0;
86 return 0;
84 }
87 }
85
88
86 QList<codeFragment *> srecFile::getFragments()
89 QList<codeFragment *> srecFile::getFragments()
87 {
90 {
88 return p_fragments;
91 return p_fragments;
89 }
92 }
90
93
91 bool srecFile::toSrec(QList<codeFragment *> fragments, const QString &File)
94 bool srecFile::toSrec(QList<codeFragment *> fragments, const QString &File)
92 {
95 {
93 QString line;
96 QString line;
94 QFile file(File);
97 QFile file(File);
95 file.open(QIODevice::WriteOnly);
98 file.open(QIODevice::WriteOnly);
96 if(file.isOpen())
99 if(file.isOpen())
97 {
100 {
98 QTextStream stream( &file );
101 QTextStream stream( &file );
99 //First build header
102 //First build header
100 stream << buildRecord(0,0,File.toStdString().c_str(),File.count());
103 stream << buildRecord(0,0,File.toStdString().c_str(),File.count());
101 for(int i=0;i<fragments.count();i++)
104 for(int i=0;i<fragments.count();i++)
102 {
105 {
103 codeFragment *fragment = fragments.at(i);
106 codeFragment *fragment = fragments.at(i);
104 for(int j=0;j<((int)(fragment->size));j+=16)
107 for(int j=0;j<((int)(fragment->size)/16);j++)
105 {
108 {
106 stream << buildRecord(3,fragment->address+j,fragment->data+j,16);
109 stream << buildRecord(3,fragment->address+(j*16),fragment->data+(j*16),16);
107 }
110 }
108 int rem = fragment->size % 16;
111 int rem = fragment->size % 16;
109 if(rem)
112 if(rem)
110 {
113 {
111 stream << buildRecord(3,fragment->address+fragment->size-rem,fragment->data+fragment->size-rem,rem);
114 stream << buildRecord(3,fragment->address+fragment->size-rem,fragment->data+fragment->size-rem,rem);
112 }
115 }
113 stream << buildRecord(7,fragment->address,NULL,0);
116 stream << buildRecord(7,fragment->address,NULL,0);
114 }
117 }
115 file.close();
118 file.close();
116 return true;
119 return true;
117 }
120 }
118
121
119 return false;
122 return false;
120 }
123 }
121
124
122 bool srecFile::toSrec(const QString &File)
125 bool srecFile::toSrec(const QString &File)
123 {
126 {
124 return toSrec(p_fragments,File);
127 return toSrec(p_fragments,File);
125 }
128 }
126
129
127 bool srecFile::toBinary(const QString &File)
130 bool srecFile::toBinary(const QString &File)
128 {
131 {
129 return binaryFile::toBinary(p_fragments,File);
132 return binaryFile::toBinary(p_fragments,File);
130 }
133 }
131
134
132 int srecFile::lineCount()
135 int srecFile::lineCount()
133 {
136 {
134 return p_lineCount;
137 return p_lineCount;
135 }
138 }
136
139
137 int srecFile::getFragmentsCount()
140 int srecFile::getFragmentsCount()
138 {
141 {
139 return p_fragments.count();
142 return p_fragments.count();
140 }
143 }
141
144
142 int srecFile::getFragmentAddress(int index)
145 int srecFile::getFragmentAddress(int index)
143 {
146 {
144 if((index < p_fragments.count()) && (index>=0))
147 if((index < p_fragments.count()) && (index>=0))
145 {
148 {
146 return p_fragments.at(index)->address;
149 return p_fragments.at(index)->address;
147 }
150 }
148 return 0;
151 return 0;
149 }
152 }
150
153
151 int srecFile::getFragmentSize(int index)
154 int srecFile::getFragmentSize(int index)
152 {
155 {
153 if((index < p_fragments.count()) && (index>=0))
156 if((index < p_fragments.count()) && (index>=0))
154 {
157 {
155 return p_fragments.at(index)->size;
158 return p_fragments.at(index)->size;
156 }
159 }
157 return 0;
160 return 0;
158 }
161 }
159
162
160 codeFragment *srecFile::getFragment(int index)
163 codeFragment *srecFile::getFragment(int index)
161 {
164 {
162 if((index < p_fragments.count()) && (index>=0))
165 if((index < p_fragments.count()) && (index>=0))
163 {
166 {
164 return p_fragments.at(index);
167 return p_fragments.at(index);
165 }
168 }
166 return NULL;
169 return NULL;
167 }
170 }
168
171
169 QString srecFile::getFragmentHeader(int index)
172 QString srecFile::getFragmentHeader(int index)
170 {
173 {
171 if((index < p_fragments.count()) && (index>=0))
174 if((index < p_fragments.count()) && (index>=0))
172 {
175 {
173 return p_fragments.at(index)->header;
176 return p_fragments.at(index)->header;
174 }
177 }
175 return "";
178 return "";
176 }
179 }
177
180
178 bool srecFile::getFragmentData(int index, char **buffer)
181 bool srecFile::getFragmentData(int index, char **buffer)
179 {
182 {
180
183
181 if((index < p_fragments.count()) && (index>=0))
184 if((index < p_fragments.count()) && (index>=0))
182 {
185 {
183 *buffer = (char *)this->p_fragments.at(index)->data;
186 *buffer = (char *)this->p_fragments.at(index)->data;
184 return true;
187 return true;
185 }
188 }
186 return false;
189 return false;
187 }
190 }
188
191
192 bool srecFile::mergingRecords()
193 {
194 return p_mergingRecords;
195 }
196
197 void srecFile::setMergingRecords(bool enabled)
198 {
199 p_mergingRecords = enabled;
200 }
201
189 bool srecFile::isSREC()
202 bool srecFile::isSREC()
190 {
203 {
191 return p_isSrec & isopened();
204 return p_isSrec & isopened();
192 }
205 }
193
206
194 bool srecFile::isSREC(const QString &File)
207 bool srecFile::isSREC(const QString &File)
195 {
208 {
196 QFile file(File);
209 QFile file(File);
197 file.open(QIODevice::ReadOnly);
210 file.open(QIODevice::ReadOnly);
198 if(file.isOpen())
211 if(file.isOpen())
199 {
212 {
200 file.seek(0);
213 file.seek(0);
201 QString line=file.readLine();
214 QString line=file.readLine();
202 file.close();
215 file.close();
203 return ((line.at(0)=='S')&&(line.at(1)=='0'));
216 return ((line.at(0)=='S')&&(line.at(1)=='0'));
204 }
217 }
205 return false;
218 return false;
206 }
219 }
207
220
221
208 void srecFile::parseFile(QFile *file)
222 void srecFile::parseFile(QFile *file)
209 {
223 {
210 if(file->isOpen())
224 if(file->isOpen())
211 {
225 {
212 this->p_lineCount = 0;
226 this->p_lineCount = 0;
213 file->seek(0);
227 file->seek(0);
214 codeFragment* fragment=NULL;
228 codeFragment* fragment=NULL;
229 bool newFragment=true;
215 char* data;
230 char* data;
216 quint64 size=0;
231 quint64 size=0;
217 quint64 address=-1;
232 quint64 address=-1;
218 QString header;
233 QString header;
219 while (!file->atEnd())
234 while (!file->atEnd())
220 {
235 {
221 QString line = file->readLine();
236 QString line = file->readLine();
222 p_lineCount++;
237 p_lineCount++;
223 int rectype = parseLine(line,&address,&data,&size);
238 int rectype = parseLine(line,&address,&data,&size);
224 if(rectype==0)
239 if(rectype==0)
225 {
240 {
226 header.clear();
241 header.clear();
227 header.append(data);
242 header.append(data);
228 fragment = new codeFragment(data,size,address);
243 fragment = new codeFragment(data,size,address);
229 fragment->header = header;
244 fragment->header = header;
230 p_fragments.append(fragment);
245 p_fragments.append(fragment);
231 }
246 }
232 else
247 else
233 {
248 {
234 if((rectype>=1) && (rectype<=3))
249 if((rectype>=1) && (rectype<=3))
235 {
250 {
236 bool merged = false;
251 if(p_mergingRecords)
237 //Could I merge it with an other fragment?
238 // TODO should make merging optionnal
239 for(int i=0;i<p_fragments.count();i++)
240 {
252 {
241 codeFragment* frag = p_fragments.at(i);
253 //Could I merge it with an other fragment?
242 if(((frag->address+frag->size)==address) && (merged==false) && (size!=0))
254 bool merged = false;
255 for(int i=0;i<p_fragments.count();i++)
243 {
256 {
244 char* mergedData=(char*)malloc(size+frag->size);
257 codeFragment* frag = p_fragments.at(i);
245 memcpy(mergedData,frag->data,frag->size);
258 if(((frag->address+frag->size)==address) && (merged==false) && (size!=0))
246 memcpy(mergedData+frag->size,data,size);
259 {
247 free(frag->data);
260 merged = mergeFragment(frag,data,size);
248 free(data);
261 }
249 frag->data = mergedData;
262 }
250 frag->size = frag->size+size;
263 if(!merged)
251 merged = true;
264 {
265 fragment = new codeFragment(data,size,address);
266 fragment->header = header;
267 p_fragments.append(fragment);
252 }
268 }
253 }
269 }
254 if(!merged)
270 else
255 {
271 {
256 fragment = new codeFragment(data,size,address);
272 if(newFragment)
257 fragment->header = header;
273 {
258 p_fragments.append(fragment);
274 fragment = new codeFragment(data,size,address);
275 fragment->header = header;
276 p_fragments.append(fragment);
277 newFragment = false;
278 }
279 else
280 {
281 codeFragment* frag = p_fragments.last();
282 mergeFragment(frag,data,size);
283 }
259 }
284 }
285
260 }
286 }
261 else
287 else
262 {
288 {
263
289 if((rectype>=7) && (rectype<=9))
290 {
291 newFragment = true;
292 }
264 }
293 }
265 }
294 }
266 }
295 }
267 }
296 }
268 }
297 }
269
298
299
270 int srecFile::parseLine(const QString &record, quint64 *address, char **data, quint64 *size)
300 int srecFile::parseLine(const QString &record, quint64 *address, char **data, quint64 *size)
271 {
301 {
272 #define newData (*data)
302 #define newData (*data)
273 #define newAddress (*address)
303 #define newAddress (*address)
274 #define newSize (*size)
304 #define newSize (*size)
275 int recType = -1;
305 int recType = -1;
276 if((record.count()>4) && checkSum(record))
306 if((record.count()>4) && checkSum(record))
277 {
307 {
278 if(record.at(0)=='S')
308 if(record.at(0)=='S')
279 {
309 {
280 recType = record.at(1).toLatin1() & 0x0F;
310 recType = record.at(1).toLatin1() & 0x0F;
281 //Header type
311 //Header type
282 if(recType==0)
312 if(recType==0)
283 {
313 {
284 newAddress = record.mid(4,4).toInt(0,16);
314 newAddress = record.mid(4,4).toInt(0,16);
285 newSize = record.mid(2,2).toInt(0,16) - 3;
315 newSize = record.mid(2,2).toInt(0,16) - 3;
286 if(newSize>0)
316 if(newSize>0)
287 {
317 {
288 newData=(char*)malloc(newSize+1);
318 newData=(char*)malloc(newSize+1);
289 for(int i=0;i<(int)newSize;i++)
319 for(int i=0;i<(int)newSize;i++)
290 {
320 {
291 newData[i] = ((char)record.mid((2*i)+8,2).toInt(0,16));
321 newData[i] = ((char)record.mid((2*i)+8,2).toInt(0,16));
292 }
322 }
293 newData[newSize] = '\0'; // force string end for header
323 newData[newSize] = '\0'; // force string end for header
294 }
324 }
295 }
325 }
296 //2 address byte record type
326 //2 address byte record type
297 if((recType==1) || (recType==5) || (recType==9))
327 if((recType==1) || (recType==5) || (recType==9))
298 {
328 {
299 newAddress = record.mid(4,4).toInt(0,16);
329 newAddress = record.mid(4,4).toInt(0,16);
300 newSize = record.mid(2,2).toInt(0,16) - 3;
330 newSize = record.mid(2,2).toInt(0,16) - 3;
301 if(newSize>0)
331 if(newSize>0)
302 {
332 {
303 newData=(char*)malloc(newSize);
333 newData=(char*)malloc(newSize);
304 for(int i=0;i<(int)newSize;i++)
334 for(int i=0;i<(int)newSize;i++)
305 {
335 {
306 newData[i] = ((char)record.mid((2*i)+8,2).toInt(0,16));
336 newData[i] = ((char)record.mid((2*i)+8,2).toInt(0,16));
307 }
337 }
308 }
338 }
309 }
339 }
310 //3 address byte record type
340 //3 address byte record type
311 if((recType==2) || (recType==6) || (recType==8))
341 if((recType==2) || (recType==6) || (recType==8))
312 {
342 {
313 newAddress = record.mid(4,6).toInt(0,16);
343 newAddress = record.mid(4,6).toInt(0,16);
314 newSize = record.mid(2,2).toInt(0,16) - 4;
344 newSize = record.mid(2,2).toInt(0,16) - 4;
315 if(newSize>0)
345 if(newSize>0)
316 {
346 {
317 newData=(char*)malloc(newSize);
347 newData=(char*)malloc(newSize);
318 for(int i=0;i<(int)newSize;i++)
348 for(int i=0;i<(int)newSize;i++)
319 {
349 {
320 newData[i] = ((char)record.mid((2*i)+10,2).toInt(0,16));
350 newData[i] = ((char)record.mid((2*i)+10,2).toInt(0,16));
321 }
351 }
322 }
352 }
323 }
353 }
324 //4 address byte record type
354 //4 address byte record type
325 if((recType==3) || (recType==7))
355 if((recType==3) || (recType==7))
326 {
356 {
327 newAddress = record.mid(4,8).toInt(0,16);
357 newAddress = record.mid(4,8).toInt(0,16);
328 newSize = record.mid(2,2).toInt(0,16) - 5;
358 newSize = record.mid(2,2).toInt(0,16) - 5;
329 if(newSize>0)
359 if(newSize>0)
330 {
360 {
331 newData=(char*)malloc(newSize);
361 newData=(char*)malloc(newSize);
332 for(int i=0;i<(int)newSize;i++)
362 for(int i=0;i<(int)newSize;i++)
333 {
363 {
334 newData[i] = ((char)record.mid((2*i)+12,2).toInt(0,16));
364 newData[i] = ((char)record.mid((2*i)+12,2).toInt(0,16));
335 }
365 }
336 }
366 }
337 }
367 }
338 }
368 }
339 }
369 }
340 return recType;
370 return recType;
341 }
371 }
342
372
373
343 char srecFile::lineCheckSum(const QString &line)
374 char srecFile::lineCheckSum(const QString &line)
344 {
375 {
345 char sum=0;
376 char sum=0;
346 QString localLine = line;
377 QString localLine = line;
347 bool ok;
378 bool ok;
348 if(localLine.at(0)=='S') // then should skip the first two digits
379 if(localLine.at(0)=='S') // then should skip the first two digits
349 {
380 {
350 localLine.remove(0,2);
381 localLine.remove(0,2);
351 }
382 }
352 for(int i=0;i<localLine.count();i+=2)
383 for(int i=0;i<localLine.count();i+=2)
353 {
384 {
354 sum+=(char)(localLine.mid(i,2).toInt(&ok,16));
385 sum+=(char)(localLine.mid(i,2).toInt(&ok,16));
355 }
386 }
356 return ~sum;
387 return ~sum;
357 }
388 }
358
389
359 bool srecFile::checkSum(const QString &line)
390 bool srecFile::checkSum(const QString &line)
360 {
391 {
361 QString scp=line;
392 QString scp=line;
362 scp.remove('\n');
393 scp.remove('\n');
363 scp.remove('\r');
394 scp.remove('\r');
364 char ck2 = (char)scp.mid(scp.count()-2,2).toInt(0,16);
395 char ck2 = (char)scp.mid(scp.count()-2,2).toInt(0,16);
365 char ck=lineCheckSum(scp.remove(scp.count()-2,2));
396 char ck=lineCheckSum(scp.remove(scp.count()-2,2));
366 return (ck2==ck);
397 if(ck==ck2)
398 {
399 return true;
400 }
401 return false;
402 // return (ck2==ck);
367 }
403 }
368
404
405
369 QString srecFile::buildRecord(int recType, int address,const char *data, int size)
406 QString srecFile::buildRecord(int recType, int address,const char *data, int size)
370 {
407 {
371 QString record;
408 QString record;
372 if((recType>=0) && (recType<=9))
409 if((recType>=0) && (recType<=9))
373 {
410 {
374 record.append("S");
411 record.append("S");
375 record.append(QString::number(recType));
412 record.append(QString::number(recType));
376 //2 address byte record type
413 //2 address byte record type
377 if((recType==0) || (recType==1) || (recType==5) || (recType==9))
414 if((recType==0) || (recType==1) || (recType==5) || (recType==9))
378 {
415 {
379 record.append(QString("%1").arg(3+size,2,16).replace(' ','0'));
416 record.append(QString("%1").arg(3+size,2,16).replace(' ','0'));
380 record.append(QString("%1").arg(address,4,16).replace(' ','0'));
417 record.append(QString("%1").arg(address,4,16).replace(' ','0'));
381 }
418 }
382 //3 address byte record type
419 //3 address byte record type
383 if((recType==2) || (recType==6) || (recType==8))
420 if((recType==2) || (recType==6) || (recType==8))
384 {
421 {
385 record.append(QString("%1").arg(4+size,2,16).replace(' ','0'));
422 record.append(QString("%1").arg(4+size,2,16).replace(' ','0'));
386 record.append(QString("%1").arg(address,6,16).replace(' ','0'));
423 record.append(QString("%1").arg(address,6,16).replace(' ','0'));
387 }
424 }
388 //4 address byte record type
425 //4 address byte record type
389 if((recType==3) || (recType==7))
426 if((recType==3) || (recType==7))
390 {
427 {
391 record.append(QString("%1").arg(5+size,2,16).replace(' ','0'));
428 record.append(QString("%1").arg(5+size,2,16).replace(' ','0'));
392 record.append(QString("%1").arg(address,8,16).replace(' ','0'));
429 record.append(QString("%1").arg(address,8,16).replace(' ','0'));
393 }
430 }
394 for(int i=0; i<size;i++)
431 for(int i=0; i<size;i++)
395 {
432 {
396 record.append(QString("%1").arg((uchar)data[i],2,16).replace(' ','0'));
433 record.append(QString("%1").arg((uchar)data[i],2,16).replace(' ','0'));
397 }
434 }
398 record.append(QString("%1").arg((uchar)srecFile::lineCheckSum(record),2,16).replace(' ','0'));
435 record.append(QString("%1").arg((uchar)srecFile::lineCheckSum(record),2,16).replace(' ','0'));
399 record.append('\n');
436 record.append('\n');
400 }
437 }
401 return record.toUpper();
438 return record.toUpper();
402 }
439 }
403
440
441 bool srecFile::mergeFragment(codeFragment *fragment, char *data, int size)
442 {
443 char* mergedData=(char*)malloc(size+fragment->size);
444 if(mergedData!=NULL)
445 {
446 memcpy(mergedData,fragment->data,fragment->size);
447 memcpy(mergedData+fragment->size,data,size);
448 free(fragment->data);
449 free(data);
450 fragment->data = mergedData;
451 fragment->size = fragment->size+size;
452 return true;
453 }
454 return false;
455 }
456
@@ -1,73 +1,77
1 /*------------------------------------------------------------------------------
1 /*------------------------------------------------------------------------------
2 -- This file is a part of the SocExplorer Software
2 -- This file is a part of the SocExplorer Software
3 -- Copyright (C) 2014, Plasma Physics Laboratory - CNRS
3 -- Copyright (C) 2014, Plasma Physics Laboratory - CNRS
4 --
4 --
5 -- This program is free software; you can redistribute it and/or modify
5 -- This program is free software; you can redistribute it and/or modify
6 -- it under the terms of the GNU General Public License as published by
6 -- it under the terms of the GNU General Public License as published by
7 -- the Free Software Foundation; either version 2 of the License, or
7 -- the Free Software Foundation; either version 2 of the License, or
8 -- (at your option) any later version.
8 -- (at your option) any later version.
9 --
9 --
10 -- This program is distributed in the hope that it will be useful,
10 -- This program is distributed in the hope that it will be useful,
11 -- but WITHOUT ANY WARRANTY; without even the implied warranty of
11 -- but WITHOUT ANY WARRANTY; without even the implied warranty of
12 -- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 -- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 -- GNU General Public License for more details.
13 -- GNU General Public License for more details.
14 --
14 --
15 -- You should have received a copy of the GNU General Public License
15 -- You should have received a copy of the GNU General Public License
16 -- along with this program; if not, write to the Free Software
16 -- along with this program; if not, write to the Free Software
17 -- Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
17 -- Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
18 -------------------------------------------------------------------------------*/
18 -------------------------------------------------------------------------------*/
19 /*-- Author : Alexis Jeandet
19 /*-- Author : Alexis Jeandet
20 -- Mail : alexis.jeandet@member.fsf.org
20 -- Mail : alexis.jeandet@member.fsf.org
21 ----------------------------------------------------------------------------*/
21 ----------------------------------------------------------------------------*/
22 #ifndef SRECFILE_H
22 #ifndef SRECFILE_H
23 #define SRECFILE_H
23 #define SRECFILE_H
24
24
25 #include <QObject>
25 #include <QObject>
26 #include <abstractbinfile.h>
26 #include <abstractbinfile.h>
27 #include <QFile>
27 #include <QFile>
28 #include <QStringList>
28 #include <QStringList>
29
29
30 class srecFile : public abstractBinFile
30 class srecFile : public abstractBinFile
31 {
31 {
32 Q_OBJECT
32 Q_OBJECT
33 public:
33 public:
34 explicit srecFile();
34 explicit srecFile();
35 srecFile(const QString& File);
35 srecFile(const QString& File);
36 srecFile(const QStringList& Files);
36 srecFile(const QStringList& Files);
37 ~srecFile();
37 ~srecFile();
38 bool openFile(const QString& File);
38 bool openFile(const QString& File);
39 bool openFiles(const QStringList& Files);
39 bool openFiles(const QStringList& Files);
40 bool isopened();
40 bool isopened();
41 int closeFile();
41 int closeFile();
42 QList<codeFragment*> getFragments();
42 QList<codeFragment*> getFragments();
43 static bool toSrec(QList<codeFragment*> fragments,const QString& File);
43 static bool toSrec(QList<codeFragment*> fragments,const QString& File);
44 bool toSrec(const QString &File);
44 bool toSrec(const QString &File);
45 bool toBinary(const QString& File);
45 bool toBinary(const QString& File);
46 int lineCount();
46 int lineCount();
47 int getFragmentsCount();
47 int getFragmentsCount();
48 int getFragmentAddress(int index);
48 int getFragmentAddress(int index);
49 int getFragmentSize(int index);
49 int getFragmentSize(int index);
50 codeFragment *getFragment(int index);
50 codeFragment *getFragment(int index);
51 QString getFragmentHeader(int index);
51 QString getFragmentHeader(int index);
52 bool getFragmentData(int index, char **buffer);
52 bool getFragmentData(int index, char **buffer);
53
53
54 bool mergingRecords();
55 void setMergingRecords(bool enabled);
54 bool isSREC();
56 bool isSREC();
55 static bool isSREC(const QString& File);
57 static bool isSREC(const QString& File);
58 static bool checkSum(const QString& line);
56 signals:
59 signals:
57
60
58 public slots:
61 public slots:
59 private:
62 private:
60 void parseFile(QFile* file);
63 void parseFile(QFile* file);
61 static int parseLine(const QString& record, quint64 *address, char** data, quint64 *size);
64 static int parseLine(const QString& record, quint64 *address, char** data, quint64 *size);
62 static char lineCheckSum(const QString& line);
65 static char lineCheckSum(const QString& line);
63 static bool checkSum(const QString& line);
64 static QString buildRecord(int recType,int address,const char* data,int size);
66 static QString buildRecord(int recType,int address,const char* data,int size);
67 static bool mergeFragment(codeFragment* fragment, char* data, int size);
65 QStringList p_fileNames;
68 QStringList p_fileNames;
66 QList<QFile*>p_files;
69 QList<QFile*>p_files;
67 QList<codeFragment*> p_fragments;
70 QList<codeFragment*> p_fragments;
68 int p_lineCount;
71 int p_lineCount;
69 bool p_isSrec;
72 bool p_isSrec;
73 bool p_mergingRecords;
70
74
71 };
75 };
72
76
73 #endif // SRECFILE_H
77 #endif // SRECFILE_H
@@ -1,87 +1,93
1 <?xml version="1.0" encoding="UTF-8"?>
1 <?xml version="1.0" encoding="UTF-8"?>
2 <ui version="4.0">
2 <ui version="4.0">
3 <class>srecFileWidget</class>
3 <class>srecFileWidget</class>
4 <widget class="QWidget" name="srecFileWidget">
4 <widget class="QWidget" name="srecFileWidget">
5 <property name="geometry">
5 <property name="geometry">
6 <rect>
6 <rect>
7 <x>0</x>
7 <x>0</x>
8 <y>0</y>
8 <y>0</y>
9 <width>740</width>
9 <width>740</width>
10 <height>516</height>
10 <height>516</height>
11 </rect>
11 </rect>
12 </property>
12 </property>
13 <property name="windowTitle">
13 <property name="windowTitle">
14 <string>Form</string>
14 <string>Form</string>
15 </property>
15 </property>
16 <layout class="QGridLayout" name="gridLayout">
16 <layout class="QGridLayout" name="gridLayout">
17 <item row="0" column="0">
17 <item row="0" column="0">
18 <widget class="QSplitter" name="splitter">
18 <widget class="QSplitter" name="splitter">
19 <property name="orientation">
19 <property name="orientation">
20 <enum>Qt::Horizontal</enum>
20 <enum>Qt::Horizontal</enum>
21 </property>
21 </property>
22 <widget class="QGroupBox" name="groupBox">
22 <widget class="QGroupBox" name="groupBox">
23 <property name="title">
23 <property name="title">
24 <string>Hexadecimal Viewer</string>
24 <string>Hexadecimal Viewer</string>
25 </property>
25 </property>
26 <layout class="QVBoxLayout" name="verticalLayout">
26 <layout class="QVBoxLayout" name="verticalLayout">
27 <item>
27 <item>
28 <widget class="QHexEdit" name="fragmentHexView" native="true">
28 <widget class="QHexEdit" name="fragmentHexView" native="true">
29 <property name="minimumSize">
29 <property name="minimumSize">
30 <size>
30 <size>
31 <width>256</width>
31 <width>256</width>
32 <height>0</height>
32 <height>0</height>
33 </size>
33 </size>
34 </property>
34 </property>
35 </widget>
35 </widget>
36 </item>
36 </item>
37 </layout>
37 </layout>
38 </widget>
38 </widget>
39 <widget class="QGroupBox" name="groupBox_2">
39 <widget class="QGroupBox" name="groupBox_2">
40 <property name="title">
40 <property name="title">
41 <string>SREC records list</string>
41 <string>SREC records list</string>
42 </property>
42 </property>
43 <layout class="QVBoxLayout" name="verticalLayout_2">
43 <layout class="QVBoxLayout" name="verticalLayout_2">
44 <item>
44 <item>
45 <widget class="QTableWidget" name="fragmentsList">
45 <widget class="QTableWidget" name="fragmentsList">
46 <property name="contextMenuPolicy">
46 <property name="contextMenuPolicy">
47 <enum>Qt::ActionsContextMenu</enum>
47 <enum>Qt::ActionsContextMenu</enum>
48 </property>
48 </property>
49 <attribute name="horizontalHeaderVisible">
50 <bool>true</bool>
51 </attribute>
52 <attribute name="verticalHeaderVisible">
53 <bool>false</bool>
54 </attribute>
49 <column>
55 <column>
50 <property name="text">
56 <property name="text">
51 <string>Index</string>
57 <string>Index</string>
52 </property>
58 </property>
53 </column>
59 </column>
54 <column>
60 <column>
55 <property name="text">
61 <property name="text">
56 <string>Address</string>
62 <string>Address</string>
57 </property>
63 </property>
58 </column>
64 </column>
59 <column>
65 <column>
60 <property name="text">
66 <property name="text">
61 <string>Size</string>
67 <string>Size</string>
62 </property>
68 </property>
63 </column>
69 </column>
64 <column>
70 <column>
65 <property name="text">
71 <property name="text">
66 <string>Header</string>
72 <string>Header</string>
67 </property>
73 </property>
68 </column>
74 </column>
69 </widget>
75 </widget>
70 </item>
76 </item>
71 </layout>
77 </layout>
72 </widget>
78 </widget>
73 </widget>
79 </widget>
74 </item>
80 </item>
75 </layout>
81 </layout>
76 </widget>
82 </widget>
77 <customwidgets>
83 <customwidgets>
78 <customwidget>
84 <customwidget>
79 <class>QHexEdit</class>
85 <class>QHexEdit</class>
80 <extends>QWidget</extends>
86 <extends>QWidget</extends>
81 <header location="global">qhexedit.h</header>
87 <header location="global">qhexedit.h</header>
82 <container>1</container>
88 <container>1</container>
83 </customwidget>
89 </customwidget>
84 </customwidgets>
90 </customwidgets>
85 <resources/>
91 <resources/>
86 <connections/>
92 <connections/>
87 </ui>
93 </ui>
@@ -1,7783 +1,7793
1 #include "PySocExplorer0.h"
1 #include "PySocExplorer0.h"
2 #include <PythonQtConversion.h>
2 #include <PythonQtConversion.h>
3 #include <PythonQtMethodInfo.h>
3 #include <PythonQtMethodInfo.h>
4 #include <PythonQtSignalReceiver.h>
4 #include <PythonQtSignalReceiver.h>
5 #include <QIconEngine>
5 #include <QIconEngine>
6 #include <QObject>
6 #include <QObject>
7 #include <QSpinBox>
7 #include <QSpinBox>
8 #include <QVariant>
8 #include <QVariant>
9 #include <QWidget>
9 #include <QWidget>
10 #include <abstractbinfile.h>
10 #include <abstractbinfile.h>
11 #include <elffile.h>
11 #include <elffile.h>
12 #include <elfparser.h>
12 #include <elfparser.h>
13 #include <qaction.h>
13 #include <qaction.h>
14 #include <qbitmap.h>
14 #include <qbitmap.h>
15 #include <qbytearray.h>
15 #include <qbytearray.h>
16 #include <qcolor.h>
16 #include <qcolor.h>
17 #include <qcoreevent.h>
17 #include <qcoreevent.h>
18 #include <qcursor.h>
18 #include <qcursor.h>
19 #include <qevent.h>
19 #include <qevent.h>
20 #include <qfile.h>
20 #include <qfile.h>
21 #include <qfont.h>
21 #include <qfont.h>
22 #include <qgraphicseffect.h>
22 #include <qgraphicseffect.h>
23 #include <qgraphicsproxywidget.h>
23 #include <qgraphicsproxywidget.h>
24 #include <qkeysequence.h>
24 #include <qkeysequence.h>
25 #include <qlayout.h>
25 #include <qlayout.h>
26 #include <qlineedit.h>
26 #include <qlineedit.h>
27 #include <qlist.h>
27 #include <qlist.h>
28 #include <qlocale.h>
28 #include <qlocale.h>
29 #include <qmargins.h>
29 #include <qmargins.h>
30 #include <qobject.h>
30 #include <qobject.h>
31 #include <qpaintdevice.h>
31 #include <qpaintdevice.h>
32 #include <qpaintengine.h>
32 #include <qpaintengine.h>
33 #include <qpainter.h>
33 #include <qpainter.h>
34 #include <qpalette.h>
34 #include <qpalette.h>
35 #include <qpen.h>
35 #include <qpen.h>
36 #include <qpixmap.h>
36 #include <qpixmap.h>
37 #include <qpoint.h>
37 #include <qpoint.h>
38 #include <qrect.h>
38 #include <qrect.h>
39 #include <qregion.h>
39 #include <qregion.h>
40 #include <qscrollarea.h>
40 #include <qscrollarea.h>
41 #include <qscrollbar.h>
41 #include <qscrollbar.h>
42 #include <qsize.h>
42 #include <qsize.h>
43 #include <qsizepolicy.h>
43 #include <qsizepolicy.h>
44 #include <qspinbox.h>
44 #include <qspinbox.h>
45 #include <qstringlist.h>
45 #include <qstringlist.h>
46 #include <qstyle.h>
46 #include <qstyle.h>
47 #include <qstyleoption.h>
47 #include <qstyleoption.h>
48 #include <qwidget.h>
48 #include <qwidget.h>
49
49
50 PythonQtShell_ElfFile::~PythonQtShell_ElfFile() {
50 PythonQtShell_ElfFile::~PythonQtShell_ElfFile() {
51 PythonQtPrivate* priv = PythonQt::priv();
51 PythonQtPrivate* priv = PythonQt::priv();
52 if (priv) { priv->shellClassDeleted(this); }
52 if (priv) { priv->shellClassDeleted(this); }
53 }
53 }
54 int PythonQtShell_ElfFile::closeFile()
54 int PythonQtShell_ElfFile::closeFile()
55 {
55 {
56 if (_wrapper) {
56 if (_wrapper) {
57 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "closeFile");
57 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "closeFile");
58 PyErr_Clear();
58 PyErr_Clear();
59 if (obj && !PythonQtSlotFunction_Check(obj)) {
59 if (obj && !PythonQtSlotFunction_Check(obj)) {
60 static const char* argumentList[] ={"int"};
60 static const char* argumentList[] ={"int"};
61 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList);
61 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList);
62 int returnValue;
62 int returnValue;
63 void* args[1] = {NULL};
63 void* args[1] = {NULL};
64 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
64 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
65 if (result) {
65 if (result) {
66 args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue);
66 args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue);
67 if (args[0]!=&returnValue) {
67 if (args[0]!=&returnValue) {
68 if (args[0]==NULL) {
68 if (args[0]==NULL) {
69 PythonQt::priv()->handleVirtualOverloadReturnError("closeFile", methodInfo, result);
69 PythonQt::priv()->handleVirtualOverloadReturnError("closeFile", methodInfo, result);
70 } else {
70 } else {
71 returnValue = *((int*)args[0]);
71 returnValue = *((int*)args[0]);
72 }
72 }
73 }
73 }
74 }
74 }
75 if (result) { Py_DECREF(result); }
75 if (result) { Py_DECREF(result); }
76 Py_DECREF(obj);
76 Py_DECREF(obj);
77 return returnValue;
77 return returnValue;
78 }
78 }
79 }
79 }
80 return ElfFile::closeFile();
80 return ElfFile::closeFile();
81 }
81 }
82 QList<codeFragment* > PythonQtShell_ElfFile::getFragments()
82 QList<codeFragment* > PythonQtShell_ElfFile::getFragments()
83 {
83 {
84 if (_wrapper) {
84 if (_wrapper) {
85 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "getFragments");
85 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "getFragments");
86 PyErr_Clear();
86 PyErr_Clear();
87 if (obj && !PythonQtSlotFunction_Check(obj)) {
87 if (obj && !PythonQtSlotFunction_Check(obj)) {
88 static const char* argumentList[] ={"QList<codeFragment* >"};
88 static const char* argumentList[] ={"QList<codeFragment* >"};
89 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList);
89 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList);
90 QList<codeFragment* > returnValue;
90 QList<codeFragment* > returnValue;
91 void* args[1] = {NULL};
91 void* args[1] = {NULL};
92 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
92 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
93 if (result) {
93 if (result) {
94 args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue);
94 args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue);
95 if (args[0]!=&returnValue) {
95 if (args[0]!=&returnValue) {
96 if (args[0]==NULL) {
96 if (args[0]==NULL) {
97 PythonQt::priv()->handleVirtualOverloadReturnError("getFragments", methodInfo, result);
97 PythonQt::priv()->handleVirtualOverloadReturnError("getFragments", methodInfo, result);
98 } else {
98 } else {
99 returnValue = *((QList<codeFragment* >*)args[0]);
99 returnValue = *((QList<codeFragment* >*)args[0]);
100 }
100 }
101 }
101 }
102 }
102 }
103 if (result) { Py_DECREF(result); }
103 if (result) { Py_DECREF(result); }
104 Py_DECREF(obj);
104 Py_DECREF(obj);
105 return returnValue;
105 return returnValue;
106 }
106 }
107 }
107 }
108 return ElfFile::getFragments();
108 return ElfFile::getFragments();
109 }
109 }
110 bool PythonQtShell_ElfFile::isopened()
110 bool PythonQtShell_ElfFile::isopened()
111 {
111 {
112 if (_wrapper) {
112 if (_wrapper) {
113 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "isopened");
113 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "isopened");
114 PyErr_Clear();
114 PyErr_Clear();
115 if (obj && !PythonQtSlotFunction_Check(obj)) {
115 if (obj && !PythonQtSlotFunction_Check(obj)) {
116 static const char* argumentList[] ={"bool"};
116 static const char* argumentList[] ={"bool"};
117 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList);
117 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList);
118 bool returnValue;
118 bool returnValue;
119 void* args[1] = {NULL};
119 void* args[1] = {NULL};
120 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
120 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
121 if (result) {
121 if (result) {
122 args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue);
122 args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue);
123 if (args[0]!=&returnValue) {
123 if (args[0]!=&returnValue) {
124 if (args[0]==NULL) {
124 if (args[0]==NULL) {
125 PythonQt::priv()->handleVirtualOverloadReturnError("isopened", methodInfo, result);
125 PythonQt::priv()->handleVirtualOverloadReturnError("isopened", methodInfo, result);
126 } else {
126 } else {
127 returnValue = *((bool*)args[0]);
127 returnValue = *((bool*)args[0]);
128 }
128 }
129 }
129 }
130 }
130 }
131 if (result) { Py_DECREF(result); }
131 if (result) { Py_DECREF(result); }
132 Py_DECREF(obj);
132 Py_DECREF(obj);
133 return returnValue;
133 return returnValue;
134 }
134 }
135 }
135 }
136 return ElfFile::isopened();
136 return ElfFile::isopened();
137 }
137 }
138 bool PythonQtShell_ElfFile::openFile(const QString& File)
138 bool PythonQtShell_ElfFile::openFile(const QString& File)
139 {
139 {
140 if (_wrapper) {
140 if (_wrapper) {
141 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "openFile");
141 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "openFile");
142 PyErr_Clear();
142 PyErr_Clear();
143 if (obj && !PythonQtSlotFunction_Check(obj)) {
143 if (obj && !PythonQtSlotFunction_Check(obj)) {
144 static const char* argumentList[] ={"bool" , "const QString&"};
144 static const char* argumentList[] ={"bool" , "const QString&"};
145 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
145 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
146 bool returnValue;
146 bool returnValue;
147 void* args[2] = {NULL, (void*)&File};
147 void* args[2] = {NULL, (void*)&File};
148 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
148 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
149 if (result) {
149 if (result) {
150 args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue);
150 args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue);
151 if (args[0]!=&returnValue) {
151 if (args[0]!=&returnValue) {
152 if (args[0]==NULL) {
152 if (args[0]==NULL) {
153 PythonQt::priv()->handleVirtualOverloadReturnError("openFile", methodInfo, result);
153 PythonQt::priv()->handleVirtualOverloadReturnError("openFile", methodInfo, result);
154 } else {
154 } else {
155 returnValue = *((bool*)args[0]);
155 returnValue = *((bool*)args[0]);
156 }
156 }
157 }
157 }
158 }
158 }
159 if (result) { Py_DECREF(result); }
159 if (result) { Py_DECREF(result); }
160 Py_DECREF(obj);
160 Py_DECREF(obj);
161 return returnValue;
161 return returnValue;
162 }
162 }
163 }
163 }
164 return ElfFile::openFile(File);
164 return ElfFile::openFile(File);
165 }
165 }
166 bool PythonQtShell_ElfFile::toBinary(const QString& File)
166 bool PythonQtShell_ElfFile::toBinary(const QString& File)
167 {
167 {
168 if (_wrapper) {
168 if (_wrapper) {
169 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "toBinary");
169 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "toBinary");
170 PyErr_Clear();
170 PyErr_Clear();
171 if (obj && !PythonQtSlotFunction_Check(obj)) {
171 if (obj && !PythonQtSlotFunction_Check(obj)) {
172 static const char* argumentList[] ={"bool" , "const QString&"};
172 static const char* argumentList[] ={"bool" , "const QString&"};
173 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
173 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
174 bool returnValue;
174 bool returnValue;
175 void* args[2] = {NULL, (void*)&File};
175 void* args[2] = {NULL, (void*)&File};
176 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
176 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
177 if (result) {
177 if (result) {
178 args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue);
178 args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue);
179 if (args[0]!=&returnValue) {
179 if (args[0]!=&returnValue) {
180 if (args[0]==NULL) {
180 if (args[0]==NULL) {
181 PythonQt::priv()->handleVirtualOverloadReturnError("toBinary", methodInfo, result);
181 PythonQt::priv()->handleVirtualOverloadReturnError("toBinary", methodInfo, result);
182 } else {
182 } else {
183 returnValue = *((bool*)args[0]);
183 returnValue = *((bool*)args[0]);
184 }
184 }
185 }
185 }
186 }
186 }
187 if (result) { Py_DECREF(result); }
187 if (result) { Py_DECREF(result); }
188 Py_DECREF(obj);
188 Py_DECREF(obj);
189 return returnValue;
189 return returnValue;
190 }
190 }
191 }
191 }
192 return ElfFile::toBinary(File);
192 return ElfFile::toBinary(File);
193 }
193 }
194 bool PythonQtShell_ElfFile::toSrec(const QString& File)
194 bool PythonQtShell_ElfFile::toSrec(const QString& File)
195 {
195 {
196 if (_wrapper) {
196 if (_wrapper) {
197 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "toSrec");
197 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "toSrec");
198 PyErr_Clear();
198 PyErr_Clear();
199 if (obj && !PythonQtSlotFunction_Check(obj)) {
199 if (obj && !PythonQtSlotFunction_Check(obj)) {
200 static const char* argumentList[] ={"bool" , "const QString&"};
200 static const char* argumentList[] ={"bool" , "const QString&"};
201 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
201 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
202 bool returnValue;
202 bool returnValue;
203 void* args[2] = {NULL, (void*)&File};
203 void* args[2] = {NULL, (void*)&File};
204 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
204 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
205 if (result) {
205 if (result) {
206 args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue);
206 args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue);
207 if (args[0]!=&returnValue) {
207 if (args[0]!=&returnValue) {
208 if (args[0]==NULL) {
208 if (args[0]==NULL) {
209 PythonQt::priv()->handleVirtualOverloadReturnError("toSrec", methodInfo, result);
209 PythonQt::priv()->handleVirtualOverloadReturnError("toSrec", methodInfo, result);
210 } else {
210 } else {
211 returnValue = *((bool*)args[0]);
211 returnValue = *((bool*)args[0]);
212 }
212 }
213 }
213 }
214 }
214 }
215 if (result) { Py_DECREF(result); }
215 if (result) { Py_DECREF(result); }
216 Py_DECREF(obj);
216 Py_DECREF(obj);
217 return returnValue;
217 return returnValue;
218 }
218 }
219 }
219 }
220 return ElfFile::toSrec(File);
220 return ElfFile::toSrec(File);
221 }
221 }
222 ElfFile* PythonQtWrapper_ElfFile::new_ElfFile()
222 ElfFile* PythonQtWrapper_ElfFile::new_ElfFile()
223 {
223 {
224 return new PythonQtShell_ElfFile(); }
224 return new PythonQtShell_ElfFile(); }
225
225
226 ElfFile* PythonQtWrapper_ElfFile::new_ElfFile(const QString& File)
226 ElfFile* PythonQtWrapper_ElfFile::new_ElfFile(const QString& File)
227 {
227 {
228 return new PythonQtShell_ElfFile(File); }
228 return new PythonQtShell_ElfFile(File); }
229
229
230 int PythonQtWrapper_ElfFile::closeFile(ElfFile* theWrappedObject)
230 int PythonQtWrapper_ElfFile::closeFile(ElfFile* theWrappedObject)
231 {
231 {
232 return ( ((PythonQtPublicPromoter_ElfFile*)theWrappedObject)->promoted_closeFile());
232 return ( ((PythonQtPublicPromoter_ElfFile*)theWrappedObject)->promoted_closeFile());
233 }
233 }
234
234
235 QString PythonQtWrapper_ElfFile::getABI(ElfFile* theWrappedObject)
235 QString PythonQtWrapper_ElfFile::getABI(ElfFile* theWrappedObject)
236 {
236 {
237 return ( theWrappedObject->getABI());
237 return ( theWrappedObject->getABI());
238 }
238 }
239
239
240 QString PythonQtWrapper_ElfFile::getArchitecture(ElfFile* theWrappedObject)
240 QString PythonQtWrapper_ElfFile::getArchitecture(ElfFile* theWrappedObject)
241 {
241 {
242 return ( theWrappedObject->getArchitecture());
242 return ( theWrappedObject->getArchitecture());
243 }
243 }
244
244
245 QString PythonQtWrapper_ElfFile::getClass(ElfFile* theWrappedObject)
245 QString PythonQtWrapper_ElfFile::getClass(ElfFile* theWrappedObject)
246 {
246 {
247 return ( theWrappedObject->getClass());
247 return ( theWrappedObject->getClass());
248 }
248 }
249
249
250 QString PythonQtWrapper_ElfFile::getEndianness(ElfFile* theWrappedObject)
250 QString PythonQtWrapper_ElfFile::getEndianness(ElfFile* theWrappedObject)
251 {
251 {
252 return ( theWrappedObject->getEndianness());
252 return ( theWrappedObject->getEndianness());
253 }
253 }
254
254
255 qint64 PythonQtWrapper_ElfFile::getEntryPointAddress(ElfFile* theWrappedObject)
255 qint64 PythonQtWrapper_ElfFile::getEntryPointAddress(ElfFile* theWrappedObject)
256 {
256 {
257 return ( theWrappedObject->getEntryPointAddress());
257 return ( theWrappedObject->getEntryPointAddress());
258 }
258 }
259
259
260 QList<codeFragment* > PythonQtWrapper_ElfFile::getFragments(ElfFile* theWrappedObject)
260 QList<codeFragment* > PythonQtWrapper_ElfFile::getFragments(ElfFile* theWrappedObject)
261 {
261 {
262 return ( ((PythonQtPublicPromoter_ElfFile*)theWrappedObject)->promoted_getFragments());
262 return ( ((PythonQtPublicPromoter_ElfFile*)theWrappedObject)->promoted_getFragments());
263 }
263 }
264
264
265 QList<codeFragment* > PythonQtWrapper_ElfFile::getFragments(ElfFile* theWrappedObject, QStringList fragmentList)
265 QList<codeFragment* > PythonQtWrapper_ElfFile::getFragments(ElfFile* theWrappedObject, QStringList fragmentList)
266 {
266 {
267 return ( theWrappedObject->getFragments(fragmentList));
267 return ( theWrappedObject->getFragments(fragmentList));
268 }
268 }
269
269
270 int PythonQtWrapper_ElfFile::getSectionCount(ElfFile* theWrappedObject)
270 int PythonQtWrapper_ElfFile::getSectionCount(ElfFile* theWrappedObject)
271 {
271 {
272 return ( theWrappedObject->getSectionCount());
272 return ( theWrappedObject->getSectionCount());
273 }
273 }
274
274
275 bool PythonQtWrapper_ElfFile::getSectionData(ElfFile* theWrappedObject, int index, char** buffer)
275 bool PythonQtWrapper_ElfFile::getSectionData(ElfFile* theWrappedObject, int index, char** buffer)
276 {
276 {
277 return ( theWrappedObject->getSectionData(index, buffer));
277 return ( theWrappedObject->getSectionData(index, buffer));
278 }
278 }
279
279
280 qint64 PythonQtWrapper_ElfFile::getSectionDatasz(ElfFile* theWrappedObject, int index)
280 qint64 PythonQtWrapper_ElfFile::getSectionDatasz(ElfFile* theWrappedObject, int index)
281 {
281 {
282 return ( theWrappedObject->getSectionDatasz(index));
282 return ( theWrappedObject->getSectionDatasz(index));
283 }
283 }
284
284
285 int PythonQtWrapper_ElfFile::getSectionIndex(ElfFile* theWrappedObject, QString name)
285 int PythonQtWrapper_ElfFile::getSectionIndex(ElfFile* theWrappedObject, QString name)
286 {
286 {
287 return ( theWrappedObject->getSectionIndex(name));
287 return ( theWrappedObject->getSectionIndex(name));
288 }
288 }
289
289
290 qint64 PythonQtWrapper_ElfFile::getSectionMemsz(ElfFile* theWrappedObject, int index)
290 qint64 PythonQtWrapper_ElfFile::getSectionMemsz(ElfFile* theWrappedObject, int index)
291 {
291 {
292 return ( theWrappedObject->getSectionMemsz(index));
292 return ( theWrappedObject->getSectionMemsz(index));
293 }
293 }
294
294
295 QString PythonQtWrapper_ElfFile::getSectionName(ElfFile* theWrappedObject, int index)
295 QString PythonQtWrapper_ElfFile::getSectionName(ElfFile* theWrappedObject, int index)
296 {
296 {
297 return ( theWrappedObject->getSectionName(index));
297 return ( theWrappedObject->getSectionName(index));
298 }
298 }
299
299
300 qint64 PythonQtWrapper_ElfFile::getSectionPaddr(ElfFile* theWrappedObject, int index)
300 qint64 PythonQtWrapper_ElfFile::getSectionPaddr(ElfFile* theWrappedObject, int index)
301 {
301 {
302 return ( theWrappedObject->getSectionPaddr(index));
302 return ( theWrappedObject->getSectionPaddr(index));
303 }
303 }
304
304
305 QString PythonQtWrapper_ElfFile::getSectionType(ElfFile* theWrappedObject, int index)
305 QString PythonQtWrapper_ElfFile::getSectionType(ElfFile* theWrappedObject, int index)
306 {
306 {
307 return ( theWrappedObject->getSectionType(index));
307 return ( theWrappedObject->getSectionType(index));
308 }
308 }
309
309
310 int PythonQtWrapper_ElfFile::getSegmentCount(ElfFile* theWrappedObject)
310 int PythonQtWrapper_ElfFile::getSegmentCount(ElfFile* theWrappedObject)
311 {
311 {
312 return ( theWrappedObject->getSegmentCount());
312 return ( theWrappedObject->getSegmentCount());
313 }
313 }
314
314
315 qint64 PythonQtWrapper_ElfFile::getSegmentFilesz(ElfFile* theWrappedObject, int index)
315 qint64 PythonQtWrapper_ElfFile::getSegmentFilesz(ElfFile* theWrappedObject, int index)
316 {
316 {
317 return ( theWrappedObject->getSegmentFilesz(index));
317 return ( theWrappedObject->getSegmentFilesz(index));
318 }
318 }
319
319
320 QString PythonQtWrapper_ElfFile::getSegmentFlags(ElfFile* theWrappedObject, int index)
320 QString PythonQtWrapper_ElfFile::getSegmentFlags(ElfFile* theWrappedObject, int index)
321 {
321 {
322 return ( theWrappedObject->getSegmentFlags(index));
322 return ( theWrappedObject->getSegmentFlags(index));
323 }
323 }
324
324
325 qint64 PythonQtWrapper_ElfFile::getSegmentMemsz(ElfFile* theWrappedObject, int index)
325 qint64 PythonQtWrapper_ElfFile::getSegmentMemsz(ElfFile* theWrappedObject, int index)
326 {
326 {
327 return ( theWrappedObject->getSegmentMemsz(index));
327 return ( theWrappedObject->getSegmentMemsz(index));
328 }
328 }
329
329
330 qint64 PythonQtWrapper_ElfFile::getSegmentOffset(ElfFile* theWrappedObject, int index)
330 qint64 PythonQtWrapper_ElfFile::getSegmentOffset(ElfFile* theWrappedObject, int index)
331 {
331 {
332 return ( theWrappedObject->getSegmentOffset(index));
332 return ( theWrappedObject->getSegmentOffset(index));
333 }
333 }
334
334
335 qint64 PythonQtWrapper_ElfFile::getSegmentPaddr(ElfFile* theWrappedObject, int index)
335 qint64 PythonQtWrapper_ElfFile::getSegmentPaddr(ElfFile* theWrappedObject, int index)
336 {
336 {
337 return ( theWrappedObject->getSegmentPaddr(index));
337 return ( theWrappedObject->getSegmentPaddr(index));
338 }
338 }
339
339
340 QString PythonQtWrapper_ElfFile::getSegmentType(ElfFile* theWrappedObject, int index)
340 QString PythonQtWrapper_ElfFile::getSegmentType(ElfFile* theWrappedObject, int index)
341 {
341 {
342 return ( theWrappedObject->getSegmentType(index));
342 return ( theWrappedObject->getSegmentType(index));
343 }
343 }
344
344
345 qint64 PythonQtWrapper_ElfFile::getSegmentVaddr(ElfFile* theWrappedObject, int index)
345 qint64 PythonQtWrapper_ElfFile::getSegmentVaddr(ElfFile* theWrappedObject, int index)
346 {
346 {
347 return ( theWrappedObject->getSegmentVaddr(index));
347 return ( theWrappedObject->getSegmentVaddr(index));
348 }
348 }
349
349
350 quint64 PythonQtWrapper_ElfFile::getSymbolAddress(ElfFile* theWrappedObject, int index)
350 quint64 PythonQtWrapper_ElfFile::getSymbolAddress(ElfFile* theWrappedObject, int index)
351 {
351 {
352 return ( theWrappedObject->getSymbolAddress(index));
352 return ( theWrappedObject->getSymbolAddress(index));
353 }
353 }
354
354
355 int PythonQtWrapper_ElfFile::getSymbolCount(ElfFile* theWrappedObject)
355 int PythonQtWrapper_ElfFile::getSymbolCount(ElfFile* theWrappedObject)
356 {
356 {
357 return ( theWrappedObject->getSymbolCount());
357 return ( theWrappedObject->getSymbolCount());
358 }
358 }
359
359
360 QString PythonQtWrapper_ElfFile::getSymbolLinkType(ElfFile* theWrappedObject, int index)
360 QString PythonQtWrapper_ElfFile::getSymbolLinkType(ElfFile* theWrappedObject, int index)
361 {
361 {
362 return ( theWrappedObject->getSymbolLinkType(index));
362 return ( theWrappedObject->getSymbolLinkType(index));
363 }
363 }
364
364
365 QString PythonQtWrapper_ElfFile::getSymbolName(ElfFile* theWrappedObject, int index)
365 QString PythonQtWrapper_ElfFile::getSymbolName(ElfFile* theWrappedObject, int index)
366 {
366 {
367 return ( theWrappedObject->getSymbolName(index));
367 return ( theWrappedObject->getSymbolName(index));
368 }
368 }
369
369
370 int PythonQtWrapper_ElfFile::getSymbolSectionIndex(ElfFile* theWrappedObject, int index)
370 int PythonQtWrapper_ElfFile::getSymbolSectionIndex(ElfFile* theWrappedObject, int index)
371 {
371 {
372 return ( theWrappedObject->getSymbolSectionIndex(index));
372 return ( theWrappedObject->getSymbolSectionIndex(index));
373 }
373 }
374
374
375 QString PythonQtWrapper_ElfFile::getSymbolSectionName(ElfFile* theWrappedObject, int index)
375 QString PythonQtWrapper_ElfFile::getSymbolSectionName(ElfFile* theWrappedObject, int index)
376 {
376 {
377 return ( theWrappedObject->getSymbolSectionName(index));
377 return ( theWrappedObject->getSymbolSectionName(index));
378 }
378 }
379
379
380 quint64 PythonQtWrapper_ElfFile::getSymbolSize(ElfFile* theWrappedObject, int index)
380 quint64 PythonQtWrapper_ElfFile::getSymbolSize(ElfFile* theWrappedObject, int index)
381 {
381 {
382 return ( theWrappedObject->getSymbolSize(index));
382 return ( theWrappedObject->getSymbolSize(index));
383 }
383 }
384
384
385 QString PythonQtWrapper_ElfFile::getSymbolType(ElfFile* theWrappedObject, int index)
385 QString PythonQtWrapper_ElfFile::getSymbolType(ElfFile* theWrappedObject, int index)
386 {
386 {
387 return ( theWrappedObject->getSymbolType(index));
387 return ( theWrappedObject->getSymbolType(index));
388 }
388 }
389
389
390 QString PythonQtWrapper_ElfFile::getType(ElfFile* theWrappedObject)
390 QString PythonQtWrapper_ElfFile::getType(ElfFile* theWrappedObject)
391 {
391 {
392 return ( theWrappedObject->getType());
392 return ( theWrappedObject->getType());
393 }
393 }
394
394
395 qint64 PythonQtWrapper_ElfFile::getVersion(ElfFile* theWrappedObject)
395 qint64 PythonQtWrapper_ElfFile::getVersion(ElfFile* theWrappedObject)
396 {
396 {
397 return ( theWrappedObject->getVersion());
397 return ( theWrappedObject->getVersion());
398 }
398 }
399
399
400 bool PythonQtWrapper_ElfFile::static_ElfFile_isElf(const QString& File)
400 bool PythonQtWrapper_ElfFile::static_ElfFile_isElf(const QString& File)
401 {
401 {
402 return (ElfFile::isElf(File));
402 return (ElfFile::isElf(File));
403 }
403 }
404
404
405 bool PythonQtWrapper_ElfFile::iself(ElfFile* theWrappedObject)
405 bool PythonQtWrapper_ElfFile::iself(ElfFile* theWrappedObject)
406 {
406 {
407 return ( theWrappedObject->iself());
407 return ( theWrappedObject->iself());
408 }
408 }
409
409
410 bool PythonQtWrapper_ElfFile::isopened(ElfFile* theWrappedObject)
410 bool PythonQtWrapper_ElfFile::isopened(ElfFile* theWrappedObject)
411 {
411 {
412 return ( ((PythonQtPublicPromoter_ElfFile*)theWrappedObject)->promoted_isopened());
412 return ( ((PythonQtPublicPromoter_ElfFile*)theWrappedObject)->promoted_isopened());
413 }
413 }
414
414
415 bool PythonQtWrapper_ElfFile::openFile(ElfFile* theWrappedObject, const QString& File)
415 bool PythonQtWrapper_ElfFile::openFile(ElfFile* theWrappedObject, const QString& File)
416 {
416 {
417 return ( ((PythonQtPublicPromoter_ElfFile*)theWrappedObject)->promoted_openFile(File));
417 return ( ((PythonQtPublicPromoter_ElfFile*)theWrappedObject)->promoted_openFile(File));
418 }
418 }
419
419
420 bool PythonQtWrapper_ElfFile::sectionIsNobits(ElfFile* theWrappedObject, int index)
420 bool PythonQtWrapper_ElfFile::sectionIsNobits(ElfFile* theWrappedObject, int index)
421 {
421 {
422 return ( theWrappedObject->sectionIsNobits(index));
422 return ( theWrappedObject->sectionIsNobits(index));
423 }
423 }
424
424
425 bool PythonQtWrapper_ElfFile::toBinary(ElfFile* theWrappedObject, const QString& File)
425 bool PythonQtWrapper_ElfFile::toBinary(ElfFile* theWrappedObject, const QString& File)
426 {
426 {
427 return ( ((PythonQtPublicPromoter_ElfFile*)theWrappedObject)->promoted_toBinary(File));
427 return ( ((PythonQtPublicPromoter_ElfFile*)theWrappedObject)->promoted_toBinary(File));
428 }
428 }
429
429
430 bool PythonQtWrapper_ElfFile::toSrec(ElfFile* theWrappedObject, const QString& File)
430 bool PythonQtWrapper_ElfFile::toSrec(ElfFile* theWrappedObject, const QString& File)
431 {
431 {
432 return ( ((PythonQtPublicPromoter_ElfFile*)theWrappedObject)->promoted_toSrec(File));
432 return ( ((PythonQtPublicPromoter_ElfFile*)theWrappedObject)->promoted_toSrec(File));
433 }
433 }
434
434
435
435
436
436
437 PythonQtShell_MemSizeWdgt::~PythonQtShell_MemSizeWdgt() {
437 PythonQtShell_MemSizeWdgt::~PythonQtShell_MemSizeWdgt() {
438 PythonQtPrivate* priv = PythonQt::priv();
438 PythonQtPrivate* priv = PythonQt::priv();
439 if (priv) { priv->shellClassDeleted(this); }
439 if (priv) { priv->shellClassDeleted(this); }
440 }
440 }
441 void PythonQtShell_MemSizeWdgt::actionEvent(QActionEvent* arg__1)
441 void PythonQtShell_MemSizeWdgt::actionEvent(QActionEvent* arg__1)
442 {
442 {
443 if (_wrapper) {
443 if (_wrapper) {
444 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "actionEvent");
444 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "actionEvent");
445 PyErr_Clear();
445 PyErr_Clear();
446 if (obj && !PythonQtSlotFunction_Check(obj)) {
446 if (obj && !PythonQtSlotFunction_Check(obj)) {
447 static const char* argumentList[] ={"" , "QActionEvent*"};
447 static const char* argumentList[] ={"" , "QActionEvent*"};
448 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
448 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
449 void* args[2] = {NULL, (void*)&arg__1};
449 void* args[2] = {NULL, (void*)&arg__1};
450 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
450 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
451 if (result) { Py_DECREF(result); }
451 if (result) { Py_DECREF(result); }
452 Py_DECREF(obj);
452 Py_DECREF(obj);
453 return;
453 return;
454 }
454 }
455 }
455 }
456 MemSizeWdgt::actionEvent(arg__1);
456 MemSizeWdgt::actionEvent(arg__1);
457 }
457 }
458 void PythonQtShell_MemSizeWdgt::changeEvent(QEvent* arg__1)
458 void PythonQtShell_MemSizeWdgt::changeEvent(QEvent* arg__1)
459 {
459 {
460 if (_wrapper) {
460 if (_wrapper) {
461 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "changeEvent");
461 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "changeEvent");
462 PyErr_Clear();
462 PyErr_Clear();
463 if (obj && !PythonQtSlotFunction_Check(obj)) {
463 if (obj && !PythonQtSlotFunction_Check(obj)) {
464 static const char* argumentList[] ={"" , "QEvent*"};
464 static const char* argumentList[] ={"" , "QEvent*"};
465 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
465 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
466 void* args[2] = {NULL, (void*)&arg__1};
466 void* args[2] = {NULL, (void*)&arg__1};
467 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
467 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
468 if (result) { Py_DECREF(result); }
468 if (result) { Py_DECREF(result); }
469 Py_DECREF(obj);
469 Py_DECREF(obj);
470 return;
470 return;
471 }
471 }
472 }
472 }
473 MemSizeWdgt::changeEvent(arg__1);
473 MemSizeWdgt::changeEvent(arg__1);
474 }
474 }
475 void PythonQtShell_MemSizeWdgt::childEvent(QChildEvent* arg__1)
475 void PythonQtShell_MemSizeWdgt::childEvent(QChildEvent* arg__1)
476 {
476 {
477 if (_wrapper) {
477 if (_wrapper) {
478 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "childEvent");
478 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "childEvent");
479 PyErr_Clear();
479 PyErr_Clear();
480 if (obj && !PythonQtSlotFunction_Check(obj)) {
480 if (obj && !PythonQtSlotFunction_Check(obj)) {
481 static const char* argumentList[] ={"" , "QChildEvent*"};
481 static const char* argumentList[] ={"" , "QChildEvent*"};
482 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
482 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
483 void* args[2] = {NULL, (void*)&arg__1};
483 void* args[2] = {NULL, (void*)&arg__1};
484 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
484 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
485 if (result) { Py_DECREF(result); }
485 if (result) { Py_DECREF(result); }
486 Py_DECREF(obj);
486 Py_DECREF(obj);
487 return;
487 return;
488 }
488 }
489 }
489 }
490 MemSizeWdgt::childEvent(arg__1);
490 MemSizeWdgt::childEvent(arg__1);
491 }
491 }
492 void PythonQtShell_MemSizeWdgt::closeEvent(QCloseEvent* arg__1)
492 void PythonQtShell_MemSizeWdgt::closeEvent(QCloseEvent* arg__1)
493 {
493 {
494 if (_wrapper) {
494 if (_wrapper) {
495 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "closeEvent");
495 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "closeEvent");
496 PyErr_Clear();
496 PyErr_Clear();
497 if (obj && !PythonQtSlotFunction_Check(obj)) {
497 if (obj && !PythonQtSlotFunction_Check(obj)) {
498 static const char* argumentList[] ={"" , "QCloseEvent*"};
498 static const char* argumentList[] ={"" , "QCloseEvent*"};
499 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
499 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
500 void* args[2] = {NULL, (void*)&arg__1};
500 void* args[2] = {NULL, (void*)&arg__1};
501 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
501 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
502 if (result) { Py_DECREF(result); }
502 if (result) { Py_DECREF(result); }
503 Py_DECREF(obj);
503 Py_DECREF(obj);
504 return;
504 return;
505 }
505 }
506 }
506 }
507 MemSizeWdgt::closeEvent(arg__1);
507 MemSizeWdgt::closeEvent(arg__1);
508 }
508 }
509 void PythonQtShell_MemSizeWdgt::contextMenuEvent(QContextMenuEvent* arg__1)
509 void PythonQtShell_MemSizeWdgt::contextMenuEvent(QContextMenuEvent* arg__1)
510 {
510 {
511 if (_wrapper) {
511 if (_wrapper) {
512 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "contextMenuEvent");
512 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "contextMenuEvent");
513 PyErr_Clear();
513 PyErr_Clear();
514 if (obj && !PythonQtSlotFunction_Check(obj)) {
514 if (obj && !PythonQtSlotFunction_Check(obj)) {
515 static const char* argumentList[] ={"" , "QContextMenuEvent*"};
515 static const char* argumentList[] ={"" , "QContextMenuEvent*"};
516 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
516 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
517 void* args[2] = {NULL, (void*)&arg__1};
517 void* args[2] = {NULL, (void*)&arg__1};
518 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
518 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
519 if (result) { Py_DECREF(result); }
519 if (result) { Py_DECREF(result); }
520 Py_DECREF(obj);
520 Py_DECREF(obj);
521 return;
521 return;
522 }
522 }
523 }
523 }
524 MemSizeWdgt::contextMenuEvent(arg__1);
524 MemSizeWdgt::contextMenuEvent(arg__1);
525 }
525 }
526 void PythonQtShell_MemSizeWdgt::customEvent(QEvent* arg__1)
526 void PythonQtShell_MemSizeWdgt::customEvent(QEvent* arg__1)
527 {
527 {
528 if (_wrapper) {
528 if (_wrapper) {
529 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "customEvent");
529 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "customEvent");
530 PyErr_Clear();
530 PyErr_Clear();
531 if (obj && !PythonQtSlotFunction_Check(obj)) {
531 if (obj && !PythonQtSlotFunction_Check(obj)) {
532 static const char* argumentList[] ={"" , "QEvent*"};
532 static const char* argumentList[] ={"" , "QEvent*"};
533 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
533 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
534 void* args[2] = {NULL, (void*)&arg__1};
534 void* args[2] = {NULL, (void*)&arg__1};
535 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
535 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
536 if (result) { Py_DECREF(result); }
536 if (result) { Py_DECREF(result); }
537 Py_DECREF(obj);
537 Py_DECREF(obj);
538 return;
538 return;
539 }
539 }
540 }
540 }
541 MemSizeWdgt::customEvent(arg__1);
541 MemSizeWdgt::customEvent(arg__1);
542 }
542 }
543 int PythonQtShell_MemSizeWdgt::devType() const
543 int PythonQtShell_MemSizeWdgt::devType() const
544 {
544 {
545 if (_wrapper) {
545 if (_wrapper) {
546 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "devType");
546 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "devType");
547 PyErr_Clear();
547 PyErr_Clear();
548 if (obj && !PythonQtSlotFunction_Check(obj)) {
548 if (obj && !PythonQtSlotFunction_Check(obj)) {
549 static const char* argumentList[] ={"int"};
549 static const char* argumentList[] ={"int"};
550 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList);
550 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList);
551 int returnValue;
551 int returnValue;
552 void* args[1] = {NULL};
552 void* args[1] = {NULL};
553 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
553 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
554 if (result) {
554 if (result) {
555 args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue);
555 args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue);
556 if (args[0]!=&returnValue) {
556 if (args[0]!=&returnValue) {
557 if (args[0]==NULL) {
557 if (args[0]==NULL) {
558 PythonQt::priv()->handleVirtualOverloadReturnError("devType", methodInfo, result);
558 PythonQt::priv()->handleVirtualOverloadReturnError("devType", methodInfo, result);
559 } else {
559 } else {
560 returnValue = *((int*)args[0]);
560 returnValue = *((int*)args[0]);
561 }
561 }
562 }
562 }
563 }
563 }
564 if (result) { Py_DECREF(result); }
564 if (result) { Py_DECREF(result); }
565 Py_DECREF(obj);
565 Py_DECREF(obj);
566 return returnValue;
566 return returnValue;
567 }
567 }
568 }
568 }
569 return MemSizeWdgt::devType();
569 return MemSizeWdgt::devType();
570 }
570 }
571 void PythonQtShell_MemSizeWdgt::dragEnterEvent(QDragEnterEvent* arg__1)
571 void PythonQtShell_MemSizeWdgt::dragEnterEvent(QDragEnterEvent* arg__1)
572 {
572 {
573 if (_wrapper) {
573 if (_wrapper) {
574 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dragEnterEvent");
574 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dragEnterEvent");
575 PyErr_Clear();
575 PyErr_Clear();
576 if (obj && !PythonQtSlotFunction_Check(obj)) {
576 if (obj && !PythonQtSlotFunction_Check(obj)) {
577 static const char* argumentList[] ={"" , "QDragEnterEvent*"};
577 static const char* argumentList[] ={"" , "QDragEnterEvent*"};
578 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
578 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
579 void* args[2] = {NULL, (void*)&arg__1};
579 void* args[2] = {NULL, (void*)&arg__1};
580 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
580 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
581 if (result) { Py_DECREF(result); }
581 if (result) { Py_DECREF(result); }
582 Py_DECREF(obj);
582 Py_DECREF(obj);
583 return;
583 return;
584 }
584 }
585 }
585 }
586 MemSizeWdgt::dragEnterEvent(arg__1);
586 MemSizeWdgt::dragEnterEvent(arg__1);
587 }
587 }
588 void PythonQtShell_MemSizeWdgt::dragLeaveEvent(QDragLeaveEvent* arg__1)
588 void PythonQtShell_MemSizeWdgt::dragLeaveEvent(QDragLeaveEvent* arg__1)
589 {
589 {
590 if (_wrapper) {
590 if (_wrapper) {
591 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dragLeaveEvent");
591 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dragLeaveEvent");
592 PyErr_Clear();
592 PyErr_Clear();
593 if (obj && !PythonQtSlotFunction_Check(obj)) {
593 if (obj && !PythonQtSlotFunction_Check(obj)) {
594 static const char* argumentList[] ={"" , "QDragLeaveEvent*"};
594 static const char* argumentList[] ={"" , "QDragLeaveEvent*"};
595 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
595 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
596 void* args[2] = {NULL, (void*)&arg__1};
596 void* args[2] = {NULL, (void*)&arg__1};
597 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
597 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
598 if (result) { Py_DECREF(result); }
598 if (result) { Py_DECREF(result); }
599 Py_DECREF(obj);
599 Py_DECREF(obj);
600 return;
600 return;
601 }
601 }
602 }
602 }
603 MemSizeWdgt::dragLeaveEvent(arg__1);
603 MemSizeWdgt::dragLeaveEvent(arg__1);
604 }
604 }
605 void PythonQtShell_MemSizeWdgt::dragMoveEvent(QDragMoveEvent* arg__1)
605 void PythonQtShell_MemSizeWdgt::dragMoveEvent(QDragMoveEvent* arg__1)
606 {
606 {
607 if (_wrapper) {
607 if (_wrapper) {
608 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dragMoveEvent");
608 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dragMoveEvent");
609 PyErr_Clear();
609 PyErr_Clear();
610 if (obj && !PythonQtSlotFunction_Check(obj)) {
610 if (obj && !PythonQtSlotFunction_Check(obj)) {
611 static const char* argumentList[] ={"" , "QDragMoveEvent*"};
611 static const char* argumentList[] ={"" , "QDragMoveEvent*"};
612 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
612 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
613 void* args[2] = {NULL, (void*)&arg__1};
613 void* args[2] = {NULL, (void*)&arg__1};
614 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
614 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
615 if (result) { Py_DECREF(result); }
615 if (result) { Py_DECREF(result); }
616 Py_DECREF(obj);
616 Py_DECREF(obj);
617 return;
617 return;
618 }
618 }
619 }
619 }
620 MemSizeWdgt::dragMoveEvent(arg__1);
620 MemSizeWdgt::dragMoveEvent(arg__1);
621 }
621 }
622 void PythonQtShell_MemSizeWdgt::dropEvent(QDropEvent* arg__1)
622 void PythonQtShell_MemSizeWdgt::dropEvent(QDropEvent* arg__1)
623 {
623 {
624 if (_wrapper) {
624 if (_wrapper) {
625 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dropEvent");
625 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dropEvent");
626 PyErr_Clear();
626 PyErr_Clear();
627 if (obj && !PythonQtSlotFunction_Check(obj)) {
627 if (obj && !PythonQtSlotFunction_Check(obj)) {
628 static const char* argumentList[] ={"" , "QDropEvent*"};
628 static const char* argumentList[] ={"" , "QDropEvent*"};
629 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
629 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
630 void* args[2] = {NULL, (void*)&arg__1};
630 void* args[2] = {NULL, (void*)&arg__1};
631 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
631 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
632 if (result) { Py_DECREF(result); }
632 if (result) { Py_DECREF(result); }
633 Py_DECREF(obj);
633 Py_DECREF(obj);
634 return;
634 return;
635 }
635 }
636 }
636 }
637 MemSizeWdgt::dropEvent(arg__1);
637 MemSizeWdgt::dropEvent(arg__1);
638 }
638 }
639 void PythonQtShell_MemSizeWdgt::enterEvent(QEvent* arg__1)
639 void PythonQtShell_MemSizeWdgt::enterEvent(QEvent* arg__1)
640 {
640 {
641 if (_wrapper) {
641 if (_wrapper) {
642 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "enterEvent");
642 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "enterEvent");
643 PyErr_Clear();
643 PyErr_Clear();
644 if (obj && !PythonQtSlotFunction_Check(obj)) {
644 if (obj && !PythonQtSlotFunction_Check(obj)) {
645 static const char* argumentList[] ={"" , "QEvent*"};
645 static const char* argumentList[] ={"" , "QEvent*"};
646 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
646 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
647 void* args[2] = {NULL, (void*)&arg__1};
647 void* args[2] = {NULL, (void*)&arg__1};
648 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
648 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
649 if (result) { Py_DECREF(result); }
649 if (result) { Py_DECREF(result); }
650 Py_DECREF(obj);
650 Py_DECREF(obj);
651 return;
651 return;
652 }
652 }
653 }
653 }
654 MemSizeWdgt::enterEvent(arg__1);
654 MemSizeWdgt::enterEvent(arg__1);
655 }
655 }
656 bool PythonQtShell_MemSizeWdgt::event(QEvent* arg__1)
656 bool PythonQtShell_MemSizeWdgt::event(QEvent* arg__1)
657 {
657 {
658 if (_wrapper) {
658 if (_wrapper) {
659 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "event");
659 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "event");
660 PyErr_Clear();
660 PyErr_Clear();
661 if (obj && !PythonQtSlotFunction_Check(obj)) {
661 if (obj && !PythonQtSlotFunction_Check(obj)) {
662 static const char* argumentList[] ={"bool" , "QEvent*"};
662 static const char* argumentList[] ={"bool" , "QEvent*"};
663 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
663 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
664 bool returnValue;
664 bool returnValue;
665 void* args[2] = {NULL, (void*)&arg__1};
665 void* args[2] = {NULL, (void*)&arg__1};
666 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
666 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
667 if (result) {
667 if (result) {
668 args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue);
668 args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue);
669 if (args[0]!=&returnValue) {
669 if (args[0]!=&returnValue) {
670 if (args[0]==NULL) {
670 if (args[0]==NULL) {
671 PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result);
671 PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result);
672 } else {
672 } else {
673 returnValue = *((bool*)args[0]);
673 returnValue = *((bool*)args[0]);
674 }
674 }
675 }
675 }
676 }
676 }
677 if (result) { Py_DECREF(result); }
677 if (result) { Py_DECREF(result); }
678 Py_DECREF(obj);
678 Py_DECREF(obj);
679 return returnValue;
679 return returnValue;
680 }
680 }
681 }
681 }
682 return MemSizeWdgt::event(arg__1);
682 return MemSizeWdgt::event(arg__1);
683 }
683 }
684 bool PythonQtShell_MemSizeWdgt::eventFilter(QObject* arg__1, QEvent* arg__2)
684 bool PythonQtShell_MemSizeWdgt::eventFilter(QObject* arg__1, QEvent* arg__2)
685 {
685 {
686 if (_wrapper) {
686 if (_wrapper) {
687 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "eventFilter");
687 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "eventFilter");
688 PyErr_Clear();
688 PyErr_Clear();
689 if (obj && !PythonQtSlotFunction_Check(obj)) {
689 if (obj && !PythonQtSlotFunction_Check(obj)) {
690 static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"};
690 static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"};
691 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList);
691 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList);
692 bool returnValue;
692 bool returnValue;
693 void* args[3] = {NULL, (void*)&arg__1, (void*)&arg__2};
693 void* args[3] = {NULL, (void*)&arg__1, (void*)&arg__2};
694 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
694 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
695 if (result) {
695 if (result) {
696 args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue);
696 args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue);
697 if (args[0]!=&returnValue) {
697 if (args[0]!=&returnValue) {
698 if (args[0]==NULL) {
698 if (args[0]==NULL) {
699 PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result);
699 PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result);
700 } else {
700 } else {
701 returnValue = *((bool*)args[0]);
701 returnValue = *((bool*)args[0]);
702 }
702 }
703 }
703 }
704 }
704 }
705 if (result) { Py_DECREF(result); }
705 if (result) { Py_DECREF(result); }
706 Py_DECREF(obj);
706 Py_DECREF(obj);
707 return returnValue;
707 return returnValue;
708 }
708 }
709 }
709 }
710 return MemSizeWdgt::eventFilter(arg__1, arg__2);
710 return MemSizeWdgt::eventFilter(arg__1, arg__2);
711 }
711 }
712 void PythonQtShell_MemSizeWdgt::focusInEvent(QFocusEvent* arg__1)
712 void PythonQtShell_MemSizeWdgt::focusInEvent(QFocusEvent* arg__1)
713 {
713 {
714 if (_wrapper) {
714 if (_wrapper) {
715 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "focusInEvent");
715 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "focusInEvent");
716 PyErr_Clear();
716 PyErr_Clear();
717 if (obj && !PythonQtSlotFunction_Check(obj)) {
717 if (obj && !PythonQtSlotFunction_Check(obj)) {
718 static const char* argumentList[] ={"" , "QFocusEvent*"};
718 static const char* argumentList[] ={"" , "QFocusEvent*"};
719 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
719 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
720 void* args[2] = {NULL, (void*)&arg__1};
720 void* args[2] = {NULL, (void*)&arg__1};
721 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
721 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
722 if (result) { Py_DECREF(result); }
722 if (result) { Py_DECREF(result); }
723 Py_DECREF(obj);
723 Py_DECREF(obj);
724 return;
724 return;
725 }
725 }
726 }
726 }
727 MemSizeWdgt::focusInEvent(arg__1);
727 MemSizeWdgt::focusInEvent(arg__1);
728 }
728 }
729 bool PythonQtShell_MemSizeWdgt::focusNextPrevChild(bool next)
729 bool PythonQtShell_MemSizeWdgt::focusNextPrevChild(bool next)
730 {
730 {
731 if (_wrapper) {
731 if (_wrapper) {
732 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "focusNextPrevChild");
732 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "focusNextPrevChild");
733 PyErr_Clear();
733 PyErr_Clear();
734 if (obj && !PythonQtSlotFunction_Check(obj)) {
734 if (obj && !PythonQtSlotFunction_Check(obj)) {
735 static const char* argumentList[] ={"bool" , "bool"};
735 static const char* argumentList[] ={"bool" , "bool"};
736 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
736 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
737 bool returnValue;
737 bool returnValue;
738 void* args[2] = {NULL, (void*)&next};
738 void* args[2] = {NULL, (void*)&next};
739 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
739 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
740 if (result) {
740 if (result) {
741 args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue);
741 args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue);
742 if (args[0]!=&returnValue) {
742 if (args[0]!=&returnValue) {
743 if (args[0]==NULL) {
743 if (args[0]==NULL) {
744 PythonQt::priv()->handleVirtualOverloadReturnError("focusNextPrevChild", methodInfo, result);
744 PythonQt::priv()->handleVirtualOverloadReturnError("focusNextPrevChild", methodInfo, result);
745 } else {
745 } else {
746 returnValue = *((bool*)args[0]);
746 returnValue = *((bool*)args[0]);
747 }
747 }
748 }
748 }
749 }
749 }
750 if (result) { Py_DECREF(result); }
750 if (result) { Py_DECREF(result); }
751 Py_DECREF(obj);
751 Py_DECREF(obj);
752 return returnValue;
752 return returnValue;
753 }
753 }
754 }
754 }
755 return MemSizeWdgt::focusNextPrevChild(next);
755 return MemSizeWdgt::focusNextPrevChild(next);
756 }
756 }
757 void PythonQtShell_MemSizeWdgt::focusOutEvent(QFocusEvent* arg__1)
757 void PythonQtShell_MemSizeWdgt::focusOutEvent(QFocusEvent* arg__1)
758 {
758 {
759 if (_wrapper) {
759 if (_wrapper) {
760 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "focusOutEvent");
760 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "focusOutEvent");
761 PyErr_Clear();
761 PyErr_Clear();
762 if (obj && !PythonQtSlotFunction_Check(obj)) {
762 if (obj && !PythonQtSlotFunction_Check(obj)) {
763 static const char* argumentList[] ={"" , "QFocusEvent*"};
763 static const char* argumentList[] ={"" , "QFocusEvent*"};
764 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
764 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
765 void* args[2] = {NULL, (void*)&arg__1};
765 void* args[2] = {NULL, (void*)&arg__1};
766 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
766 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
767 if (result) { Py_DECREF(result); }
767 if (result) { Py_DECREF(result); }
768 Py_DECREF(obj);
768 Py_DECREF(obj);
769 return;
769 return;
770 }
770 }
771 }
771 }
772 MemSizeWdgt::focusOutEvent(arg__1);
772 MemSizeWdgt::focusOutEvent(arg__1);
773 }
773 }
774 bool PythonQtShell_MemSizeWdgt::hasHeightForWidth() const
774 bool PythonQtShell_MemSizeWdgt::hasHeightForWidth() const
775 {
775 {
776 if (_wrapper) {
776 if (_wrapper) {
777 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "hasHeightForWidth");
777 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "hasHeightForWidth");
778 PyErr_Clear();
778 PyErr_Clear();
779 if (obj && !PythonQtSlotFunction_Check(obj)) {
779 if (obj && !PythonQtSlotFunction_Check(obj)) {
780 static const char* argumentList[] ={"bool"};
780 static const char* argumentList[] ={"bool"};
781 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList);
781 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList);
782 bool returnValue;
782 bool returnValue;
783 void* args[1] = {NULL};
783 void* args[1] = {NULL};
784 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
784 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
785 if (result) {
785 if (result) {
786 args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue);
786 args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue);
787 if (args[0]!=&returnValue) {
787 if (args[0]!=&returnValue) {
788 if (args[0]==NULL) {
788 if (args[0]==NULL) {
789 PythonQt::priv()->handleVirtualOverloadReturnError("hasHeightForWidth", methodInfo, result);
789 PythonQt::priv()->handleVirtualOverloadReturnError("hasHeightForWidth", methodInfo, result);
790 } else {
790 } else {
791 returnValue = *((bool*)args[0]);
791 returnValue = *((bool*)args[0]);
792 }
792 }
793 }
793 }
794 }
794 }
795 if (result) { Py_DECREF(result); }
795 if (result) { Py_DECREF(result); }
796 Py_DECREF(obj);
796 Py_DECREF(obj);
797 return returnValue;
797 return returnValue;
798 }
798 }
799 }
799 }
800 return MemSizeWdgt::hasHeightForWidth();
800 return MemSizeWdgt::hasHeightForWidth();
801 }
801 }
802 int PythonQtShell_MemSizeWdgt::heightForWidth(int arg__1) const
802 int PythonQtShell_MemSizeWdgt::heightForWidth(int arg__1) const
803 {
803 {
804 if (_wrapper) {
804 if (_wrapper) {
805 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "heightForWidth");
805 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "heightForWidth");
806 PyErr_Clear();
806 PyErr_Clear();
807 if (obj && !PythonQtSlotFunction_Check(obj)) {
807 if (obj && !PythonQtSlotFunction_Check(obj)) {
808 static const char* argumentList[] ={"int" , "int"};
808 static const char* argumentList[] ={"int" , "int"};
809 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
809 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
810 int returnValue;
810 int returnValue;
811 void* args[2] = {NULL, (void*)&arg__1};
811 void* args[2] = {NULL, (void*)&arg__1};
812 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
812 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
813 if (result) {
813 if (result) {
814 args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue);
814 args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue);
815 if (args[0]!=&returnValue) {
815 if (args[0]!=&returnValue) {
816 if (args[0]==NULL) {
816 if (args[0]==NULL) {
817 PythonQt::priv()->handleVirtualOverloadReturnError("heightForWidth", methodInfo, result);
817 PythonQt::priv()->handleVirtualOverloadReturnError("heightForWidth", methodInfo, result);
818 } else {
818 } else {
819 returnValue = *((int*)args[0]);
819 returnValue = *((int*)args[0]);
820 }
820 }
821 }
821 }
822 }
822 }
823 if (result) { Py_DECREF(result); }
823 if (result) { Py_DECREF(result); }
824 Py_DECREF(obj);
824 Py_DECREF(obj);
825 return returnValue;
825 return returnValue;
826 }
826 }
827 }
827 }
828 return MemSizeWdgt::heightForWidth(arg__1);
828 return MemSizeWdgt::heightForWidth(arg__1);
829 }
829 }
830 void PythonQtShell_MemSizeWdgt::hideEvent(QHideEvent* arg__1)
830 void PythonQtShell_MemSizeWdgt::hideEvent(QHideEvent* arg__1)
831 {
831 {
832 if (_wrapper) {
832 if (_wrapper) {
833 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "hideEvent");
833 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "hideEvent");
834 PyErr_Clear();
834 PyErr_Clear();
835 if (obj && !PythonQtSlotFunction_Check(obj)) {
835 if (obj && !PythonQtSlotFunction_Check(obj)) {
836 static const char* argumentList[] ={"" , "QHideEvent*"};
836 static const char* argumentList[] ={"" , "QHideEvent*"};
837 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
837 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
838 void* args[2] = {NULL, (void*)&arg__1};
838 void* args[2] = {NULL, (void*)&arg__1};
839 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
839 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
840 if (result) { Py_DECREF(result); }
840 if (result) { Py_DECREF(result); }
841 Py_DECREF(obj);
841 Py_DECREF(obj);
842 return;
842 return;
843 }
843 }
844 }
844 }
845 MemSizeWdgt::hideEvent(arg__1);
845 MemSizeWdgt::hideEvent(arg__1);
846 }
846 }
847 void PythonQtShell_MemSizeWdgt::initPainter(QPainter* painter) const
847 void PythonQtShell_MemSizeWdgt::initPainter(QPainter* painter) const
848 {
848 {
849 if (_wrapper) {
849 if (_wrapper) {
850 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "initPainter");
850 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "initPainter");
851 PyErr_Clear();
851 PyErr_Clear();
852 if (obj && !PythonQtSlotFunction_Check(obj)) {
852 if (obj && !PythonQtSlotFunction_Check(obj)) {
853 static const char* argumentList[] ={"" , "QPainter*"};
853 static const char* argumentList[] ={"" , "QPainter*"};
854 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
854 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
855 void* args[2] = {NULL, (void*)&painter};
855 void* args[2] = {NULL, (void*)&painter};
856 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
856 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
857 if (result) { Py_DECREF(result); }
857 if (result) { Py_DECREF(result); }
858 Py_DECREF(obj);
858 Py_DECREF(obj);
859 return;
859 return;
860 }
860 }
861 }
861 }
862 MemSizeWdgt::initPainter(painter);
862 MemSizeWdgt::initPainter(painter);
863 }
863 }
864 void PythonQtShell_MemSizeWdgt::inputMethodEvent(QInputMethodEvent* arg__1)
864 void PythonQtShell_MemSizeWdgt::inputMethodEvent(QInputMethodEvent* arg__1)
865 {
865 {
866 if (_wrapper) {
866 if (_wrapper) {
867 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "inputMethodEvent");
867 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "inputMethodEvent");
868 PyErr_Clear();
868 PyErr_Clear();
869 if (obj && !PythonQtSlotFunction_Check(obj)) {
869 if (obj && !PythonQtSlotFunction_Check(obj)) {
870 static const char* argumentList[] ={"" , "QInputMethodEvent*"};
870 static const char* argumentList[] ={"" , "QInputMethodEvent*"};
871 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
871 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
872 void* args[2] = {NULL, (void*)&arg__1};
872 void* args[2] = {NULL, (void*)&arg__1};
873 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
873 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
874 if (result) { Py_DECREF(result); }
874 if (result) { Py_DECREF(result); }
875 Py_DECREF(obj);
875 Py_DECREF(obj);
876 return;
876 return;
877 }
877 }
878 }
878 }
879 MemSizeWdgt::inputMethodEvent(arg__1);
879 MemSizeWdgt::inputMethodEvent(arg__1);
880 }
880 }
881 QVariant PythonQtShell_MemSizeWdgt::inputMethodQuery(Qt::InputMethodQuery arg__1) const
881 QVariant PythonQtShell_MemSizeWdgt::inputMethodQuery(Qt::InputMethodQuery arg__1) const
882 {
882 {
883 if (_wrapper) {
883 if (_wrapper) {
884 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "inputMethodQuery");
884 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "inputMethodQuery");
885 PyErr_Clear();
885 PyErr_Clear();
886 if (obj && !PythonQtSlotFunction_Check(obj)) {
886 if (obj && !PythonQtSlotFunction_Check(obj)) {
887 static const char* argumentList[] ={"QVariant" , "Qt::InputMethodQuery"};
887 static const char* argumentList[] ={"QVariant" , "Qt::InputMethodQuery"};
888 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
888 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
889 QVariant returnValue;
889 QVariant returnValue;
890 void* args[2] = {NULL, (void*)&arg__1};
890 void* args[2] = {NULL, (void*)&arg__1};
891 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
891 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
892 if (result) {
892 if (result) {
893 args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue);
893 args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue);
894 if (args[0]!=&returnValue) {
894 if (args[0]!=&returnValue) {
895 if (args[0]==NULL) {
895 if (args[0]==NULL) {
896 PythonQt::priv()->handleVirtualOverloadReturnError("inputMethodQuery", methodInfo, result);
896 PythonQt::priv()->handleVirtualOverloadReturnError("inputMethodQuery", methodInfo, result);
897 } else {
897 } else {
898 returnValue = *((QVariant*)args[0]);
898 returnValue = *((QVariant*)args[0]);
899 }
899 }
900 }
900 }
901 }
901 }
902 if (result) { Py_DECREF(result); }
902 if (result) { Py_DECREF(result); }
903 Py_DECREF(obj);
903 Py_DECREF(obj);
904 return returnValue;
904 return returnValue;
905 }
905 }
906 }
906 }
907 return MemSizeWdgt::inputMethodQuery(arg__1);
907 return MemSizeWdgt::inputMethodQuery(arg__1);
908 }
908 }
909 void PythonQtShell_MemSizeWdgt::keyPressEvent(QKeyEvent* arg__1)
909 void PythonQtShell_MemSizeWdgt::keyPressEvent(QKeyEvent* arg__1)
910 {
910 {
911 if (_wrapper) {
911 if (_wrapper) {
912 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "keyPressEvent");
912 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "keyPressEvent");
913 PyErr_Clear();
913 PyErr_Clear();
914 if (obj && !PythonQtSlotFunction_Check(obj)) {
914 if (obj && !PythonQtSlotFunction_Check(obj)) {
915 static const char* argumentList[] ={"" , "QKeyEvent*"};
915 static const char* argumentList[] ={"" , "QKeyEvent*"};
916 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
916 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
917 void* args[2] = {NULL, (void*)&arg__1};
917 void* args[2] = {NULL, (void*)&arg__1};
918 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
918 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
919 if (result) { Py_DECREF(result); }
919 if (result) { Py_DECREF(result); }
920 Py_DECREF(obj);
920 Py_DECREF(obj);
921 return;
921 return;
922 }
922 }
923 }
923 }
924 MemSizeWdgt::keyPressEvent(arg__1);
924 MemSizeWdgt::keyPressEvent(arg__1);
925 }
925 }
926 void PythonQtShell_MemSizeWdgt::keyReleaseEvent(QKeyEvent* arg__1)
926 void PythonQtShell_MemSizeWdgt::keyReleaseEvent(QKeyEvent* arg__1)
927 {
927 {
928 if (_wrapper) {
928 if (_wrapper) {
929 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "keyReleaseEvent");
929 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "keyReleaseEvent");
930 PyErr_Clear();
930 PyErr_Clear();
931 if (obj && !PythonQtSlotFunction_Check(obj)) {
931 if (obj && !PythonQtSlotFunction_Check(obj)) {
932 static const char* argumentList[] ={"" , "QKeyEvent*"};
932 static const char* argumentList[] ={"" , "QKeyEvent*"};
933 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
933 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
934 void* args[2] = {NULL, (void*)&arg__1};
934 void* args[2] = {NULL, (void*)&arg__1};
935 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
935 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
936 if (result) { Py_DECREF(result); }
936 if (result) { Py_DECREF(result); }
937 Py_DECREF(obj);
937 Py_DECREF(obj);
938 return;
938 return;
939 }
939 }
940 }
940 }
941 MemSizeWdgt::keyReleaseEvent(arg__1);
941 MemSizeWdgt::keyReleaseEvent(arg__1);
942 }
942 }
943 void PythonQtShell_MemSizeWdgt::leaveEvent(QEvent* arg__1)
943 void PythonQtShell_MemSizeWdgt::leaveEvent(QEvent* arg__1)
944 {
944 {
945 if (_wrapper) {
945 if (_wrapper) {
946 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "leaveEvent");
946 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "leaveEvent");
947 PyErr_Clear();
947 PyErr_Clear();
948 if (obj && !PythonQtSlotFunction_Check(obj)) {
948 if (obj && !PythonQtSlotFunction_Check(obj)) {
949 static const char* argumentList[] ={"" , "QEvent*"};
949 static const char* argumentList[] ={"" , "QEvent*"};
950 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
950 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
951 void* args[2] = {NULL, (void*)&arg__1};
951 void* args[2] = {NULL, (void*)&arg__1};
952 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
952 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
953 if (result) { Py_DECREF(result); }
953 if (result) { Py_DECREF(result); }
954 Py_DECREF(obj);
954 Py_DECREF(obj);
955 return;
955 return;
956 }
956 }
957 }
957 }
958 MemSizeWdgt::leaveEvent(arg__1);
958 MemSizeWdgt::leaveEvent(arg__1);
959 }
959 }
960 int PythonQtShell_MemSizeWdgt::metric(QPaintDevice::PaintDeviceMetric arg__1) const
960 int PythonQtShell_MemSizeWdgt::metric(QPaintDevice::PaintDeviceMetric arg__1) const
961 {
961 {
962 if (_wrapper) {
962 if (_wrapper) {
963 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "metric");
963 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "metric");
964 PyErr_Clear();
964 PyErr_Clear();
965 if (obj && !PythonQtSlotFunction_Check(obj)) {
965 if (obj && !PythonQtSlotFunction_Check(obj)) {
966 static const char* argumentList[] ={"int" , "QPaintDevice::PaintDeviceMetric"};
966 static const char* argumentList[] ={"int" , "QPaintDevice::PaintDeviceMetric"};
967 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
967 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
968 int returnValue;
968 int returnValue;
969 void* args[2] = {NULL, (void*)&arg__1};
969 void* args[2] = {NULL, (void*)&arg__1};
970 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
970 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
971 if (result) {
971 if (result) {
972 args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue);
972 args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue);
973 if (args[0]!=&returnValue) {
973 if (args[0]!=&returnValue) {
974 if (args[0]==NULL) {
974 if (args[0]==NULL) {
975 PythonQt::priv()->handleVirtualOverloadReturnError("metric", methodInfo, result);
975 PythonQt::priv()->handleVirtualOverloadReturnError("metric", methodInfo, result);
976 } else {
976 } else {
977 returnValue = *((int*)args[0]);
977 returnValue = *((int*)args[0]);
978 }
978 }
979 }
979 }
980 }
980 }
981 if (result) { Py_DECREF(result); }
981 if (result) { Py_DECREF(result); }
982 Py_DECREF(obj);
982 Py_DECREF(obj);
983 return returnValue;
983 return returnValue;
984 }
984 }
985 }
985 }
986 return MemSizeWdgt::metric(arg__1);
986 return MemSizeWdgt::metric(arg__1);
987 }
987 }
988 QSize PythonQtShell_MemSizeWdgt::minimumSizeHint() const
988 QSize PythonQtShell_MemSizeWdgt::minimumSizeHint() const
989 {
989 {
990 if (_wrapper) {
990 if (_wrapper) {
991 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "getMinimumSizeHint");
991 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "getMinimumSizeHint");
992 PyErr_Clear();
992 PyErr_Clear();
993 if (obj && !PythonQtSlotFunction_Check(obj)) {
993 if (obj && !PythonQtSlotFunction_Check(obj)) {
994 static const char* argumentList[] ={"QSize"};
994 static const char* argumentList[] ={"QSize"};
995 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList);
995 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList);
996 QSize returnValue;
996 QSize returnValue;
997 void* args[1] = {NULL};
997 void* args[1] = {NULL};
998 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
998 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
999 if (result) {
999 if (result) {
1000 args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue);
1000 args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue);
1001 if (args[0]!=&returnValue) {
1001 if (args[0]!=&returnValue) {
1002 if (args[0]==NULL) {
1002 if (args[0]==NULL) {
1003 PythonQt::priv()->handleVirtualOverloadReturnError("getMinimumSizeHint", methodInfo, result);
1003 PythonQt::priv()->handleVirtualOverloadReturnError("getMinimumSizeHint", methodInfo, result);
1004 } else {
1004 } else {
1005 returnValue = *((QSize*)args[0]);
1005 returnValue = *((QSize*)args[0]);
1006 }
1006 }
1007 }
1007 }
1008 }
1008 }
1009 if (result) { Py_DECREF(result); }
1009 if (result) { Py_DECREF(result); }
1010 Py_DECREF(obj);
1010 Py_DECREF(obj);
1011 return returnValue;
1011 return returnValue;
1012 }
1012 }
1013 }
1013 }
1014 return MemSizeWdgt::minimumSizeHint();
1014 return MemSizeWdgt::minimumSizeHint();
1015 }
1015 }
1016 void PythonQtShell_MemSizeWdgt::mouseDoubleClickEvent(QMouseEvent* arg__1)
1016 void PythonQtShell_MemSizeWdgt::mouseDoubleClickEvent(QMouseEvent* arg__1)
1017 {
1017 {
1018 if (_wrapper) {
1018 if (_wrapper) {
1019 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mouseDoubleClickEvent");
1019 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mouseDoubleClickEvent");
1020 PyErr_Clear();
1020 PyErr_Clear();
1021 if (obj && !PythonQtSlotFunction_Check(obj)) {
1021 if (obj && !PythonQtSlotFunction_Check(obj)) {
1022 static const char* argumentList[] ={"" , "QMouseEvent*"};
1022 static const char* argumentList[] ={"" , "QMouseEvent*"};
1023 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
1023 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
1024 void* args[2] = {NULL, (void*)&arg__1};
1024 void* args[2] = {NULL, (void*)&arg__1};
1025 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
1025 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
1026 if (result) { Py_DECREF(result); }
1026 if (result) { Py_DECREF(result); }
1027 Py_DECREF(obj);
1027 Py_DECREF(obj);
1028 return;
1028 return;
1029 }
1029 }
1030 }
1030 }
1031 MemSizeWdgt::mouseDoubleClickEvent(arg__1);
1031 MemSizeWdgt::mouseDoubleClickEvent(arg__1);
1032 }
1032 }
1033 void PythonQtShell_MemSizeWdgt::mouseMoveEvent(QMouseEvent* arg__1)
1033 void PythonQtShell_MemSizeWdgt::mouseMoveEvent(QMouseEvent* arg__1)
1034 {
1034 {
1035 if (_wrapper) {
1035 if (_wrapper) {
1036 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mouseMoveEvent");
1036 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mouseMoveEvent");
1037 PyErr_Clear();
1037 PyErr_Clear();
1038 if (obj && !PythonQtSlotFunction_Check(obj)) {
1038 if (obj && !PythonQtSlotFunction_Check(obj)) {
1039 static const char* argumentList[] ={"" , "QMouseEvent*"};
1039 static const char* argumentList[] ={"" , "QMouseEvent*"};
1040 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
1040 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
1041 void* args[2] = {NULL, (void*)&arg__1};
1041 void* args[2] = {NULL, (void*)&arg__1};
1042 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
1042 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
1043 if (result) { Py_DECREF(result); }
1043 if (result) { Py_DECREF(result); }
1044 Py_DECREF(obj);
1044 Py_DECREF(obj);
1045 return;
1045 return;
1046 }
1046 }
1047 }
1047 }
1048 MemSizeWdgt::mouseMoveEvent(arg__1);
1048 MemSizeWdgt::mouseMoveEvent(arg__1);
1049 }
1049 }
1050 void PythonQtShell_MemSizeWdgt::mousePressEvent(QMouseEvent* arg__1)
1050 void PythonQtShell_MemSizeWdgt::mousePressEvent(QMouseEvent* arg__1)
1051 {
1051 {
1052 if (_wrapper) {
1052 if (_wrapper) {
1053 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mousePressEvent");
1053 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mousePressEvent");
1054 PyErr_Clear();
1054 PyErr_Clear();
1055 if (obj && !PythonQtSlotFunction_Check(obj)) {
1055 if (obj && !PythonQtSlotFunction_Check(obj)) {
1056 static const char* argumentList[] ={"" , "QMouseEvent*"};
1056 static const char* argumentList[] ={"" , "QMouseEvent*"};
1057 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
1057 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
1058 void* args[2] = {NULL, (void*)&arg__1};
1058 void* args[2] = {NULL, (void*)&arg__1};
1059 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
1059 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
1060 if (result) { Py_DECREF(result); }
1060 if (result) { Py_DECREF(result); }
1061 Py_DECREF(obj);
1061 Py_DECREF(obj);
1062 return;
1062 return;
1063 }
1063 }
1064 }
1064 }
1065 MemSizeWdgt::mousePressEvent(arg__1);
1065 MemSizeWdgt::mousePressEvent(arg__1);
1066 }
1066 }
1067 void PythonQtShell_MemSizeWdgt::mouseReleaseEvent(QMouseEvent* arg__1)
1067 void PythonQtShell_MemSizeWdgt::mouseReleaseEvent(QMouseEvent* arg__1)
1068 {
1068 {
1069 if (_wrapper) {
1069 if (_wrapper) {
1070 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mouseReleaseEvent");
1070 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mouseReleaseEvent");
1071 PyErr_Clear();
1071 PyErr_Clear();
1072 if (obj && !PythonQtSlotFunction_Check(obj)) {
1072 if (obj && !PythonQtSlotFunction_Check(obj)) {
1073 static const char* argumentList[] ={"" , "QMouseEvent*"};
1073 static const char* argumentList[] ={"" , "QMouseEvent*"};
1074 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
1074 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
1075 void* args[2] = {NULL, (void*)&arg__1};
1075 void* args[2] = {NULL, (void*)&arg__1};
1076 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
1076 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
1077 if (result) { Py_DECREF(result); }
1077 if (result) { Py_DECREF(result); }
1078 Py_DECREF(obj);
1078 Py_DECREF(obj);
1079 return;
1079 return;
1080 }
1080 }
1081 }
1081 }
1082 MemSizeWdgt::mouseReleaseEvent(arg__1);
1082 MemSizeWdgt::mouseReleaseEvent(arg__1);
1083 }
1083 }
1084 void PythonQtShell_MemSizeWdgt::moveEvent(QMoveEvent* arg__1)
1084 void PythonQtShell_MemSizeWdgt::moveEvent(QMoveEvent* arg__1)
1085 {
1085 {
1086 if (_wrapper) {
1086 if (_wrapper) {
1087 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "moveEvent");
1087 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "moveEvent");
1088 PyErr_Clear();
1088 PyErr_Clear();
1089 if (obj && !PythonQtSlotFunction_Check(obj)) {
1089 if (obj && !PythonQtSlotFunction_Check(obj)) {
1090 static const char* argumentList[] ={"" , "QMoveEvent*"};
1090 static const char* argumentList[] ={"" , "QMoveEvent*"};
1091 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
1091 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
1092 void* args[2] = {NULL, (void*)&arg__1};
1092 void* args[2] = {NULL, (void*)&arg__1};
1093 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
1093 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
1094 if (result) { Py_DECREF(result); }
1094 if (result) { Py_DECREF(result); }
1095 Py_DECREF(obj);
1095 Py_DECREF(obj);
1096 return;
1096 return;
1097 }
1097 }
1098 }
1098 }
1099 MemSizeWdgt::moveEvent(arg__1);
1099 MemSizeWdgt::moveEvent(arg__1);
1100 }
1100 }
1101 bool PythonQtShell_MemSizeWdgt::nativeEvent(const QByteArray& eventType, void* message, long* result)
1101 bool PythonQtShell_MemSizeWdgt::nativeEvent(const QByteArray& eventType, void* message, long* result)
1102 {
1102 {
1103 if (_wrapper) {
1103 if (_wrapper) {
1104 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "nativeEvent");
1104 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "nativeEvent");
1105 PyErr_Clear();
1105 PyErr_Clear();
1106 if (obj && !PythonQtSlotFunction_Check(obj)) {
1106 if (obj && !PythonQtSlotFunction_Check(obj)) {
1107 static const char* argumentList[] ={"bool" , "const QByteArray&" , "void*" , "long*"};
1107 static const char* argumentList[] ={"bool" , "const QByteArray&" , "void*" , "long*"};
1108 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList);
1108 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList);
1109 bool returnValue;
1109 bool returnValue;
1110 void* args[4] = {NULL, (void*)&eventType, (void*)&message, (void*)&result};
1110 void* args[4] = {NULL, (void*)&eventType, (void*)&message, (void*)&result};
1111 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
1111 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
1112 if (result) {
1112 if (result) {
1113 args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue);
1113 args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue);
1114 if (args[0]!=&returnValue) {
1114 if (args[0]!=&returnValue) {
1115 if (args[0]==NULL) {
1115 if (args[0]==NULL) {
1116 PythonQt::priv()->handleVirtualOverloadReturnError("nativeEvent", methodInfo, result);
1116 PythonQt::priv()->handleVirtualOverloadReturnError("nativeEvent", methodInfo, result);
1117 } else {
1117 } else {
1118 returnValue = *((bool*)args[0]);
1118 returnValue = *((bool*)args[0]);
1119 }
1119 }
1120 }
1120 }
1121 }
1121 }
1122 if (result) { Py_DECREF(result); }
1122 if (result) { Py_DECREF(result); }
1123 Py_DECREF(obj);
1123 Py_DECREF(obj);
1124 return returnValue;
1124 return returnValue;
1125 }
1125 }
1126 }
1126 }
1127 return MemSizeWdgt::nativeEvent(eventType, message, result);
1127 return MemSizeWdgt::nativeEvent(eventType, message, result);
1128 }
1128 }
1129 QPaintEngine* PythonQtShell_MemSizeWdgt::paintEngine() const
1129 QPaintEngine* PythonQtShell_MemSizeWdgt::paintEngine() const
1130 {
1130 {
1131 if (_wrapper) {
1131 if (_wrapper) {
1132 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "paintEngine");
1132 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "paintEngine");
1133 PyErr_Clear();
1133 PyErr_Clear();
1134 if (obj && !PythonQtSlotFunction_Check(obj)) {
1134 if (obj && !PythonQtSlotFunction_Check(obj)) {
1135 static const char* argumentList[] ={"QPaintEngine*"};
1135 static const char* argumentList[] ={"QPaintEngine*"};
1136 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList);
1136 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList);
1137 QPaintEngine* returnValue;
1137 QPaintEngine* returnValue;
1138 void* args[1] = {NULL};
1138 void* args[1] = {NULL};
1139 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
1139 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
1140 if (result) {
1140 if (result) {
1141 args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue);
1141 args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue);
1142 if (args[0]!=&returnValue) {
1142 if (args[0]!=&returnValue) {
1143 if (args[0]==NULL) {
1143 if (args[0]==NULL) {
1144 PythonQt::priv()->handleVirtualOverloadReturnError("paintEngine", methodInfo, result);
1144 PythonQt::priv()->handleVirtualOverloadReturnError("paintEngine", methodInfo, result);
1145 } else {
1145 } else {
1146 returnValue = *((QPaintEngine**)args[0]);
1146 returnValue = *((QPaintEngine**)args[0]);
1147 }
1147 }
1148 }
1148 }
1149 }
1149 }
1150 if (result) { Py_DECREF(result); }
1150 if (result) { Py_DECREF(result); }
1151 Py_DECREF(obj);
1151 Py_DECREF(obj);
1152 return returnValue;
1152 return returnValue;
1153 }
1153 }
1154 }
1154 }
1155 return MemSizeWdgt::paintEngine();
1155 return MemSizeWdgt::paintEngine();
1156 }
1156 }
1157 void PythonQtShell_MemSizeWdgt::paintEvent(QPaintEvent* arg__1)
1157 void PythonQtShell_MemSizeWdgt::paintEvent(QPaintEvent* arg__1)
1158 {
1158 {
1159 if (_wrapper) {
1159 if (_wrapper) {
1160 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "paintEvent");
1160 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "paintEvent");
1161 PyErr_Clear();
1161 PyErr_Clear();
1162 if (obj && !PythonQtSlotFunction_Check(obj)) {
1162 if (obj && !PythonQtSlotFunction_Check(obj)) {
1163 static const char* argumentList[] ={"" , "QPaintEvent*"};
1163 static const char* argumentList[] ={"" , "QPaintEvent*"};
1164 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
1164 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
1165 void* args[2] = {NULL, (void*)&arg__1};
1165 void* args[2] = {NULL, (void*)&arg__1};
1166 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
1166 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
1167 if (result) { Py_DECREF(result); }
1167 if (result) { Py_DECREF(result); }
1168 Py_DECREF(obj);
1168 Py_DECREF(obj);
1169 return;
1169 return;
1170 }
1170 }
1171 }
1171 }
1172 MemSizeWdgt::paintEvent(arg__1);
1172 MemSizeWdgt::paintEvent(arg__1);
1173 }
1173 }
1174 QPaintDevice* PythonQtShell_MemSizeWdgt::redirected(QPoint* offset) const
1174 QPaintDevice* PythonQtShell_MemSizeWdgt::redirected(QPoint* offset) const
1175 {
1175 {
1176 if (_wrapper) {
1176 if (_wrapper) {
1177 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "redirected");
1177 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "redirected");
1178 PyErr_Clear();
1178 PyErr_Clear();
1179 if (obj && !PythonQtSlotFunction_Check(obj)) {
1179 if (obj && !PythonQtSlotFunction_Check(obj)) {
1180 static const char* argumentList[] ={"QPaintDevice*" , "QPoint*"};
1180 static const char* argumentList[] ={"QPaintDevice*" , "QPoint*"};
1181 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
1181 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
1182 QPaintDevice* returnValue;
1182 QPaintDevice* returnValue;
1183 void* args[2] = {NULL, (void*)&offset};
1183 void* args[2] = {NULL, (void*)&offset};
1184 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
1184 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
1185 if (result) {
1185 if (result) {
1186 args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue);
1186 args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue);
1187 if (args[0]!=&returnValue) {
1187 if (args[0]!=&returnValue) {
1188 if (args[0]==NULL) {
1188 if (args[0]==NULL) {
1189 PythonQt::priv()->handleVirtualOverloadReturnError("redirected", methodInfo, result);
1189 PythonQt::priv()->handleVirtualOverloadReturnError("redirected", methodInfo, result);
1190 } else {
1190 } else {
1191 returnValue = *((QPaintDevice**)args[0]);
1191 returnValue = *((QPaintDevice**)args[0]);
1192 }
1192 }
1193 }
1193 }
1194 }
1194 }
1195 if (result) { Py_DECREF(result); }
1195 if (result) { Py_DECREF(result); }
1196 Py_DECREF(obj);
1196 Py_DECREF(obj);
1197 return returnValue;
1197 return returnValue;
1198 }
1198 }
1199 }
1199 }
1200 return MemSizeWdgt::redirected(offset);
1200 return MemSizeWdgt::redirected(offset);
1201 }
1201 }
1202 void PythonQtShell_MemSizeWdgt::resizeEvent(QResizeEvent* arg__1)
1202 void PythonQtShell_MemSizeWdgt::resizeEvent(QResizeEvent* arg__1)
1203 {
1203 {
1204 if (_wrapper) {
1204 if (_wrapper) {
1205 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "resizeEvent");
1205 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "resizeEvent");
1206 PyErr_Clear();
1206 PyErr_Clear();
1207 if (obj && !PythonQtSlotFunction_Check(obj)) {
1207 if (obj && !PythonQtSlotFunction_Check(obj)) {
1208 static const char* argumentList[] ={"" , "QResizeEvent*"};
1208 static const char* argumentList[] ={"" , "QResizeEvent*"};
1209 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
1209 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
1210 void* args[2] = {NULL, (void*)&arg__1};
1210 void* args[2] = {NULL, (void*)&arg__1};
1211 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
1211 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
1212 if (result) { Py_DECREF(result); }
1212 if (result) { Py_DECREF(result); }
1213 Py_DECREF(obj);
1213 Py_DECREF(obj);
1214 return;
1214 return;
1215 }
1215 }
1216 }
1216 }
1217 MemSizeWdgt::resizeEvent(arg__1);
1217 MemSizeWdgt::resizeEvent(arg__1);
1218 }
1218 }
1219 QPainter* PythonQtShell_MemSizeWdgt::sharedPainter() const
1219 QPainter* PythonQtShell_MemSizeWdgt::sharedPainter() const
1220 {
1220 {
1221 if (_wrapper) {
1221 if (_wrapper) {
1222 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "sharedPainter");
1222 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "sharedPainter");
1223 PyErr_Clear();
1223 PyErr_Clear();
1224 if (obj && !PythonQtSlotFunction_Check(obj)) {
1224 if (obj && !PythonQtSlotFunction_Check(obj)) {
1225 static const char* argumentList[] ={"QPainter*"};
1225 static const char* argumentList[] ={"QPainter*"};
1226 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList);
1226 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList);
1227 QPainter* returnValue;
1227 QPainter* returnValue;
1228 void* args[1] = {NULL};
1228 void* args[1] = {NULL};
1229 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
1229 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
1230 if (result) {
1230 if (result) {
1231 args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue);
1231 args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue);
1232 if (args[0]!=&returnValue) {
1232 if (args[0]!=&returnValue) {
1233 if (args[0]==NULL) {
1233 if (args[0]==NULL) {
1234 PythonQt::priv()->handleVirtualOverloadReturnError("sharedPainter", methodInfo, result);
1234 PythonQt::priv()->handleVirtualOverloadReturnError("sharedPainter", methodInfo, result);
1235 } else {
1235 } else {
1236 returnValue = *((QPainter**)args[0]);
1236 returnValue = *((QPainter**)args[0]);
1237 }
1237 }
1238 }
1238 }
1239 }
1239 }
1240 if (result) { Py_DECREF(result); }
1240 if (result) { Py_DECREF(result); }
1241 Py_DECREF(obj);
1241 Py_DECREF(obj);
1242 return returnValue;
1242 return returnValue;
1243 }
1243 }
1244 }
1244 }
1245 return MemSizeWdgt::sharedPainter();
1245 return MemSizeWdgt::sharedPainter();
1246 }
1246 }
1247 void PythonQtShell_MemSizeWdgt::showEvent(QShowEvent* arg__1)
1247 void PythonQtShell_MemSizeWdgt::showEvent(QShowEvent* arg__1)
1248 {
1248 {
1249 if (_wrapper) {
1249 if (_wrapper) {
1250 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "showEvent");
1250 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "showEvent");
1251 PyErr_Clear();
1251 PyErr_Clear();
1252 if (obj && !PythonQtSlotFunction_Check(obj)) {
1252 if (obj && !PythonQtSlotFunction_Check(obj)) {
1253 static const char* argumentList[] ={"" , "QShowEvent*"};
1253 static const char* argumentList[] ={"" , "QShowEvent*"};
1254 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
1254 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
1255 void* args[2] = {NULL, (void*)&arg__1};
1255 void* args[2] = {NULL, (void*)&arg__1};
1256 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
1256 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
1257 if (result) { Py_DECREF(result); }
1257 if (result) { Py_DECREF(result); }
1258 Py_DECREF(obj);
1258 Py_DECREF(obj);
1259 return;
1259 return;
1260 }
1260 }
1261 }
1261 }
1262 MemSizeWdgt::showEvent(arg__1);
1262 MemSizeWdgt::showEvent(arg__1);
1263 }
1263 }
1264 QSize PythonQtShell_MemSizeWdgt::sizeHint() const
1264 QSize PythonQtShell_MemSizeWdgt::sizeHint() const
1265 {
1265 {
1266 if (_wrapper) {
1266 if (_wrapper) {
1267 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "getSizeHint");
1267 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "getSizeHint");
1268 PyErr_Clear();
1268 PyErr_Clear();
1269 if (obj && !PythonQtSlotFunction_Check(obj)) {
1269 if (obj && !PythonQtSlotFunction_Check(obj)) {
1270 static const char* argumentList[] ={"QSize"};
1270 static const char* argumentList[] ={"QSize"};
1271 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList);
1271 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList);
1272 QSize returnValue;
1272 QSize returnValue;
1273 void* args[1] = {NULL};
1273 void* args[1] = {NULL};
1274 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
1274 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
1275 if (result) {
1275 if (result) {
1276 args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue);
1276 args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue);
1277 if (args[0]!=&returnValue) {
1277 if (args[0]!=&returnValue) {
1278 if (args[0]==NULL) {
1278 if (args[0]==NULL) {
1279 PythonQt::priv()->handleVirtualOverloadReturnError("getSizeHint", methodInfo, result);
1279 PythonQt::priv()->handleVirtualOverloadReturnError("getSizeHint", methodInfo, result);
1280 } else {
1280 } else {
1281 returnValue = *((QSize*)args[0]);
1281 returnValue = *((QSize*)args[0]);
1282 }
1282 }
1283 }
1283 }
1284 }
1284 }
1285 if (result) { Py_DECREF(result); }
1285 if (result) { Py_DECREF(result); }
1286 Py_DECREF(obj);
1286 Py_DECREF(obj);
1287 return returnValue;
1287 return returnValue;
1288 }
1288 }
1289 }
1289 }
1290 return MemSizeWdgt::sizeHint();
1290 return MemSizeWdgt::sizeHint();
1291 }
1291 }
1292 void PythonQtShell_MemSizeWdgt::tabletEvent(QTabletEvent* arg__1)
1292 void PythonQtShell_MemSizeWdgt::tabletEvent(QTabletEvent* arg__1)
1293 {
1293 {
1294 if (_wrapper) {
1294 if (_wrapper) {
1295 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "tabletEvent");
1295 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "tabletEvent");
1296 PyErr_Clear();
1296 PyErr_Clear();
1297 if (obj && !PythonQtSlotFunction_Check(obj)) {
1297 if (obj && !PythonQtSlotFunction_Check(obj)) {
1298 static const char* argumentList[] ={"" , "QTabletEvent*"};
1298 static const char* argumentList[] ={"" , "QTabletEvent*"};
1299 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
1299 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
1300 void* args[2] = {NULL, (void*)&arg__1};
1300 void* args[2] = {NULL, (void*)&arg__1};
1301 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
1301 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
1302 if (result) { Py_DECREF(result); }
1302 if (result) { Py_DECREF(result); }
1303 Py_DECREF(obj);
1303 Py_DECREF(obj);
1304 return;
1304 return;
1305 }
1305 }
1306 }
1306 }
1307 MemSizeWdgt::tabletEvent(arg__1);
1307 MemSizeWdgt::tabletEvent(arg__1);
1308 }
1308 }
1309 void PythonQtShell_MemSizeWdgt::timerEvent(QTimerEvent* arg__1)
1309 void PythonQtShell_MemSizeWdgt::timerEvent(QTimerEvent* arg__1)
1310 {
1310 {
1311 if (_wrapper) {
1311 if (_wrapper) {
1312 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "timerEvent");
1312 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "timerEvent");
1313 PyErr_Clear();
1313 PyErr_Clear();
1314 if (obj && !PythonQtSlotFunction_Check(obj)) {
1314 if (obj && !PythonQtSlotFunction_Check(obj)) {
1315 static const char* argumentList[] ={"" , "QTimerEvent*"};
1315 static const char* argumentList[] ={"" , "QTimerEvent*"};
1316 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
1316 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
1317 void* args[2] = {NULL, (void*)&arg__1};
1317 void* args[2] = {NULL, (void*)&arg__1};
1318 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
1318 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
1319 if (result) { Py_DECREF(result); }
1319 if (result) { Py_DECREF(result); }
1320 Py_DECREF(obj);
1320 Py_DECREF(obj);
1321 return;
1321 return;
1322 }
1322 }
1323 }
1323 }
1324 MemSizeWdgt::timerEvent(arg__1);
1324 MemSizeWdgt::timerEvent(arg__1);
1325 }
1325 }
1326 void PythonQtShell_MemSizeWdgt::wheelEvent(QWheelEvent* arg__1)
1326 void PythonQtShell_MemSizeWdgt::wheelEvent(QWheelEvent* arg__1)
1327 {
1327 {
1328 if (_wrapper) {
1328 if (_wrapper) {
1329 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "wheelEvent");
1329 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "wheelEvent");
1330 PyErr_Clear();
1330 PyErr_Clear();
1331 if (obj && !PythonQtSlotFunction_Check(obj)) {
1331 if (obj && !PythonQtSlotFunction_Check(obj)) {
1332 static const char* argumentList[] ={"" , "QWheelEvent*"};
1332 static const char* argumentList[] ={"" , "QWheelEvent*"};
1333 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
1333 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
1334 void* args[2] = {NULL, (void*)&arg__1};
1334 void* args[2] = {NULL, (void*)&arg__1};
1335 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
1335 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
1336 if (result) { Py_DECREF(result); }
1336 if (result) { Py_DECREF(result); }
1337 Py_DECREF(obj);
1337 Py_DECREF(obj);
1338 return;
1338 return;
1339 }
1339 }
1340 }
1340 }
1341 MemSizeWdgt::wheelEvent(arg__1);
1341 MemSizeWdgt::wheelEvent(arg__1);
1342 }
1342 }
1343 MemSizeWdgt* PythonQtWrapper_MemSizeWdgt::new_MemSizeWdgt(QWidget* parent)
1343 MemSizeWdgt* PythonQtWrapper_MemSizeWdgt::new_MemSizeWdgt(QWidget* parent)
1344 {
1344 {
1345 return new PythonQtShell_MemSizeWdgt(parent); }
1345 return new PythonQtShell_MemSizeWdgt(parent); }
1346
1346
1347 MemSizeWdgt* PythonQtWrapper_MemSizeWdgt::new_MemSizeWdgt(int defaultSize, QWidget* parent)
1347 MemSizeWdgt* PythonQtWrapper_MemSizeWdgt::new_MemSizeWdgt(int defaultSize, QWidget* parent)
1348 {
1348 {
1349 return new PythonQtShell_MemSizeWdgt(defaultSize, parent); }
1349 return new PythonQtShell_MemSizeWdgt(defaultSize, parent); }
1350
1350
1351 int PythonQtWrapper_MemSizeWdgt::getsize(MemSizeWdgt* theWrappedObject)
1351 int PythonQtWrapper_MemSizeWdgt::getsize(MemSizeWdgt* theWrappedObject)
1352 {
1352 {
1353 return ( theWrappedObject->getsize());
1353 return ( theWrappedObject->getsize());
1354 }
1354 }
1355
1355
1356 void PythonQtWrapper_MemSizeWdgt::setMaximum(MemSizeWdgt* theWrappedObject, unsigned int max)
1356 void PythonQtWrapper_MemSizeWdgt::setMaximum(MemSizeWdgt* theWrappedObject, unsigned int max)
1357 {
1357 {
1358 ( theWrappedObject->setMaximum(max));
1358 ( theWrappedObject->setMaximum(max));
1359 }
1359 }
1360
1360
1361 void PythonQtWrapper_MemSizeWdgt::show(MemSizeWdgt* theWrappedObject)
1361 void PythonQtWrapper_MemSizeWdgt::show(MemSizeWdgt* theWrappedObject)
1362 {
1362 {
1363 ( theWrappedObject->show());
1363 ( theWrappedObject->show());
1364 }
1364 }
1365
1365
1366 void PythonQtWrapper_MemSizeWdgt::updateSizeValue(MemSizeWdgt* theWrappedObject)
1366 void PythonQtWrapper_MemSizeWdgt::updateSizeValue(MemSizeWdgt* theWrappedObject)
1367 {
1367 {
1368 ( theWrappedObject->updateSizeValue());
1368 ( theWrappedObject->updateSizeValue());
1369 }
1369 }
1370
1370
1371
1371
1372
1372
1373 PythonQtShell_QHexEdit::~PythonQtShell_QHexEdit() {
1373 PythonQtShell_QHexEdit::~PythonQtShell_QHexEdit() {
1374 PythonQtPrivate* priv = PythonQt::priv();
1374 PythonQtPrivate* priv = PythonQt::priv();
1375 if (priv) { priv->shellClassDeleted(this); }
1375 if (priv) { priv->shellClassDeleted(this); }
1376 }
1376 }
1377 void PythonQtShell_QHexEdit::actionEvent(QActionEvent* arg__1)
1377 void PythonQtShell_QHexEdit::actionEvent(QActionEvent* arg__1)
1378 {
1378 {
1379 if (_wrapper) {
1379 if (_wrapper) {
1380 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "actionEvent");
1380 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "actionEvent");
1381 PyErr_Clear();
1381 PyErr_Clear();
1382 if (obj && !PythonQtSlotFunction_Check(obj)) {
1382 if (obj && !PythonQtSlotFunction_Check(obj)) {
1383 static const char* argumentList[] ={"" , "QActionEvent*"};
1383 static const char* argumentList[] ={"" , "QActionEvent*"};
1384 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
1384 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
1385 void* args[2] = {NULL, (void*)&arg__1};
1385 void* args[2] = {NULL, (void*)&arg__1};
1386 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
1386 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
1387 if (result) { Py_DECREF(result); }
1387 if (result) { Py_DECREF(result); }
1388 Py_DECREF(obj);
1388 Py_DECREF(obj);
1389 return;
1389 return;
1390 }
1390 }
1391 }
1391 }
1392 QHexEdit::actionEvent(arg__1);
1392 QHexEdit::actionEvent(arg__1);
1393 }
1393 }
1394 void PythonQtShell_QHexEdit::changeEvent(QEvent* arg__1)
1394 void PythonQtShell_QHexEdit::changeEvent(QEvent* arg__1)
1395 {
1395 {
1396 if (_wrapper) {
1396 if (_wrapper) {
1397 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "changeEvent");
1397 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "changeEvent");
1398 PyErr_Clear();
1398 PyErr_Clear();
1399 if (obj && !PythonQtSlotFunction_Check(obj)) {
1399 if (obj && !PythonQtSlotFunction_Check(obj)) {
1400 static const char* argumentList[] ={"" , "QEvent*"};
1400 static const char* argumentList[] ={"" , "QEvent*"};
1401 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
1401 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
1402 void* args[2] = {NULL, (void*)&arg__1};
1402 void* args[2] = {NULL, (void*)&arg__1};
1403 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
1403 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
1404 if (result) { Py_DECREF(result); }
1404 if (result) { Py_DECREF(result); }
1405 Py_DECREF(obj);
1405 Py_DECREF(obj);
1406 return;
1406 return;
1407 }
1407 }
1408 }
1408 }
1409 QHexEdit::changeEvent(arg__1);
1409 QHexEdit::changeEvent(arg__1);
1410 }
1410 }
1411 void PythonQtShell_QHexEdit::childEvent(QChildEvent* arg__1)
1411 void PythonQtShell_QHexEdit::childEvent(QChildEvent* arg__1)
1412 {
1412 {
1413 if (_wrapper) {
1413 if (_wrapper) {
1414 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "childEvent");
1414 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "childEvent");
1415 PyErr_Clear();
1415 PyErr_Clear();
1416 if (obj && !PythonQtSlotFunction_Check(obj)) {
1416 if (obj && !PythonQtSlotFunction_Check(obj)) {
1417 static const char* argumentList[] ={"" , "QChildEvent*"};
1417 static const char* argumentList[] ={"" , "QChildEvent*"};
1418 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
1418 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
1419 void* args[2] = {NULL, (void*)&arg__1};
1419 void* args[2] = {NULL, (void*)&arg__1};
1420 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
1420 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
1421 if (result) { Py_DECREF(result); }
1421 if (result) { Py_DECREF(result); }
1422 Py_DECREF(obj);
1422 Py_DECREF(obj);
1423 return;
1423 return;
1424 }
1424 }
1425 }
1425 }
1426 QHexEdit::childEvent(arg__1);
1426 QHexEdit::childEvent(arg__1);
1427 }
1427 }
1428 void PythonQtShell_QHexEdit::closeEvent(QCloseEvent* arg__1)
1428 void PythonQtShell_QHexEdit::closeEvent(QCloseEvent* arg__1)
1429 {
1429 {
1430 if (_wrapper) {
1430 if (_wrapper) {
1431 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "closeEvent");
1431 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "closeEvent");
1432 PyErr_Clear();
1432 PyErr_Clear();
1433 if (obj && !PythonQtSlotFunction_Check(obj)) {
1433 if (obj && !PythonQtSlotFunction_Check(obj)) {
1434 static const char* argumentList[] ={"" , "QCloseEvent*"};
1434 static const char* argumentList[] ={"" , "QCloseEvent*"};
1435 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
1435 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
1436 void* args[2] = {NULL, (void*)&arg__1};
1436 void* args[2] = {NULL, (void*)&arg__1};
1437 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
1437 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
1438 if (result) { Py_DECREF(result); }
1438 if (result) { Py_DECREF(result); }
1439 Py_DECREF(obj);
1439 Py_DECREF(obj);
1440 return;
1440 return;
1441 }
1441 }
1442 }
1442 }
1443 QHexEdit::closeEvent(arg__1);
1443 QHexEdit::closeEvent(arg__1);
1444 }
1444 }
1445 void PythonQtShell_QHexEdit::contextMenuEvent(QContextMenuEvent* arg__1)
1445 void PythonQtShell_QHexEdit::contextMenuEvent(QContextMenuEvent* arg__1)
1446 {
1446 {
1447 if (_wrapper) {
1447 if (_wrapper) {
1448 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "contextMenuEvent");
1448 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "contextMenuEvent");
1449 PyErr_Clear();
1449 PyErr_Clear();
1450 if (obj && !PythonQtSlotFunction_Check(obj)) {
1450 if (obj && !PythonQtSlotFunction_Check(obj)) {
1451 static const char* argumentList[] ={"" , "QContextMenuEvent*"};
1451 static const char* argumentList[] ={"" , "QContextMenuEvent*"};
1452 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
1452 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
1453 void* args[2] = {NULL, (void*)&arg__1};
1453 void* args[2] = {NULL, (void*)&arg__1};
1454 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
1454 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
1455 if (result) { Py_DECREF(result); }
1455 if (result) { Py_DECREF(result); }
1456 Py_DECREF(obj);
1456 Py_DECREF(obj);
1457 return;
1457 return;
1458 }
1458 }
1459 }
1459 }
1460 QHexEdit::contextMenuEvent(arg__1);
1460 QHexEdit::contextMenuEvent(arg__1);
1461 }
1461 }
1462 void PythonQtShell_QHexEdit::customEvent(QEvent* arg__1)
1462 void PythonQtShell_QHexEdit::customEvent(QEvent* arg__1)
1463 {
1463 {
1464 if (_wrapper) {
1464 if (_wrapper) {
1465 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "customEvent");
1465 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "customEvent");
1466 PyErr_Clear();
1466 PyErr_Clear();
1467 if (obj && !PythonQtSlotFunction_Check(obj)) {
1467 if (obj && !PythonQtSlotFunction_Check(obj)) {
1468 static const char* argumentList[] ={"" , "QEvent*"};
1468 static const char* argumentList[] ={"" , "QEvent*"};
1469 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
1469 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
1470 void* args[2] = {NULL, (void*)&arg__1};
1470 void* args[2] = {NULL, (void*)&arg__1};
1471 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
1471 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
1472 if (result) { Py_DECREF(result); }
1472 if (result) { Py_DECREF(result); }
1473 Py_DECREF(obj);
1473 Py_DECREF(obj);
1474 return;
1474 return;
1475 }
1475 }
1476 }
1476 }
1477 QHexEdit::customEvent(arg__1);
1477 QHexEdit::customEvent(arg__1);
1478 }
1478 }
1479 int PythonQtShell_QHexEdit::devType() const
1479 int PythonQtShell_QHexEdit::devType() const
1480 {
1480 {
1481 if (_wrapper) {
1481 if (_wrapper) {
1482 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "devType");
1482 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "devType");
1483 PyErr_Clear();
1483 PyErr_Clear();
1484 if (obj && !PythonQtSlotFunction_Check(obj)) {
1484 if (obj && !PythonQtSlotFunction_Check(obj)) {
1485 static const char* argumentList[] ={"int"};
1485 static const char* argumentList[] ={"int"};
1486 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList);
1486 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList);
1487 int returnValue;
1487 int returnValue;
1488 void* args[1] = {NULL};
1488 void* args[1] = {NULL};
1489 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
1489 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
1490 if (result) {
1490 if (result) {
1491 args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue);
1491 args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue);
1492 if (args[0]!=&returnValue) {
1492 if (args[0]!=&returnValue) {
1493 if (args[0]==NULL) {
1493 if (args[0]==NULL) {
1494 PythonQt::priv()->handleVirtualOverloadReturnError("devType", methodInfo, result);
1494 PythonQt::priv()->handleVirtualOverloadReturnError("devType", methodInfo, result);
1495 } else {
1495 } else {
1496 returnValue = *((int*)args[0]);
1496 returnValue = *((int*)args[0]);
1497 }
1497 }
1498 }
1498 }
1499 }
1499 }
1500 if (result) { Py_DECREF(result); }
1500 if (result) { Py_DECREF(result); }
1501 Py_DECREF(obj);
1501 Py_DECREF(obj);
1502 return returnValue;
1502 return returnValue;
1503 }
1503 }
1504 }
1504 }
1505 return QHexEdit::devType();
1505 return QHexEdit::devType();
1506 }
1506 }
1507 void PythonQtShell_QHexEdit::dragEnterEvent(QDragEnterEvent* arg__1)
1507 void PythonQtShell_QHexEdit::dragEnterEvent(QDragEnterEvent* arg__1)
1508 {
1508 {
1509 if (_wrapper) {
1509 if (_wrapper) {
1510 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dragEnterEvent");
1510 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dragEnterEvent");
1511 PyErr_Clear();
1511 PyErr_Clear();
1512 if (obj && !PythonQtSlotFunction_Check(obj)) {
1512 if (obj && !PythonQtSlotFunction_Check(obj)) {
1513 static const char* argumentList[] ={"" , "QDragEnterEvent*"};
1513 static const char* argumentList[] ={"" , "QDragEnterEvent*"};
1514 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
1514 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
1515 void* args[2] = {NULL, (void*)&arg__1};
1515 void* args[2] = {NULL, (void*)&arg__1};
1516 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
1516 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
1517 if (result) { Py_DECREF(result); }
1517 if (result) { Py_DECREF(result); }
1518 Py_DECREF(obj);
1518 Py_DECREF(obj);
1519 return;
1519 return;
1520 }
1520 }
1521 }
1521 }
1522 QHexEdit::dragEnterEvent(arg__1);
1522 QHexEdit::dragEnterEvent(arg__1);
1523 }
1523 }
1524 void PythonQtShell_QHexEdit::dragLeaveEvent(QDragLeaveEvent* arg__1)
1524 void PythonQtShell_QHexEdit::dragLeaveEvent(QDragLeaveEvent* arg__1)
1525 {
1525 {
1526 if (_wrapper) {
1526 if (_wrapper) {
1527 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dragLeaveEvent");
1527 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dragLeaveEvent");
1528 PyErr_Clear();
1528 PyErr_Clear();
1529 if (obj && !PythonQtSlotFunction_Check(obj)) {
1529 if (obj && !PythonQtSlotFunction_Check(obj)) {
1530 static const char* argumentList[] ={"" , "QDragLeaveEvent*"};
1530 static const char* argumentList[] ={"" , "QDragLeaveEvent*"};
1531 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
1531 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
1532 void* args[2] = {NULL, (void*)&arg__1};
1532 void* args[2] = {NULL, (void*)&arg__1};
1533 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
1533 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
1534 if (result) { Py_DECREF(result); }
1534 if (result) { Py_DECREF(result); }
1535 Py_DECREF(obj);
1535 Py_DECREF(obj);
1536 return;
1536 return;
1537 }
1537 }
1538 }
1538 }
1539 QHexEdit::dragLeaveEvent(arg__1);
1539 QHexEdit::dragLeaveEvent(arg__1);
1540 }
1540 }
1541 void PythonQtShell_QHexEdit::dragMoveEvent(QDragMoveEvent* arg__1)
1541 void PythonQtShell_QHexEdit::dragMoveEvent(QDragMoveEvent* arg__1)
1542 {
1542 {
1543 if (_wrapper) {
1543 if (_wrapper) {
1544 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dragMoveEvent");
1544 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dragMoveEvent");
1545 PyErr_Clear();
1545 PyErr_Clear();
1546 if (obj && !PythonQtSlotFunction_Check(obj)) {
1546 if (obj && !PythonQtSlotFunction_Check(obj)) {
1547 static const char* argumentList[] ={"" , "QDragMoveEvent*"};
1547 static const char* argumentList[] ={"" , "QDragMoveEvent*"};
1548 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
1548 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
1549 void* args[2] = {NULL, (void*)&arg__1};
1549 void* args[2] = {NULL, (void*)&arg__1};
1550 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
1550 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
1551 if (result) { Py_DECREF(result); }
1551 if (result) { Py_DECREF(result); }
1552 Py_DECREF(obj);
1552 Py_DECREF(obj);
1553 return;
1553 return;
1554 }
1554 }
1555 }
1555 }
1556 QHexEdit::dragMoveEvent(arg__1);
1556 QHexEdit::dragMoveEvent(arg__1);
1557 }
1557 }
1558 void PythonQtShell_QHexEdit::dropEvent(QDropEvent* arg__1)
1558 void PythonQtShell_QHexEdit::dropEvent(QDropEvent* arg__1)
1559 {
1559 {
1560 if (_wrapper) {
1560 if (_wrapper) {
1561 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dropEvent");
1561 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dropEvent");
1562 PyErr_Clear();
1562 PyErr_Clear();
1563 if (obj && !PythonQtSlotFunction_Check(obj)) {
1563 if (obj && !PythonQtSlotFunction_Check(obj)) {
1564 static const char* argumentList[] ={"" , "QDropEvent*"};
1564 static const char* argumentList[] ={"" , "QDropEvent*"};
1565 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
1565 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
1566 void* args[2] = {NULL, (void*)&arg__1};
1566 void* args[2] = {NULL, (void*)&arg__1};
1567 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
1567 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
1568 if (result) { Py_DECREF(result); }
1568 if (result) { Py_DECREF(result); }
1569 Py_DECREF(obj);
1569 Py_DECREF(obj);
1570 return;
1570 return;
1571 }
1571 }
1572 }
1572 }
1573 QHexEdit::dropEvent(arg__1);
1573 QHexEdit::dropEvent(arg__1);
1574 }
1574 }
1575 void PythonQtShell_QHexEdit::enterEvent(QEvent* arg__1)
1575 void PythonQtShell_QHexEdit::enterEvent(QEvent* arg__1)
1576 {
1576 {
1577 if (_wrapper) {
1577 if (_wrapper) {
1578 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "enterEvent");
1578 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "enterEvent");
1579 PyErr_Clear();
1579 PyErr_Clear();
1580 if (obj && !PythonQtSlotFunction_Check(obj)) {
1580 if (obj && !PythonQtSlotFunction_Check(obj)) {
1581 static const char* argumentList[] ={"" , "QEvent*"};
1581 static const char* argumentList[] ={"" , "QEvent*"};
1582 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
1582 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
1583 void* args[2] = {NULL, (void*)&arg__1};
1583 void* args[2] = {NULL, (void*)&arg__1};
1584 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
1584 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
1585 if (result) { Py_DECREF(result); }
1585 if (result) { Py_DECREF(result); }
1586 Py_DECREF(obj);
1586 Py_DECREF(obj);
1587 return;
1587 return;
1588 }
1588 }
1589 }
1589 }
1590 QHexEdit::enterEvent(arg__1);
1590 QHexEdit::enterEvent(arg__1);
1591 }
1591 }
1592 bool PythonQtShell_QHexEdit::event(QEvent* arg__1)
1592 bool PythonQtShell_QHexEdit::event(QEvent* arg__1)
1593 {
1593 {
1594 if (_wrapper) {
1594 if (_wrapper) {
1595 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "event");
1595 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "event");
1596 PyErr_Clear();
1596 PyErr_Clear();
1597 if (obj && !PythonQtSlotFunction_Check(obj)) {
1597 if (obj && !PythonQtSlotFunction_Check(obj)) {
1598 static const char* argumentList[] ={"bool" , "QEvent*"};
1598 static const char* argumentList[] ={"bool" , "QEvent*"};
1599 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
1599 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
1600 bool returnValue;
1600 bool returnValue;
1601 void* args[2] = {NULL, (void*)&arg__1};
1601 void* args[2] = {NULL, (void*)&arg__1};
1602 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
1602 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
1603 if (result) {
1603 if (result) {
1604 args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue);
1604 args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue);
1605 if (args[0]!=&returnValue) {
1605 if (args[0]!=&returnValue) {
1606 if (args[0]==NULL) {
1606 if (args[0]==NULL) {
1607 PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result);
1607 PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result);
1608 } else {
1608 } else {
1609 returnValue = *((bool*)args[0]);
1609 returnValue = *((bool*)args[0]);
1610 }
1610 }
1611 }
1611 }
1612 }
1612 }
1613 if (result) { Py_DECREF(result); }
1613 if (result) { Py_DECREF(result); }
1614 Py_DECREF(obj);
1614 Py_DECREF(obj);
1615 return returnValue;
1615 return returnValue;
1616 }
1616 }
1617 }
1617 }
1618 return QHexEdit::event(arg__1);
1618 return QHexEdit::event(arg__1);
1619 }
1619 }
1620 bool PythonQtShell_QHexEdit::eventFilter(QObject* arg__1, QEvent* arg__2)
1620 bool PythonQtShell_QHexEdit::eventFilter(QObject* arg__1, QEvent* arg__2)
1621 {
1621 {
1622 if (_wrapper) {
1622 if (_wrapper) {
1623 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "eventFilter");
1623 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "eventFilter");
1624 PyErr_Clear();
1624 PyErr_Clear();
1625 if (obj && !PythonQtSlotFunction_Check(obj)) {
1625 if (obj && !PythonQtSlotFunction_Check(obj)) {
1626 static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"};
1626 static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"};
1627 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList);
1627 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList);
1628 bool returnValue;
1628 bool returnValue;
1629 void* args[3] = {NULL, (void*)&arg__1, (void*)&arg__2};
1629 void* args[3] = {NULL, (void*)&arg__1, (void*)&arg__2};
1630 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
1630 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
1631 if (result) {
1631 if (result) {
1632 args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue);
1632 args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue);
1633 if (args[0]!=&returnValue) {
1633 if (args[0]!=&returnValue) {
1634 if (args[0]==NULL) {
1634 if (args[0]==NULL) {
1635 PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result);
1635 PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result);
1636 } else {
1636 } else {
1637 returnValue = *((bool*)args[0]);
1637 returnValue = *((bool*)args[0]);
1638 }
1638 }
1639 }
1639 }
1640 }
1640 }
1641 if (result) { Py_DECREF(result); }
1641 if (result) { Py_DECREF(result); }
1642 Py_DECREF(obj);
1642 Py_DECREF(obj);
1643 return returnValue;
1643 return returnValue;
1644 }
1644 }
1645 }
1645 }
1646 return QHexEdit::eventFilter(arg__1, arg__2);
1646 return QHexEdit::eventFilter(arg__1, arg__2);
1647 }
1647 }
1648 void PythonQtShell_QHexEdit::focusInEvent(QFocusEvent* arg__1)
1648 void PythonQtShell_QHexEdit::focusInEvent(QFocusEvent* arg__1)
1649 {
1649 {
1650 if (_wrapper) {
1650 if (_wrapper) {
1651 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "focusInEvent");
1651 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "focusInEvent");
1652 PyErr_Clear();
1652 PyErr_Clear();
1653 if (obj && !PythonQtSlotFunction_Check(obj)) {
1653 if (obj && !PythonQtSlotFunction_Check(obj)) {
1654 static const char* argumentList[] ={"" , "QFocusEvent*"};
1654 static const char* argumentList[] ={"" , "QFocusEvent*"};
1655 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
1655 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
1656 void* args[2] = {NULL, (void*)&arg__1};
1656 void* args[2] = {NULL, (void*)&arg__1};
1657 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
1657 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
1658 if (result) { Py_DECREF(result); }
1658 if (result) { Py_DECREF(result); }
1659 Py_DECREF(obj);
1659 Py_DECREF(obj);
1660 return;
1660 return;
1661 }
1661 }
1662 }
1662 }
1663 QHexEdit::focusInEvent(arg__1);
1663 QHexEdit::focusInEvent(arg__1);
1664 }
1664 }
1665 bool PythonQtShell_QHexEdit::focusNextPrevChild(bool next)
1665 bool PythonQtShell_QHexEdit::focusNextPrevChild(bool next)
1666 {
1666 {
1667 if (_wrapper) {
1667 if (_wrapper) {
1668 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "focusNextPrevChild");
1668 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "focusNextPrevChild");
1669 PyErr_Clear();
1669 PyErr_Clear();
1670 if (obj && !PythonQtSlotFunction_Check(obj)) {
1670 if (obj && !PythonQtSlotFunction_Check(obj)) {
1671 static const char* argumentList[] ={"bool" , "bool"};
1671 static const char* argumentList[] ={"bool" , "bool"};
1672 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
1672 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
1673 bool returnValue;
1673 bool returnValue;
1674 void* args[2] = {NULL, (void*)&next};
1674 void* args[2] = {NULL, (void*)&next};
1675 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
1675 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
1676 if (result) {
1676 if (result) {
1677 args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue);
1677 args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue);
1678 if (args[0]!=&returnValue) {
1678 if (args[0]!=&returnValue) {
1679 if (args[0]==NULL) {
1679 if (args[0]==NULL) {
1680 PythonQt::priv()->handleVirtualOverloadReturnError("focusNextPrevChild", methodInfo, result);
1680 PythonQt::priv()->handleVirtualOverloadReturnError("focusNextPrevChild", methodInfo, result);
1681 } else {
1681 } else {
1682 returnValue = *((bool*)args[0]);
1682 returnValue = *((bool*)args[0]);
1683 }
1683 }
1684 }
1684 }
1685 }
1685 }
1686 if (result) { Py_DECREF(result); }
1686 if (result) { Py_DECREF(result); }
1687 Py_DECREF(obj);
1687 Py_DECREF(obj);
1688 return returnValue;
1688 return returnValue;
1689 }
1689 }
1690 }
1690 }
1691 return QHexEdit::focusNextPrevChild(next);
1691 return QHexEdit::focusNextPrevChild(next);
1692 }
1692 }
1693 void PythonQtShell_QHexEdit::focusOutEvent(QFocusEvent* arg__1)
1693 void PythonQtShell_QHexEdit::focusOutEvent(QFocusEvent* arg__1)
1694 {
1694 {
1695 if (_wrapper) {
1695 if (_wrapper) {
1696 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "focusOutEvent");
1696 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "focusOutEvent");
1697 PyErr_Clear();
1697 PyErr_Clear();
1698 if (obj && !PythonQtSlotFunction_Check(obj)) {
1698 if (obj && !PythonQtSlotFunction_Check(obj)) {
1699 static const char* argumentList[] ={"" , "QFocusEvent*"};
1699 static const char* argumentList[] ={"" , "QFocusEvent*"};
1700 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
1700 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
1701 void* args[2] = {NULL, (void*)&arg__1};
1701 void* args[2] = {NULL, (void*)&arg__1};
1702 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
1702 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
1703 if (result) { Py_DECREF(result); }
1703 if (result) { Py_DECREF(result); }
1704 Py_DECREF(obj);
1704 Py_DECREF(obj);
1705 return;
1705 return;
1706 }
1706 }
1707 }
1707 }
1708 QHexEdit::focusOutEvent(arg__1);
1708 QHexEdit::focusOutEvent(arg__1);
1709 }
1709 }
1710 bool PythonQtShell_QHexEdit::hasHeightForWidth() const
1710 bool PythonQtShell_QHexEdit::hasHeightForWidth() const
1711 {
1711 {
1712 if (_wrapper) {
1712 if (_wrapper) {
1713 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "hasHeightForWidth");
1713 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "hasHeightForWidth");
1714 PyErr_Clear();
1714 PyErr_Clear();
1715 if (obj && !PythonQtSlotFunction_Check(obj)) {
1715 if (obj && !PythonQtSlotFunction_Check(obj)) {
1716 static const char* argumentList[] ={"bool"};
1716 static const char* argumentList[] ={"bool"};
1717 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList);
1717 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList);
1718 bool returnValue;
1718 bool returnValue;
1719 void* args[1] = {NULL};
1719 void* args[1] = {NULL};
1720 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
1720 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
1721 if (result) {
1721 if (result) {
1722 args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue);
1722 args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue);
1723 if (args[0]!=&returnValue) {
1723 if (args[0]!=&returnValue) {
1724 if (args[0]==NULL) {
1724 if (args[0]==NULL) {
1725 PythonQt::priv()->handleVirtualOverloadReturnError("hasHeightForWidth", methodInfo, result);
1725 PythonQt::priv()->handleVirtualOverloadReturnError("hasHeightForWidth", methodInfo, result);
1726 } else {
1726 } else {
1727 returnValue = *((bool*)args[0]);
1727 returnValue = *((bool*)args[0]);
1728 }
1728 }
1729 }
1729 }
1730 }
1730 }
1731 if (result) { Py_DECREF(result); }
1731 if (result) { Py_DECREF(result); }
1732 Py_DECREF(obj);
1732 Py_DECREF(obj);
1733 return returnValue;
1733 return returnValue;
1734 }
1734 }
1735 }
1735 }
1736 return QHexEdit::hasHeightForWidth();
1736 return QHexEdit::hasHeightForWidth();
1737 }
1737 }
1738 int PythonQtShell_QHexEdit::heightForWidth(int arg__1) const
1738 int PythonQtShell_QHexEdit::heightForWidth(int arg__1) const
1739 {
1739 {
1740 if (_wrapper) {
1740 if (_wrapper) {
1741 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "heightForWidth");
1741 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "heightForWidth");
1742 PyErr_Clear();
1742 PyErr_Clear();
1743 if (obj && !PythonQtSlotFunction_Check(obj)) {
1743 if (obj && !PythonQtSlotFunction_Check(obj)) {
1744 static const char* argumentList[] ={"int" , "int"};
1744 static const char* argumentList[] ={"int" , "int"};
1745 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
1745 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
1746 int returnValue;
1746 int returnValue;
1747 void* args[2] = {NULL, (void*)&arg__1};
1747 void* args[2] = {NULL, (void*)&arg__1};
1748 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
1748 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
1749 if (result) {
1749 if (result) {
1750 args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue);
1750 args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue);
1751 if (args[0]!=&returnValue) {
1751 if (args[0]!=&returnValue) {
1752 if (args[0]==NULL) {
1752 if (args[0]==NULL) {
1753 PythonQt::priv()->handleVirtualOverloadReturnError("heightForWidth", methodInfo, result);
1753 PythonQt::priv()->handleVirtualOverloadReturnError("heightForWidth", methodInfo, result);
1754 } else {
1754 } else {
1755 returnValue = *((int*)args[0]);
1755 returnValue = *((int*)args[0]);
1756 }
1756 }
1757 }
1757 }
1758 }
1758 }
1759 if (result) { Py_DECREF(result); }
1759 if (result) { Py_DECREF(result); }
1760 Py_DECREF(obj);
1760 Py_DECREF(obj);
1761 return returnValue;
1761 return returnValue;
1762 }
1762 }
1763 }
1763 }
1764 return QHexEdit::heightForWidth(arg__1);
1764 return QHexEdit::heightForWidth(arg__1);
1765 }
1765 }
1766 void PythonQtShell_QHexEdit::hideEvent(QHideEvent* arg__1)
1766 void PythonQtShell_QHexEdit::hideEvent(QHideEvent* arg__1)
1767 {
1767 {
1768 if (_wrapper) {
1768 if (_wrapper) {
1769 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "hideEvent");
1769 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "hideEvent");
1770 PyErr_Clear();
1770 PyErr_Clear();
1771 if (obj && !PythonQtSlotFunction_Check(obj)) {
1771 if (obj && !PythonQtSlotFunction_Check(obj)) {
1772 static const char* argumentList[] ={"" , "QHideEvent*"};
1772 static const char* argumentList[] ={"" , "QHideEvent*"};
1773 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
1773 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
1774 void* args[2] = {NULL, (void*)&arg__1};
1774 void* args[2] = {NULL, (void*)&arg__1};
1775 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
1775 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
1776 if (result) { Py_DECREF(result); }
1776 if (result) { Py_DECREF(result); }
1777 Py_DECREF(obj);
1777 Py_DECREF(obj);
1778 return;
1778 return;
1779 }
1779 }
1780 }
1780 }
1781 QHexEdit::hideEvent(arg__1);
1781 QHexEdit::hideEvent(arg__1);
1782 }
1782 }
1783 void PythonQtShell_QHexEdit::initPainter(QPainter* painter) const
1783 void PythonQtShell_QHexEdit::initPainter(QPainter* painter) const
1784 {
1784 {
1785 if (_wrapper) {
1785 if (_wrapper) {
1786 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "initPainter");
1786 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "initPainter");
1787 PyErr_Clear();
1787 PyErr_Clear();
1788 if (obj && !PythonQtSlotFunction_Check(obj)) {
1788 if (obj && !PythonQtSlotFunction_Check(obj)) {
1789 static const char* argumentList[] ={"" , "QPainter*"};
1789 static const char* argumentList[] ={"" , "QPainter*"};
1790 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
1790 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
1791 void* args[2] = {NULL, (void*)&painter};
1791 void* args[2] = {NULL, (void*)&painter};
1792 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
1792 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
1793 if (result) { Py_DECREF(result); }
1793 if (result) { Py_DECREF(result); }
1794 Py_DECREF(obj);
1794 Py_DECREF(obj);
1795 return;
1795 return;
1796 }
1796 }
1797 }
1797 }
1798 QHexEdit::initPainter(painter);
1798 QHexEdit::initPainter(painter);
1799 }
1799 }
1800 void PythonQtShell_QHexEdit::inputMethodEvent(QInputMethodEvent* arg__1)
1800 void PythonQtShell_QHexEdit::inputMethodEvent(QInputMethodEvent* arg__1)
1801 {
1801 {
1802 if (_wrapper) {
1802 if (_wrapper) {
1803 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "inputMethodEvent");
1803 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "inputMethodEvent");
1804 PyErr_Clear();
1804 PyErr_Clear();
1805 if (obj && !PythonQtSlotFunction_Check(obj)) {
1805 if (obj && !PythonQtSlotFunction_Check(obj)) {
1806 static const char* argumentList[] ={"" , "QInputMethodEvent*"};
1806 static const char* argumentList[] ={"" , "QInputMethodEvent*"};
1807 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
1807 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
1808 void* args[2] = {NULL, (void*)&arg__1};
1808 void* args[2] = {NULL, (void*)&arg__1};
1809 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
1809 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
1810 if (result) { Py_DECREF(result); }
1810 if (result) { Py_DECREF(result); }
1811 Py_DECREF(obj);
1811 Py_DECREF(obj);
1812 return;
1812 return;
1813 }
1813 }
1814 }
1814 }
1815 QHexEdit::inputMethodEvent(arg__1);
1815 QHexEdit::inputMethodEvent(arg__1);
1816 }
1816 }
1817 QVariant PythonQtShell_QHexEdit::inputMethodQuery(Qt::InputMethodQuery arg__1) const
1817 QVariant PythonQtShell_QHexEdit::inputMethodQuery(Qt::InputMethodQuery arg__1) const
1818 {
1818 {
1819 if (_wrapper) {
1819 if (_wrapper) {
1820 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "inputMethodQuery");
1820 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "inputMethodQuery");
1821 PyErr_Clear();
1821 PyErr_Clear();
1822 if (obj && !PythonQtSlotFunction_Check(obj)) {
1822 if (obj && !PythonQtSlotFunction_Check(obj)) {
1823 static const char* argumentList[] ={"QVariant" , "Qt::InputMethodQuery"};
1823 static const char* argumentList[] ={"QVariant" , "Qt::InputMethodQuery"};
1824 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
1824 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
1825 QVariant returnValue;
1825 QVariant returnValue;
1826 void* args[2] = {NULL, (void*)&arg__1};
1826 void* args[2] = {NULL, (void*)&arg__1};
1827 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
1827 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
1828 if (result) {
1828 if (result) {
1829 args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue);
1829 args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue);
1830 if (args[0]!=&returnValue) {
1830 if (args[0]!=&returnValue) {
1831 if (args[0]==NULL) {
1831 if (args[0]==NULL) {
1832 PythonQt::priv()->handleVirtualOverloadReturnError("inputMethodQuery", methodInfo, result);
1832 PythonQt::priv()->handleVirtualOverloadReturnError("inputMethodQuery", methodInfo, result);
1833 } else {
1833 } else {
1834 returnValue = *((QVariant*)args[0]);
1834 returnValue = *((QVariant*)args[0]);
1835 }
1835 }
1836 }
1836 }
1837 }
1837 }
1838 if (result) { Py_DECREF(result); }
1838 if (result) { Py_DECREF(result); }
1839 Py_DECREF(obj);
1839 Py_DECREF(obj);
1840 return returnValue;
1840 return returnValue;
1841 }
1841 }
1842 }
1842 }
1843 return QHexEdit::inputMethodQuery(arg__1);
1843 return QHexEdit::inputMethodQuery(arg__1);
1844 }
1844 }
1845 void PythonQtShell_QHexEdit::keyPressEvent(QKeyEvent* arg__1)
1845 void PythonQtShell_QHexEdit::keyPressEvent(QKeyEvent* arg__1)
1846 {
1846 {
1847 if (_wrapper) {
1847 if (_wrapper) {
1848 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "keyPressEvent");
1848 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "keyPressEvent");
1849 PyErr_Clear();
1849 PyErr_Clear();
1850 if (obj && !PythonQtSlotFunction_Check(obj)) {
1850 if (obj && !PythonQtSlotFunction_Check(obj)) {
1851 static const char* argumentList[] ={"" , "QKeyEvent*"};
1851 static const char* argumentList[] ={"" , "QKeyEvent*"};
1852 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
1852 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
1853 void* args[2] = {NULL, (void*)&arg__1};
1853 void* args[2] = {NULL, (void*)&arg__1};
1854 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
1854 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
1855 if (result) { Py_DECREF(result); }
1855 if (result) { Py_DECREF(result); }
1856 Py_DECREF(obj);
1856 Py_DECREF(obj);
1857 return;
1857 return;
1858 }
1858 }
1859 }
1859 }
1860 QHexEdit::keyPressEvent(arg__1);
1860 QHexEdit::keyPressEvent(arg__1);
1861 }
1861 }
1862 void PythonQtShell_QHexEdit::keyReleaseEvent(QKeyEvent* arg__1)
1862 void PythonQtShell_QHexEdit::keyReleaseEvent(QKeyEvent* arg__1)
1863 {
1863 {
1864 if (_wrapper) {
1864 if (_wrapper) {
1865 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "keyReleaseEvent");
1865 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "keyReleaseEvent");
1866 PyErr_Clear();
1866 PyErr_Clear();
1867 if (obj && !PythonQtSlotFunction_Check(obj)) {
1867 if (obj && !PythonQtSlotFunction_Check(obj)) {
1868 static const char* argumentList[] ={"" , "QKeyEvent*"};
1868 static const char* argumentList[] ={"" , "QKeyEvent*"};
1869 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
1869 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
1870 void* args[2] = {NULL, (void*)&arg__1};
1870 void* args[2] = {NULL, (void*)&arg__1};
1871 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
1871 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
1872 if (result) { Py_DECREF(result); }
1872 if (result) { Py_DECREF(result); }
1873 Py_DECREF(obj);
1873 Py_DECREF(obj);
1874 return;
1874 return;
1875 }
1875 }
1876 }
1876 }
1877 QHexEdit::keyReleaseEvent(arg__1);
1877 QHexEdit::keyReleaseEvent(arg__1);
1878 }
1878 }
1879 void PythonQtShell_QHexEdit::leaveEvent(QEvent* arg__1)
1879 void PythonQtShell_QHexEdit::leaveEvent(QEvent* arg__1)
1880 {
1880 {
1881 if (_wrapper) {
1881 if (_wrapper) {
1882 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "leaveEvent");
1882 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "leaveEvent");
1883 PyErr_Clear();
1883 PyErr_Clear();
1884 if (obj && !PythonQtSlotFunction_Check(obj)) {
1884 if (obj && !PythonQtSlotFunction_Check(obj)) {
1885 static const char* argumentList[] ={"" , "QEvent*"};
1885 static const char* argumentList[] ={"" , "QEvent*"};
1886 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
1886 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
1887 void* args[2] = {NULL, (void*)&arg__1};
1887 void* args[2] = {NULL, (void*)&arg__1};
1888 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
1888 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
1889 if (result) { Py_DECREF(result); }
1889 if (result) { Py_DECREF(result); }
1890 Py_DECREF(obj);
1890 Py_DECREF(obj);
1891 return;
1891 return;
1892 }
1892 }
1893 }
1893 }
1894 QHexEdit::leaveEvent(arg__1);
1894 QHexEdit::leaveEvent(arg__1);
1895 }
1895 }
1896 int PythonQtShell_QHexEdit::metric(QPaintDevice::PaintDeviceMetric arg__1) const
1896 int PythonQtShell_QHexEdit::metric(QPaintDevice::PaintDeviceMetric arg__1) const
1897 {
1897 {
1898 if (_wrapper) {
1898 if (_wrapper) {
1899 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "metric");
1899 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "metric");
1900 PyErr_Clear();
1900 PyErr_Clear();
1901 if (obj && !PythonQtSlotFunction_Check(obj)) {
1901 if (obj && !PythonQtSlotFunction_Check(obj)) {
1902 static const char* argumentList[] ={"int" , "QPaintDevice::PaintDeviceMetric"};
1902 static const char* argumentList[] ={"int" , "QPaintDevice::PaintDeviceMetric"};
1903 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
1903 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
1904 int returnValue;
1904 int returnValue;
1905 void* args[2] = {NULL, (void*)&arg__1};
1905 void* args[2] = {NULL, (void*)&arg__1};
1906 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
1906 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
1907 if (result) {
1907 if (result) {
1908 args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue);
1908 args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue);
1909 if (args[0]!=&returnValue) {
1909 if (args[0]!=&returnValue) {
1910 if (args[0]==NULL) {
1910 if (args[0]==NULL) {
1911 PythonQt::priv()->handleVirtualOverloadReturnError("metric", methodInfo, result);
1911 PythonQt::priv()->handleVirtualOverloadReturnError("metric", methodInfo, result);
1912 } else {
1912 } else {
1913 returnValue = *((int*)args[0]);
1913 returnValue = *((int*)args[0]);
1914 }
1914 }
1915 }
1915 }
1916 }
1916 }
1917 if (result) { Py_DECREF(result); }
1917 if (result) { Py_DECREF(result); }
1918 Py_DECREF(obj);
1918 Py_DECREF(obj);
1919 return returnValue;
1919 return returnValue;
1920 }
1920 }
1921 }
1921 }
1922 return QHexEdit::metric(arg__1);
1922 return QHexEdit::metric(arg__1);
1923 }
1923 }
1924 void PythonQtShell_QHexEdit::mouseDoubleClickEvent(QMouseEvent* arg__1)
1924 void PythonQtShell_QHexEdit::mouseDoubleClickEvent(QMouseEvent* arg__1)
1925 {
1925 {
1926 if (_wrapper) {
1926 if (_wrapper) {
1927 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mouseDoubleClickEvent");
1927 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mouseDoubleClickEvent");
1928 PyErr_Clear();
1928 PyErr_Clear();
1929 if (obj && !PythonQtSlotFunction_Check(obj)) {
1929 if (obj && !PythonQtSlotFunction_Check(obj)) {
1930 static const char* argumentList[] ={"" , "QMouseEvent*"};
1930 static const char* argumentList[] ={"" , "QMouseEvent*"};
1931 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
1931 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
1932 void* args[2] = {NULL, (void*)&arg__1};
1932 void* args[2] = {NULL, (void*)&arg__1};
1933 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
1933 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
1934 if (result) { Py_DECREF(result); }
1934 if (result) { Py_DECREF(result); }
1935 Py_DECREF(obj);
1935 Py_DECREF(obj);
1936 return;
1936 return;
1937 }
1937 }
1938 }
1938 }
1939 QHexEdit::mouseDoubleClickEvent(arg__1);
1939 QHexEdit::mouseDoubleClickEvent(arg__1);
1940 }
1940 }
1941 void PythonQtShell_QHexEdit::mouseMoveEvent(QMouseEvent* arg__1)
1941 void PythonQtShell_QHexEdit::mouseMoveEvent(QMouseEvent* arg__1)
1942 {
1942 {
1943 if (_wrapper) {
1943 if (_wrapper) {
1944 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mouseMoveEvent");
1944 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mouseMoveEvent");
1945 PyErr_Clear();
1945 PyErr_Clear();
1946 if (obj && !PythonQtSlotFunction_Check(obj)) {
1946 if (obj && !PythonQtSlotFunction_Check(obj)) {
1947 static const char* argumentList[] ={"" , "QMouseEvent*"};
1947 static const char* argumentList[] ={"" , "QMouseEvent*"};
1948 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
1948 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
1949 void* args[2] = {NULL, (void*)&arg__1};
1949 void* args[2] = {NULL, (void*)&arg__1};
1950 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
1950 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
1951 if (result) { Py_DECREF(result); }
1951 if (result) { Py_DECREF(result); }
1952 Py_DECREF(obj);
1952 Py_DECREF(obj);
1953 return;
1953 return;
1954 }
1954 }
1955 }
1955 }
1956 QHexEdit::mouseMoveEvent(arg__1);
1956 QHexEdit::mouseMoveEvent(arg__1);
1957 }
1957 }
1958 void PythonQtShell_QHexEdit::mousePressEvent(QMouseEvent* arg__1)
1958 void PythonQtShell_QHexEdit::mousePressEvent(QMouseEvent* arg__1)
1959 {
1959 {
1960 if (_wrapper) {
1960 if (_wrapper) {
1961 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mousePressEvent");
1961 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mousePressEvent");
1962 PyErr_Clear();
1962 PyErr_Clear();
1963 if (obj && !PythonQtSlotFunction_Check(obj)) {
1963 if (obj && !PythonQtSlotFunction_Check(obj)) {
1964 static const char* argumentList[] ={"" , "QMouseEvent*"};
1964 static const char* argumentList[] ={"" , "QMouseEvent*"};
1965 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
1965 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
1966 void* args[2] = {NULL, (void*)&arg__1};
1966 void* args[2] = {NULL, (void*)&arg__1};
1967 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
1967 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
1968 if (result) { Py_DECREF(result); }
1968 if (result) { Py_DECREF(result); }
1969 Py_DECREF(obj);
1969 Py_DECREF(obj);
1970 return;
1970 return;
1971 }
1971 }
1972 }
1972 }
1973 QHexEdit::mousePressEvent(arg__1);
1973 QHexEdit::mousePressEvent(arg__1);
1974 }
1974 }
1975 void PythonQtShell_QHexEdit::mouseReleaseEvent(QMouseEvent* arg__1)
1975 void PythonQtShell_QHexEdit::mouseReleaseEvent(QMouseEvent* arg__1)
1976 {
1976 {
1977 if (_wrapper) {
1977 if (_wrapper) {
1978 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mouseReleaseEvent");
1978 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mouseReleaseEvent");
1979 PyErr_Clear();
1979 PyErr_Clear();
1980 if (obj && !PythonQtSlotFunction_Check(obj)) {
1980 if (obj && !PythonQtSlotFunction_Check(obj)) {
1981 static const char* argumentList[] ={"" , "QMouseEvent*"};
1981 static const char* argumentList[] ={"" , "QMouseEvent*"};
1982 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
1982 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
1983 void* args[2] = {NULL, (void*)&arg__1};
1983 void* args[2] = {NULL, (void*)&arg__1};
1984 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
1984 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
1985 if (result) { Py_DECREF(result); }
1985 if (result) { Py_DECREF(result); }
1986 Py_DECREF(obj);
1986 Py_DECREF(obj);
1987 return;
1987 return;
1988 }
1988 }
1989 }
1989 }
1990 QHexEdit::mouseReleaseEvent(arg__1);
1990 QHexEdit::mouseReleaseEvent(arg__1);
1991 }
1991 }
1992 void PythonQtShell_QHexEdit::moveEvent(QMoveEvent* arg__1)
1992 void PythonQtShell_QHexEdit::moveEvent(QMoveEvent* arg__1)
1993 {
1993 {
1994 if (_wrapper) {
1994 if (_wrapper) {
1995 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "moveEvent");
1995 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "moveEvent");
1996 PyErr_Clear();
1996 PyErr_Clear();
1997 if (obj && !PythonQtSlotFunction_Check(obj)) {
1997 if (obj && !PythonQtSlotFunction_Check(obj)) {
1998 static const char* argumentList[] ={"" , "QMoveEvent*"};
1998 static const char* argumentList[] ={"" , "QMoveEvent*"};
1999 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
1999 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
2000 void* args[2] = {NULL, (void*)&arg__1};
2000 void* args[2] = {NULL, (void*)&arg__1};
2001 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
2001 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
2002 if (result) { Py_DECREF(result); }
2002 if (result) { Py_DECREF(result); }
2003 Py_DECREF(obj);
2003 Py_DECREF(obj);
2004 return;
2004 return;
2005 }
2005 }
2006 }
2006 }
2007 QHexEdit::moveEvent(arg__1);
2007 QHexEdit::moveEvent(arg__1);
2008 }
2008 }
2009 bool PythonQtShell_QHexEdit::nativeEvent(const QByteArray& eventType, void* message, long* result)
2009 bool PythonQtShell_QHexEdit::nativeEvent(const QByteArray& eventType, void* message, long* result)
2010 {
2010 {
2011 if (_wrapper) {
2011 if (_wrapper) {
2012 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "nativeEvent");
2012 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "nativeEvent");
2013 PyErr_Clear();
2013 PyErr_Clear();
2014 if (obj && !PythonQtSlotFunction_Check(obj)) {
2014 if (obj && !PythonQtSlotFunction_Check(obj)) {
2015 static const char* argumentList[] ={"bool" , "const QByteArray&" , "void*" , "long*"};
2015 static const char* argumentList[] ={"bool" , "const QByteArray&" , "void*" , "long*"};
2016 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList);
2016 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList);
2017 bool returnValue;
2017 bool returnValue;
2018 void* args[4] = {NULL, (void*)&eventType, (void*)&message, (void*)&result};
2018 void* args[4] = {NULL, (void*)&eventType, (void*)&message, (void*)&result};
2019 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
2019 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
2020 if (result) {
2020 if (result) {
2021 args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue);
2021 args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue);
2022 if (args[0]!=&returnValue) {
2022 if (args[0]!=&returnValue) {
2023 if (args[0]==NULL) {
2023 if (args[0]==NULL) {
2024 PythonQt::priv()->handleVirtualOverloadReturnError("nativeEvent", methodInfo, result);
2024 PythonQt::priv()->handleVirtualOverloadReturnError("nativeEvent", methodInfo, result);
2025 } else {
2025 } else {
2026 returnValue = *((bool*)args[0]);
2026 returnValue = *((bool*)args[0]);
2027 }
2027 }
2028 }
2028 }
2029 }
2029 }
2030 if (result) { Py_DECREF(result); }
2030 if (result) { Py_DECREF(result); }
2031 Py_DECREF(obj);
2031 Py_DECREF(obj);
2032 return returnValue;
2032 return returnValue;
2033 }
2033 }
2034 }
2034 }
2035 return QHexEdit::nativeEvent(eventType, message, result);
2035 return QHexEdit::nativeEvent(eventType, message, result);
2036 }
2036 }
2037 QPaintEngine* PythonQtShell_QHexEdit::paintEngine() const
2037 QPaintEngine* PythonQtShell_QHexEdit::paintEngine() const
2038 {
2038 {
2039 if (_wrapper) {
2039 if (_wrapper) {
2040 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "paintEngine");
2040 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "paintEngine");
2041 PyErr_Clear();
2041 PyErr_Clear();
2042 if (obj && !PythonQtSlotFunction_Check(obj)) {
2042 if (obj && !PythonQtSlotFunction_Check(obj)) {
2043 static const char* argumentList[] ={"QPaintEngine*"};
2043 static const char* argumentList[] ={"QPaintEngine*"};
2044 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList);
2044 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList);
2045 QPaintEngine* returnValue;
2045 QPaintEngine* returnValue;
2046 void* args[1] = {NULL};
2046 void* args[1] = {NULL};
2047 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
2047 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
2048 if (result) {
2048 if (result) {
2049 args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue);
2049 args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue);
2050 if (args[0]!=&returnValue) {
2050 if (args[0]!=&returnValue) {
2051 if (args[0]==NULL) {
2051 if (args[0]==NULL) {
2052 PythonQt::priv()->handleVirtualOverloadReturnError("paintEngine", methodInfo, result);
2052 PythonQt::priv()->handleVirtualOverloadReturnError("paintEngine", methodInfo, result);
2053 } else {
2053 } else {
2054 returnValue = *((QPaintEngine**)args[0]);
2054 returnValue = *((QPaintEngine**)args[0]);
2055 }
2055 }
2056 }
2056 }
2057 }
2057 }
2058 if (result) { Py_DECREF(result); }
2058 if (result) { Py_DECREF(result); }
2059 Py_DECREF(obj);
2059 Py_DECREF(obj);
2060 return returnValue;
2060 return returnValue;
2061 }
2061 }
2062 }
2062 }
2063 return QHexEdit::paintEngine();
2063 return QHexEdit::paintEngine();
2064 }
2064 }
2065 void PythonQtShell_QHexEdit::paintEvent(QPaintEvent* arg__1)
2065 void PythonQtShell_QHexEdit::paintEvent(QPaintEvent* arg__1)
2066 {
2066 {
2067 if (_wrapper) {
2067 if (_wrapper) {
2068 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "paintEvent");
2068 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "paintEvent");
2069 PyErr_Clear();
2069 PyErr_Clear();
2070 if (obj && !PythonQtSlotFunction_Check(obj)) {
2070 if (obj && !PythonQtSlotFunction_Check(obj)) {
2071 static const char* argumentList[] ={"" , "QPaintEvent*"};
2071 static const char* argumentList[] ={"" , "QPaintEvent*"};
2072 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
2072 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
2073 void* args[2] = {NULL, (void*)&arg__1};
2073 void* args[2] = {NULL, (void*)&arg__1};
2074 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
2074 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
2075 if (result) { Py_DECREF(result); }
2075 if (result) { Py_DECREF(result); }
2076 Py_DECREF(obj);
2076 Py_DECREF(obj);
2077 return;
2077 return;
2078 }
2078 }
2079 }
2079 }
2080 QHexEdit::paintEvent(arg__1);
2080 QHexEdit::paintEvent(arg__1);
2081 }
2081 }
2082 QPaintDevice* PythonQtShell_QHexEdit::redirected(QPoint* offset) const
2082 QPaintDevice* PythonQtShell_QHexEdit::redirected(QPoint* offset) const
2083 {
2083 {
2084 if (_wrapper) {
2084 if (_wrapper) {
2085 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "redirected");
2085 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "redirected");
2086 PyErr_Clear();
2086 PyErr_Clear();
2087 if (obj && !PythonQtSlotFunction_Check(obj)) {
2087 if (obj && !PythonQtSlotFunction_Check(obj)) {
2088 static const char* argumentList[] ={"QPaintDevice*" , "QPoint*"};
2088 static const char* argumentList[] ={"QPaintDevice*" , "QPoint*"};
2089 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
2089 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
2090 QPaintDevice* returnValue;
2090 QPaintDevice* returnValue;
2091 void* args[2] = {NULL, (void*)&offset};
2091 void* args[2] = {NULL, (void*)&offset};
2092 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
2092 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
2093 if (result) {
2093 if (result) {
2094 args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue);
2094 args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue);
2095 if (args[0]!=&returnValue) {
2095 if (args[0]!=&returnValue) {
2096 if (args[0]==NULL) {
2096 if (args[0]==NULL) {
2097 PythonQt::priv()->handleVirtualOverloadReturnError("redirected", methodInfo, result);
2097 PythonQt::priv()->handleVirtualOverloadReturnError("redirected", methodInfo, result);
2098 } else {
2098 } else {
2099 returnValue = *((QPaintDevice**)args[0]);
2099 returnValue = *((QPaintDevice**)args[0]);
2100 }
2100 }
2101 }
2101 }
2102 }
2102 }
2103 if (result) { Py_DECREF(result); }
2103 if (result) { Py_DECREF(result); }
2104 Py_DECREF(obj);
2104 Py_DECREF(obj);
2105 return returnValue;
2105 return returnValue;
2106 }
2106 }
2107 }
2107 }
2108 return QHexEdit::redirected(offset);
2108 return QHexEdit::redirected(offset);
2109 }
2109 }
2110 void PythonQtShell_QHexEdit::resizeEvent(QResizeEvent* arg__1)
2110 void PythonQtShell_QHexEdit::resizeEvent(QResizeEvent* arg__1)
2111 {
2111 {
2112 if (_wrapper) {
2112 if (_wrapper) {
2113 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "resizeEvent");
2113 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "resizeEvent");
2114 PyErr_Clear();
2114 PyErr_Clear();
2115 if (obj && !PythonQtSlotFunction_Check(obj)) {
2115 if (obj && !PythonQtSlotFunction_Check(obj)) {
2116 static const char* argumentList[] ={"" , "QResizeEvent*"};
2116 static const char* argumentList[] ={"" , "QResizeEvent*"};
2117 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
2117 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
2118 void* args[2] = {NULL, (void*)&arg__1};
2118 void* args[2] = {NULL, (void*)&arg__1};
2119 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
2119 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
2120 if (result) { Py_DECREF(result); }
2120 if (result) { Py_DECREF(result); }
2121 Py_DECREF(obj);
2121 Py_DECREF(obj);
2122 return;
2122 return;
2123 }
2123 }
2124 }
2124 }
2125 QHexEdit::resizeEvent(arg__1);
2125 QHexEdit::resizeEvent(arg__1);
2126 }
2126 }
2127 void PythonQtShell_QHexEdit::scrollContentsBy(int dx, int dy)
2127 void PythonQtShell_QHexEdit::scrollContentsBy(int dx, int dy)
2128 {
2128 {
2129 if (_wrapper) {
2129 if (_wrapper) {
2130 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "scrollContentsBy");
2130 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "scrollContentsBy");
2131 PyErr_Clear();
2131 PyErr_Clear();
2132 if (obj && !PythonQtSlotFunction_Check(obj)) {
2132 if (obj && !PythonQtSlotFunction_Check(obj)) {
2133 static const char* argumentList[] ={"" , "int" , "int"};
2133 static const char* argumentList[] ={"" , "int" , "int"};
2134 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList);
2134 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList);
2135 void* args[3] = {NULL, (void*)&dx, (void*)&dy};
2135 void* args[3] = {NULL, (void*)&dx, (void*)&dy};
2136 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
2136 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
2137 if (result) { Py_DECREF(result); }
2137 if (result) { Py_DECREF(result); }
2138 Py_DECREF(obj);
2138 Py_DECREF(obj);
2139 return;
2139 return;
2140 }
2140 }
2141 }
2141 }
2142 QHexEdit::scrollContentsBy(dx, dy);
2142 QHexEdit::scrollContentsBy(dx, dy);
2143 }
2143 }
2144 void PythonQtShell_QHexEdit::setupViewport(QWidget* viewport)
2144 void PythonQtShell_QHexEdit::setupViewport(QWidget* viewport)
2145 {
2145 {
2146 if (_wrapper) {
2146 if (_wrapper) {
2147 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "setupViewport");
2147 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "setupViewport");
2148 PyErr_Clear();
2148 PyErr_Clear();
2149 if (obj && !PythonQtSlotFunction_Check(obj)) {
2149 if (obj && !PythonQtSlotFunction_Check(obj)) {
2150 static const char* argumentList[] ={"" , "QWidget*"};
2150 static const char* argumentList[] ={"" , "QWidget*"};
2151 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
2151 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
2152 void* args[2] = {NULL, (void*)&viewport};
2152 void* args[2] = {NULL, (void*)&viewport};
2153 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
2153 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
2154 if (result) { Py_DECREF(result); }
2154 if (result) { Py_DECREF(result); }
2155 Py_DECREF(obj);
2155 Py_DECREF(obj);
2156 return;
2156 return;
2157 }
2157 }
2158 }
2158 }
2159 QHexEdit::setupViewport(viewport);
2159 QHexEdit::setupViewport(viewport);
2160 }
2160 }
2161 QPainter* PythonQtShell_QHexEdit::sharedPainter() const
2161 QPainter* PythonQtShell_QHexEdit::sharedPainter() const
2162 {
2162 {
2163 if (_wrapper) {
2163 if (_wrapper) {
2164 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "sharedPainter");
2164 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "sharedPainter");
2165 PyErr_Clear();
2165 PyErr_Clear();
2166 if (obj && !PythonQtSlotFunction_Check(obj)) {
2166 if (obj && !PythonQtSlotFunction_Check(obj)) {
2167 static const char* argumentList[] ={"QPainter*"};
2167 static const char* argumentList[] ={"QPainter*"};
2168 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList);
2168 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList);
2169 QPainter* returnValue;
2169 QPainter* returnValue;
2170 void* args[1] = {NULL};
2170 void* args[1] = {NULL};
2171 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
2171 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
2172 if (result) {
2172 if (result) {
2173 args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue);
2173 args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue);
2174 if (args[0]!=&returnValue) {
2174 if (args[0]!=&returnValue) {
2175 if (args[0]==NULL) {
2175 if (args[0]==NULL) {
2176 PythonQt::priv()->handleVirtualOverloadReturnError("sharedPainter", methodInfo, result);
2176 PythonQt::priv()->handleVirtualOverloadReturnError("sharedPainter", methodInfo, result);
2177 } else {
2177 } else {
2178 returnValue = *((QPainter**)args[0]);
2178 returnValue = *((QPainter**)args[0]);
2179 }
2179 }
2180 }
2180 }
2181 }
2181 }
2182 if (result) { Py_DECREF(result); }
2182 if (result) { Py_DECREF(result); }
2183 Py_DECREF(obj);
2183 Py_DECREF(obj);
2184 return returnValue;
2184 return returnValue;
2185 }
2185 }
2186 }
2186 }
2187 return QHexEdit::sharedPainter();
2187 return QHexEdit::sharedPainter();
2188 }
2188 }
2189 void PythonQtShell_QHexEdit::showEvent(QShowEvent* arg__1)
2189 void PythonQtShell_QHexEdit::showEvent(QShowEvent* arg__1)
2190 {
2190 {
2191 if (_wrapper) {
2191 if (_wrapper) {
2192 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "showEvent");
2192 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "showEvent");
2193 PyErr_Clear();
2193 PyErr_Clear();
2194 if (obj && !PythonQtSlotFunction_Check(obj)) {
2194 if (obj && !PythonQtSlotFunction_Check(obj)) {
2195 static const char* argumentList[] ={"" , "QShowEvent*"};
2195 static const char* argumentList[] ={"" , "QShowEvent*"};
2196 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
2196 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
2197 void* args[2] = {NULL, (void*)&arg__1};
2197 void* args[2] = {NULL, (void*)&arg__1};
2198 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
2198 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
2199 if (result) { Py_DECREF(result); }
2199 if (result) { Py_DECREF(result); }
2200 Py_DECREF(obj);
2200 Py_DECREF(obj);
2201 return;
2201 return;
2202 }
2202 }
2203 }
2203 }
2204 QHexEdit::showEvent(arg__1);
2204 QHexEdit::showEvent(arg__1);
2205 }
2205 }
2206 void PythonQtShell_QHexEdit::tabletEvent(QTabletEvent* arg__1)
2206 void PythonQtShell_QHexEdit::tabletEvent(QTabletEvent* arg__1)
2207 {
2207 {
2208 if (_wrapper) {
2208 if (_wrapper) {
2209 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "tabletEvent");
2209 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "tabletEvent");
2210 PyErr_Clear();
2210 PyErr_Clear();
2211 if (obj && !PythonQtSlotFunction_Check(obj)) {
2211 if (obj && !PythonQtSlotFunction_Check(obj)) {
2212 static const char* argumentList[] ={"" , "QTabletEvent*"};
2212 static const char* argumentList[] ={"" , "QTabletEvent*"};
2213 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
2213 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
2214 void* args[2] = {NULL, (void*)&arg__1};
2214 void* args[2] = {NULL, (void*)&arg__1};
2215 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
2215 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
2216 if (result) { Py_DECREF(result); }
2216 if (result) { Py_DECREF(result); }
2217 Py_DECREF(obj);
2217 Py_DECREF(obj);
2218 return;
2218 return;
2219 }
2219 }
2220 }
2220 }
2221 QHexEdit::tabletEvent(arg__1);
2221 QHexEdit::tabletEvent(arg__1);
2222 }
2222 }
2223 void PythonQtShell_QHexEdit::timerEvent(QTimerEvent* arg__1)
2223 void PythonQtShell_QHexEdit::timerEvent(QTimerEvent* arg__1)
2224 {
2224 {
2225 if (_wrapper) {
2225 if (_wrapper) {
2226 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "timerEvent");
2226 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "timerEvent");
2227 PyErr_Clear();
2227 PyErr_Clear();
2228 if (obj && !PythonQtSlotFunction_Check(obj)) {
2228 if (obj && !PythonQtSlotFunction_Check(obj)) {
2229 static const char* argumentList[] ={"" , "QTimerEvent*"};
2229 static const char* argumentList[] ={"" , "QTimerEvent*"};
2230 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
2230 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
2231 void* args[2] = {NULL, (void*)&arg__1};
2231 void* args[2] = {NULL, (void*)&arg__1};
2232 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
2232 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
2233 if (result) { Py_DECREF(result); }
2233 if (result) { Py_DECREF(result); }
2234 Py_DECREF(obj);
2234 Py_DECREF(obj);
2235 return;
2235 return;
2236 }
2236 }
2237 }
2237 }
2238 QHexEdit::timerEvent(arg__1);
2238 QHexEdit::timerEvent(arg__1);
2239 }
2239 }
2240 bool PythonQtShell_QHexEdit::viewportEvent(QEvent* arg__1)
2240 bool PythonQtShell_QHexEdit::viewportEvent(QEvent* arg__1)
2241 {
2241 {
2242 if (_wrapper) {
2242 if (_wrapper) {
2243 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "viewportEvent");
2243 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "viewportEvent");
2244 PyErr_Clear();
2244 PyErr_Clear();
2245 if (obj && !PythonQtSlotFunction_Check(obj)) {
2245 if (obj && !PythonQtSlotFunction_Check(obj)) {
2246 static const char* argumentList[] ={"bool" , "QEvent*"};
2246 static const char* argumentList[] ={"bool" , "QEvent*"};
2247 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
2247 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
2248 bool returnValue;
2248 bool returnValue;
2249 void* args[2] = {NULL, (void*)&arg__1};
2249 void* args[2] = {NULL, (void*)&arg__1};
2250 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
2250 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
2251 if (result) {
2251 if (result) {
2252 args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue);
2252 args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue);
2253 if (args[0]!=&returnValue) {
2253 if (args[0]!=&returnValue) {
2254 if (args[0]==NULL) {
2254 if (args[0]==NULL) {
2255 PythonQt::priv()->handleVirtualOverloadReturnError("viewportEvent", methodInfo, result);
2255 PythonQt::priv()->handleVirtualOverloadReturnError("viewportEvent", methodInfo, result);
2256 } else {
2256 } else {
2257 returnValue = *((bool*)args[0]);
2257 returnValue = *((bool*)args[0]);
2258 }
2258 }
2259 }
2259 }
2260 }
2260 }
2261 if (result) { Py_DECREF(result); }
2261 if (result) { Py_DECREF(result); }
2262 Py_DECREF(obj);
2262 Py_DECREF(obj);
2263 return returnValue;
2263 return returnValue;
2264 }
2264 }
2265 }
2265 }
2266 return QHexEdit::viewportEvent(arg__1);
2266 return QHexEdit::viewportEvent(arg__1);
2267 }
2267 }
2268 QSize PythonQtShell_QHexEdit::viewportSizeHint() const
2268 QSize PythonQtShell_QHexEdit::viewportSizeHint() const
2269 {
2269 {
2270 if (_wrapper) {
2270 if (_wrapper) {
2271 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "viewportSizeHint");
2271 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "viewportSizeHint");
2272 PyErr_Clear();
2272 PyErr_Clear();
2273 if (obj && !PythonQtSlotFunction_Check(obj)) {
2273 if (obj && !PythonQtSlotFunction_Check(obj)) {
2274 static const char* argumentList[] ={"QSize"};
2274 static const char* argumentList[] ={"QSize"};
2275 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList);
2275 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList);
2276 QSize returnValue;
2276 QSize returnValue;
2277 void* args[1] = {NULL};
2277 void* args[1] = {NULL};
2278 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
2278 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
2279 if (result) {
2279 if (result) {
2280 args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue);
2280 args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue);
2281 if (args[0]!=&returnValue) {
2281 if (args[0]!=&returnValue) {
2282 if (args[0]==NULL) {
2282 if (args[0]==NULL) {
2283 PythonQt::priv()->handleVirtualOverloadReturnError("viewportSizeHint", methodInfo, result);
2283 PythonQt::priv()->handleVirtualOverloadReturnError("viewportSizeHint", methodInfo, result);
2284 } else {
2284 } else {
2285 returnValue = *((QSize*)args[0]);
2285 returnValue = *((QSize*)args[0]);
2286 }
2286 }
2287 }
2287 }
2288 }
2288 }
2289 if (result) { Py_DECREF(result); }
2289 if (result) { Py_DECREF(result); }
2290 Py_DECREF(obj);
2290 Py_DECREF(obj);
2291 return returnValue;
2291 return returnValue;
2292 }
2292 }
2293 }
2293 }
2294 return QHexEdit::viewportSizeHint();
2294 return QHexEdit::viewportSizeHint();
2295 }
2295 }
2296 void PythonQtShell_QHexEdit::wheelEvent(QWheelEvent* arg__1)
2296 void PythonQtShell_QHexEdit::wheelEvent(QWheelEvent* arg__1)
2297 {
2297 {
2298 if (_wrapper) {
2298 if (_wrapper) {
2299 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "wheelEvent");
2299 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "wheelEvent");
2300 PyErr_Clear();
2300 PyErr_Clear();
2301 if (obj && !PythonQtSlotFunction_Check(obj)) {
2301 if (obj && !PythonQtSlotFunction_Check(obj)) {
2302 static const char* argumentList[] ={"" , "QWheelEvent*"};
2302 static const char* argumentList[] ={"" , "QWheelEvent*"};
2303 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
2303 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
2304 void* args[2] = {NULL, (void*)&arg__1};
2304 void* args[2] = {NULL, (void*)&arg__1};
2305 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
2305 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
2306 if (result) { Py_DECREF(result); }
2306 if (result) { Py_DECREF(result); }
2307 Py_DECREF(obj);
2307 Py_DECREF(obj);
2308 return;
2308 return;
2309 }
2309 }
2310 }
2310 }
2311 QHexEdit::wheelEvent(arg__1);
2311 QHexEdit::wheelEvent(arg__1);
2312 }
2312 }
2313 QHexEdit* PythonQtWrapper_QHexEdit::new_QHexEdit(QWidget* parent)
2313 QHexEdit* PythonQtWrapper_QHexEdit::new_QHexEdit(QWidget* parent)
2314 {
2314 {
2315 return new PythonQtShell_QHexEdit(parent); }
2315 return new PythonQtShell_QHexEdit(parent); }
2316
2316
2317 QColor PythonQtWrapper_QHexEdit::addressAreaColor(QHexEdit* theWrappedObject)
2317 QColor PythonQtWrapper_QHexEdit::addressAreaColor(QHexEdit* theWrappedObject)
2318 {
2318 {
2319 return ( theWrappedObject->addressAreaColor());
2319 return ( theWrappedObject->addressAreaColor());
2320 }
2320 }
2321
2321
2322 int PythonQtWrapper_QHexEdit::addressOffset(QHexEdit* theWrappedObject)
2322 int PythonQtWrapper_QHexEdit::addressOffset(QHexEdit* theWrappedObject)
2323 {
2323 {
2324 return ( theWrappedObject->addressOffset());
2324 return ( theWrappedObject->addressOffset());
2325 }
2325 }
2326
2326
2327 int PythonQtWrapper_QHexEdit::cursorPosition(QHexEdit* theWrappedObject)
2327 int PythonQtWrapper_QHexEdit::cursorPosition(QHexEdit* theWrappedObject)
2328 {
2328 {
2329 return ( theWrappedObject->cursorPosition());
2329 return ( theWrappedObject->cursorPosition());
2330 }
2330 }
2331
2331
2332 QByteArray PythonQtWrapper_QHexEdit::data(QHexEdit* theWrappedObject)
2332 QByteArray PythonQtWrapper_QHexEdit::data(QHexEdit* theWrappedObject)
2333 {
2333 {
2334 return ( theWrappedObject->data());
2334 return ( theWrappedObject->data());
2335 }
2335 }
2336
2336
2337 const QFont* PythonQtWrapper_QHexEdit::font(QHexEdit* theWrappedObject) const
2337 const QFont* PythonQtWrapper_QHexEdit::font(QHexEdit* theWrappedObject) const
2338 {
2338 {
2339 return &( theWrappedObject->font());
2339 return &( theWrappedObject->font());
2340 }
2340 }
2341
2341
2342 int PythonQtWrapper_QHexEdit::getSelectionBegin(QHexEdit* theWrappedObject)
2342 int PythonQtWrapper_QHexEdit::getSelectionBegin(QHexEdit* theWrappedObject)
2343 {
2343 {
2344 return ( theWrappedObject->getSelectionBegin());
2344 return ( theWrappedObject->getSelectionBegin());
2345 }
2345 }
2346
2346
2347 int PythonQtWrapper_QHexEdit::getSelectionEnd(QHexEdit* theWrappedObject)
2347 int PythonQtWrapper_QHexEdit::getSelectionEnd(QHexEdit* theWrappedObject)
2348 {
2348 {
2349 return ( theWrappedObject->getSelectionEnd());
2349 return ( theWrappedObject->getSelectionEnd());
2350 }
2350 }
2351
2351
2352 QColor PythonQtWrapper_QHexEdit::highlightingColor(QHexEdit* theWrappedObject)
2352 QColor PythonQtWrapper_QHexEdit::highlightingColor(QHexEdit* theWrappedObject)
2353 {
2353 {
2354 return ( theWrappedObject->highlightingColor());
2354 return ( theWrappedObject->highlightingColor());
2355 }
2355 }
2356
2356
2357 int PythonQtWrapper_QHexEdit::indexOf(QHexEdit* theWrappedObject, const QByteArray& ba, int from) const
2357 int PythonQtWrapper_QHexEdit::indexOf(QHexEdit* theWrappedObject, const QByteArray& ba, int from) const
2358 {
2358 {
2359 return ( theWrappedObject->indexOf(ba, from));
2359 return ( theWrappedObject->indexOf(ba, from));
2360 }
2360 }
2361
2361
2362 void PythonQtWrapper_QHexEdit::insert(QHexEdit* theWrappedObject, int i, char ch)
2362 void PythonQtWrapper_QHexEdit::insert(QHexEdit* theWrappedObject, int i, char ch)
2363 {
2363 {
2364 ( theWrappedObject->insert(i, ch));
2364 ( theWrappedObject->insert(i, ch));
2365 }
2365 }
2366
2366
2367 void PythonQtWrapper_QHexEdit::insert(QHexEdit* theWrappedObject, int i, const QByteArray& ba)
2367 void PythonQtWrapper_QHexEdit::insert(QHexEdit* theWrappedObject, int i, const QByteArray& ba)
2368 {
2368 {
2369 ( theWrappedObject->insert(i, ba));
2369 ( theWrappedObject->insert(i, ba));
2370 }
2370 }
2371
2371
2372 bool PythonQtWrapper_QHexEdit::isReadOnly(QHexEdit* theWrappedObject)
2372 bool PythonQtWrapper_QHexEdit::isReadOnly(QHexEdit* theWrappedObject)
2373 {
2373 {
2374 return ( theWrappedObject->isReadOnly());
2374 return ( theWrappedObject->isReadOnly());
2375 }
2375 }
2376
2376
2377 int PythonQtWrapper_QHexEdit::lastIndexOf(QHexEdit* theWrappedObject, const QByteArray& ba, int from) const
2377 int PythonQtWrapper_QHexEdit::lastIndexOf(QHexEdit* theWrappedObject, const QByteArray& ba, int from) const
2378 {
2378 {
2379 return ( theWrappedObject->lastIndexOf(ba, from));
2379 return ( theWrappedObject->lastIndexOf(ba, from));
2380 }
2380 }
2381
2381
2382 bool PythonQtWrapper_QHexEdit::overwriteMode(QHexEdit* theWrappedObject)
2382 bool PythonQtWrapper_QHexEdit::overwriteMode(QHexEdit* theWrappedObject)
2383 {
2383 {
2384 return ( theWrappedObject->overwriteMode());
2384 return ( theWrappedObject->overwriteMode());
2385 }
2385 }
2386
2386
2387 void PythonQtWrapper_QHexEdit::remove(QHexEdit* theWrappedObject, int pos, int len)
2387 void PythonQtWrapper_QHexEdit::remove(QHexEdit* theWrappedObject, int pos, int len)
2388 {
2388 {
2389 ( theWrappedObject->remove(pos, len));
2389 ( theWrappedObject->remove(pos, len));
2390 }
2390 }
2391
2391
2392 void PythonQtWrapper_QHexEdit::replace(QHexEdit* theWrappedObject, int pos, int len, const QByteArray& after)
2392 void PythonQtWrapper_QHexEdit::replace(QHexEdit* theWrappedObject, int pos, int len, const QByteArray& after)
2393 {
2393 {
2394 ( theWrappedObject->replace(pos, len, after));
2394 ( theWrappedObject->replace(pos, len, after));
2395 }
2395 }
2396
2396
2397 void PythonQtWrapper_QHexEdit::resetSelection(QHexEdit* theWrappedObject)
2397 void PythonQtWrapper_QHexEdit::resetSelection(QHexEdit* theWrappedObject)
2398 {
2398 {
2399 ( theWrappedObject->resetSelection());
2399 ( theWrappedObject->resetSelection());
2400 }
2400 }
2401
2401
2402 void PythonQtWrapper_QHexEdit::resetSelection(QHexEdit* theWrappedObject, int pos)
2402 void PythonQtWrapper_QHexEdit::resetSelection(QHexEdit* theWrappedObject, int pos)
2403 {
2403 {
2404 ( theWrappedObject->resetSelection(pos));
2404 ( theWrappedObject->resetSelection(pos));
2405 }
2405 }
2406
2406
2407 QColor PythonQtWrapper_QHexEdit::selectionColor(QHexEdit* theWrappedObject)
2407 QColor PythonQtWrapper_QHexEdit::selectionColor(QHexEdit* theWrappedObject)
2408 {
2408 {
2409 return ( theWrappedObject->selectionColor());
2409 return ( theWrappedObject->selectionColor());
2410 }
2410 }
2411
2411
2412 QString PythonQtWrapper_QHexEdit::selectionToReadableString(QHexEdit* theWrappedObject)
2412 QString PythonQtWrapper_QHexEdit::selectionToReadableString(QHexEdit* theWrappedObject)
2413 {
2413 {
2414 return ( theWrappedObject->selectionToReadableString());
2414 return ( theWrappedObject->selectionToReadableString());
2415 }
2415 }
2416
2416
2417 void PythonQtWrapper_QHexEdit::setAddressAreaColor(QHexEdit* theWrappedObject, const QColor& color)
2417 void PythonQtWrapper_QHexEdit::setAddressAreaColor(QHexEdit* theWrappedObject, const QColor& color)
2418 {
2418 {
2419 ( theWrappedObject->setAddressAreaColor(color));
2419 ( theWrappedObject->setAddressAreaColor(color));
2420 }
2420 }
2421
2421
2422 void PythonQtWrapper_QHexEdit::setAddressOffset(QHexEdit* theWrappedObject, int offset)
2422 void PythonQtWrapper_QHexEdit::setAddressOffset(QHexEdit* theWrappedObject, int offset)
2423 {
2423 {
2424 ( theWrappedObject->setAddressOffset(offset));
2424 ( theWrappedObject->setAddressOffset(offset));
2425 }
2425 }
2426
2426
2427 void PythonQtWrapper_QHexEdit::setCursorPosition(QHexEdit* theWrappedObject, int cusorPos)
2427 void PythonQtWrapper_QHexEdit::setCursorPosition(QHexEdit* theWrappedObject, int cusorPos)
2428 {
2428 {
2429 ( theWrappedObject->setCursorPosition(cusorPos));
2429 ( theWrappedObject->setCursorPosition(cusorPos));
2430 }
2430 }
2431
2431
2432 void PythonQtWrapper_QHexEdit::setData(QHexEdit* theWrappedObject, const QByteArray& data)
2432 void PythonQtWrapper_QHexEdit::setData(QHexEdit* theWrappedObject, const QByteArray& data)
2433 {
2433 {
2434 ( theWrappedObject->setData(data));
2434 ( theWrappedObject->setData(data));
2435 }
2435 }
2436
2436
2437 void PythonQtWrapper_QHexEdit::setFont(QHexEdit* theWrappedObject, const QFont& arg__1)
2437 void PythonQtWrapper_QHexEdit::setFont(QHexEdit* theWrappedObject, const QFont& arg__1)
2438 {
2438 {
2439 ( theWrappedObject->setFont(arg__1));
2439 ( theWrappedObject->setFont(arg__1));
2440 }
2440 }
2441
2441
2442 void PythonQtWrapper_QHexEdit::setHighlightingColor(QHexEdit* theWrappedObject, const QColor& color)
2442 void PythonQtWrapper_QHexEdit::setHighlightingColor(QHexEdit* theWrappedObject, const QColor& color)
2443 {
2443 {
2444 ( theWrappedObject->setHighlightingColor(color));
2444 ( theWrappedObject->setHighlightingColor(color));
2445 }
2445 }
2446
2446
2447 void PythonQtWrapper_QHexEdit::setOverwriteMode(QHexEdit* theWrappedObject, bool arg__1)
2447 void PythonQtWrapper_QHexEdit::setOverwriteMode(QHexEdit* theWrappedObject, bool arg__1)
2448 {
2448 {
2449 ( theWrappedObject->setOverwriteMode(arg__1));
2449 ( theWrappedObject->setOverwriteMode(arg__1));
2450 }
2450 }
2451
2451
2452 void PythonQtWrapper_QHexEdit::setReadOnly(QHexEdit* theWrappedObject, bool arg__1)
2452 void PythonQtWrapper_QHexEdit::setReadOnly(QHexEdit* theWrappedObject, bool arg__1)
2453 {
2453 {
2454 ( theWrappedObject->setReadOnly(arg__1));
2454 ( theWrappedObject->setReadOnly(arg__1));
2455 }
2455 }
2456
2456
2457 void PythonQtWrapper_QHexEdit::setSelection(QHexEdit* theWrappedObject, int pos)
2457 void PythonQtWrapper_QHexEdit::setSelection(QHexEdit* theWrappedObject, int pos)
2458 {
2458 {
2459 ( theWrappedObject->setSelection(pos));
2459 ( theWrappedObject->setSelection(pos));
2460 }
2460 }
2461
2461
2462 void PythonQtWrapper_QHexEdit::setSelectionColor(QHexEdit* theWrappedObject, const QColor& color)
2462 void PythonQtWrapper_QHexEdit::setSelectionColor(QHexEdit* theWrappedObject, const QColor& color)
2463 {
2463 {
2464 ( theWrappedObject->setSelectionColor(color));
2464 ( theWrappedObject->setSelectionColor(color));
2465 }
2465 }
2466
2466
2467 QString PythonQtWrapper_QHexEdit::toReadableString(QHexEdit* theWrappedObject)
2467 QString PythonQtWrapper_QHexEdit::toReadableString(QHexEdit* theWrappedObject)
2468 {
2468 {
2469 return ( theWrappedObject->toReadableString());
2469 return ( theWrappedObject->toReadableString());
2470 }
2470 }
2471
2471
2472
2472
2473
2473
2474 PythonQtShell_QHexSpinBox::~PythonQtShell_QHexSpinBox() {
2474 PythonQtShell_QHexSpinBox::~PythonQtShell_QHexSpinBox() {
2475 PythonQtPrivate* priv = PythonQt::priv();
2475 PythonQtPrivate* priv = PythonQt::priv();
2476 if (priv) { priv->shellClassDeleted(this); }
2476 if (priv) { priv->shellClassDeleted(this); }
2477 }
2477 }
2478 void PythonQtShell_QHexSpinBox::actionEvent(QActionEvent* arg__1)
2478 void PythonQtShell_QHexSpinBox::actionEvent(QActionEvent* arg__1)
2479 {
2479 {
2480 if (_wrapper) {
2480 if (_wrapper) {
2481 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "actionEvent");
2481 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "actionEvent");
2482 PyErr_Clear();
2482 PyErr_Clear();
2483 if (obj && !PythonQtSlotFunction_Check(obj)) {
2483 if (obj && !PythonQtSlotFunction_Check(obj)) {
2484 static const char* argumentList[] ={"" , "QActionEvent*"};
2484 static const char* argumentList[] ={"" , "QActionEvent*"};
2485 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
2485 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
2486 void* args[2] = {NULL, (void*)&arg__1};
2486 void* args[2] = {NULL, (void*)&arg__1};
2487 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
2487 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
2488 if (result) { Py_DECREF(result); }
2488 if (result) { Py_DECREF(result); }
2489 Py_DECREF(obj);
2489 Py_DECREF(obj);
2490 return;
2490 return;
2491 }
2491 }
2492 }
2492 }
2493 QHexSpinBox::actionEvent(arg__1);
2493 QHexSpinBox::actionEvent(arg__1);
2494 }
2494 }
2495 void PythonQtShell_QHexSpinBox::changeEvent(QEvent* event)
2495 void PythonQtShell_QHexSpinBox::changeEvent(QEvent* event)
2496 {
2496 {
2497 if (_wrapper) {
2497 if (_wrapper) {
2498 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "changeEvent");
2498 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "changeEvent");
2499 PyErr_Clear();
2499 PyErr_Clear();
2500 if (obj && !PythonQtSlotFunction_Check(obj)) {
2500 if (obj && !PythonQtSlotFunction_Check(obj)) {
2501 static const char* argumentList[] ={"" , "QEvent*"};
2501 static const char* argumentList[] ={"" , "QEvent*"};
2502 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
2502 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
2503 void* args[2] = {NULL, (void*)&event};
2503 void* args[2] = {NULL, (void*)&event};
2504 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
2504 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
2505 if (result) { Py_DECREF(result); }
2505 if (result) { Py_DECREF(result); }
2506 Py_DECREF(obj);
2506 Py_DECREF(obj);
2507 return;
2507 return;
2508 }
2508 }
2509 }
2509 }
2510 QHexSpinBox::changeEvent(event);
2510 QHexSpinBox::changeEvent(event);
2511 }
2511 }
2512 void PythonQtShell_QHexSpinBox::childEvent(QChildEvent* arg__1)
2512 void PythonQtShell_QHexSpinBox::childEvent(QChildEvent* arg__1)
2513 {
2513 {
2514 if (_wrapper) {
2514 if (_wrapper) {
2515 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "childEvent");
2515 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "childEvent");
2516 PyErr_Clear();
2516 PyErr_Clear();
2517 if (obj && !PythonQtSlotFunction_Check(obj)) {
2517 if (obj && !PythonQtSlotFunction_Check(obj)) {
2518 static const char* argumentList[] ={"" , "QChildEvent*"};
2518 static const char* argumentList[] ={"" , "QChildEvent*"};
2519 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
2519 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
2520 void* args[2] = {NULL, (void*)&arg__1};
2520 void* args[2] = {NULL, (void*)&arg__1};
2521 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
2521 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
2522 if (result) { Py_DECREF(result); }
2522 if (result) { Py_DECREF(result); }
2523 Py_DECREF(obj);
2523 Py_DECREF(obj);
2524 return;
2524 return;
2525 }
2525 }
2526 }
2526 }
2527 QHexSpinBox::childEvent(arg__1);
2527 QHexSpinBox::childEvent(arg__1);
2528 }
2528 }
2529 void PythonQtShell_QHexSpinBox::clear()
2529 void PythonQtShell_QHexSpinBox::clear()
2530 {
2530 {
2531 if (_wrapper) {
2531 if (_wrapper) {
2532 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "clear");
2532 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "clear");
2533 PyErr_Clear();
2533 PyErr_Clear();
2534 if (obj && !PythonQtSlotFunction_Check(obj)) {
2534 if (obj && !PythonQtSlotFunction_Check(obj)) {
2535 static const char* argumentList[] ={""};
2535 static const char* argumentList[] ={""};
2536 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList);
2536 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList);
2537 void* args[1] = {NULL};
2537 void* args[1] = {NULL};
2538 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
2538 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
2539 if (result) { Py_DECREF(result); }
2539 if (result) { Py_DECREF(result); }
2540 Py_DECREF(obj);
2540 Py_DECREF(obj);
2541 return;
2541 return;
2542 }
2542 }
2543 }
2543 }
2544 QHexSpinBox::clear();
2544 QHexSpinBox::clear();
2545 }
2545 }
2546 void PythonQtShell_QHexSpinBox::closeEvent(QCloseEvent* event)
2546 void PythonQtShell_QHexSpinBox::closeEvent(QCloseEvent* event)
2547 {
2547 {
2548 if (_wrapper) {
2548 if (_wrapper) {
2549 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "closeEvent");
2549 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "closeEvent");
2550 PyErr_Clear();
2550 PyErr_Clear();
2551 if (obj && !PythonQtSlotFunction_Check(obj)) {
2551 if (obj && !PythonQtSlotFunction_Check(obj)) {
2552 static const char* argumentList[] ={"" , "QCloseEvent*"};
2552 static const char* argumentList[] ={"" , "QCloseEvent*"};
2553 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
2553 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
2554 void* args[2] = {NULL, (void*)&event};
2554 void* args[2] = {NULL, (void*)&event};
2555 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
2555 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
2556 if (result) { Py_DECREF(result); }
2556 if (result) { Py_DECREF(result); }
2557 Py_DECREF(obj);
2557 Py_DECREF(obj);
2558 return;
2558 return;
2559 }
2559 }
2560 }
2560 }
2561 QHexSpinBox::closeEvent(event);
2561 QHexSpinBox::closeEvent(event);
2562 }
2562 }
2563 void PythonQtShell_QHexSpinBox::contextMenuEvent(QContextMenuEvent* event)
2563 void PythonQtShell_QHexSpinBox::contextMenuEvent(QContextMenuEvent* event)
2564 {
2564 {
2565 if (_wrapper) {
2565 if (_wrapper) {
2566 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "contextMenuEvent");
2566 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "contextMenuEvent");
2567 PyErr_Clear();
2567 PyErr_Clear();
2568 if (obj && !PythonQtSlotFunction_Check(obj)) {
2568 if (obj && !PythonQtSlotFunction_Check(obj)) {
2569 static const char* argumentList[] ={"" , "QContextMenuEvent*"};
2569 static const char* argumentList[] ={"" , "QContextMenuEvent*"};
2570 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
2570 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
2571 void* args[2] = {NULL, (void*)&event};
2571 void* args[2] = {NULL, (void*)&event};
2572 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
2572 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
2573 if (result) { Py_DECREF(result); }
2573 if (result) { Py_DECREF(result); }
2574 Py_DECREF(obj);
2574 Py_DECREF(obj);
2575 return;
2575 return;
2576 }
2576 }
2577 }
2577 }
2578 QHexSpinBox::contextMenuEvent(event);
2578 QHexSpinBox::contextMenuEvent(event);
2579 }
2579 }
2580 void PythonQtShell_QHexSpinBox::customEvent(QEvent* arg__1)
2580 void PythonQtShell_QHexSpinBox::customEvent(QEvent* arg__1)
2581 {
2581 {
2582 if (_wrapper) {
2582 if (_wrapper) {
2583 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "customEvent");
2583 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "customEvent");
2584 PyErr_Clear();
2584 PyErr_Clear();
2585 if (obj && !PythonQtSlotFunction_Check(obj)) {
2585 if (obj && !PythonQtSlotFunction_Check(obj)) {
2586 static const char* argumentList[] ={"" , "QEvent*"};
2586 static const char* argumentList[] ={"" , "QEvent*"};
2587 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
2587 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
2588 void* args[2] = {NULL, (void*)&arg__1};
2588 void* args[2] = {NULL, (void*)&arg__1};
2589 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
2589 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
2590 if (result) { Py_DECREF(result); }
2590 if (result) { Py_DECREF(result); }
2591 Py_DECREF(obj);
2591 Py_DECREF(obj);
2592 return;
2592 return;
2593 }
2593 }
2594 }
2594 }
2595 QHexSpinBox::customEvent(arg__1);
2595 QHexSpinBox::customEvent(arg__1);
2596 }
2596 }
2597 int PythonQtShell_QHexSpinBox::devType() const
2597 int PythonQtShell_QHexSpinBox::devType() const
2598 {
2598 {
2599 if (_wrapper) {
2599 if (_wrapper) {
2600 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "devType");
2600 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "devType");
2601 PyErr_Clear();
2601 PyErr_Clear();
2602 if (obj && !PythonQtSlotFunction_Check(obj)) {
2602 if (obj && !PythonQtSlotFunction_Check(obj)) {
2603 static const char* argumentList[] ={"int"};
2603 static const char* argumentList[] ={"int"};
2604 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList);
2604 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList);
2605 int returnValue;
2605 int returnValue;
2606 void* args[1] = {NULL};
2606 void* args[1] = {NULL};
2607 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
2607 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
2608 if (result) {
2608 if (result) {
2609 args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue);
2609 args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue);
2610 if (args[0]!=&returnValue) {
2610 if (args[0]!=&returnValue) {
2611 if (args[0]==NULL) {
2611 if (args[0]==NULL) {
2612 PythonQt::priv()->handleVirtualOverloadReturnError("devType", methodInfo, result);
2612 PythonQt::priv()->handleVirtualOverloadReturnError("devType", methodInfo, result);
2613 } else {
2613 } else {
2614 returnValue = *((int*)args[0]);
2614 returnValue = *((int*)args[0]);
2615 }
2615 }
2616 }
2616 }
2617 }
2617 }
2618 if (result) { Py_DECREF(result); }
2618 if (result) { Py_DECREF(result); }
2619 Py_DECREF(obj);
2619 Py_DECREF(obj);
2620 return returnValue;
2620 return returnValue;
2621 }
2621 }
2622 }
2622 }
2623 return QHexSpinBox::devType();
2623 return QHexSpinBox::devType();
2624 }
2624 }
2625 void PythonQtShell_QHexSpinBox::dragEnterEvent(QDragEnterEvent* arg__1)
2625 void PythonQtShell_QHexSpinBox::dragEnterEvent(QDragEnterEvent* arg__1)
2626 {
2626 {
2627 if (_wrapper) {
2627 if (_wrapper) {
2628 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dragEnterEvent");
2628 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dragEnterEvent");
2629 PyErr_Clear();
2629 PyErr_Clear();
2630 if (obj && !PythonQtSlotFunction_Check(obj)) {
2630 if (obj && !PythonQtSlotFunction_Check(obj)) {
2631 static const char* argumentList[] ={"" , "QDragEnterEvent*"};
2631 static const char* argumentList[] ={"" , "QDragEnterEvent*"};
2632 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
2632 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
2633 void* args[2] = {NULL, (void*)&arg__1};
2633 void* args[2] = {NULL, (void*)&arg__1};
2634 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
2634 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
2635 if (result) { Py_DECREF(result); }
2635 if (result) { Py_DECREF(result); }
2636 Py_DECREF(obj);
2636 Py_DECREF(obj);
2637 return;
2637 return;
2638 }
2638 }
2639 }
2639 }
2640 QHexSpinBox::dragEnterEvent(arg__1);
2640 QHexSpinBox::dragEnterEvent(arg__1);
2641 }
2641 }
2642 void PythonQtShell_QHexSpinBox::dragLeaveEvent(QDragLeaveEvent* arg__1)
2642 void PythonQtShell_QHexSpinBox::dragLeaveEvent(QDragLeaveEvent* arg__1)
2643 {
2643 {
2644 if (_wrapper) {
2644 if (_wrapper) {
2645 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dragLeaveEvent");
2645 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dragLeaveEvent");
2646 PyErr_Clear();
2646 PyErr_Clear();
2647 if (obj && !PythonQtSlotFunction_Check(obj)) {
2647 if (obj && !PythonQtSlotFunction_Check(obj)) {
2648 static const char* argumentList[] ={"" , "QDragLeaveEvent*"};
2648 static const char* argumentList[] ={"" , "QDragLeaveEvent*"};
2649 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
2649 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
2650 void* args[2] = {NULL, (void*)&arg__1};
2650 void* args[2] = {NULL, (void*)&arg__1};
2651 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
2651 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
2652 if (result) { Py_DECREF(result); }
2652 if (result) { Py_DECREF(result); }
2653 Py_DECREF(obj);
2653 Py_DECREF(obj);
2654 return;
2654 return;
2655 }
2655 }
2656 }
2656 }
2657 QHexSpinBox::dragLeaveEvent(arg__1);
2657 QHexSpinBox::dragLeaveEvent(arg__1);
2658 }
2658 }
2659 void PythonQtShell_QHexSpinBox::dragMoveEvent(QDragMoveEvent* arg__1)
2659 void PythonQtShell_QHexSpinBox::dragMoveEvent(QDragMoveEvent* arg__1)
2660 {
2660 {
2661 if (_wrapper) {
2661 if (_wrapper) {
2662 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dragMoveEvent");
2662 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dragMoveEvent");
2663 PyErr_Clear();
2663 PyErr_Clear();
2664 if (obj && !PythonQtSlotFunction_Check(obj)) {
2664 if (obj && !PythonQtSlotFunction_Check(obj)) {
2665 static const char* argumentList[] ={"" , "QDragMoveEvent*"};
2665 static const char* argumentList[] ={"" , "QDragMoveEvent*"};
2666 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
2666 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
2667 void* args[2] = {NULL, (void*)&arg__1};
2667 void* args[2] = {NULL, (void*)&arg__1};
2668 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
2668 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
2669 if (result) { Py_DECREF(result); }
2669 if (result) { Py_DECREF(result); }
2670 Py_DECREF(obj);
2670 Py_DECREF(obj);
2671 return;
2671 return;
2672 }
2672 }
2673 }
2673 }
2674 QHexSpinBox::dragMoveEvent(arg__1);
2674 QHexSpinBox::dragMoveEvent(arg__1);
2675 }
2675 }
2676 void PythonQtShell_QHexSpinBox::dropEvent(QDropEvent* arg__1)
2676 void PythonQtShell_QHexSpinBox::dropEvent(QDropEvent* arg__1)
2677 {
2677 {
2678 if (_wrapper) {
2678 if (_wrapper) {
2679 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dropEvent");
2679 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dropEvent");
2680 PyErr_Clear();
2680 PyErr_Clear();
2681 if (obj && !PythonQtSlotFunction_Check(obj)) {
2681 if (obj && !PythonQtSlotFunction_Check(obj)) {
2682 static const char* argumentList[] ={"" , "QDropEvent*"};
2682 static const char* argumentList[] ={"" , "QDropEvent*"};
2683 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
2683 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
2684 void* args[2] = {NULL, (void*)&arg__1};
2684 void* args[2] = {NULL, (void*)&arg__1};
2685 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
2685 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
2686 if (result) { Py_DECREF(result); }
2686 if (result) { Py_DECREF(result); }
2687 Py_DECREF(obj);
2687 Py_DECREF(obj);
2688 return;
2688 return;
2689 }
2689 }
2690 }
2690 }
2691 QHexSpinBox::dropEvent(arg__1);
2691 QHexSpinBox::dropEvent(arg__1);
2692 }
2692 }
2693 void PythonQtShell_QHexSpinBox::enterEvent(QEvent* arg__1)
2693 void PythonQtShell_QHexSpinBox::enterEvent(QEvent* arg__1)
2694 {
2694 {
2695 if (_wrapper) {
2695 if (_wrapper) {
2696 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "enterEvent");
2696 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "enterEvent");
2697 PyErr_Clear();
2697 PyErr_Clear();
2698 if (obj && !PythonQtSlotFunction_Check(obj)) {
2698 if (obj && !PythonQtSlotFunction_Check(obj)) {
2699 static const char* argumentList[] ={"" , "QEvent*"};
2699 static const char* argumentList[] ={"" , "QEvent*"};
2700 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
2700 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
2701 void* args[2] = {NULL, (void*)&arg__1};
2701 void* args[2] = {NULL, (void*)&arg__1};
2702 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
2702 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
2703 if (result) { Py_DECREF(result); }
2703 if (result) { Py_DECREF(result); }
2704 Py_DECREF(obj);
2704 Py_DECREF(obj);
2705 return;
2705 return;
2706 }
2706 }
2707 }
2707 }
2708 QHexSpinBox::enterEvent(arg__1);
2708 QHexSpinBox::enterEvent(arg__1);
2709 }
2709 }
2710 bool PythonQtShell_QHexSpinBox::event(QEvent* event)
2710 bool PythonQtShell_QHexSpinBox::event(QEvent* event)
2711 {
2711 {
2712 if (_wrapper) {
2712 if (_wrapper) {
2713 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "event");
2713 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "event");
2714 PyErr_Clear();
2714 PyErr_Clear();
2715 if (obj && !PythonQtSlotFunction_Check(obj)) {
2715 if (obj && !PythonQtSlotFunction_Check(obj)) {
2716 static const char* argumentList[] ={"bool" , "QEvent*"};
2716 static const char* argumentList[] ={"bool" , "QEvent*"};
2717 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
2717 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
2718 bool returnValue;
2718 bool returnValue;
2719 void* args[2] = {NULL, (void*)&event};
2719 void* args[2] = {NULL, (void*)&event};
2720 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
2720 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
2721 if (result) {
2721 if (result) {
2722 args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue);
2722 args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue);
2723 if (args[0]!=&returnValue) {
2723 if (args[0]!=&returnValue) {
2724 if (args[0]==NULL) {
2724 if (args[0]==NULL) {
2725 PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result);
2725 PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result);
2726 } else {
2726 } else {
2727 returnValue = *((bool*)args[0]);
2727 returnValue = *((bool*)args[0]);
2728 }
2728 }
2729 }
2729 }
2730 }
2730 }
2731 if (result) { Py_DECREF(result); }
2731 if (result) { Py_DECREF(result); }
2732 Py_DECREF(obj);
2732 Py_DECREF(obj);
2733 return returnValue;
2733 return returnValue;
2734 }
2734 }
2735 }
2735 }
2736 return QHexSpinBox::event(event);
2736 return QHexSpinBox::event(event);
2737 }
2737 }
2738 bool PythonQtShell_QHexSpinBox::eventFilter(QObject* arg__1, QEvent* arg__2)
2738 bool PythonQtShell_QHexSpinBox::eventFilter(QObject* arg__1, QEvent* arg__2)
2739 {
2739 {
2740 if (_wrapper) {
2740 if (_wrapper) {
2741 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "eventFilter");
2741 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "eventFilter");
2742 PyErr_Clear();
2742 PyErr_Clear();
2743 if (obj && !PythonQtSlotFunction_Check(obj)) {
2743 if (obj && !PythonQtSlotFunction_Check(obj)) {
2744 static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"};
2744 static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"};
2745 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList);
2745 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList);
2746 bool returnValue;
2746 bool returnValue;
2747 void* args[3] = {NULL, (void*)&arg__1, (void*)&arg__2};
2747 void* args[3] = {NULL, (void*)&arg__1, (void*)&arg__2};
2748 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
2748 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
2749 if (result) {
2749 if (result) {
2750 args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue);
2750 args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue);
2751 if (args[0]!=&returnValue) {
2751 if (args[0]!=&returnValue) {
2752 if (args[0]==NULL) {
2752 if (args[0]==NULL) {
2753 PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result);
2753 PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result);
2754 } else {
2754 } else {
2755 returnValue = *((bool*)args[0]);
2755 returnValue = *((bool*)args[0]);
2756 }
2756 }
2757 }
2757 }
2758 }
2758 }
2759 if (result) { Py_DECREF(result); }
2759 if (result) { Py_DECREF(result); }
2760 Py_DECREF(obj);
2760 Py_DECREF(obj);
2761 return returnValue;
2761 return returnValue;
2762 }
2762 }
2763 }
2763 }
2764 return QHexSpinBox::eventFilter(arg__1, arg__2);
2764 return QHexSpinBox::eventFilter(arg__1, arg__2);
2765 }
2765 }
2766 void PythonQtShell_QHexSpinBox::fixup(QString& str) const
2766 void PythonQtShell_QHexSpinBox::fixup(QString& str) const
2767 {
2767 {
2768 if (_wrapper) {
2768 if (_wrapper) {
2769 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "fixup");
2769 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "fixup");
2770 PyErr_Clear();
2770 PyErr_Clear();
2771 if (obj && !PythonQtSlotFunction_Check(obj)) {
2771 if (obj && !PythonQtSlotFunction_Check(obj)) {
2772 static const char* argumentList[] ={"" , "QString&"};
2772 static const char* argumentList[] ={"" , "QString&"};
2773 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
2773 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
2774 void* args[2] = {NULL, (void*)&str};
2774 void* args[2] = {NULL, (void*)&str};
2775 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
2775 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
2776 if (result) { Py_DECREF(result); }
2776 if (result) { Py_DECREF(result); }
2777 Py_DECREF(obj);
2777 Py_DECREF(obj);
2778 return;
2778 return;
2779 }
2779 }
2780 }
2780 }
2781 QHexSpinBox::fixup(str);
2781 QHexSpinBox::fixup(str);
2782 }
2782 }
2783 void PythonQtShell_QHexSpinBox::focusInEvent(QFocusEvent* event)
2783 void PythonQtShell_QHexSpinBox::focusInEvent(QFocusEvent* event)
2784 {
2784 {
2785 if (_wrapper) {
2785 if (_wrapper) {
2786 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "focusInEvent");
2786 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "focusInEvent");
2787 PyErr_Clear();
2787 PyErr_Clear();
2788 if (obj && !PythonQtSlotFunction_Check(obj)) {
2788 if (obj && !PythonQtSlotFunction_Check(obj)) {
2789 static const char* argumentList[] ={"" , "QFocusEvent*"};
2789 static const char* argumentList[] ={"" , "QFocusEvent*"};
2790 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
2790 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
2791 void* args[2] = {NULL, (void*)&event};
2791 void* args[2] = {NULL, (void*)&event};
2792 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
2792 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
2793 if (result) { Py_DECREF(result); }
2793 if (result) { Py_DECREF(result); }
2794 Py_DECREF(obj);
2794 Py_DECREF(obj);
2795 return;
2795 return;
2796 }
2796 }
2797 }
2797 }
2798 QHexSpinBox::focusInEvent(event);
2798 QHexSpinBox::focusInEvent(event);
2799 }
2799 }
2800 bool PythonQtShell_QHexSpinBox::focusNextPrevChild(bool next)
2800 bool PythonQtShell_QHexSpinBox::focusNextPrevChild(bool next)
2801 {
2801 {
2802 if (_wrapper) {
2802 if (_wrapper) {
2803 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "focusNextPrevChild");
2803 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "focusNextPrevChild");
2804 PyErr_Clear();
2804 PyErr_Clear();
2805 if (obj && !PythonQtSlotFunction_Check(obj)) {
2805 if (obj && !PythonQtSlotFunction_Check(obj)) {
2806 static const char* argumentList[] ={"bool" , "bool"};
2806 static const char* argumentList[] ={"bool" , "bool"};
2807 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
2807 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
2808 bool returnValue;
2808 bool returnValue;
2809 void* args[2] = {NULL, (void*)&next};
2809 void* args[2] = {NULL, (void*)&next};
2810 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
2810 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
2811 if (result) {
2811 if (result) {
2812 args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue);
2812 args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue);
2813 if (args[0]!=&returnValue) {
2813 if (args[0]!=&returnValue) {
2814 if (args[0]==NULL) {
2814 if (args[0]==NULL) {
2815 PythonQt::priv()->handleVirtualOverloadReturnError("focusNextPrevChild", methodInfo, result);
2815 PythonQt::priv()->handleVirtualOverloadReturnError("focusNextPrevChild", methodInfo, result);
2816 } else {
2816 } else {
2817 returnValue = *((bool*)args[0]);
2817 returnValue = *((bool*)args[0]);
2818 }
2818 }
2819 }
2819 }
2820 }
2820 }
2821 if (result) { Py_DECREF(result); }
2821 if (result) { Py_DECREF(result); }
2822 Py_DECREF(obj);
2822 Py_DECREF(obj);
2823 return returnValue;
2823 return returnValue;
2824 }
2824 }
2825 }
2825 }
2826 return QHexSpinBox::focusNextPrevChild(next);
2826 return QHexSpinBox::focusNextPrevChild(next);
2827 }
2827 }
2828 void PythonQtShell_QHexSpinBox::focusOutEvent(QFocusEvent* event)
2828 void PythonQtShell_QHexSpinBox::focusOutEvent(QFocusEvent* event)
2829 {
2829 {
2830 if (_wrapper) {
2830 if (_wrapper) {
2831 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "focusOutEvent");
2831 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "focusOutEvent");
2832 PyErr_Clear();
2832 PyErr_Clear();
2833 if (obj && !PythonQtSlotFunction_Check(obj)) {
2833 if (obj && !PythonQtSlotFunction_Check(obj)) {
2834 static const char* argumentList[] ={"" , "QFocusEvent*"};
2834 static const char* argumentList[] ={"" , "QFocusEvent*"};
2835 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
2835 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
2836 void* args[2] = {NULL, (void*)&event};
2836 void* args[2] = {NULL, (void*)&event};
2837 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
2837 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
2838 if (result) { Py_DECREF(result); }
2838 if (result) { Py_DECREF(result); }
2839 Py_DECREF(obj);
2839 Py_DECREF(obj);
2840 return;
2840 return;
2841 }
2841 }
2842 }
2842 }
2843 QHexSpinBox::focusOutEvent(event);
2843 QHexSpinBox::focusOutEvent(event);
2844 }
2844 }
2845 bool PythonQtShell_QHexSpinBox::hasHeightForWidth() const
2845 bool PythonQtShell_QHexSpinBox::hasHeightForWidth() const
2846 {
2846 {
2847 if (_wrapper) {
2847 if (_wrapper) {
2848 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "hasHeightForWidth");
2848 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "hasHeightForWidth");
2849 PyErr_Clear();
2849 PyErr_Clear();
2850 if (obj && !PythonQtSlotFunction_Check(obj)) {
2850 if (obj && !PythonQtSlotFunction_Check(obj)) {
2851 static const char* argumentList[] ={"bool"};
2851 static const char* argumentList[] ={"bool"};
2852 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList);
2852 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList);
2853 bool returnValue;
2853 bool returnValue;
2854 void* args[1] = {NULL};
2854 void* args[1] = {NULL};
2855 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
2855 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
2856 if (result) {
2856 if (result) {
2857 args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue);
2857 args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue);
2858 if (args[0]!=&returnValue) {
2858 if (args[0]!=&returnValue) {
2859 if (args[0]==NULL) {
2859 if (args[0]==NULL) {
2860 PythonQt::priv()->handleVirtualOverloadReturnError("hasHeightForWidth", methodInfo, result);
2860 PythonQt::priv()->handleVirtualOverloadReturnError("hasHeightForWidth", methodInfo, result);
2861 } else {
2861 } else {
2862 returnValue = *((bool*)args[0]);
2862 returnValue = *((bool*)args[0]);
2863 }
2863 }
2864 }
2864 }
2865 }
2865 }
2866 if (result) { Py_DECREF(result); }
2866 if (result) { Py_DECREF(result); }
2867 Py_DECREF(obj);
2867 Py_DECREF(obj);
2868 return returnValue;
2868 return returnValue;
2869 }
2869 }
2870 }
2870 }
2871 return QHexSpinBox::hasHeightForWidth();
2871 return QHexSpinBox::hasHeightForWidth();
2872 }
2872 }
2873 int PythonQtShell_QHexSpinBox::heightForWidth(int arg__1) const
2873 int PythonQtShell_QHexSpinBox::heightForWidth(int arg__1) const
2874 {
2874 {
2875 if (_wrapper) {
2875 if (_wrapper) {
2876 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "heightForWidth");
2876 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "heightForWidth");
2877 PyErr_Clear();
2877 PyErr_Clear();
2878 if (obj && !PythonQtSlotFunction_Check(obj)) {
2878 if (obj && !PythonQtSlotFunction_Check(obj)) {
2879 static const char* argumentList[] ={"int" , "int"};
2879 static const char* argumentList[] ={"int" , "int"};
2880 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
2880 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
2881 int returnValue;
2881 int returnValue;
2882 void* args[2] = {NULL, (void*)&arg__1};
2882 void* args[2] = {NULL, (void*)&arg__1};
2883 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
2883 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
2884 if (result) {
2884 if (result) {
2885 args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue);
2885 args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue);
2886 if (args[0]!=&returnValue) {
2886 if (args[0]!=&returnValue) {
2887 if (args[0]==NULL) {
2887 if (args[0]==NULL) {
2888 PythonQt::priv()->handleVirtualOverloadReturnError("heightForWidth", methodInfo, result);
2888 PythonQt::priv()->handleVirtualOverloadReturnError("heightForWidth", methodInfo, result);
2889 } else {
2889 } else {
2890 returnValue = *((int*)args[0]);
2890 returnValue = *((int*)args[0]);
2891 }
2891 }
2892 }
2892 }
2893 }
2893 }
2894 if (result) { Py_DECREF(result); }
2894 if (result) { Py_DECREF(result); }
2895 Py_DECREF(obj);
2895 Py_DECREF(obj);
2896 return returnValue;
2896 return returnValue;
2897 }
2897 }
2898 }
2898 }
2899 return QHexSpinBox::heightForWidth(arg__1);
2899 return QHexSpinBox::heightForWidth(arg__1);
2900 }
2900 }
2901 void PythonQtShell_QHexSpinBox::hideEvent(QHideEvent* event)
2901 void PythonQtShell_QHexSpinBox::hideEvent(QHideEvent* event)
2902 {
2902 {
2903 if (_wrapper) {
2903 if (_wrapper) {
2904 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "hideEvent");
2904 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "hideEvent");
2905 PyErr_Clear();
2905 PyErr_Clear();
2906 if (obj && !PythonQtSlotFunction_Check(obj)) {
2906 if (obj && !PythonQtSlotFunction_Check(obj)) {
2907 static const char* argumentList[] ={"" , "QHideEvent*"};
2907 static const char* argumentList[] ={"" , "QHideEvent*"};
2908 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
2908 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
2909 void* args[2] = {NULL, (void*)&event};
2909 void* args[2] = {NULL, (void*)&event};
2910 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
2910 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
2911 if (result) { Py_DECREF(result); }
2911 if (result) { Py_DECREF(result); }
2912 Py_DECREF(obj);
2912 Py_DECREF(obj);
2913 return;
2913 return;
2914 }
2914 }
2915 }
2915 }
2916 QHexSpinBox::hideEvent(event);
2916 QHexSpinBox::hideEvent(event);
2917 }
2917 }
2918 void PythonQtShell_QHexSpinBox::initPainter(QPainter* painter) const
2918 void PythonQtShell_QHexSpinBox::initPainter(QPainter* painter) const
2919 {
2919 {
2920 if (_wrapper) {
2920 if (_wrapper) {
2921 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "initPainter");
2921 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "initPainter");
2922 PyErr_Clear();
2922 PyErr_Clear();
2923 if (obj && !PythonQtSlotFunction_Check(obj)) {
2923 if (obj && !PythonQtSlotFunction_Check(obj)) {
2924 static const char* argumentList[] ={"" , "QPainter*"};
2924 static const char* argumentList[] ={"" , "QPainter*"};
2925 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
2925 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
2926 void* args[2] = {NULL, (void*)&painter};
2926 void* args[2] = {NULL, (void*)&painter};
2927 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
2927 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
2928 if (result) { Py_DECREF(result); }
2928 if (result) { Py_DECREF(result); }
2929 Py_DECREF(obj);
2929 Py_DECREF(obj);
2930 return;
2930 return;
2931 }
2931 }
2932 }
2932 }
2933 QHexSpinBox::initPainter(painter);
2933 QHexSpinBox::initPainter(painter);
2934 }
2934 }
2935 void PythonQtShell_QHexSpinBox::inputMethodEvent(QInputMethodEvent* arg__1)
2935 void PythonQtShell_QHexSpinBox::inputMethodEvent(QInputMethodEvent* arg__1)
2936 {
2936 {
2937 if (_wrapper) {
2937 if (_wrapper) {
2938 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "inputMethodEvent");
2938 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "inputMethodEvent");
2939 PyErr_Clear();
2939 PyErr_Clear();
2940 if (obj && !PythonQtSlotFunction_Check(obj)) {
2940 if (obj && !PythonQtSlotFunction_Check(obj)) {
2941 static const char* argumentList[] ={"" , "QInputMethodEvent*"};
2941 static const char* argumentList[] ={"" , "QInputMethodEvent*"};
2942 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
2942 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
2943 void* args[2] = {NULL, (void*)&arg__1};
2943 void* args[2] = {NULL, (void*)&arg__1};
2944 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
2944 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
2945 if (result) { Py_DECREF(result); }
2945 if (result) { Py_DECREF(result); }
2946 Py_DECREF(obj);
2946 Py_DECREF(obj);
2947 return;
2947 return;
2948 }
2948 }
2949 }
2949 }
2950 QHexSpinBox::inputMethodEvent(arg__1);
2950 QHexSpinBox::inputMethodEvent(arg__1);
2951 }
2951 }
2952 QVariant PythonQtShell_QHexSpinBox::inputMethodQuery(Qt::InputMethodQuery arg__1) const
2952 QVariant PythonQtShell_QHexSpinBox::inputMethodQuery(Qt::InputMethodQuery arg__1) const
2953 {
2953 {
2954 if (_wrapper) {
2954 if (_wrapper) {
2955 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "inputMethodQuery");
2955 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "inputMethodQuery");
2956 PyErr_Clear();
2956 PyErr_Clear();
2957 if (obj && !PythonQtSlotFunction_Check(obj)) {
2957 if (obj && !PythonQtSlotFunction_Check(obj)) {
2958 static const char* argumentList[] ={"QVariant" , "Qt::InputMethodQuery"};
2958 static const char* argumentList[] ={"QVariant" , "Qt::InputMethodQuery"};
2959 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
2959 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
2960 QVariant returnValue;
2960 QVariant returnValue;
2961 void* args[2] = {NULL, (void*)&arg__1};
2961 void* args[2] = {NULL, (void*)&arg__1};
2962 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
2962 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
2963 if (result) {
2963 if (result) {
2964 args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue);
2964 args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue);
2965 if (args[0]!=&returnValue) {
2965 if (args[0]!=&returnValue) {
2966 if (args[0]==NULL) {
2966 if (args[0]==NULL) {
2967 PythonQt::priv()->handleVirtualOverloadReturnError("inputMethodQuery", methodInfo, result);
2967 PythonQt::priv()->handleVirtualOverloadReturnError("inputMethodQuery", methodInfo, result);
2968 } else {
2968 } else {
2969 returnValue = *((QVariant*)args[0]);
2969 returnValue = *((QVariant*)args[0]);
2970 }
2970 }
2971 }
2971 }
2972 }
2972 }
2973 if (result) { Py_DECREF(result); }
2973 if (result) { Py_DECREF(result); }
2974 Py_DECREF(obj);
2974 Py_DECREF(obj);
2975 return returnValue;
2975 return returnValue;
2976 }
2976 }
2977 }
2977 }
2978 return QHexSpinBox::inputMethodQuery(arg__1);
2978 return QHexSpinBox::inputMethodQuery(arg__1);
2979 }
2979 }
2980 void PythonQtShell_QHexSpinBox::keyPressEvent(QKeyEvent* event)
2980 void PythonQtShell_QHexSpinBox::keyPressEvent(QKeyEvent* event)
2981 {
2981 {
2982 if (_wrapper) {
2982 if (_wrapper) {
2983 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "keyPressEvent");
2983 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "keyPressEvent");
2984 PyErr_Clear();
2984 PyErr_Clear();
2985 if (obj && !PythonQtSlotFunction_Check(obj)) {
2985 if (obj && !PythonQtSlotFunction_Check(obj)) {
2986 static const char* argumentList[] ={"" , "QKeyEvent*"};
2986 static const char* argumentList[] ={"" , "QKeyEvent*"};
2987 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
2987 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
2988 void* args[2] = {NULL, (void*)&event};
2988 void* args[2] = {NULL, (void*)&event};
2989 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
2989 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
2990 if (result) { Py_DECREF(result); }
2990 if (result) { Py_DECREF(result); }
2991 Py_DECREF(obj);
2991 Py_DECREF(obj);
2992 return;
2992 return;
2993 }
2993 }
2994 }
2994 }
2995 QHexSpinBox::keyPressEvent(event);
2995 QHexSpinBox::keyPressEvent(event);
2996 }
2996 }
2997 void PythonQtShell_QHexSpinBox::keyReleaseEvent(QKeyEvent* event)
2997 void PythonQtShell_QHexSpinBox::keyReleaseEvent(QKeyEvent* event)
2998 {
2998 {
2999 if (_wrapper) {
2999 if (_wrapper) {
3000 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "keyReleaseEvent");
3000 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "keyReleaseEvent");
3001 PyErr_Clear();
3001 PyErr_Clear();
3002 if (obj && !PythonQtSlotFunction_Check(obj)) {
3002 if (obj && !PythonQtSlotFunction_Check(obj)) {
3003 static const char* argumentList[] ={"" , "QKeyEvent*"};
3003 static const char* argumentList[] ={"" , "QKeyEvent*"};
3004 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
3004 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
3005 void* args[2] = {NULL, (void*)&event};
3005 void* args[2] = {NULL, (void*)&event};
3006 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
3006 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
3007 if (result) { Py_DECREF(result); }
3007 if (result) { Py_DECREF(result); }
3008 Py_DECREF(obj);
3008 Py_DECREF(obj);
3009 return;
3009 return;
3010 }
3010 }
3011 }
3011 }
3012 QHexSpinBox::keyReleaseEvent(event);
3012 QHexSpinBox::keyReleaseEvent(event);
3013 }
3013 }
3014 void PythonQtShell_QHexSpinBox::leaveEvent(QEvent* arg__1)
3014 void PythonQtShell_QHexSpinBox::leaveEvent(QEvent* arg__1)
3015 {
3015 {
3016 if (_wrapper) {
3016 if (_wrapper) {
3017 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "leaveEvent");
3017 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "leaveEvent");
3018 PyErr_Clear();
3018 PyErr_Clear();
3019 if (obj && !PythonQtSlotFunction_Check(obj)) {
3019 if (obj && !PythonQtSlotFunction_Check(obj)) {
3020 static const char* argumentList[] ={"" , "QEvent*"};
3020 static const char* argumentList[] ={"" , "QEvent*"};
3021 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
3021 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
3022 void* args[2] = {NULL, (void*)&arg__1};
3022 void* args[2] = {NULL, (void*)&arg__1};
3023 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
3023 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
3024 if (result) { Py_DECREF(result); }
3024 if (result) { Py_DECREF(result); }
3025 Py_DECREF(obj);
3025 Py_DECREF(obj);
3026 return;
3026 return;
3027 }
3027 }
3028 }
3028 }
3029 QHexSpinBox::leaveEvent(arg__1);
3029 QHexSpinBox::leaveEvent(arg__1);
3030 }
3030 }
3031 int PythonQtShell_QHexSpinBox::metric(QPaintDevice::PaintDeviceMetric arg__1) const
3031 int PythonQtShell_QHexSpinBox::metric(QPaintDevice::PaintDeviceMetric arg__1) const
3032 {
3032 {
3033 if (_wrapper) {
3033 if (_wrapper) {
3034 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "metric");
3034 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "metric");
3035 PyErr_Clear();
3035 PyErr_Clear();
3036 if (obj && !PythonQtSlotFunction_Check(obj)) {
3036 if (obj && !PythonQtSlotFunction_Check(obj)) {
3037 static const char* argumentList[] ={"int" , "QPaintDevice::PaintDeviceMetric"};
3037 static const char* argumentList[] ={"int" , "QPaintDevice::PaintDeviceMetric"};
3038 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
3038 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
3039 int returnValue;
3039 int returnValue;
3040 void* args[2] = {NULL, (void*)&arg__1};
3040 void* args[2] = {NULL, (void*)&arg__1};
3041 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
3041 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
3042 if (result) {
3042 if (result) {
3043 args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue);
3043 args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue);
3044 if (args[0]!=&returnValue) {
3044 if (args[0]!=&returnValue) {
3045 if (args[0]==NULL) {
3045 if (args[0]==NULL) {
3046 PythonQt::priv()->handleVirtualOverloadReturnError("metric", methodInfo, result);
3046 PythonQt::priv()->handleVirtualOverloadReturnError("metric", methodInfo, result);
3047 } else {
3047 } else {
3048 returnValue = *((int*)args[0]);
3048 returnValue = *((int*)args[0]);
3049 }
3049 }
3050 }
3050 }
3051 }
3051 }
3052 if (result) { Py_DECREF(result); }
3052 if (result) { Py_DECREF(result); }
3053 Py_DECREF(obj);
3053 Py_DECREF(obj);
3054 return returnValue;
3054 return returnValue;
3055 }
3055 }
3056 }
3056 }
3057 return QHexSpinBox::metric(arg__1);
3057 return QHexSpinBox::metric(arg__1);
3058 }
3058 }
3059 void PythonQtShell_QHexSpinBox::mouseDoubleClickEvent(QMouseEvent* arg__1)
3059 void PythonQtShell_QHexSpinBox::mouseDoubleClickEvent(QMouseEvent* arg__1)
3060 {
3060 {
3061 if (_wrapper) {
3061 if (_wrapper) {
3062 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mouseDoubleClickEvent");
3062 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mouseDoubleClickEvent");
3063 PyErr_Clear();
3063 PyErr_Clear();
3064 if (obj && !PythonQtSlotFunction_Check(obj)) {
3064 if (obj && !PythonQtSlotFunction_Check(obj)) {
3065 static const char* argumentList[] ={"" , "QMouseEvent*"};
3065 static const char* argumentList[] ={"" , "QMouseEvent*"};
3066 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
3066 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
3067 void* args[2] = {NULL, (void*)&arg__1};
3067 void* args[2] = {NULL, (void*)&arg__1};
3068 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
3068 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
3069 if (result) { Py_DECREF(result); }
3069 if (result) { Py_DECREF(result); }
3070 Py_DECREF(obj);
3070 Py_DECREF(obj);
3071 return;
3071 return;
3072 }
3072 }
3073 }
3073 }
3074 QHexSpinBox::mouseDoubleClickEvent(arg__1);
3074 QHexSpinBox::mouseDoubleClickEvent(arg__1);
3075 }
3075 }
3076 void PythonQtShell_QHexSpinBox::mouseMoveEvent(QMouseEvent* event)
3076 void PythonQtShell_QHexSpinBox::mouseMoveEvent(QMouseEvent* event)
3077 {
3077 {
3078 if (_wrapper) {
3078 if (_wrapper) {
3079 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mouseMoveEvent");
3079 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mouseMoveEvent");
3080 PyErr_Clear();
3080 PyErr_Clear();
3081 if (obj && !PythonQtSlotFunction_Check(obj)) {
3081 if (obj && !PythonQtSlotFunction_Check(obj)) {
3082 static const char* argumentList[] ={"" , "QMouseEvent*"};
3082 static const char* argumentList[] ={"" , "QMouseEvent*"};
3083 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
3083 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
3084 void* args[2] = {NULL, (void*)&event};
3084 void* args[2] = {NULL, (void*)&event};
3085 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
3085 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
3086 if (result) { Py_DECREF(result); }
3086 if (result) { Py_DECREF(result); }
3087 Py_DECREF(obj);
3087 Py_DECREF(obj);
3088 return;
3088 return;
3089 }
3089 }
3090 }
3090 }
3091 QHexSpinBox::mouseMoveEvent(event);
3091 QHexSpinBox::mouseMoveEvent(event);
3092 }
3092 }
3093 void PythonQtShell_QHexSpinBox::mousePressEvent(QMouseEvent* event)
3093 void PythonQtShell_QHexSpinBox::mousePressEvent(QMouseEvent* event)
3094 {
3094 {
3095 if (_wrapper) {
3095 if (_wrapper) {
3096 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mousePressEvent");
3096 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mousePressEvent");
3097 PyErr_Clear();
3097 PyErr_Clear();
3098 if (obj && !PythonQtSlotFunction_Check(obj)) {
3098 if (obj && !PythonQtSlotFunction_Check(obj)) {
3099 static const char* argumentList[] ={"" , "QMouseEvent*"};
3099 static const char* argumentList[] ={"" , "QMouseEvent*"};
3100 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
3100 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
3101 void* args[2] = {NULL, (void*)&event};
3101 void* args[2] = {NULL, (void*)&event};
3102 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
3102 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
3103 if (result) { Py_DECREF(result); }
3103 if (result) { Py_DECREF(result); }
3104 Py_DECREF(obj);
3104 Py_DECREF(obj);
3105 return;
3105 return;
3106 }
3106 }
3107 }
3107 }
3108 QHexSpinBox::mousePressEvent(event);
3108 QHexSpinBox::mousePressEvent(event);
3109 }
3109 }
3110 void PythonQtShell_QHexSpinBox::mouseReleaseEvent(QMouseEvent* event)
3110 void PythonQtShell_QHexSpinBox::mouseReleaseEvent(QMouseEvent* event)
3111 {
3111 {
3112 if (_wrapper) {
3112 if (_wrapper) {
3113 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mouseReleaseEvent");
3113 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mouseReleaseEvent");
3114 PyErr_Clear();
3114 PyErr_Clear();
3115 if (obj && !PythonQtSlotFunction_Check(obj)) {
3115 if (obj && !PythonQtSlotFunction_Check(obj)) {
3116 static const char* argumentList[] ={"" , "QMouseEvent*"};
3116 static const char* argumentList[] ={"" , "QMouseEvent*"};
3117 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
3117 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
3118 void* args[2] = {NULL, (void*)&event};
3118 void* args[2] = {NULL, (void*)&event};
3119 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
3119 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
3120 if (result) { Py_DECREF(result); }
3120 if (result) { Py_DECREF(result); }
3121 Py_DECREF(obj);
3121 Py_DECREF(obj);
3122 return;
3122 return;
3123 }
3123 }
3124 }
3124 }
3125 QHexSpinBox::mouseReleaseEvent(event);
3125 QHexSpinBox::mouseReleaseEvent(event);
3126 }
3126 }
3127 void PythonQtShell_QHexSpinBox::moveEvent(QMoveEvent* arg__1)
3127 void PythonQtShell_QHexSpinBox::moveEvent(QMoveEvent* arg__1)
3128 {
3128 {
3129 if (_wrapper) {
3129 if (_wrapper) {
3130 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "moveEvent");
3130 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "moveEvent");
3131 PyErr_Clear();
3131 PyErr_Clear();
3132 if (obj && !PythonQtSlotFunction_Check(obj)) {
3132 if (obj && !PythonQtSlotFunction_Check(obj)) {
3133 static const char* argumentList[] ={"" , "QMoveEvent*"};
3133 static const char* argumentList[] ={"" , "QMoveEvent*"};
3134 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
3134 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
3135 void* args[2] = {NULL, (void*)&arg__1};
3135 void* args[2] = {NULL, (void*)&arg__1};
3136 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
3136 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
3137 if (result) { Py_DECREF(result); }
3137 if (result) { Py_DECREF(result); }
3138 Py_DECREF(obj);
3138 Py_DECREF(obj);
3139 return;
3139 return;
3140 }
3140 }
3141 }
3141 }
3142 QHexSpinBox::moveEvent(arg__1);
3142 QHexSpinBox::moveEvent(arg__1);
3143 }
3143 }
3144 bool PythonQtShell_QHexSpinBox::nativeEvent(const QByteArray& eventType, void* message, long* result)
3144 bool PythonQtShell_QHexSpinBox::nativeEvent(const QByteArray& eventType, void* message, long* result)
3145 {
3145 {
3146 if (_wrapper) {
3146 if (_wrapper) {
3147 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "nativeEvent");
3147 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "nativeEvent");
3148 PyErr_Clear();
3148 PyErr_Clear();
3149 if (obj && !PythonQtSlotFunction_Check(obj)) {
3149 if (obj && !PythonQtSlotFunction_Check(obj)) {
3150 static const char* argumentList[] ={"bool" , "const QByteArray&" , "void*" , "long*"};
3150 static const char* argumentList[] ={"bool" , "const QByteArray&" , "void*" , "long*"};
3151 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList);
3151 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList);
3152 bool returnValue;
3152 bool returnValue;
3153 void* args[4] = {NULL, (void*)&eventType, (void*)&message, (void*)&result};
3153 void* args[4] = {NULL, (void*)&eventType, (void*)&message, (void*)&result};
3154 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
3154 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
3155 if (result) {
3155 if (result) {
3156 args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue);
3156 args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue);
3157 if (args[0]!=&returnValue) {
3157 if (args[0]!=&returnValue) {
3158 if (args[0]==NULL) {
3158 if (args[0]==NULL) {
3159 PythonQt::priv()->handleVirtualOverloadReturnError("nativeEvent", methodInfo, result);
3159 PythonQt::priv()->handleVirtualOverloadReturnError("nativeEvent", methodInfo, result);
3160 } else {
3160 } else {
3161 returnValue = *((bool*)args[0]);
3161 returnValue = *((bool*)args[0]);
3162 }
3162 }
3163 }
3163 }
3164 }
3164 }
3165 if (result) { Py_DECREF(result); }
3165 if (result) { Py_DECREF(result); }
3166 Py_DECREF(obj);
3166 Py_DECREF(obj);
3167 return returnValue;
3167 return returnValue;
3168 }
3168 }
3169 }
3169 }
3170 return QHexSpinBox::nativeEvent(eventType, message, result);
3170 return QHexSpinBox::nativeEvent(eventType, message, result);
3171 }
3171 }
3172 QPaintEngine* PythonQtShell_QHexSpinBox::paintEngine() const
3172 QPaintEngine* PythonQtShell_QHexSpinBox::paintEngine() const
3173 {
3173 {
3174 if (_wrapper) {
3174 if (_wrapper) {
3175 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "paintEngine");
3175 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "paintEngine");
3176 PyErr_Clear();
3176 PyErr_Clear();
3177 if (obj && !PythonQtSlotFunction_Check(obj)) {
3177 if (obj && !PythonQtSlotFunction_Check(obj)) {
3178 static const char* argumentList[] ={"QPaintEngine*"};
3178 static const char* argumentList[] ={"QPaintEngine*"};
3179 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList);
3179 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList);
3180 QPaintEngine* returnValue;
3180 QPaintEngine* returnValue;
3181 void* args[1] = {NULL};
3181 void* args[1] = {NULL};
3182 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
3182 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
3183 if (result) {
3183 if (result) {
3184 args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue);
3184 args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue);
3185 if (args[0]!=&returnValue) {
3185 if (args[0]!=&returnValue) {
3186 if (args[0]==NULL) {
3186 if (args[0]==NULL) {
3187 PythonQt::priv()->handleVirtualOverloadReturnError("paintEngine", methodInfo, result);
3187 PythonQt::priv()->handleVirtualOverloadReturnError("paintEngine", methodInfo, result);
3188 } else {
3188 } else {
3189 returnValue = *((QPaintEngine**)args[0]);
3189 returnValue = *((QPaintEngine**)args[0]);
3190 }
3190 }
3191 }
3191 }
3192 }
3192 }
3193 if (result) { Py_DECREF(result); }
3193 if (result) { Py_DECREF(result); }
3194 Py_DECREF(obj);
3194 Py_DECREF(obj);
3195 return returnValue;
3195 return returnValue;
3196 }
3196 }
3197 }
3197 }
3198 return QHexSpinBox::paintEngine();
3198 return QHexSpinBox::paintEngine();
3199 }
3199 }
3200 void PythonQtShell_QHexSpinBox::paintEvent(QPaintEvent* event)
3200 void PythonQtShell_QHexSpinBox::paintEvent(QPaintEvent* event)
3201 {
3201 {
3202 if (_wrapper) {
3202 if (_wrapper) {
3203 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "paintEvent");
3203 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "paintEvent");
3204 PyErr_Clear();
3204 PyErr_Clear();
3205 if (obj && !PythonQtSlotFunction_Check(obj)) {
3205 if (obj && !PythonQtSlotFunction_Check(obj)) {
3206 static const char* argumentList[] ={"" , "QPaintEvent*"};
3206 static const char* argumentList[] ={"" , "QPaintEvent*"};
3207 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
3207 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
3208 void* args[2] = {NULL, (void*)&event};
3208 void* args[2] = {NULL, (void*)&event};
3209 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
3209 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
3210 if (result) { Py_DECREF(result); }
3210 if (result) { Py_DECREF(result); }
3211 Py_DECREF(obj);
3211 Py_DECREF(obj);
3212 return;
3212 return;
3213 }
3213 }
3214 }
3214 }
3215 QHexSpinBox::paintEvent(event);
3215 QHexSpinBox::paintEvent(event);
3216 }
3216 }
3217 QPaintDevice* PythonQtShell_QHexSpinBox::redirected(QPoint* offset) const
3217 QPaintDevice* PythonQtShell_QHexSpinBox::redirected(QPoint* offset) const
3218 {
3218 {
3219 if (_wrapper) {
3219 if (_wrapper) {
3220 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "redirected");
3220 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "redirected");
3221 PyErr_Clear();
3221 PyErr_Clear();
3222 if (obj && !PythonQtSlotFunction_Check(obj)) {
3222 if (obj && !PythonQtSlotFunction_Check(obj)) {
3223 static const char* argumentList[] ={"QPaintDevice*" , "QPoint*"};
3223 static const char* argumentList[] ={"QPaintDevice*" , "QPoint*"};
3224 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
3224 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
3225 QPaintDevice* returnValue;
3225 QPaintDevice* returnValue;
3226 void* args[2] = {NULL, (void*)&offset};
3226 void* args[2] = {NULL, (void*)&offset};
3227 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
3227 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
3228 if (result) {
3228 if (result) {
3229 args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue);
3229 args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue);
3230 if (args[0]!=&returnValue) {
3230 if (args[0]!=&returnValue) {
3231 if (args[0]==NULL) {
3231 if (args[0]==NULL) {
3232 PythonQt::priv()->handleVirtualOverloadReturnError("redirected", methodInfo, result);
3232 PythonQt::priv()->handleVirtualOverloadReturnError("redirected", methodInfo, result);
3233 } else {
3233 } else {
3234 returnValue = *((QPaintDevice**)args[0]);
3234 returnValue = *((QPaintDevice**)args[0]);
3235 }
3235 }
3236 }
3236 }
3237 }
3237 }
3238 if (result) { Py_DECREF(result); }
3238 if (result) { Py_DECREF(result); }
3239 Py_DECREF(obj);
3239 Py_DECREF(obj);
3240 return returnValue;
3240 return returnValue;
3241 }
3241 }
3242 }
3242 }
3243 return QHexSpinBox::redirected(offset);
3243 return QHexSpinBox::redirected(offset);
3244 }
3244 }
3245 void PythonQtShell_QHexSpinBox::resizeEvent(QResizeEvent* event)
3245 void PythonQtShell_QHexSpinBox::resizeEvent(QResizeEvent* event)
3246 {
3246 {
3247 if (_wrapper) {
3247 if (_wrapper) {
3248 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "resizeEvent");
3248 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "resizeEvent");
3249 PyErr_Clear();
3249 PyErr_Clear();
3250 if (obj && !PythonQtSlotFunction_Check(obj)) {
3250 if (obj && !PythonQtSlotFunction_Check(obj)) {
3251 static const char* argumentList[] ={"" , "QResizeEvent*"};
3251 static const char* argumentList[] ={"" , "QResizeEvent*"};
3252 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
3252 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
3253 void* args[2] = {NULL, (void*)&event};
3253 void* args[2] = {NULL, (void*)&event};
3254 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
3254 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
3255 if (result) { Py_DECREF(result); }
3255 if (result) { Py_DECREF(result); }
3256 Py_DECREF(obj);
3256 Py_DECREF(obj);
3257 return;
3257 return;
3258 }
3258 }
3259 }
3259 }
3260 QHexSpinBox::resizeEvent(event);
3260 QHexSpinBox::resizeEvent(event);
3261 }
3261 }
3262 QPainter* PythonQtShell_QHexSpinBox::sharedPainter() const
3262 QPainter* PythonQtShell_QHexSpinBox::sharedPainter() const
3263 {
3263 {
3264 if (_wrapper) {
3264 if (_wrapper) {
3265 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "sharedPainter");
3265 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "sharedPainter");
3266 PyErr_Clear();
3266 PyErr_Clear();
3267 if (obj && !PythonQtSlotFunction_Check(obj)) {
3267 if (obj && !PythonQtSlotFunction_Check(obj)) {
3268 static const char* argumentList[] ={"QPainter*"};
3268 static const char* argumentList[] ={"QPainter*"};
3269 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList);
3269 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList);
3270 QPainter* returnValue;
3270 QPainter* returnValue;
3271 void* args[1] = {NULL};
3271 void* args[1] = {NULL};
3272 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
3272 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
3273 if (result) {
3273 if (result) {
3274 args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue);
3274 args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue);
3275 if (args[0]!=&returnValue) {
3275 if (args[0]!=&returnValue) {
3276 if (args[0]==NULL) {
3276 if (args[0]==NULL) {
3277 PythonQt::priv()->handleVirtualOverloadReturnError("sharedPainter", methodInfo, result);
3277 PythonQt::priv()->handleVirtualOverloadReturnError("sharedPainter", methodInfo, result);
3278 } else {
3278 } else {
3279 returnValue = *((QPainter**)args[0]);
3279 returnValue = *((QPainter**)args[0]);
3280 }
3280 }
3281 }
3281 }
3282 }
3282 }
3283 if (result) { Py_DECREF(result); }
3283 if (result) { Py_DECREF(result); }
3284 Py_DECREF(obj);
3284 Py_DECREF(obj);
3285 return returnValue;
3285 return returnValue;
3286 }
3286 }
3287 }
3287 }
3288 return QHexSpinBox::sharedPainter();
3288 return QHexSpinBox::sharedPainter();
3289 }
3289 }
3290 void PythonQtShell_QHexSpinBox::showEvent(QShowEvent* event)
3290 void PythonQtShell_QHexSpinBox::showEvent(QShowEvent* event)
3291 {
3291 {
3292 if (_wrapper) {
3292 if (_wrapper) {
3293 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "showEvent");
3293 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "showEvent");
3294 PyErr_Clear();
3294 PyErr_Clear();
3295 if (obj && !PythonQtSlotFunction_Check(obj)) {
3295 if (obj && !PythonQtSlotFunction_Check(obj)) {
3296 static const char* argumentList[] ={"" , "QShowEvent*"};
3296 static const char* argumentList[] ={"" , "QShowEvent*"};
3297 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
3297 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
3298 void* args[2] = {NULL, (void*)&event};
3298 void* args[2] = {NULL, (void*)&event};
3299 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
3299 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
3300 if (result) { Py_DECREF(result); }
3300 if (result) { Py_DECREF(result); }
3301 Py_DECREF(obj);
3301 Py_DECREF(obj);
3302 return;
3302 return;
3303 }
3303 }
3304 }
3304 }
3305 QHexSpinBox::showEvent(event);
3305 QHexSpinBox::showEvent(event);
3306 }
3306 }
3307 void PythonQtShell_QHexSpinBox::stepBy(int steps)
3307 void PythonQtShell_QHexSpinBox::stepBy(int steps)
3308 {
3308 {
3309 if (_wrapper) {
3309 if (_wrapper) {
3310 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "stepBy");
3310 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "stepBy");
3311 PyErr_Clear();
3311 PyErr_Clear();
3312 if (obj && !PythonQtSlotFunction_Check(obj)) {
3312 if (obj && !PythonQtSlotFunction_Check(obj)) {
3313 static const char* argumentList[] ={"" , "int"};
3313 static const char* argumentList[] ={"" , "int"};
3314 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
3314 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
3315 void* args[2] = {NULL, (void*)&steps};
3315 void* args[2] = {NULL, (void*)&steps};
3316 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
3316 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
3317 if (result) { Py_DECREF(result); }
3317 if (result) { Py_DECREF(result); }
3318 Py_DECREF(obj);
3318 Py_DECREF(obj);
3319 return;
3319 return;
3320 }
3320 }
3321 }
3321 }
3322 QHexSpinBox::stepBy(steps);
3322 QHexSpinBox::stepBy(steps);
3323 }
3323 }
3324 QAbstractSpinBox::StepEnabled PythonQtShell_QHexSpinBox::stepEnabled() const
3324 QAbstractSpinBox::StepEnabled PythonQtShell_QHexSpinBox::stepEnabled() const
3325 {
3325 {
3326 if (_wrapper) {
3326 if (_wrapper) {
3327 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "stepEnabled");
3327 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "stepEnabled");
3328 PyErr_Clear();
3328 PyErr_Clear();
3329 if (obj && !PythonQtSlotFunction_Check(obj)) {
3329 if (obj && !PythonQtSlotFunction_Check(obj)) {
3330 static const char* argumentList[] ={"QAbstractSpinBox::StepEnabled"};
3330 static const char* argumentList[] ={"QAbstractSpinBox::StepEnabled"};
3331 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList);
3331 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList);
3332 QAbstractSpinBox::StepEnabled returnValue;
3332 QAbstractSpinBox::StepEnabled returnValue;
3333 void* args[1] = {NULL};
3333 void* args[1] = {NULL};
3334 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
3334 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
3335 if (result) {
3335 if (result) {
3336 args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue);
3336 args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue);
3337 if (args[0]!=&returnValue) {
3337 if (args[0]!=&returnValue) {
3338 if (args[0]==NULL) {
3338 if (args[0]==NULL) {
3339 PythonQt::priv()->handleVirtualOverloadReturnError("stepEnabled", methodInfo, result);
3339 PythonQt::priv()->handleVirtualOverloadReturnError("stepEnabled", methodInfo, result);
3340 } else {
3340 } else {
3341 returnValue = *((QAbstractSpinBox::StepEnabled*)args[0]);
3341 returnValue = *((QAbstractSpinBox::StepEnabled*)args[0]);
3342 }
3342 }
3343 }
3343 }
3344 }
3344 }
3345 if (result) { Py_DECREF(result); }
3345 if (result) { Py_DECREF(result); }
3346 Py_DECREF(obj);
3346 Py_DECREF(obj);
3347 return returnValue;
3347 return returnValue;
3348 }
3348 }
3349 }
3349 }
3350 return QHexSpinBox::stepEnabled();
3350 return QHexSpinBox::stepEnabled();
3351 }
3351 }
3352 void PythonQtShell_QHexSpinBox::tabletEvent(QTabletEvent* arg__1)
3352 void PythonQtShell_QHexSpinBox::tabletEvent(QTabletEvent* arg__1)
3353 {
3353 {
3354 if (_wrapper) {
3354 if (_wrapper) {
3355 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "tabletEvent");
3355 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "tabletEvent");
3356 PyErr_Clear();
3356 PyErr_Clear();
3357 if (obj && !PythonQtSlotFunction_Check(obj)) {
3357 if (obj && !PythonQtSlotFunction_Check(obj)) {
3358 static const char* argumentList[] ={"" , "QTabletEvent*"};
3358 static const char* argumentList[] ={"" , "QTabletEvent*"};
3359 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
3359 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
3360 void* args[2] = {NULL, (void*)&arg__1};
3360 void* args[2] = {NULL, (void*)&arg__1};
3361 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
3361 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
3362 if (result) { Py_DECREF(result); }
3362 if (result) { Py_DECREF(result); }
3363 Py_DECREF(obj);
3363 Py_DECREF(obj);
3364 return;
3364 return;
3365 }
3365 }
3366 }
3366 }
3367 QHexSpinBox::tabletEvent(arg__1);
3367 QHexSpinBox::tabletEvent(arg__1);
3368 }
3368 }
3369 QString PythonQtShell_QHexSpinBox::textFromValue(int value) const
3369 QString PythonQtShell_QHexSpinBox::textFromValue(int value) const
3370 {
3370 {
3371 if (_wrapper) {
3371 if (_wrapper) {
3372 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "textFromValue");
3372 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "textFromValue");
3373 PyErr_Clear();
3373 PyErr_Clear();
3374 if (obj && !PythonQtSlotFunction_Check(obj)) {
3374 if (obj && !PythonQtSlotFunction_Check(obj)) {
3375 static const char* argumentList[] ={"QString" , "int"};
3375 static const char* argumentList[] ={"QString" , "int"};
3376 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
3376 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
3377 QString returnValue;
3377 QString returnValue;
3378 void* args[2] = {NULL, (void*)&value};
3378 void* args[2] = {NULL, (void*)&value};
3379 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
3379 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
3380 if (result) {
3380 if (result) {
3381 args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue);
3381 args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue);
3382 if (args[0]!=&returnValue) {
3382 if (args[0]!=&returnValue) {
3383 if (args[0]==NULL) {
3383 if (args[0]==NULL) {
3384 PythonQt::priv()->handleVirtualOverloadReturnError("textFromValue", methodInfo, result);
3384 PythonQt::priv()->handleVirtualOverloadReturnError("textFromValue", methodInfo, result);
3385 } else {
3385 } else {
3386 returnValue = *((QString*)args[0]);
3386 returnValue = *((QString*)args[0]);
3387 }
3387 }
3388 }
3388 }
3389 }
3389 }
3390 if (result) { Py_DECREF(result); }
3390 if (result) { Py_DECREF(result); }
3391 Py_DECREF(obj);
3391 Py_DECREF(obj);
3392 return returnValue;
3392 return returnValue;
3393 }
3393 }
3394 }
3394 }
3395 return QHexSpinBox::textFromValue(value);
3395 return QHexSpinBox::textFromValue(value);
3396 }
3396 }
3397 void PythonQtShell_QHexSpinBox::timerEvent(QTimerEvent* event)
3397 void PythonQtShell_QHexSpinBox::timerEvent(QTimerEvent* event)
3398 {
3398 {
3399 if (_wrapper) {
3399 if (_wrapper) {
3400 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "timerEvent");
3400 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "timerEvent");
3401 PyErr_Clear();
3401 PyErr_Clear();
3402 if (obj && !PythonQtSlotFunction_Check(obj)) {
3402 if (obj && !PythonQtSlotFunction_Check(obj)) {
3403 static const char* argumentList[] ={"" , "QTimerEvent*"};
3403 static const char* argumentList[] ={"" , "QTimerEvent*"};
3404 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
3404 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
3405 void* args[2] = {NULL, (void*)&event};
3405 void* args[2] = {NULL, (void*)&event};
3406 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
3406 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
3407 if (result) { Py_DECREF(result); }
3407 if (result) { Py_DECREF(result); }
3408 Py_DECREF(obj);
3408 Py_DECREF(obj);
3409 return;
3409 return;
3410 }
3410 }
3411 }
3411 }
3412 QHexSpinBox::timerEvent(event);
3412 QHexSpinBox::timerEvent(event);
3413 }
3413 }
3414 QValidator::State PythonQtShell_QHexSpinBox::validate(QString& input, int& pos) const
3414 QValidator::State PythonQtShell_QHexSpinBox::validate(QString& input, int& pos) const
3415 {
3415 {
3416 if (_wrapper) {
3416 if (_wrapper) {
3417 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "validate");
3417 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "validate");
3418 PyErr_Clear();
3418 PyErr_Clear();
3419 if (obj && !PythonQtSlotFunction_Check(obj)) {
3419 if (obj && !PythonQtSlotFunction_Check(obj)) {
3420 static const char* argumentList[] ={"QValidator::State" , "QString&" , "int&"};
3420 static const char* argumentList[] ={"QValidator::State" , "QString&" , "int&"};
3421 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList);
3421 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList);
3422 QValidator::State returnValue;
3422 QValidator::State returnValue;
3423 void* args[3] = {NULL, (void*)&input, (void*)&pos};
3423 void* args[3] = {NULL, (void*)&input, (void*)&pos};
3424 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
3424 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
3425 if (result) {
3425 if (result) {
3426 args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue);
3426 args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue);
3427 if (args[0]!=&returnValue) {
3427 if (args[0]!=&returnValue) {
3428 if (args[0]==NULL) {
3428 if (args[0]==NULL) {
3429 PythonQt::priv()->handleVirtualOverloadReturnError("validate", methodInfo, result);
3429 PythonQt::priv()->handleVirtualOverloadReturnError("validate", methodInfo, result);
3430 } else {
3430 } else {
3431 returnValue = *((QValidator::State*)args[0]);
3431 returnValue = *((QValidator::State*)args[0]);
3432 }
3432 }
3433 }
3433 }
3434 }
3434 }
3435 if (result) { Py_DECREF(result); }
3435 if (result) { Py_DECREF(result); }
3436 Py_DECREF(obj);
3436 Py_DECREF(obj);
3437 return returnValue;
3437 return returnValue;
3438 }
3438 }
3439 }
3439 }
3440 return QHexSpinBox::validate(input, pos);
3440 return QHexSpinBox::validate(input, pos);
3441 }
3441 }
3442 int PythonQtShell_QHexSpinBox::valueFromText(const QString& text) const
3442 int PythonQtShell_QHexSpinBox::valueFromText(const QString& text) const
3443 {
3443 {
3444 if (_wrapper) {
3444 if (_wrapper) {
3445 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "valueFromText");
3445 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "valueFromText");
3446 PyErr_Clear();
3446 PyErr_Clear();
3447 if (obj && !PythonQtSlotFunction_Check(obj)) {
3447 if (obj && !PythonQtSlotFunction_Check(obj)) {
3448 static const char* argumentList[] ={"int" , "const QString&"};
3448 static const char* argumentList[] ={"int" , "const QString&"};
3449 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
3449 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
3450 int returnValue;
3450 int returnValue;
3451 void* args[2] = {NULL, (void*)&text};
3451 void* args[2] = {NULL, (void*)&text};
3452 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
3452 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
3453 if (result) {
3453 if (result) {
3454 args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue);
3454 args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue);
3455 if (args[0]!=&returnValue) {
3455 if (args[0]!=&returnValue) {
3456 if (args[0]==NULL) {
3456 if (args[0]==NULL) {
3457 PythonQt::priv()->handleVirtualOverloadReturnError("valueFromText", methodInfo, result);
3457 PythonQt::priv()->handleVirtualOverloadReturnError("valueFromText", methodInfo, result);
3458 } else {
3458 } else {
3459 returnValue = *((int*)args[0]);
3459 returnValue = *((int*)args[0]);
3460 }
3460 }
3461 }
3461 }
3462 }
3462 }
3463 if (result) { Py_DECREF(result); }
3463 if (result) { Py_DECREF(result); }
3464 Py_DECREF(obj);
3464 Py_DECREF(obj);
3465 return returnValue;
3465 return returnValue;
3466 }
3466 }
3467 }
3467 }
3468 return QHexSpinBox::valueFromText(text);
3468 return QHexSpinBox::valueFromText(text);
3469 }
3469 }
3470 void PythonQtShell_QHexSpinBox::wheelEvent(QWheelEvent* event)
3470 void PythonQtShell_QHexSpinBox::wheelEvent(QWheelEvent* event)
3471 {
3471 {
3472 if (_wrapper) {
3472 if (_wrapper) {
3473 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "wheelEvent");
3473 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "wheelEvent");
3474 PyErr_Clear();
3474 PyErr_Clear();
3475 if (obj && !PythonQtSlotFunction_Check(obj)) {
3475 if (obj && !PythonQtSlotFunction_Check(obj)) {
3476 static const char* argumentList[] ={"" , "QWheelEvent*"};
3476 static const char* argumentList[] ={"" , "QWheelEvent*"};
3477 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
3477 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
3478 void* args[2] = {NULL, (void*)&event};
3478 void* args[2] = {NULL, (void*)&event};
3479 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
3479 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
3480 if (result) { Py_DECREF(result); }
3480 if (result) { Py_DECREF(result); }
3481 Py_DECREF(obj);
3481 Py_DECREF(obj);
3482 return;
3482 return;
3483 }
3483 }
3484 }
3484 }
3485 QHexSpinBox::wheelEvent(event);
3485 QHexSpinBox::wheelEvent(event);
3486 }
3486 }
3487 QHexSpinBox* PythonQtWrapper_QHexSpinBox::new_QHexSpinBox(QWidget* parent)
3487 QHexSpinBox* PythonQtWrapper_QHexSpinBox::new_QHexSpinBox(QWidget* parent)
3488 {
3488 {
3489 return new PythonQtShell_QHexSpinBox(parent); }
3489 return new PythonQtShell_QHexSpinBox(parent); }
3490
3490
3491 void PythonQtWrapper_QHexSpinBox::show(QHexSpinBox* theWrappedObject)
3491 void PythonQtWrapper_QHexSpinBox::show(QHexSpinBox* theWrappedObject)
3492 {
3492 {
3493 ( theWrappedObject->show());
3493 ( theWrappedObject->show());
3494 }
3494 }
3495
3495
3496 QString PythonQtWrapper_QHexSpinBox::textFromValue(QHexSpinBox* theWrappedObject, int value) const
3496 QString PythonQtWrapper_QHexSpinBox::textFromValue(QHexSpinBox* theWrappedObject, int value) const
3497 {
3497 {
3498 return ( ((PythonQtPublicPromoter_QHexSpinBox*)theWrappedObject)->promoted_textFromValue(value));
3498 return ( ((PythonQtPublicPromoter_QHexSpinBox*)theWrappedObject)->promoted_textFromValue(value));
3499 }
3499 }
3500
3500
3501 QValidator::State PythonQtWrapper_QHexSpinBox::validate(QHexSpinBox* theWrappedObject, QString& input, int& pos) const
3501 QValidator::State PythonQtWrapper_QHexSpinBox::validate(QHexSpinBox* theWrappedObject, QString& input, int& pos) const
3502 {
3502 {
3503 return ( ((PythonQtPublicPromoter_QHexSpinBox*)theWrappedObject)->promoted_validate(input, pos));
3503 return ( ((PythonQtPublicPromoter_QHexSpinBox*)theWrappedObject)->promoted_validate(input, pos));
3504 }
3504 }
3505
3505
3506 int PythonQtWrapper_QHexSpinBox::valueFromText(QHexSpinBox* theWrappedObject, const QString& text) const
3506 int PythonQtWrapper_QHexSpinBox::valueFromText(QHexSpinBox* theWrappedObject, const QString& text) const
3507 {
3507 {
3508 return ( ((PythonQtPublicPromoter_QHexSpinBox*)theWrappedObject)->promoted_valueFromText(text));
3508 return ( ((PythonQtPublicPromoter_QHexSpinBox*)theWrappedObject)->promoted_valueFromText(text));
3509 }
3509 }
3510
3510
3511
3511
3512
3512
3513 PythonQtShell_SocExplorerPlot::~PythonQtShell_SocExplorerPlot() {
3513 PythonQtShell_SocExplorerPlot::~PythonQtShell_SocExplorerPlot() {
3514 PythonQtPrivate* priv = PythonQt::priv();
3514 PythonQtPrivate* priv = PythonQt::priv();
3515 if (priv) { priv->shellClassDeleted(this); }
3515 if (priv) { priv->shellClassDeleted(this); }
3516 }
3516 }
3517 void PythonQtShell_SocExplorerPlot::actionEvent(QActionEvent* arg__1)
3517 void PythonQtShell_SocExplorerPlot::actionEvent(QActionEvent* arg__1)
3518 {
3518 {
3519 if (_wrapper) {
3519 if (_wrapper) {
3520 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "actionEvent");
3520 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "actionEvent");
3521 PyErr_Clear();
3521 PyErr_Clear();
3522 if (obj && !PythonQtSlotFunction_Check(obj)) {
3522 if (obj && !PythonQtSlotFunction_Check(obj)) {
3523 static const char* argumentList[] ={"" , "QActionEvent*"};
3523 static const char* argumentList[] ={"" , "QActionEvent*"};
3524 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
3524 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
3525 void* args[2] = {NULL, (void*)&arg__1};
3525 void* args[2] = {NULL, (void*)&arg__1};
3526 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
3526 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
3527 if (result) { Py_DECREF(result); }
3527 if (result) { Py_DECREF(result); }
3528 Py_DECREF(obj);
3528 Py_DECREF(obj);
3529 return;
3529 return;
3530 }
3530 }
3531 }
3531 }
3532 SocExplorerPlot::actionEvent(arg__1);
3532 SocExplorerPlot::actionEvent(arg__1);
3533 }
3533 }
3534 void PythonQtShell_SocExplorerPlot::changeEvent(QEvent* arg__1)
3534 void PythonQtShell_SocExplorerPlot::changeEvent(QEvent* arg__1)
3535 {
3535 {
3536 if (_wrapper) {
3536 if (_wrapper) {
3537 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "changeEvent");
3537 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "changeEvent");
3538 PyErr_Clear();
3538 PyErr_Clear();
3539 if (obj && !PythonQtSlotFunction_Check(obj)) {
3539 if (obj && !PythonQtSlotFunction_Check(obj)) {
3540 static const char* argumentList[] ={"" , "QEvent*"};
3540 static const char* argumentList[] ={"" , "QEvent*"};
3541 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
3541 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
3542 void* args[2] = {NULL, (void*)&arg__1};
3542 void* args[2] = {NULL, (void*)&arg__1};
3543 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
3543 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
3544 if (result) { Py_DECREF(result); }
3544 if (result) { Py_DECREF(result); }
3545 Py_DECREF(obj);
3545 Py_DECREF(obj);
3546 return;
3546 return;
3547 }
3547 }
3548 }
3548 }
3549 SocExplorerPlot::changeEvent(arg__1);
3549 SocExplorerPlot::changeEvent(arg__1);
3550 }
3550 }
3551 void PythonQtShell_SocExplorerPlot::childEvent(QChildEvent* arg__1)
3551 void PythonQtShell_SocExplorerPlot::childEvent(QChildEvent* arg__1)
3552 {
3552 {
3553 if (_wrapper) {
3553 if (_wrapper) {
3554 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "childEvent");
3554 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "childEvent");
3555 PyErr_Clear();
3555 PyErr_Clear();
3556 if (obj && !PythonQtSlotFunction_Check(obj)) {
3556 if (obj && !PythonQtSlotFunction_Check(obj)) {
3557 static const char* argumentList[] ={"" , "QChildEvent*"};
3557 static const char* argumentList[] ={"" , "QChildEvent*"};
3558 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
3558 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
3559 void* args[2] = {NULL, (void*)&arg__1};
3559 void* args[2] = {NULL, (void*)&arg__1};
3560 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
3560 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
3561 if (result) { Py_DECREF(result); }
3561 if (result) { Py_DECREF(result); }
3562 Py_DECREF(obj);
3562 Py_DECREF(obj);
3563 return;
3563 return;
3564 }
3564 }
3565 }
3565 }
3566 SocExplorerPlot::childEvent(arg__1);
3566 SocExplorerPlot::childEvent(arg__1);
3567 }
3567 }
3568 void PythonQtShell_SocExplorerPlot::closeEvent(QCloseEvent* arg__1)
3568 void PythonQtShell_SocExplorerPlot::closeEvent(QCloseEvent* arg__1)
3569 {
3569 {
3570 if (_wrapper) {
3570 if (_wrapper) {
3571 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "closeEvent");
3571 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "closeEvent");
3572 PyErr_Clear();
3572 PyErr_Clear();
3573 if (obj && !PythonQtSlotFunction_Check(obj)) {
3573 if (obj && !PythonQtSlotFunction_Check(obj)) {
3574 static const char* argumentList[] ={"" , "QCloseEvent*"};
3574 static const char* argumentList[] ={"" , "QCloseEvent*"};
3575 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
3575 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
3576 void* args[2] = {NULL, (void*)&arg__1};
3576 void* args[2] = {NULL, (void*)&arg__1};
3577 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
3577 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
3578 if (result) { Py_DECREF(result); }
3578 if (result) { Py_DECREF(result); }
3579 Py_DECREF(obj);
3579 Py_DECREF(obj);
3580 return;
3580 return;
3581 }
3581 }
3582 }
3582 }
3583 SocExplorerPlot::closeEvent(arg__1);
3583 SocExplorerPlot::closeEvent(arg__1);
3584 }
3584 }
3585 void PythonQtShell_SocExplorerPlot::contextMenuEvent(QContextMenuEvent* arg__1)
3585 void PythonQtShell_SocExplorerPlot::contextMenuEvent(QContextMenuEvent* arg__1)
3586 {
3586 {
3587 if (_wrapper) {
3587 if (_wrapper) {
3588 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "contextMenuEvent");
3588 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "contextMenuEvent");
3589 PyErr_Clear();
3589 PyErr_Clear();
3590 if (obj && !PythonQtSlotFunction_Check(obj)) {
3590 if (obj && !PythonQtSlotFunction_Check(obj)) {
3591 static const char* argumentList[] ={"" , "QContextMenuEvent*"};
3591 static const char* argumentList[] ={"" , "QContextMenuEvent*"};
3592 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
3592 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
3593 void* args[2] = {NULL, (void*)&arg__1};
3593 void* args[2] = {NULL, (void*)&arg__1};
3594 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
3594 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
3595 if (result) { Py_DECREF(result); }
3595 if (result) { Py_DECREF(result); }
3596 Py_DECREF(obj);
3596 Py_DECREF(obj);
3597 return;
3597 return;
3598 }
3598 }
3599 }
3599 }
3600 SocExplorerPlot::contextMenuEvent(arg__1);
3600 SocExplorerPlot::contextMenuEvent(arg__1);
3601 }
3601 }
3602 void PythonQtShell_SocExplorerPlot::customEvent(QEvent* arg__1)
3602 void PythonQtShell_SocExplorerPlot::customEvent(QEvent* arg__1)
3603 {
3603 {
3604 if (_wrapper) {
3604 if (_wrapper) {
3605 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "customEvent");
3605 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "customEvent");
3606 PyErr_Clear();
3606 PyErr_Clear();
3607 if (obj && !PythonQtSlotFunction_Check(obj)) {
3607 if (obj && !PythonQtSlotFunction_Check(obj)) {
3608 static const char* argumentList[] ={"" , "QEvent*"};
3608 static const char* argumentList[] ={"" , "QEvent*"};
3609 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
3609 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
3610 void* args[2] = {NULL, (void*)&arg__1};
3610 void* args[2] = {NULL, (void*)&arg__1};
3611 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
3611 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
3612 if (result) { Py_DECREF(result); }
3612 if (result) { Py_DECREF(result); }
3613 Py_DECREF(obj);
3613 Py_DECREF(obj);
3614 return;
3614 return;
3615 }
3615 }
3616 }
3616 }
3617 SocExplorerPlot::customEvent(arg__1);
3617 SocExplorerPlot::customEvent(arg__1);
3618 }
3618 }
3619 int PythonQtShell_SocExplorerPlot::devType() const
3619 int PythonQtShell_SocExplorerPlot::devType() const
3620 {
3620 {
3621 if (_wrapper) {
3621 if (_wrapper) {
3622 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "devType");
3622 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "devType");
3623 PyErr_Clear();
3623 PyErr_Clear();
3624 if (obj && !PythonQtSlotFunction_Check(obj)) {
3624 if (obj && !PythonQtSlotFunction_Check(obj)) {
3625 static const char* argumentList[] ={"int"};
3625 static const char* argumentList[] ={"int"};
3626 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList);
3626 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList);
3627 int returnValue;
3627 int returnValue;
3628 void* args[1] = {NULL};
3628 void* args[1] = {NULL};
3629 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
3629 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
3630 if (result) {
3630 if (result) {
3631 args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue);
3631 args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue);
3632 if (args[0]!=&returnValue) {
3632 if (args[0]!=&returnValue) {
3633 if (args[0]==NULL) {
3633 if (args[0]==NULL) {
3634 PythonQt::priv()->handleVirtualOverloadReturnError("devType", methodInfo, result);
3634 PythonQt::priv()->handleVirtualOverloadReturnError("devType", methodInfo, result);
3635 } else {
3635 } else {
3636 returnValue = *((int*)args[0]);
3636 returnValue = *((int*)args[0]);
3637 }
3637 }
3638 }
3638 }
3639 }
3639 }
3640 if (result) { Py_DECREF(result); }
3640 if (result) { Py_DECREF(result); }
3641 Py_DECREF(obj);
3641 Py_DECREF(obj);
3642 return returnValue;
3642 return returnValue;
3643 }
3643 }
3644 }
3644 }
3645 return SocExplorerPlot::devType();
3645 return SocExplorerPlot::devType();
3646 }
3646 }
3647 void PythonQtShell_SocExplorerPlot::dragEnterEvent(QDragEnterEvent* arg__1)
3647 void PythonQtShell_SocExplorerPlot::dragEnterEvent(QDragEnterEvent* arg__1)
3648 {
3648 {
3649 if (_wrapper) {
3649 if (_wrapper) {
3650 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dragEnterEvent");
3650 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dragEnterEvent");
3651 PyErr_Clear();
3651 PyErr_Clear();
3652 if (obj && !PythonQtSlotFunction_Check(obj)) {
3652 if (obj && !PythonQtSlotFunction_Check(obj)) {
3653 static const char* argumentList[] ={"" , "QDragEnterEvent*"};
3653 static const char* argumentList[] ={"" , "QDragEnterEvent*"};
3654 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
3654 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
3655 void* args[2] = {NULL, (void*)&arg__1};
3655 void* args[2] = {NULL, (void*)&arg__1};
3656 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
3656 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
3657 if (result) { Py_DECREF(result); }
3657 if (result) { Py_DECREF(result); }
3658 Py_DECREF(obj);
3658 Py_DECREF(obj);
3659 return;
3659 return;
3660 }
3660 }
3661 }
3661 }
3662 SocExplorerPlot::dragEnterEvent(arg__1);
3662 SocExplorerPlot::dragEnterEvent(arg__1);
3663 }
3663 }
3664 void PythonQtShell_SocExplorerPlot::dragLeaveEvent(QDragLeaveEvent* arg__1)
3664 void PythonQtShell_SocExplorerPlot::dragLeaveEvent(QDragLeaveEvent* arg__1)
3665 {
3665 {
3666 if (_wrapper) {
3666 if (_wrapper) {
3667 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dragLeaveEvent");
3667 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dragLeaveEvent");
3668 PyErr_Clear();
3668 PyErr_Clear();
3669 if (obj && !PythonQtSlotFunction_Check(obj)) {
3669 if (obj && !PythonQtSlotFunction_Check(obj)) {
3670 static const char* argumentList[] ={"" , "QDragLeaveEvent*"};
3670 static const char* argumentList[] ={"" , "QDragLeaveEvent*"};
3671 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
3671 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
3672 void* args[2] = {NULL, (void*)&arg__1};
3672 void* args[2] = {NULL, (void*)&arg__1};
3673 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
3673 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
3674 if (result) { Py_DECREF(result); }
3674 if (result) { Py_DECREF(result); }
3675 Py_DECREF(obj);
3675 Py_DECREF(obj);
3676 return;
3676 return;
3677 }
3677 }
3678 }
3678 }
3679 SocExplorerPlot::dragLeaveEvent(arg__1);
3679 SocExplorerPlot::dragLeaveEvent(arg__1);
3680 }
3680 }
3681 void PythonQtShell_SocExplorerPlot::dragMoveEvent(QDragMoveEvent* arg__1)
3681 void PythonQtShell_SocExplorerPlot::dragMoveEvent(QDragMoveEvent* arg__1)
3682 {
3682 {
3683 if (_wrapper) {
3683 if (_wrapper) {
3684 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dragMoveEvent");
3684 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dragMoveEvent");
3685 PyErr_Clear();
3685 PyErr_Clear();
3686 if (obj && !PythonQtSlotFunction_Check(obj)) {
3686 if (obj && !PythonQtSlotFunction_Check(obj)) {
3687 static const char* argumentList[] ={"" , "QDragMoveEvent*"};
3687 static const char* argumentList[] ={"" , "QDragMoveEvent*"};
3688 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
3688 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
3689 void* args[2] = {NULL, (void*)&arg__1};
3689 void* args[2] = {NULL, (void*)&arg__1};
3690 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
3690 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
3691 if (result) { Py_DECREF(result); }
3691 if (result) { Py_DECREF(result); }
3692 Py_DECREF(obj);
3692 Py_DECREF(obj);
3693 return;
3693 return;
3694 }
3694 }
3695 }
3695 }
3696 SocExplorerPlot::dragMoveEvent(arg__1);
3696 SocExplorerPlot::dragMoveEvent(arg__1);
3697 }
3697 }
3698 void PythonQtShell_SocExplorerPlot::dropEvent(QDropEvent* arg__1)
3698 void PythonQtShell_SocExplorerPlot::dropEvent(QDropEvent* arg__1)
3699 {
3699 {
3700 if (_wrapper) {
3700 if (_wrapper) {
3701 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dropEvent");
3701 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dropEvent");
3702 PyErr_Clear();
3702 PyErr_Clear();
3703 if (obj && !PythonQtSlotFunction_Check(obj)) {
3703 if (obj && !PythonQtSlotFunction_Check(obj)) {
3704 static const char* argumentList[] ={"" , "QDropEvent*"};
3704 static const char* argumentList[] ={"" , "QDropEvent*"};
3705 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
3705 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
3706 void* args[2] = {NULL, (void*)&arg__1};
3706 void* args[2] = {NULL, (void*)&arg__1};
3707 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
3707 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
3708 if (result) { Py_DECREF(result); }
3708 if (result) { Py_DECREF(result); }
3709 Py_DECREF(obj);
3709 Py_DECREF(obj);
3710 return;
3710 return;
3711 }
3711 }
3712 }
3712 }
3713 SocExplorerPlot::dropEvent(arg__1);
3713 SocExplorerPlot::dropEvent(arg__1);
3714 }
3714 }
3715 void PythonQtShell_SocExplorerPlot::enterEvent(QEvent* arg__1)
3715 void PythonQtShell_SocExplorerPlot::enterEvent(QEvent* arg__1)
3716 {
3716 {
3717 if (_wrapper) {
3717 if (_wrapper) {
3718 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "enterEvent");
3718 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "enterEvent");
3719 PyErr_Clear();
3719 PyErr_Clear();
3720 if (obj && !PythonQtSlotFunction_Check(obj)) {
3720 if (obj && !PythonQtSlotFunction_Check(obj)) {
3721 static const char* argumentList[] ={"" , "QEvent*"};
3721 static const char* argumentList[] ={"" , "QEvent*"};
3722 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
3722 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
3723 void* args[2] = {NULL, (void*)&arg__1};
3723 void* args[2] = {NULL, (void*)&arg__1};
3724 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
3724 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
3725 if (result) { Py_DECREF(result); }
3725 if (result) { Py_DECREF(result); }
3726 Py_DECREF(obj);
3726 Py_DECREF(obj);
3727 return;
3727 return;
3728 }
3728 }
3729 }
3729 }
3730 SocExplorerPlot::enterEvent(arg__1);
3730 SocExplorerPlot::enterEvent(arg__1);
3731 }
3731 }
3732 bool PythonQtShell_SocExplorerPlot::event(QEvent* arg__1)
3732 bool PythonQtShell_SocExplorerPlot::event(QEvent* arg__1)
3733 {
3733 {
3734 if (_wrapper) {
3734 if (_wrapper) {
3735 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "event");
3735 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "event");
3736 PyErr_Clear();
3736 PyErr_Clear();
3737 if (obj && !PythonQtSlotFunction_Check(obj)) {
3737 if (obj && !PythonQtSlotFunction_Check(obj)) {
3738 static const char* argumentList[] ={"bool" , "QEvent*"};
3738 static const char* argumentList[] ={"bool" , "QEvent*"};
3739 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
3739 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
3740 bool returnValue;
3740 bool returnValue;
3741 void* args[2] = {NULL, (void*)&arg__1};
3741 void* args[2] = {NULL, (void*)&arg__1};
3742 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
3742 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
3743 if (result) {
3743 if (result) {
3744 args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue);
3744 args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue);
3745 if (args[0]!=&returnValue) {
3745 if (args[0]!=&returnValue) {
3746 if (args[0]==NULL) {
3746 if (args[0]==NULL) {
3747 PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result);
3747 PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result);
3748 } else {
3748 } else {
3749 returnValue = *((bool*)args[0]);
3749 returnValue = *((bool*)args[0]);
3750 }
3750 }
3751 }
3751 }
3752 }
3752 }
3753 if (result) { Py_DECREF(result); }
3753 if (result) { Py_DECREF(result); }
3754 Py_DECREF(obj);
3754 Py_DECREF(obj);
3755 return returnValue;
3755 return returnValue;
3756 }
3756 }
3757 }
3757 }
3758 return SocExplorerPlot::event(arg__1);
3758 return SocExplorerPlot::event(arg__1);
3759 }
3759 }
3760 bool PythonQtShell_SocExplorerPlot::eventFilter(QObject* arg__1, QEvent* arg__2)
3760 bool PythonQtShell_SocExplorerPlot::eventFilter(QObject* arg__1, QEvent* arg__2)
3761 {
3761 {
3762 if (_wrapper) {
3762 if (_wrapper) {
3763 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "eventFilter");
3763 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "eventFilter");
3764 PyErr_Clear();
3764 PyErr_Clear();
3765 if (obj && !PythonQtSlotFunction_Check(obj)) {
3765 if (obj && !PythonQtSlotFunction_Check(obj)) {
3766 static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"};
3766 static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"};
3767 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList);
3767 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList);
3768 bool returnValue;
3768 bool returnValue;
3769 void* args[3] = {NULL, (void*)&arg__1, (void*)&arg__2};
3769 void* args[3] = {NULL, (void*)&arg__1, (void*)&arg__2};
3770 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
3770 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
3771 if (result) {
3771 if (result) {
3772 args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue);
3772 args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue);
3773 if (args[0]!=&returnValue) {
3773 if (args[0]!=&returnValue) {
3774 if (args[0]==NULL) {
3774 if (args[0]==NULL) {
3775 PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result);
3775 PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result);
3776 } else {
3776 } else {
3777 returnValue = *((bool*)args[0]);
3777 returnValue = *((bool*)args[0]);
3778 }
3778 }
3779 }
3779 }
3780 }
3780 }
3781 if (result) { Py_DECREF(result); }
3781 if (result) { Py_DECREF(result); }
3782 Py_DECREF(obj);
3782 Py_DECREF(obj);
3783 return returnValue;
3783 return returnValue;
3784 }
3784 }
3785 }
3785 }
3786 return SocExplorerPlot::eventFilter(arg__1, arg__2);
3786 return SocExplorerPlot::eventFilter(arg__1, arg__2);
3787 }
3787 }
3788 void PythonQtShell_SocExplorerPlot::focusInEvent(QFocusEvent* arg__1)
3788 void PythonQtShell_SocExplorerPlot::focusInEvent(QFocusEvent* arg__1)
3789 {
3789 {
3790 if (_wrapper) {
3790 if (_wrapper) {
3791 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "focusInEvent");
3791 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "focusInEvent");
3792 PyErr_Clear();
3792 PyErr_Clear();
3793 if (obj && !PythonQtSlotFunction_Check(obj)) {
3793 if (obj && !PythonQtSlotFunction_Check(obj)) {
3794 static const char* argumentList[] ={"" , "QFocusEvent*"};
3794 static const char* argumentList[] ={"" , "QFocusEvent*"};
3795 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
3795 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
3796 void* args[2] = {NULL, (void*)&arg__1};
3796 void* args[2] = {NULL, (void*)&arg__1};
3797 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
3797 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
3798 if (result) { Py_DECREF(result); }
3798 if (result) { Py_DECREF(result); }
3799 Py_DECREF(obj);
3799 Py_DECREF(obj);
3800 return;
3800 return;
3801 }
3801 }
3802 }
3802 }
3803 SocExplorerPlot::focusInEvent(arg__1);
3803 SocExplorerPlot::focusInEvent(arg__1);
3804 }
3804 }
3805 bool PythonQtShell_SocExplorerPlot::focusNextPrevChild(bool next)
3805 bool PythonQtShell_SocExplorerPlot::focusNextPrevChild(bool next)
3806 {
3806 {
3807 if (_wrapper) {
3807 if (_wrapper) {
3808 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "focusNextPrevChild");
3808 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "focusNextPrevChild");
3809 PyErr_Clear();
3809 PyErr_Clear();
3810 if (obj && !PythonQtSlotFunction_Check(obj)) {
3810 if (obj && !PythonQtSlotFunction_Check(obj)) {
3811 static const char* argumentList[] ={"bool" , "bool"};
3811 static const char* argumentList[] ={"bool" , "bool"};
3812 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
3812 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
3813 bool returnValue;
3813 bool returnValue;
3814 void* args[2] = {NULL, (void*)&next};
3814 void* args[2] = {NULL, (void*)&next};
3815 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
3815 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
3816 if (result) {
3816 if (result) {
3817 args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue);
3817 args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue);
3818 if (args[0]!=&returnValue) {
3818 if (args[0]!=&returnValue) {
3819 if (args[0]==NULL) {
3819 if (args[0]==NULL) {
3820 PythonQt::priv()->handleVirtualOverloadReturnError("focusNextPrevChild", methodInfo, result);
3820 PythonQt::priv()->handleVirtualOverloadReturnError("focusNextPrevChild", methodInfo, result);
3821 } else {
3821 } else {
3822 returnValue = *((bool*)args[0]);
3822 returnValue = *((bool*)args[0]);
3823 }
3823 }
3824 }
3824 }
3825 }
3825 }
3826 if (result) { Py_DECREF(result); }
3826 if (result) { Py_DECREF(result); }
3827 Py_DECREF(obj);
3827 Py_DECREF(obj);
3828 return returnValue;
3828 return returnValue;
3829 }
3829 }
3830 }
3830 }
3831 return SocExplorerPlot::focusNextPrevChild(next);
3831 return SocExplorerPlot::focusNextPrevChild(next);
3832 }
3832 }
3833 void PythonQtShell_SocExplorerPlot::focusOutEvent(QFocusEvent* arg__1)
3833 void PythonQtShell_SocExplorerPlot::focusOutEvent(QFocusEvent* arg__1)
3834 {
3834 {
3835 if (_wrapper) {
3835 if (_wrapper) {
3836 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "focusOutEvent");
3836 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "focusOutEvent");
3837 PyErr_Clear();
3837 PyErr_Clear();
3838 if (obj && !PythonQtSlotFunction_Check(obj)) {
3838 if (obj && !PythonQtSlotFunction_Check(obj)) {
3839 static const char* argumentList[] ={"" , "QFocusEvent*"};
3839 static const char* argumentList[] ={"" , "QFocusEvent*"};
3840 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
3840 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
3841 void* args[2] = {NULL, (void*)&arg__1};
3841 void* args[2] = {NULL, (void*)&arg__1};
3842 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
3842 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
3843 if (result) { Py_DECREF(result); }
3843 if (result) { Py_DECREF(result); }
3844 Py_DECREF(obj);
3844 Py_DECREF(obj);
3845 return;
3845 return;
3846 }
3846 }
3847 }
3847 }
3848 SocExplorerPlot::focusOutEvent(arg__1);
3848 SocExplorerPlot::focusOutEvent(arg__1);
3849 }
3849 }
3850 bool PythonQtShell_SocExplorerPlot::hasHeightForWidth() const
3850 bool PythonQtShell_SocExplorerPlot::hasHeightForWidth() const
3851 {
3851 {
3852 if (_wrapper) {
3852 if (_wrapper) {
3853 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "hasHeightForWidth");
3853 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "hasHeightForWidth");
3854 PyErr_Clear();
3854 PyErr_Clear();
3855 if (obj && !PythonQtSlotFunction_Check(obj)) {
3855 if (obj && !PythonQtSlotFunction_Check(obj)) {
3856 static const char* argumentList[] ={"bool"};
3856 static const char* argumentList[] ={"bool"};
3857 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList);
3857 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList);
3858 bool returnValue;
3858 bool returnValue;
3859 void* args[1] = {NULL};
3859 void* args[1] = {NULL};
3860 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
3860 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
3861 if (result) {
3861 if (result) {
3862 args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue);
3862 args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue);
3863 if (args[0]!=&returnValue) {
3863 if (args[0]!=&returnValue) {
3864 if (args[0]==NULL) {
3864 if (args[0]==NULL) {
3865 PythonQt::priv()->handleVirtualOverloadReturnError("hasHeightForWidth", methodInfo, result);
3865 PythonQt::priv()->handleVirtualOverloadReturnError("hasHeightForWidth", methodInfo, result);
3866 } else {
3866 } else {
3867 returnValue = *((bool*)args[0]);
3867 returnValue = *((bool*)args[0]);
3868 }
3868 }
3869 }
3869 }
3870 }
3870 }
3871 if (result) { Py_DECREF(result); }
3871 if (result) { Py_DECREF(result); }
3872 Py_DECREF(obj);
3872 Py_DECREF(obj);
3873 return returnValue;
3873 return returnValue;
3874 }
3874 }
3875 }
3875 }
3876 return SocExplorerPlot::hasHeightForWidth();
3876 return SocExplorerPlot::hasHeightForWidth();
3877 }
3877 }
3878 int PythonQtShell_SocExplorerPlot::heightForWidth(int arg__1) const
3878 int PythonQtShell_SocExplorerPlot::heightForWidth(int arg__1) const
3879 {
3879 {
3880 if (_wrapper) {
3880 if (_wrapper) {
3881 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "heightForWidth");
3881 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "heightForWidth");
3882 PyErr_Clear();
3882 PyErr_Clear();
3883 if (obj && !PythonQtSlotFunction_Check(obj)) {
3883 if (obj && !PythonQtSlotFunction_Check(obj)) {
3884 static const char* argumentList[] ={"int" , "int"};
3884 static const char* argumentList[] ={"int" , "int"};
3885 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
3885 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
3886 int returnValue;
3886 int returnValue;
3887 void* args[2] = {NULL, (void*)&arg__1};
3887 void* args[2] = {NULL, (void*)&arg__1};
3888 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
3888 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
3889 if (result) {
3889 if (result) {
3890 args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue);
3890 args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue);
3891 if (args[0]!=&returnValue) {
3891 if (args[0]!=&returnValue) {
3892 if (args[0]==NULL) {
3892 if (args[0]==NULL) {
3893 PythonQt::priv()->handleVirtualOverloadReturnError("heightForWidth", methodInfo, result);
3893 PythonQt::priv()->handleVirtualOverloadReturnError("heightForWidth", methodInfo, result);
3894 } else {
3894 } else {
3895 returnValue = *((int*)args[0]);
3895 returnValue = *((int*)args[0]);
3896 }
3896 }
3897 }
3897 }
3898 }
3898 }
3899 if (result) { Py_DECREF(result); }
3899 if (result) { Py_DECREF(result); }
3900 Py_DECREF(obj);
3900 Py_DECREF(obj);
3901 return returnValue;
3901 return returnValue;
3902 }
3902 }
3903 }
3903 }
3904 return SocExplorerPlot::heightForWidth(arg__1);
3904 return SocExplorerPlot::heightForWidth(arg__1);
3905 }
3905 }
3906 void PythonQtShell_SocExplorerPlot::hideEvent(QHideEvent* arg__1)
3906 void PythonQtShell_SocExplorerPlot::hideEvent(QHideEvent* arg__1)
3907 {
3907 {
3908 if (_wrapper) {
3908 if (_wrapper) {
3909 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "hideEvent");
3909 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "hideEvent");
3910 PyErr_Clear();
3910 PyErr_Clear();
3911 if (obj && !PythonQtSlotFunction_Check(obj)) {
3911 if (obj && !PythonQtSlotFunction_Check(obj)) {
3912 static const char* argumentList[] ={"" , "QHideEvent*"};
3912 static const char* argumentList[] ={"" , "QHideEvent*"};
3913 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
3913 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
3914 void* args[2] = {NULL, (void*)&arg__1};
3914 void* args[2] = {NULL, (void*)&arg__1};
3915 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
3915 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
3916 if (result) { Py_DECREF(result); }
3916 if (result) { Py_DECREF(result); }
3917 Py_DECREF(obj);
3917 Py_DECREF(obj);
3918 return;
3918 return;
3919 }
3919 }
3920 }
3920 }
3921 SocExplorerPlot::hideEvent(arg__1);
3921 SocExplorerPlot::hideEvent(arg__1);
3922 }
3922 }
3923 void PythonQtShell_SocExplorerPlot::initPainter(QPainter* painter) const
3923 void PythonQtShell_SocExplorerPlot::initPainter(QPainter* painter) const
3924 {
3924 {
3925 if (_wrapper) {
3925 if (_wrapper) {
3926 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "initPainter");
3926 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "initPainter");
3927 PyErr_Clear();
3927 PyErr_Clear();
3928 if (obj && !PythonQtSlotFunction_Check(obj)) {
3928 if (obj && !PythonQtSlotFunction_Check(obj)) {
3929 static const char* argumentList[] ={"" , "QPainter*"};
3929 static const char* argumentList[] ={"" , "QPainter*"};
3930 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
3930 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
3931 void* args[2] = {NULL, (void*)&painter};
3931 void* args[2] = {NULL, (void*)&painter};
3932 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
3932 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
3933 if (result) { Py_DECREF(result); }
3933 if (result) { Py_DECREF(result); }
3934 Py_DECREF(obj);
3934 Py_DECREF(obj);
3935 return;
3935 return;
3936 }
3936 }
3937 }
3937 }
3938 SocExplorerPlot::initPainter(painter);
3938 SocExplorerPlot::initPainter(painter);
3939 }
3939 }
3940 void PythonQtShell_SocExplorerPlot::inputMethodEvent(QInputMethodEvent* arg__1)
3940 void PythonQtShell_SocExplorerPlot::inputMethodEvent(QInputMethodEvent* arg__1)
3941 {
3941 {
3942 if (_wrapper) {
3942 if (_wrapper) {
3943 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "inputMethodEvent");
3943 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "inputMethodEvent");
3944 PyErr_Clear();
3944 PyErr_Clear();
3945 if (obj && !PythonQtSlotFunction_Check(obj)) {
3945 if (obj && !PythonQtSlotFunction_Check(obj)) {
3946 static const char* argumentList[] ={"" , "QInputMethodEvent*"};
3946 static const char* argumentList[] ={"" , "QInputMethodEvent*"};
3947 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
3947 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
3948 void* args[2] = {NULL, (void*)&arg__1};
3948 void* args[2] = {NULL, (void*)&arg__1};
3949 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
3949 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
3950 if (result) { Py_DECREF(result); }
3950 if (result) { Py_DECREF(result); }
3951 Py_DECREF(obj);
3951 Py_DECREF(obj);
3952 return;
3952 return;
3953 }
3953 }
3954 }
3954 }
3955 SocExplorerPlot::inputMethodEvent(arg__1);
3955 SocExplorerPlot::inputMethodEvent(arg__1);
3956 }
3956 }
3957 QVariant PythonQtShell_SocExplorerPlot::inputMethodQuery(Qt::InputMethodQuery arg__1) const
3957 QVariant PythonQtShell_SocExplorerPlot::inputMethodQuery(Qt::InputMethodQuery arg__1) const
3958 {
3958 {
3959 if (_wrapper) {
3959 if (_wrapper) {
3960 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "inputMethodQuery");
3960 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "inputMethodQuery");
3961 PyErr_Clear();
3961 PyErr_Clear();
3962 if (obj && !PythonQtSlotFunction_Check(obj)) {
3962 if (obj && !PythonQtSlotFunction_Check(obj)) {
3963 static const char* argumentList[] ={"QVariant" , "Qt::InputMethodQuery"};
3963 static const char* argumentList[] ={"QVariant" , "Qt::InputMethodQuery"};
3964 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
3964 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
3965 QVariant returnValue;
3965 QVariant returnValue;
3966 void* args[2] = {NULL, (void*)&arg__1};
3966 void* args[2] = {NULL, (void*)&arg__1};
3967 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
3967 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
3968 if (result) {
3968 if (result) {
3969 args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue);
3969 args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue);
3970 if (args[0]!=&returnValue) {
3970 if (args[0]!=&returnValue) {
3971 if (args[0]==NULL) {
3971 if (args[0]==NULL) {
3972 PythonQt::priv()->handleVirtualOverloadReturnError("inputMethodQuery", methodInfo, result);
3972 PythonQt::priv()->handleVirtualOverloadReturnError("inputMethodQuery", methodInfo, result);
3973 } else {
3973 } else {
3974 returnValue = *((QVariant*)args[0]);
3974 returnValue = *((QVariant*)args[0]);
3975 }
3975 }
3976 }
3976 }
3977 }
3977 }
3978 if (result) { Py_DECREF(result); }
3978 if (result) { Py_DECREF(result); }
3979 Py_DECREF(obj);
3979 Py_DECREF(obj);
3980 return returnValue;
3980 return returnValue;
3981 }
3981 }
3982 }
3982 }
3983 return SocExplorerPlot::inputMethodQuery(arg__1);
3983 return SocExplorerPlot::inputMethodQuery(arg__1);
3984 }
3984 }
3985 void PythonQtShell_SocExplorerPlot::keyPressEvent(QKeyEvent* arg__1)
3985 void PythonQtShell_SocExplorerPlot::keyPressEvent(QKeyEvent* arg__1)
3986 {
3986 {
3987 if (_wrapper) {
3987 if (_wrapper) {
3988 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "keyPressEvent");
3988 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "keyPressEvent");
3989 PyErr_Clear();
3989 PyErr_Clear();
3990 if (obj && !PythonQtSlotFunction_Check(obj)) {
3990 if (obj && !PythonQtSlotFunction_Check(obj)) {
3991 static const char* argumentList[] ={"" , "QKeyEvent*"};
3991 static const char* argumentList[] ={"" , "QKeyEvent*"};
3992 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
3992 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
3993 void* args[2] = {NULL, (void*)&arg__1};
3993 void* args[2] = {NULL, (void*)&arg__1};
3994 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
3994 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
3995 if (result) { Py_DECREF(result); }
3995 if (result) { Py_DECREF(result); }
3996 Py_DECREF(obj);
3996 Py_DECREF(obj);
3997 return;
3997 return;
3998 }
3998 }
3999 }
3999 }
4000 SocExplorerPlot::keyPressEvent(arg__1);
4000 SocExplorerPlot::keyPressEvent(arg__1);
4001 }
4001 }
4002 void PythonQtShell_SocExplorerPlot::keyReleaseEvent(QKeyEvent* arg__1)
4002 void PythonQtShell_SocExplorerPlot::keyReleaseEvent(QKeyEvent* arg__1)
4003 {
4003 {
4004 if (_wrapper) {
4004 if (_wrapper) {
4005 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "keyReleaseEvent");
4005 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "keyReleaseEvent");
4006 PyErr_Clear();
4006 PyErr_Clear();
4007 if (obj && !PythonQtSlotFunction_Check(obj)) {
4007 if (obj && !PythonQtSlotFunction_Check(obj)) {
4008 static const char* argumentList[] ={"" , "QKeyEvent*"};
4008 static const char* argumentList[] ={"" , "QKeyEvent*"};
4009 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
4009 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
4010 void* args[2] = {NULL, (void*)&arg__1};
4010 void* args[2] = {NULL, (void*)&arg__1};
4011 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
4011 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
4012 if (result) { Py_DECREF(result); }
4012 if (result) { Py_DECREF(result); }
4013 Py_DECREF(obj);
4013 Py_DECREF(obj);
4014 return;
4014 return;
4015 }
4015 }
4016 }
4016 }
4017 SocExplorerPlot::keyReleaseEvent(arg__1);
4017 SocExplorerPlot::keyReleaseEvent(arg__1);
4018 }
4018 }
4019 void PythonQtShell_SocExplorerPlot::leaveEvent(QEvent* arg__1)
4019 void PythonQtShell_SocExplorerPlot::leaveEvent(QEvent* arg__1)
4020 {
4020 {
4021 if (_wrapper) {
4021 if (_wrapper) {
4022 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "leaveEvent");
4022 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "leaveEvent");
4023 PyErr_Clear();
4023 PyErr_Clear();
4024 if (obj && !PythonQtSlotFunction_Check(obj)) {
4024 if (obj && !PythonQtSlotFunction_Check(obj)) {
4025 static const char* argumentList[] ={"" , "QEvent*"};
4025 static const char* argumentList[] ={"" , "QEvent*"};
4026 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
4026 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
4027 void* args[2] = {NULL, (void*)&arg__1};
4027 void* args[2] = {NULL, (void*)&arg__1};
4028 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
4028 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
4029 if (result) { Py_DECREF(result); }
4029 if (result) { Py_DECREF(result); }
4030 Py_DECREF(obj);
4030 Py_DECREF(obj);
4031 return;
4031 return;
4032 }
4032 }
4033 }
4033 }
4034 SocExplorerPlot::leaveEvent(arg__1);
4034 SocExplorerPlot::leaveEvent(arg__1);
4035 }
4035 }
4036 int PythonQtShell_SocExplorerPlot::metric(QPaintDevice::PaintDeviceMetric arg__1) const
4036 int PythonQtShell_SocExplorerPlot::metric(QPaintDevice::PaintDeviceMetric arg__1) const
4037 {
4037 {
4038 if (_wrapper) {
4038 if (_wrapper) {
4039 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "metric");
4039 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "metric");
4040 PyErr_Clear();
4040 PyErr_Clear();
4041 if (obj && !PythonQtSlotFunction_Check(obj)) {
4041 if (obj && !PythonQtSlotFunction_Check(obj)) {
4042 static const char* argumentList[] ={"int" , "QPaintDevice::PaintDeviceMetric"};
4042 static const char* argumentList[] ={"int" , "QPaintDevice::PaintDeviceMetric"};
4043 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
4043 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
4044 int returnValue;
4044 int returnValue;
4045 void* args[2] = {NULL, (void*)&arg__1};
4045 void* args[2] = {NULL, (void*)&arg__1};
4046 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
4046 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
4047 if (result) {
4047 if (result) {
4048 args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue);
4048 args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue);
4049 if (args[0]!=&returnValue) {
4049 if (args[0]!=&returnValue) {
4050 if (args[0]==NULL) {
4050 if (args[0]==NULL) {
4051 PythonQt::priv()->handleVirtualOverloadReturnError("metric", methodInfo, result);
4051 PythonQt::priv()->handleVirtualOverloadReturnError("metric", methodInfo, result);
4052 } else {
4052 } else {
4053 returnValue = *((int*)args[0]);
4053 returnValue = *((int*)args[0]);
4054 }
4054 }
4055 }
4055 }
4056 }
4056 }
4057 if (result) { Py_DECREF(result); }
4057 if (result) { Py_DECREF(result); }
4058 Py_DECREF(obj);
4058 Py_DECREF(obj);
4059 return returnValue;
4059 return returnValue;
4060 }
4060 }
4061 }
4061 }
4062 return SocExplorerPlot::metric(arg__1);
4062 return SocExplorerPlot::metric(arg__1);
4063 }
4063 }
4064 QSize PythonQtShell_SocExplorerPlot::minimumSizeHint() const
4064 QSize PythonQtShell_SocExplorerPlot::minimumSizeHint() const
4065 {
4065 {
4066 if (_wrapper) {
4066 if (_wrapper) {
4067 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "getMinimumSizeHint");
4067 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "getMinimumSizeHint");
4068 PyErr_Clear();
4068 PyErr_Clear();
4069 if (obj && !PythonQtSlotFunction_Check(obj)) {
4069 if (obj && !PythonQtSlotFunction_Check(obj)) {
4070 static const char* argumentList[] ={"QSize"};
4070 static const char* argumentList[] ={"QSize"};
4071 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList);
4071 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList);
4072 QSize returnValue;
4072 QSize returnValue;
4073 void* args[1] = {NULL};
4073 void* args[1] = {NULL};
4074 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
4074 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
4075 if (result) {
4075 if (result) {
4076 args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue);
4076 args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue);
4077 if (args[0]!=&returnValue) {
4077 if (args[0]!=&returnValue) {
4078 if (args[0]==NULL) {
4078 if (args[0]==NULL) {
4079 PythonQt::priv()->handleVirtualOverloadReturnError("getMinimumSizeHint", methodInfo, result);
4079 PythonQt::priv()->handleVirtualOverloadReturnError("getMinimumSizeHint", methodInfo, result);
4080 } else {
4080 } else {
4081 returnValue = *((QSize*)args[0]);
4081 returnValue = *((QSize*)args[0]);
4082 }
4082 }
4083 }
4083 }
4084 }
4084 }
4085 if (result) { Py_DECREF(result); }
4085 if (result) { Py_DECREF(result); }
4086 Py_DECREF(obj);
4086 Py_DECREF(obj);
4087 return returnValue;
4087 return returnValue;
4088 }
4088 }
4089 }
4089 }
4090 return SocExplorerPlot::minimumSizeHint();
4090 return SocExplorerPlot::minimumSizeHint();
4091 }
4091 }
4092 void PythonQtShell_SocExplorerPlot::mouseDoubleClickEvent(QMouseEvent* arg__1)
4092 void PythonQtShell_SocExplorerPlot::mouseDoubleClickEvent(QMouseEvent* arg__1)
4093 {
4093 {
4094 if (_wrapper) {
4094 if (_wrapper) {
4095 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mouseDoubleClickEvent");
4095 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mouseDoubleClickEvent");
4096 PyErr_Clear();
4096 PyErr_Clear();
4097 if (obj && !PythonQtSlotFunction_Check(obj)) {
4097 if (obj && !PythonQtSlotFunction_Check(obj)) {
4098 static const char* argumentList[] ={"" , "QMouseEvent*"};
4098 static const char* argumentList[] ={"" , "QMouseEvent*"};
4099 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
4099 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
4100 void* args[2] = {NULL, (void*)&arg__1};
4100 void* args[2] = {NULL, (void*)&arg__1};
4101 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
4101 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
4102 if (result) { Py_DECREF(result); }
4102 if (result) { Py_DECREF(result); }
4103 Py_DECREF(obj);
4103 Py_DECREF(obj);
4104 return;
4104 return;
4105 }
4105 }
4106 }
4106 }
4107 SocExplorerPlot::mouseDoubleClickEvent(arg__1);
4107 SocExplorerPlot::mouseDoubleClickEvent(arg__1);
4108 }
4108 }
4109 void PythonQtShell_SocExplorerPlot::mouseMoveEvent(QMouseEvent* arg__1)
4109 void PythonQtShell_SocExplorerPlot::mouseMoveEvent(QMouseEvent* arg__1)
4110 {
4110 {
4111 if (_wrapper) {
4111 if (_wrapper) {
4112 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mouseMoveEvent");
4112 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mouseMoveEvent");
4113 PyErr_Clear();
4113 PyErr_Clear();
4114 if (obj && !PythonQtSlotFunction_Check(obj)) {
4114 if (obj && !PythonQtSlotFunction_Check(obj)) {
4115 static const char* argumentList[] ={"" , "QMouseEvent*"};
4115 static const char* argumentList[] ={"" , "QMouseEvent*"};
4116 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
4116 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
4117 void* args[2] = {NULL, (void*)&arg__1};
4117 void* args[2] = {NULL, (void*)&arg__1};
4118 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
4118 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
4119 if (result) { Py_DECREF(result); }
4119 if (result) { Py_DECREF(result); }
4120 Py_DECREF(obj);
4120 Py_DECREF(obj);
4121 return;
4121 return;
4122 }
4122 }
4123 }
4123 }
4124 SocExplorerPlot::mouseMoveEvent(arg__1);
4124 SocExplorerPlot::mouseMoveEvent(arg__1);
4125 }
4125 }
4126 void PythonQtShell_SocExplorerPlot::mousePressEvent(QMouseEvent* arg__1)
4126 void PythonQtShell_SocExplorerPlot::mousePressEvent(QMouseEvent* arg__1)
4127 {
4127 {
4128 if (_wrapper) {
4128 if (_wrapper) {
4129 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mousePressEvent");
4129 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mousePressEvent");
4130 PyErr_Clear();
4130 PyErr_Clear();
4131 if (obj && !PythonQtSlotFunction_Check(obj)) {
4131 if (obj && !PythonQtSlotFunction_Check(obj)) {
4132 static const char* argumentList[] ={"" , "QMouseEvent*"};
4132 static const char* argumentList[] ={"" , "QMouseEvent*"};
4133 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
4133 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
4134 void* args[2] = {NULL, (void*)&arg__1};
4134 void* args[2] = {NULL, (void*)&arg__1};
4135 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
4135 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
4136 if (result) { Py_DECREF(result); }
4136 if (result) { Py_DECREF(result); }
4137 Py_DECREF(obj);
4137 Py_DECREF(obj);
4138 return;
4138 return;
4139 }
4139 }
4140 }
4140 }
4141 SocExplorerPlot::mousePressEvent(arg__1);
4141 SocExplorerPlot::mousePressEvent(arg__1);
4142 }
4142 }
4143 void PythonQtShell_SocExplorerPlot::mouseReleaseEvent(QMouseEvent* arg__1)
4143 void PythonQtShell_SocExplorerPlot::mouseReleaseEvent(QMouseEvent* arg__1)
4144 {
4144 {
4145 if (_wrapper) {
4145 if (_wrapper) {
4146 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mouseReleaseEvent");
4146 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mouseReleaseEvent");
4147 PyErr_Clear();
4147 PyErr_Clear();
4148 if (obj && !PythonQtSlotFunction_Check(obj)) {
4148 if (obj && !PythonQtSlotFunction_Check(obj)) {
4149 static const char* argumentList[] ={"" , "QMouseEvent*"};
4149 static const char* argumentList[] ={"" , "QMouseEvent*"};
4150 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
4150 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
4151 void* args[2] = {NULL, (void*)&arg__1};
4151 void* args[2] = {NULL, (void*)&arg__1};
4152 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
4152 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
4153 if (result) { Py_DECREF(result); }
4153 if (result) { Py_DECREF(result); }
4154 Py_DECREF(obj);
4154 Py_DECREF(obj);
4155 return;
4155 return;
4156 }
4156 }
4157 }
4157 }
4158 SocExplorerPlot::mouseReleaseEvent(arg__1);
4158 SocExplorerPlot::mouseReleaseEvent(arg__1);
4159 }
4159 }
4160 void PythonQtShell_SocExplorerPlot::moveEvent(QMoveEvent* arg__1)
4160 void PythonQtShell_SocExplorerPlot::moveEvent(QMoveEvent* arg__1)
4161 {
4161 {
4162 if (_wrapper) {
4162 if (_wrapper) {
4163 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "moveEvent");
4163 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "moveEvent");
4164 PyErr_Clear();
4164 PyErr_Clear();
4165 if (obj && !PythonQtSlotFunction_Check(obj)) {
4165 if (obj && !PythonQtSlotFunction_Check(obj)) {
4166 static const char* argumentList[] ={"" , "QMoveEvent*"};
4166 static const char* argumentList[] ={"" , "QMoveEvent*"};
4167 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
4167 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
4168 void* args[2] = {NULL, (void*)&arg__1};
4168 void* args[2] = {NULL, (void*)&arg__1};
4169 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
4169 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
4170 if (result) { Py_DECREF(result); }
4170 if (result) { Py_DECREF(result); }
4171 Py_DECREF(obj);
4171 Py_DECREF(obj);
4172 return;
4172 return;
4173 }
4173 }
4174 }
4174 }
4175 SocExplorerPlot::moveEvent(arg__1);
4175 SocExplorerPlot::moveEvent(arg__1);
4176 }
4176 }
4177 bool PythonQtShell_SocExplorerPlot::nativeEvent(const QByteArray& eventType, void* message, long* result)
4177 bool PythonQtShell_SocExplorerPlot::nativeEvent(const QByteArray& eventType, void* message, long* result)
4178 {
4178 {
4179 if (_wrapper) {
4179 if (_wrapper) {
4180 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "nativeEvent");
4180 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "nativeEvent");
4181 PyErr_Clear();
4181 PyErr_Clear();
4182 if (obj && !PythonQtSlotFunction_Check(obj)) {
4182 if (obj && !PythonQtSlotFunction_Check(obj)) {
4183 static const char* argumentList[] ={"bool" , "const QByteArray&" , "void*" , "long*"};
4183 static const char* argumentList[] ={"bool" , "const QByteArray&" , "void*" , "long*"};
4184 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList);
4184 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList);
4185 bool returnValue;
4185 bool returnValue;
4186 void* args[4] = {NULL, (void*)&eventType, (void*)&message, (void*)&result};
4186 void* args[4] = {NULL, (void*)&eventType, (void*)&message, (void*)&result};
4187 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
4187 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
4188 if (result) {
4188 if (result) {
4189 args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue);
4189 args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue);
4190 if (args[0]!=&returnValue) {
4190 if (args[0]!=&returnValue) {
4191 if (args[0]==NULL) {
4191 if (args[0]==NULL) {
4192 PythonQt::priv()->handleVirtualOverloadReturnError("nativeEvent", methodInfo, result);
4192 PythonQt::priv()->handleVirtualOverloadReturnError("nativeEvent", methodInfo, result);
4193 } else {
4193 } else {
4194 returnValue = *((bool*)args[0]);
4194 returnValue = *((bool*)args[0]);
4195 }
4195 }
4196 }
4196 }
4197 }
4197 }
4198 if (result) { Py_DECREF(result); }
4198 if (result) { Py_DECREF(result); }
4199 Py_DECREF(obj);
4199 Py_DECREF(obj);
4200 return returnValue;
4200 return returnValue;
4201 }
4201 }
4202 }
4202 }
4203 return SocExplorerPlot::nativeEvent(eventType, message, result);
4203 return SocExplorerPlot::nativeEvent(eventType, message, result);
4204 }
4204 }
4205 QPaintEngine* PythonQtShell_SocExplorerPlot::paintEngine() const
4205 QPaintEngine* PythonQtShell_SocExplorerPlot::paintEngine() const
4206 {
4206 {
4207 if (_wrapper) {
4207 if (_wrapper) {
4208 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "paintEngine");
4208 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "paintEngine");
4209 PyErr_Clear();
4209 PyErr_Clear();
4210 if (obj && !PythonQtSlotFunction_Check(obj)) {
4210 if (obj && !PythonQtSlotFunction_Check(obj)) {
4211 static const char* argumentList[] ={"QPaintEngine*"};
4211 static const char* argumentList[] ={"QPaintEngine*"};
4212 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList);
4212 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList);
4213 QPaintEngine* returnValue;
4213 QPaintEngine* returnValue;
4214 void* args[1] = {NULL};
4214 void* args[1] = {NULL};
4215 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
4215 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
4216 if (result) {
4216 if (result) {
4217 args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue);
4217 args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue);
4218 if (args[0]!=&returnValue) {
4218 if (args[0]!=&returnValue) {
4219 if (args[0]==NULL) {
4219 if (args[0]==NULL) {
4220 PythonQt::priv()->handleVirtualOverloadReturnError("paintEngine", methodInfo, result);
4220 PythonQt::priv()->handleVirtualOverloadReturnError("paintEngine", methodInfo, result);
4221 } else {
4221 } else {
4222 returnValue = *((QPaintEngine**)args[0]);
4222 returnValue = *((QPaintEngine**)args[0]);
4223 }
4223 }
4224 }
4224 }
4225 }
4225 }
4226 if (result) { Py_DECREF(result); }
4226 if (result) { Py_DECREF(result); }
4227 Py_DECREF(obj);
4227 Py_DECREF(obj);
4228 return returnValue;
4228 return returnValue;
4229 }
4229 }
4230 }
4230 }
4231 return SocExplorerPlot::paintEngine();
4231 return SocExplorerPlot::paintEngine();
4232 }
4232 }
4233 void PythonQtShell_SocExplorerPlot::paintEvent(QPaintEvent* arg__1)
4233 void PythonQtShell_SocExplorerPlot::paintEvent(QPaintEvent* arg__1)
4234 {
4234 {
4235 if (_wrapper) {
4235 if (_wrapper) {
4236 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "paintEvent");
4236 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "paintEvent");
4237 PyErr_Clear();
4237 PyErr_Clear();
4238 if (obj && !PythonQtSlotFunction_Check(obj)) {
4238 if (obj && !PythonQtSlotFunction_Check(obj)) {
4239 static const char* argumentList[] ={"" , "QPaintEvent*"};
4239 static const char* argumentList[] ={"" , "QPaintEvent*"};
4240 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
4240 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
4241 void* args[2] = {NULL, (void*)&arg__1};
4241 void* args[2] = {NULL, (void*)&arg__1};
4242 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
4242 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
4243 if (result) { Py_DECREF(result); }
4243 if (result) { Py_DECREF(result); }
4244 Py_DECREF(obj);
4244 Py_DECREF(obj);
4245 return;
4245 return;
4246 }
4246 }
4247 }
4247 }
4248 SocExplorerPlot::paintEvent(arg__1);
4248 SocExplorerPlot::paintEvent(arg__1);
4249 }
4249 }
4250 QPaintDevice* PythonQtShell_SocExplorerPlot::redirected(QPoint* offset) const
4250 QPaintDevice* PythonQtShell_SocExplorerPlot::redirected(QPoint* offset) const
4251 {
4251 {
4252 if (_wrapper) {
4252 if (_wrapper) {
4253 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "redirected");
4253 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "redirected");
4254 PyErr_Clear();
4254 PyErr_Clear();
4255 if (obj && !PythonQtSlotFunction_Check(obj)) {
4255 if (obj && !PythonQtSlotFunction_Check(obj)) {
4256 static const char* argumentList[] ={"QPaintDevice*" , "QPoint*"};
4256 static const char* argumentList[] ={"QPaintDevice*" , "QPoint*"};
4257 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
4257 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
4258 QPaintDevice* returnValue;
4258 QPaintDevice* returnValue;
4259 void* args[2] = {NULL, (void*)&offset};
4259 void* args[2] = {NULL, (void*)&offset};
4260 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
4260 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
4261 if (result) {
4261 if (result) {
4262 args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue);
4262 args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue);
4263 if (args[0]!=&returnValue) {
4263 if (args[0]!=&returnValue) {
4264 if (args[0]==NULL) {
4264 if (args[0]==NULL) {
4265 PythonQt::priv()->handleVirtualOverloadReturnError("redirected", methodInfo, result);
4265 PythonQt::priv()->handleVirtualOverloadReturnError("redirected", methodInfo, result);
4266 } else {
4266 } else {
4267 returnValue = *((QPaintDevice**)args[0]);
4267 returnValue = *((QPaintDevice**)args[0]);
4268 }
4268 }
4269 }
4269 }
4270 }
4270 }
4271 if (result) { Py_DECREF(result); }
4271 if (result) { Py_DECREF(result); }
4272 Py_DECREF(obj);
4272 Py_DECREF(obj);
4273 return returnValue;
4273 return returnValue;
4274 }
4274 }
4275 }
4275 }
4276 return SocExplorerPlot::redirected(offset);
4276 return SocExplorerPlot::redirected(offset);
4277 }
4277 }
4278 void PythonQtShell_SocExplorerPlot::resizeEvent(QResizeEvent* arg__1)
4278 void PythonQtShell_SocExplorerPlot::resizeEvent(QResizeEvent* arg__1)
4279 {
4279 {
4280 if (_wrapper) {
4280 if (_wrapper) {
4281 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "resizeEvent");
4281 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "resizeEvent");
4282 PyErr_Clear();
4282 PyErr_Clear();
4283 if (obj && !PythonQtSlotFunction_Check(obj)) {
4283 if (obj && !PythonQtSlotFunction_Check(obj)) {
4284 static const char* argumentList[] ={"" , "QResizeEvent*"};
4284 static const char* argumentList[] ={"" , "QResizeEvent*"};
4285 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
4285 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
4286 void* args[2] = {NULL, (void*)&arg__1};
4286 void* args[2] = {NULL, (void*)&arg__1};
4287 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
4287 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
4288 if (result) { Py_DECREF(result); }
4288 if (result) { Py_DECREF(result); }
4289 Py_DECREF(obj);
4289 Py_DECREF(obj);
4290 return;
4290 return;
4291 }
4291 }
4292 }
4292 }
4293 SocExplorerPlot::resizeEvent(arg__1);
4293 SocExplorerPlot::resizeEvent(arg__1);
4294 }
4294 }
4295 QPainter* PythonQtShell_SocExplorerPlot::sharedPainter() const
4295 QPainter* PythonQtShell_SocExplorerPlot::sharedPainter() const
4296 {
4296 {
4297 if (_wrapper) {
4297 if (_wrapper) {
4298 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "sharedPainter");
4298 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "sharedPainter");
4299 PyErr_Clear();
4299 PyErr_Clear();
4300 if (obj && !PythonQtSlotFunction_Check(obj)) {
4300 if (obj && !PythonQtSlotFunction_Check(obj)) {
4301 static const char* argumentList[] ={"QPainter*"};
4301 static const char* argumentList[] ={"QPainter*"};
4302 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList);
4302 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList);
4303 QPainter* returnValue;
4303 QPainter* returnValue;
4304 void* args[1] = {NULL};
4304 void* args[1] = {NULL};
4305 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
4305 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
4306 if (result) {
4306 if (result) {
4307 args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue);
4307 args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue);
4308 if (args[0]!=&returnValue) {
4308 if (args[0]!=&returnValue) {
4309 if (args[0]==NULL) {
4309 if (args[0]==NULL) {
4310 PythonQt::priv()->handleVirtualOverloadReturnError("sharedPainter", methodInfo, result);
4310 PythonQt::priv()->handleVirtualOverloadReturnError("sharedPainter", methodInfo, result);
4311 } else {
4311 } else {
4312 returnValue = *((QPainter**)args[0]);
4312 returnValue = *((QPainter**)args[0]);
4313 }
4313 }
4314 }
4314 }
4315 }
4315 }
4316 if (result) { Py_DECREF(result); }
4316 if (result) { Py_DECREF(result); }
4317 Py_DECREF(obj);
4317 Py_DECREF(obj);
4318 return returnValue;
4318 return returnValue;
4319 }
4319 }
4320 }
4320 }
4321 return SocExplorerPlot::sharedPainter();
4321 return SocExplorerPlot::sharedPainter();
4322 }
4322 }
4323 void PythonQtShell_SocExplorerPlot::showEvent(QShowEvent* arg__1)
4323 void PythonQtShell_SocExplorerPlot::showEvent(QShowEvent* arg__1)
4324 {
4324 {
4325 if (_wrapper) {
4325 if (_wrapper) {
4326 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "showEvent");
4326 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "showEvent");
4327 PyErr_Clear();
4327 PyErr_Clear();
4328 if (obj && !PythonQtSlotFunction_Check(obj)) {
4328 if (obj && !PythonQtSlotFunction_Check(obj)) {
4329 static const char* argumentList[] ={"" , "QShowEvent*"};
4329 static const char* argumentList[] ={"" , "QShowEvent*"};
4330 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
4330 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
4331 void* args[2] = {NULL, (void*)&arg__1};
4331 void* args[2] = {NULL, (void*)&arg__1};
4332 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
4332 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
4333 if (result) { Py_DECREF(result); }
4333 if (result) { Py_DECREF(result); }
4334 Py_DECREF(obj);
4334 Py_DECREF(obj);
4335 return;
4335 return;
4336 }
4336 }
4337 }
4337 }
4338 SocExplorerPlot::showEvent(arg__1);
4338 SocExplorerPlot::showEvent(arg__1);
4339 }
4339 }
4340 QSize PythonQtShell_SocExplorerPlot::sizeHint() const
4340 QSize PythonQtShell_SocExplorerPlot::sizeHint() const
4341 {
4341 {
4342 if (_wrapper) {
4342 if (_wrapper) {
4343 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "getSizeHint");
4343 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "getSizeHint");
4344 PyErr_Clear();
4344 PyErr_Clear();
4345 if (obj && !PythonQtSlotFunction_Check(obj)) {
4345 if (obj && !PythonQtSlotFunction_Check(obj)) {
4346 static const char* argumentList[] ={"QSize"};
4346 static const char* argumentList[] ={"QSize"};
4347 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList);
4347 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList);
4348 QSize returnValue;
4348 QSize returnValue;
4349 void* args[1] = {NULL};
4349 void* args[1] = {NULL};
4350 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
4350 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
4351 if (result) {
4351 if (result) {
4352 args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue);
4352 args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue);
4353 if (args[0]!=&returnValue) {
4353 if (args[0]!=&returnValue) {
4354 if (args[0]==NULL) {
4354 if (args[0]==NULL) {
4355 PythonQt::priv()->handleVirtualOverloadReturnError("getSizeHint", methodInfo, result);
4355 PythonQt::priv()->handleVirtualOverloadReturnError("getSizeHint", methodInfo, result);
4356 } else {
4356 } else {
4357 returnValue = *((QSize*)args[0]);
4357 returnValue = *((QSize*)args[0]);
4358 }
4358 }
4359 }
4359 }
4360 }
4360 }
4361 if (result) { Py_DECREF(result); }
4361 if (result) { Py_DECREF(result); }
4362 Py_DECREF(obj);
4362 Py_DECREF(obj);
4363 return returnValue;
4363 return returnValue;
4364 }
4364 }
4365 }
4365 }
4366 return SocExplorerPlot::sizeHint();
4366 return SocExplorerPlot::sizeHint();
4367 }
4367 }
4368 void PythonQtShell_SocExplorerPlot::tabletEvent(QTabletEvent* arg__1)
4368 void PythonQtShell_SocExplorerPlot::tabletEvent(QTabletEvent* arg__1)
4369 {
4369 {
4370 if (_wrapper) {
4370 if (_wrapper) {
4371 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "tabletEvent");
4371 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "tabletEvent");
4372 PyErr_Clear();
4372 PyErr_Clear();
4373 if (obj && !PythonQtSlotFunction_Check(obj)) {
4373 if (obj && !PythonQtSlotFunction_Check(obj)) {
4374 static const char* argumentList[] ={"" , "QTabletEvent*"};
4374 static const char* argumentList[] ={"" , "QTabletEvent*"};
4375 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
4375 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
4376 void* args[2] = {NULL, (void*)&arg__1};
4376 void* args[2] = {NULL, (void*)&arg__1};
4377 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
4377 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
4378 if (result) { Py_DECREF(result); }
4378 if (result) { Py_DECREF(result); }
4379 Py_DECREF(obj);
4379 Py_DECREF(obj);
4380 return;
4380 return;
4381 }
4381 }
4382 }
4382 }
4383 SocExplorerPlot::tabletEvent(arg__1);
4383 SocExplorerPlot::tabletEvent(arg__1);
4384 }
4384 }
4385 void PythonQtShell_SocExplorerPlot::timerEvent(QTimerEvent* arg__1)
4385 void PythonQtShell_SocExplorerPlot::timerEvent(QTimerEvent* arg__1)
4386 {
4386 {
4387 if (_wrapper) {
4387 if (_wrapper) {
4388 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "timerEvent");
4388 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "timerEvent");
4389 PyErr_Clear();
4389 PyErr_Clear();
4390 if (obj && !PythonQtSlotFunction_Check(obj)) {
4390 if (obj && !PythonQtSlotFunction_Check(obj)) {
4391 static const char* argumentList[] ={"" , "QTimerEvent*"};
4391 static const char* argumentList[] ={"" , "QTimerEvent*"};
4392 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
4392 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
4393 void* args[2] = {NULL, (void*)&arg__1};
4393 void* args[2] = {NULL, (void*)&arg__1};
4394 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
4394 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
4395 if (result) { Py_DECREF(result); }
4395 if (result) { Py_DECREF(result); }
4396 Py_DECREF(obj);
4396 Py_DECREF(obj);
4397 return;
4397 return;
4398 }
4398 }
4399 }
4399 }
4400 SocExplorerPlot::timerEvent(arg__1);
4400 SocExplorerPlot::timerEvent(arg__1);
4401 }
4401 }
4402 void PythonQtShell_SocExplorerPlot::wheelEvent(QWheelEvent* arg__1)
4402 void PythonQtShell_SocExplorerPlot::wheelEvent(QWheelEvent* arg__1)
4403 {
4403 {
4404 if (_wrapper) {
4404 if (_wrapper) {
4405 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "wheelEvent");
4405 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "wheelEvent");
4406 PyErr_Clear();
4406 PyErr_Clear();
4407 if (obj && !PythonQtSlotFunction_Check(obj)) {
4407 if (obj && !PythonQtSlotFunction_Check(obj)) {
4408 static const char* argumentList[] ={"" , "QWheelEvent*"};
4408 static const char* argumentList[] ={"" , "QWheelEvent*"};
4409 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
4409 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
4410 void* args[2] = {NULL, (void*)&arg__1};
4410 void* args[2] = {NULL, (void*)&arg__1};
4411 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
4411 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
4412 if (result) { Py_DECREF(result); }
4412 if (result) { Py_DECREF(result); }
4413 Py_DECREF(obj);
4413 Py_DECREF(obj);
4414 return;
4414 return;
4415 }
4415 }
4416 }
4416 }
4417 SocExplorerPlot::wheelEvent(arg__1);
4417 SocExplorerPlot::wheelEvent(arg__1);
4418 }
4418 }
4419 SocExplorerPlot* PythonQtWrapper_SocExplorerPlot::new_SocExplorerPlot(QWidget* parent)
4419 SocExplorerPlot* PythonQtWrapper_SocExplorerPlot::new_SocExplorerPlot(QWidget* parent)
4420 {
4420 {
4421 return new PythonQtShell_SocExplorerPlot(parent); }
4421 return new PythonQtShell_SocExplorerPlot(parent); }
4422
4422
4423 int PythonQtWrapper_SocExplorerPlot::addGraph(SocExplorerPlot* theWrappedObject)
4423 int PythonQtWrapper_SocExplorerPlot::addGraph(SocExplorerPlot* theWrappedObject)
4424 {
4424 {
4425 return ( theWrappedObject->addGraph());
4425 return ( theWrappedObject->addGraph());
4426 }
4426 }
4427
4427
4428 void PythonQtWrapper_SocExplorerPlot::addGraphData(SocExplorerPlot* theWrappedObject, int graphIndex, QList<QVariant > x, QList<QVariant > y)
4428 void PythonQtWrapper_SocExplorerPlot::addGraphData(SocExplorerPlot* theWrappedObject, int graphIndex, QList<QVariant > x, QList<QVariant > y)
4429 {
4429 {
4430 ( theWrappedObject->addGraphData(graphIndex, x, y));
4430 ( theWrappedObject->addGraphData(graphIndex, x, y));
4431 }
4431 }
4432
4432
4433 void PythonQtWrapper_SocExplorerPlot::addGraphData(SocExplorerPlot* theWrappedObject, int graphIndex, QVariant x, QVariant y)
4433 void PythonQtWrapper_SocExplorerPlot::addGraphData(SocExplorerPlot* theWrappedObject, int graphIndex, QVariant x, QVariant y)
4434 {
4434 {
4435 ( theWrappedObject->addGraphData(graphIndex, x, y));
4435 ( theWrappedObject->addGraphData(graphIndex, x, y));
4436 }
4436 }
4437
4437
4438 QPen PythonQtWrapper_SocExplorerPlot::getGraphPen(SocExplorerPlot* theWrappedObject, int graphIndex)
4438 QPen PythonQtWrapper_SocExplorerPlot::getGraphPen(SocExplorerPlot* theWrappedObject, int graphIndex)
4439 {
4439 {
4440 return ( theWrappedObject->getGraphPen(graphIndex));
4440 return ( theWrappedObject->getGraphPen(graphIndex));
4441 }
4441 }
4442
4442
4443 void PythonQtWrapper_SocExplorerPlot::keyPressEvent(SocExplorerPlot* theWrappedObject, QKeyEvent* arg__1)
4443 void PythonQtWrapper_SocExplorerPlot::keyPressEvent(SocExplorerPlot* theWrappedObject, QKeyEvent* arg__1)
4444 {
4444 {
4445 ( ((PythonQtPublicPromoter_SocExplorerPlot*)theWrappedObject)->promoted_keyPressEvent(arg__1));
4445 ( ((PythonQtPublicPromoter_SocExplorerPlot*)theWrappedObject)->promoted_keyPressEvent(arg__1));
4446 }
4446 }
4447
4447
4448 void PythonQtWrapper_SocExplorerPlot::keyReleaseEvent(SocExplorerPlot* theWrappedObject, QKeyEvent* arg__1)
4448 void PythonQtWrapper_SocExplorerPlot::keyReleaseEvent(SocExplorerPlot* theWrappedObject, QKeyEvent* arg__1)
4449 {
4449 {
4450 ( ((PythonQtPublicPromoter_SocExplorerPlot*)theWrappedObject)->promoted_keyReleaseEvent(arg__1));
4450 ( ((PythonQtPublicPromoter_SocExplorerPlot*)theWrappedObject)->promoted_keyReleaseEvent(arg__1));
4451 }
4451 }
4452
4452
4453 void PythonQtWrapper_SocExplorerPlot::mouseMoveEvent(SocExplorerPlot* theWrappedObject, QMouseEvent* arg__1)
4453 void PythonQtWrapper_SocExplorerPlot::mouseMoveEvent(SocExplorerPlot* theWrappedObject, QMouseEvent* arg__1)
4454 {
4454 {
4455 ( ((PythonQtPublicPromoter_SocExplorerPlot*)theWrappedObject)->promoted_mouseMoveEvent(arg__1));
4455 ( ((PythonQtPublicPromoter_SocExplorerPlot*)theWrappedObject)->promoted_mouseMoveEvent(arg__1));
4456 }
4456 }
4457
4457
4458 void PythonQtWrapper_SocExplorerPlot::mousePressEvent(SocExplorerPlot* theWrappedObject, QMouseEvent* arg__1)
4458 void PythonQtWrapper_SocExplorerPlot::mousePressEvent(SocExplorerPlot* theWrappedObject, QMouseEvent* arg__1)
4459 {
4459 {
4460 ( ((PythonQtPublicPromoter_SocExplorerPlot*)theWrappedObject)->promoted_mousePressEvent(arg__1));
4460 ( ((PythonQtPublicPromoter_SocExplorerPlot*)theWrappedObject)->promoted_mousePressEvent(arg__1));
4461 }
4461 }
4462
4462
4463 void PythonQtWrapper_SocExplorerPlot::mouseReleaseEvent(SocExplorerPlot* theWrappedObject, QMouseEvent* arg__1)
4463 void PythonQtWrapper_SocExplorerPlot::mouseReleaseEvent(SocExplorerPlot* theWrappedObject, QMouseEvent* arg__1)
4464 {
4464 {
4465 ( ((PythonQtPublicPromoter_SocExplorerPlot*)theWrappedObject)->promoted_mouseReleaseEvent(arg__1));
4465 ( ((PythonQtPublicPromoter_SocExplorerPlot*)theWrappedObject)->promoted_mouseReleaseEvent(arg__1));
4466 }
4466 }
4467
4467
4468 void PythonQtWrapper_SocExplorerPlot::rescaleAxis(SocExplorerPlot* theWrappedObject)
4468 void PythonQtWrapper_SocExplorerPlot::rescaleAxis(SocExplorerPlot* theWrappedObject)
4469 {
4469 {
4470 ( theWrappedObject->rescaleAxis());
4470 ( theWrappedObject->rescaleAxis());
4471 }
4471 }
4472
4472
4473 void PythonQtWrapper_SocExplorerPlot::setAdaptativeSampling(SocExplorerPlot* theWrappedObject, int graphIndex, bool enable)
4473 void PythonQtWrapper_SocExplorerPlot::setAdaptativeSampling(SocExplorerPlot* theWrappedObject, int graphIndex, bool enable)
4474 {
4474 {
4475 ( theWrappedObject->setAdaptativeSampling(graphIndex, enable));
4475 ( theWrappedObject->setAdaptativeSampling(graphIndex, enable));
4476 }
4476 }
4477
4477
4478 void PythonQtWrapper_SocExplorerPlot::setGraphData(SocExplorerPlot* theWrappedObject, int graphIndex, QList<QVariant > x, QList<QVariant > y)
4478 void PythonQtWrapper_SocExplorerPlot::setGraphData(SocExplorerPlot* theWrappedObject, int graphIndex, QList<QVariant > x, QList<QVariant > y)
4479 {
4479 {
4480 ( theWrappedObject->setGraphData(graphIndex, x, y));
4480 ( theWrappedObject->setGraphData(graphIndex, x, y));
4481 }
4481 }
4482
4482
4483 void PythonQtWrapper_SocExplorerPlot::setGraphLineStyle(SocExplorerPlot* theWrappedObject, int graphIndex, QString lineStyle)
4483 void PythonQtWrapper_SocExplorerPlot::setGraphLineStyle(SocExplorerPlot* theWrappedObject, int graphIndex, QString lineStyle)
4484 {
4484 {
4485 ( theWrappedObject->setGraphLineStyle(graphIndex, lineStyle));
4485 ( theWrappedObject->setGraphLineStyle(graphIndex, lineStyle));
4486 }
4486 }
4487
4487
4488 void PythonQtWrapper_SocExplorerPlot::setGraphName(SocExplorerPlot* theWrappedObject, int graphIndex, QString name)
4488 void PythonQtWrapper_SocExplorerPlot::setGraphName(SocExplorerPlot* theWrappedObject, int graphIndex, QString name)
4489 {
4489 {
4490 ( theWrappedObject->setGraphName(graphIndex, name));
4490 ( theWrappedObject->setGraphName(graphIndex, name));
4491 }
4491 }
4492
4492
4493 void PythonQtWrapper_SocExplorerPlot::setGraphPen(SocExplorerPlot* theWrappedObject, int graphIndex, QPen pen)
4493 void PythonQtWrapper_SocExplorerPlot::setGraphPen(SocExplorerPlot* theWrappedObject, int graphIndex, QPen pen)
4494 {
4494 {
4495 ( theWrappedObject->setGraphPen(graphIndex, pen));
4495 ( theWrappedObject->setGraphPen(graphIndex, pen));
4496 }
4496 }
4497
4497
4498 void PythonQtWrapper_SocExplorerPlot::setGraphScatterStyle(SocExplorerPlot* theWrappedObject, int graphIndex, QString scatterStyle)
4498 void PythonQtWrapper_SocExplorerPlot::setGraphScatterStyle(SocExplorerPlot* theWrappedObject, int graphIndex, QString scatterStyle)
4499 {
4499 {
4500 ( theWrappedObject->setGraphScatterStyle(graphIndex, scatterStyle));
4500 ( theWrappedObject->setGraphScatterStyle(graphIndex, scatterStyle));
4501 }
4501 }
4502
4502
4503 void PythonQtWrapper_SocExplorerPlot::setLegendFont(SocExplorerPlot* theWrappedObject, QFont font)
4503 void PythonQtWrapper_SocExplorerPlot::setLegendFont(SocExplorerPlot* theWrappedObject, QFont font)
4504 {
4504 {
4505 ( theWrappedObject->setLegendFont(font));
4505 ( theWrappedObject->setLegendFont(font));
4506 }
4506 }
4507
4507
4508 void PythonQtWrapper_SocExplorerPlot::setLegendSelectedFont(SocExplorerPlot* theWrappedObject, QFont font)
4508 void PythonQtWrapper_SocExplorerPlot::setLegendSelectedFont(SocExplorerPlot* theWrappedObject, QFont font)
4509 {
4509 {
4510 ( theWrappedObject->setLegendSelectedFont(font));
4510 ( theWrappedObject->setLegendSelectedFont(font));
4511 }
4511 }
4512
4512
4513 void PythonQtWrapper_SocExplorerPlot::setTitle(SocExplorerPlot* theWrappedObject, QString title)
4513 void PythonQtWrapper_SocExplorerPlot::setTitle(SocExplorerPlot* theWrappedObject, QString title)
4514 {
4514 {
4515 ( theWrappedObject->setTitle(title));
4515 ( theWrappedObject->setTitle(title));
4516 }
4516 }
4517
4517
4518 void PythonQtWrapper_SocExplorerPlot::setXaxisLabel(SocExplorerPlot* theWrappedObject, QString label)
4518 void PythonQtWrapper_SocExplorerPlot::setXaxisLabel(SocExplorerPlot* theWrappedObject, QString label)
4519 {
4519 {
4520 ( theWrappedObject->setXaxisLabel(label));
4520 ( theWrappedObject->setXaxisLabel(label));
4521 }
4521 }
4522
4522
4523 void PythonQtWrapper_SocExplorerPlot::setXaxisRange(SocExplorerPlot* theWrappedObject, double lower, double upper)
4523 void PythonQtWrapper_SocExplorerPlot::setXaxisRange(SocExplorerPlot* theWrappedObject, double lower, double upper)
4524 {
4524 {
4525 ( theWrappedObject->setXaxisRange(lower, upper));
4525 ( theWrappedObject->setXaxisRange(lower, upper));
4526 }
4526 }
4527
4527
4528 void PythonQtWrapper_SocExplorerPlot::setYaxisLabel(SocExplorerPlot* theWrappedObject, QString label)
4528 void PythonQtWrapper_SocExplorerPlot::setYaxisLabel(SocExplorerPlot* theWrappedObject, QString label)
4529 {
4529 {
4530 ( theWrappedObject->setYaxisLabel(label));
4530 ( theWrappedObject->setYaxisLabel(label));
4531 }
4531 }
4532
4532
4533 void PythonQtWrapper_SocExplorerPlot::setYaxisRange(SocExplorerPlot* theWrappedObject, double lower, double upper)
4533 void PythonQtWrapper_SocExplorerPlot::setYaxisRange(SocExplorerPlot* theWrappedObject, double lower, double upper)
4534 {
4534 {
4535 ( theWrappedObject->setYaxisRange(lower, upper));
4535 ( theWrappedObject->setYaxisRange(lower, upper));
4536 }
4536 }
4537
4537
4538 void PythonQtWrapper_SocExplorerPlot::show(SocExplorerPlot* theWrappedObject)
4538 void PythonQtWrapper_SocExplorerPlot::show(SocExplorerPlot* theWrappedObject)
4539 {
4539 {
4540 ( theWrappedObject->show());
4540 ( theWrappedObject->show());
4541 }
4541 }
4542
4542
4543 void PythonQtWrapper_SocExplorerPlot::wheelEvent(SocExplorerPlot* theWrappedObject, QWheelEvent* arg__1)
4543 void PythonQtWrapper_SocExplorerPlot::wheelEvent(SocExplorerPlot* theWrappedObject, QWheelEvent* arg__1)
4544 {
4544 {
4545 ( ((PythonQtPublicPromoter_SocExplorerPlot*)theWrappedObject)->promoted_wheelEvent(arg__1));
4545 ( ((PythonQtPublicPromoter_SocExplorerPlot*)theWrappedObject)->promoted_wheelEvent(arg__1));
4546 }
4546 }
4547
4547
4548
4548
4549
4549
4550 PythonQtShell_TCP_Terminal_Client::~PythonQtShell_TCP_Terminal_Client() {
4550 PythonQtShell_TCP_Terminal_Client::~PythonQtShell_TCP_Terminal_Client() {
4551 PythonQtPrivate* priv = PythonQt::priv();
4551 PythonQtPrivate* priv = PythonQt::priv();
4552 if (priv) { priv->shellClassDeleted(this); }
4552 if (priv) { priv->shellClassDeleted(this); }
4553 }
4553 }
4554 void PythonQtShell_TCP_Terminal_Client::childEvent(QChildEvent* arg__1)
4554 void PythonQtShell_TCP_Terminal_Client::childEvent(QChildEvent* arg__1)
4555 {
4555 {
4556 if (_wrapper) {
4556 if (_wrapper) {
4557 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "childEvent");
4557 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "childEvent");
4558 PyErr_Clear();
4558 PyErr_Clear();
4559 if (obj && !PythonQtSlotFunction_Check(obj)) {
4559 if (obj && !PythonQtSlotFunction_Check(obj)) {
4560 static const char* argumentList[] ={"" , "QChildEvent*"};
4560 static const char* argumentList[] ={"" , "QChildEvent*"};
4561 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
4561 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
4562 void* args[2] = {NULL, (void*)&arg__1};
4562 void* args[2] = {NULL, (void*)&arg__1};
4563 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
4563 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
4564 if (result) { Py_DECREF(result); }
4564 if (result) { Py_DECREF(result); }
4565 Py_DECREF(obj);
4565 Py_DECREF(obj);
4566 return;
4566 return;
4567 }
4567 }
4568 }
4568 }
4569 TCP_Terminal_Client::childEvent(arg__1);
4569 TCP_Terminal_Client::childEvent(arg__1);
4570 }
4570 }
4571 void PythonQtShell_TCP_Terminal_Client::customEvent(QEvent* arg__1)
4571 void PythonQtShell_TCP_Terminal_Client::customEvent(QEvent* arg__1)
4572 {
4572 {
4573 if (_wrapper) {
4573 if (_wrapper) {
4574 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "customEvent");
4574 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "customEvent");
4575 PyErr_Clear();
4575 PyErr_Clear();
4576 if (obj && !PythonQtSlotFunction_Check(obj)) {
4576 if (obj && !PythonQtSlotFunction_Check(obj)) {
4577 static const char* argumentList[] ={"" , "QEvent*"};
4577 static const char* argumentList[] ={"" , "QEvent*"};
4578 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
4578 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
4579 void* args[2] = {NULL, (void*)&arg__1};
4579 void* args[2] = {NULL, (void*)&arg__1};
4580 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
4580 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
4581 if (result) { Py_DECREF(result); }
4581 if (result) { Py_DECREF(result); }
4582 Py_DECREF(obj);
4582 Py_DECREF(obj);
4583 return;
4583 return;
4584 }
4584 }
4585 }
4585 }
4586 TCP_Terminal_Client::customEvent(arg__1);
4586 TCP_Terminal_Client::customEvent(arg__1);
4587 }
4587 }
4588 bool PythonQtShell_TCP_Terminal_Client::event(QEvent* arg__1)
4588 bool PythonQtShell_TCP_Terminal_Client::event(QEvent* arg__1)
4589 {
4589 {
4590 if (_wrapper) {
4590 if (_wrapper) {
4591 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "event");
4591 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "event");
4592 PyErr_Clear();
4592 PyErr_Clear();
4593 if (obj && !PythonQtSlotFunction_Check(obj)) {
4593 if (obj && !PythonQtSlotFunction_Check(obj)) {
4594 static const char* argumentList[] ={"bool" , "QEvent*"};
4594 static const char* argumentList[] ={"bool" , "QEvent*"};
4595 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
4595 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
4596 bool returnValue;
4596 bool returnValue;
4597 void* args[2] = {NULL, (void*)&arg__1};
4597 void* args[2] = {NULL, (void*)&arg__1};
4598 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
4598 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
4599 if (result) {
4599 if (result) {
4600 args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue);
4600 args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue);
4601 if (args[0]!=&returnValue) {
4601 if (args[0]!=&returnValue) {
4602 if (args[0]==NULL) {
4602 if (args[0]==NULL) {
4603 PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result);
4603 PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result);
4604 } else {
4604 } else {
4605 returnValue = *((bool*)args[0]);
4605 returnValue = *((bool*)args[0]);
4606 }
4606 }
4607 }
4607 }
4608 }
4608 }
4609 if (result) { Py_DECREF(result); }
4609 if (result) { Py_DECREF(result); }
4610 Py_DECREF(obj);
4610 Py_DECREF(obj);
4611 return returnValue;
4611 return returnValue;
4612 }
4612 }
4613 }
4613 }
4614 return TCP_Terminal_Client::event(arg__1);
4614 return TCP_Terminal_Client::event(arg__1);
4615 }
4615 }
4616 bool PythonQtShell_TCP_Terminal_Client::eventFilter(QObject* arg__1, QEvent* arg__2)
4616 bool PythonQtShell_TCP_Terminal_Client::eventFilter(QObject* arg__1, QEvent* arg__2)
4617 {
4617 {
4618 if (_wrapper) {
4618 if (_wrapper) {
4619 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "eventFilter");
4619 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "eventFilter");
4620 PyErr_Clear();
4620 PyErr_Clear();
4621 if (obj && !PythonQtSlotFunction_Check(obj)) {
4621 if (obj && !PythonQtSlotFunction_Check(obj)) {
4622 static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"};
4622 static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"};
4623 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList);
4623 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList);
4624 bool returnValue;
4624 bool returnValue;
4625 void* args[3] = {NULL, (void*)&arg__1, (void*)&arg__2};
4625 void* args[3] = {NULL, (void*)&arg__1, (void*)&arg__2};
4626 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
4626 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
4627 if (result) {
4627 if (result) {
4628 args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue);
4628 args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue);
4629 if (args[0]!=&returnValue) {
4629 if (args[0]!=&returnValue) {
4630 if (args[0]==NULL) {
4630 if (args[0]==NULL) {
4631 PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result);
4631 PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result);
4632 } else {
4632 } else {
4633 returnValue = *((bool*)args[0]);
4633 returnValue = *((bool*)args[0]);
4634 }
4634 }
4635 }
4635 }
4636 }
4636 }
4637 if (result) { Py_DECREF(result); }
4637 if (result) { Py_DECREF(result); }
4638 Py_DECREF(obj);
4638 Py_DECREF(obj);
4639 return returnValue;
4639 return returnValue;
4640 }
4640 }
4641 }
4641 }
4642 return TCP_Terminal_Client::eventFilter(arg__1, arg__2);
4642 return TCP_Terminal_Client::eventFilter(arg__1, arg__2);
4643 }
4643 }
4644 void PythonQtShell_TCP_Terminal_Client::timerEvent(QTimerEvent* arg__1)
4644 void PythonQtShell_TCP_Terminal_Client::timerEvent(QTimerEvent* arg__1)
4645 {
4645 {
4646 if (_wrapper) {
4646 if (_wrapper) {
4647 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "timerEvent");
4647 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "timerEvent");
4648 PyErr_Clear();
4648 PyErr_Clear();
4649 if (obj && !PythonQtSlotFunction_Check(obj)) {
4649 if (obj && !PythonQtSlotFunction_Check(obj)) {
4650 static const char* argumentList[] ={"" , "QTimerEvent*"};
4650 static const char* argumentList[] ={"" , "QTimerEvent*"};
4651 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
4651 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
4652 void* args[2] = {NULL, (void*)&arg__1};
4652 void* args[2] = {NULL, (void*)&arg__1};
4653 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
4653 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
4654 if (result) { Py_DECREF(result); }
4654 if (result) { Py_DECREF(result); }
4655 Py_DECREF(obj);
4655 Py_DECREF(obj);
4656 return;
4656 return;
4657 }
4657 }
4658 }
4658 }
4659 TCP_Terminal_Client::timerEvent(arg__1);
4659 TCP_Terminal_Client::timerEvent(arg__1);
4660 }
4660 }
4661 TCP_Terminal_Client* PythonQtWrapper_TCP_Terminal_Client::new_TCP_Terminal_Client(QObject* parent)
4661 TCP_Terminal_Client* PythonQtWrapper_TCP_Terminal_Client::new_TCP_Terminal_Client(QObject* parent)
4662 {
4662 {
4663 return new PythonQtShell_TCP_Terminal_Client(parent); }
4663 return new PythonQtShell_TCP_Terminal_Client(parent); }
4664
4664
4665 void PythonQtWrapper_TCP_Terminal_Client::connectToServer(TCP_Terminal_Client* theWrappedObject)
4665 void PythonQtWrapper_TCP_Terminal_Client::connectToServer(TCP_Terminal_Client* theWrappedObject)
4666 {
4666 {
4667 ( theWrappedObject->connectToServer());
4667 ( theWrappedObject->connectToServer());
4668 }
4668 }
4669
4669
4670 void PythonQtWrapper_TCP_Terminal_Client::connectToServer(TCP_Terminal_Client* theWrappedObject, const QString& IP, int port)
4670 void PythonQtWrapper_TCP_Terminal_Client::connectToServer(TCP_Terminal_Client* theWrappedObject, const QString& IP, int port)
4671 {
4671 {
4672 ( theWrappedObject->connectToServer(IP, port));
4672 ( theWrappedObject->connectToServer(IP, port));
4673 }
4673 }
4674
4674
4675 bool PythonQtWrapper_TCP_Terminal_Client::isConnected(TCP_Terminal_Client* theWrappedObject)
4675 bool PythonQtWrapper_TCP_Terminal_Client::isConnected(TCP_Terminal_Client* theWrappedObject)
4676 {
4676 {
4677 return ( theWrappedObject->isConnected());
4677 return ( theWrappedObject->isConnected());
4678 }
4678 }
4679
4679
4680 void PythonQtWrapper_TCP_Terminal_Client::sendText(TCP_Terminal_Client* theWrappedObject, const QString& text)
4680 void PythonQtWrapper_TCP_Terminal_Client::sendText(TCP_Terminal_Client* theWrappedObject, const QString& text)
4681 {
4681 {
4682 ( theWrappedObject->sendText(text));
4682 ( theWrappedObject->sendText(text));
4683 }
4683 }
4684
4684
4685 void PythonQtWrapper_TCP_Terminal_Client::startServer(TCP_Terminal_Client* theWrappedObject)
4685 void PythonQtWrapper_TCP_Terminal_Client::startServer(TCP_Terminal_Client* theWrappedObject)
4686 {
4686 {
4687 ( theWrappedObject->startServer());
4687 ( theWrappedObject->startServer());
4688 }
4688 }
4689
4689
4690 void PythonQtWrapper_TCP_Terminal_Client::startServer(TCP_Terminal_Client* theWrappedObject, int port)
4690 void PythonQtWrapper_TCP_Terminal_Client::startServer(TCP_Terminal_Client* theWrappedObject, int port)
4691 {
4691 {
4692 ( theWrappedObject->startServer(port));
4692 ( theWrappedObject->startServer(port));
4693 }
4693 }
4694
4694
4695
4695
4696
4696
4697 XByteArray* PythonQtWrapper_XByteArray::new_XByteArray()
4697 XByteArray* PythonQtWrapper_XByteArray::new_XByteArray()
4698 {
4698 {
4699 return new XByteArray(); }
4699 return new XByteArray(); }
4700
4700
4701 int PythonQtWrapper_XByteArray::addressOffset(XByteArray* theWrappedObject)
4701 int PythonQtWrapper_XByteArray::addressOffset(XByteArray* theWrappedObject)
4702 {
4702 {
4703 return ( theWrappedObject->addressOffset());
4703 return ( theWrappedObject->addressOffset());
4704 }
4704 }
4705
4705
4706 int PythonQtWrapper_XByteArray::addressWidth(XByteArray* theWrappedObject)
4706 int PythonQtWrapper_XByteArray::addressWidth(XByteArray* theWrappedObject)
4707 {
4707 {
4708 return ( theWrappedObject->addressWidth());
4708 return ( theWrappedObject->addressWidth());
4709 }
4709 }
4710
4710
4711 QChar PythonQtWrapper_XByteArray::asciiChar(XByteArray* theWrappedObject, int index)
4711 QChar PythonQtWrapper_XByteArray::asciiChar(XByteArray* theWrappedObject, int index)
4712 {
4712 {
4713 return ( theWrappedObject->asciiChar(index));
4713 return ( theWrappedObject->asciiChar(index));
4714 }
4714 }
4715
4715
4716 QByteArray* PythonQtWrapper_XByteArray::data(XByteArray* theWrappedObject)
4716 QByteArray* PythonQtWrapper_XByteArray::data(XByteArray* theWrappedObject)
4717 {
4717 {
4718 return &( theWrappedObject->data());
4718 return &( theWrappedObject->data());
4719 }
4719 }
4720
4720
4721 bool PythonQtWrapper_XByteArray::dataChanged(XByteArray* theWrappedObject, int i)
4721 bool PythonQtWrapper_XByteArray::dataChanged(XByteArray* theWrappedObject, int i)
4722 {
4722 {
4723 return ( theWrappedObject->dataChanged(i));
4723 return ( theWrappedObject->dataChanged(i));
4724 }
4724 }
4725
4725
4726 QByteArray PythonQtWrapper_XByteArray::dataChanged(XByteArray* theWrappedObject, int i, int len)
4726 QByteArray PythonQtWrapper_XByteArray::dataChanged(XByteArray* theWrappedObject, int i, int len)
4727 {
4727 {
4728 return ( theWrappedObject->dataChanged(i, len));
4728 return ( theWrappedObject->dataChanged(i, len));
4729 }
4729 }
4730
4730
4731 QByteArray* PythonQtWrapper_XByteArray::insert(XByteArray* theWrappedObject, int i, char ch)
4731 QByteArray* PythonQtWrapper_XByteArray::insert(XByteArray* theWrappedObject, int i, char ch)
4732 {
4732 {
4733 return &( theWrappedObject->insert(i, ch));
4733 return &( theWrappedObject->insert(i, ch));
4734 }
4734 }
4735
4735
4736 QByteArray* PythonQtWrapper_XByteArray::insert(XByteArray* theWrappedObject, int i, const QByteArray& ba)
4736 QByteArray* PythonQtWrapper_XByteArray::insert(XByteArray* theWrappedObject, int i, const QByteArray& ba)
4737 {
4737 {
4738 return &( theWrappedObject->insert(i, ba));
4738 return &( theWrappedObject->insert(i, ba));
4739 }
4739 }
4740
4740
4741 int PythonQtWrapper_XByteArray::realAddressNumbers(XByteArray* theWrappedObject)
4741 int PythonQtWrapper_XByteArray::realAddressNumbers(XByteArray* theWrappedObject)
4742 {
4742 {
4743 return ( theWrappedObject->realAddressNumbers());
4743 return ( theWrappedObject->realAddressNumbers());
4744 }
4744 }
4745
4745
4746 QByteArray* PythonQtWrapper_XByteArray::remove(XByteArray* theWrappedObject, int pos, int len)
4746 QByteArray* PythonQtWrapper_XByteArray::remove(XByteArray* theWrappedObject, int pos, int len)
4747 {
4747 {
4748 return &( theWrappedObject->remove(pos, len));
4748 return &( theWrappedObject->remove(pos, len));
4749 }
4749 }
4750
4750
4751 QByteArray* PythonQtWrapper_XByteArray::replace(XByteArray* theWrappedObject, int index, char ch)
4751 QByteArray* PythonQtWrapper_XByteArray::replace(XByteArray* theWrappedObject, int index, char ch)
4752 {
4752 {
4753 return &( theWrappedObject->replace(index, ch));
4753 return &( theWrappedObject->replace(index, ch));
4754 }
4754 }
4755
4755
4756 QByteArray* PythonQtWrapper_XByteArray::replace(XByteArray* theWrappedObject, int index, const QByteArray& ba)
4756 QByteArray* PythonQtWrapper_XByteArray::replace(XByteArray* theWrappedObject, int index, const QByteArray& ba)
4757 {
4757 {
4758 return &( theWrappedObject->replace(index, ba));
4758 return &( theWrappedObject->replace(index, ba));
4759 }
4759 }
4760
4760
4761 QByteArray* PythonQtWrapper_XByteArray::replace(XByteArray* theWrappedObject, int index, int length, const QByteArray& ba)
4761 QByteArray* PythonQtWrapper_XByteArray::replace(XByteArray* theWrappedObject, int index, int length, const QByteArray& ba)
4762 {
4762 {
4763 return &( theWrappedObject->replace(index, length, ba));
4763 return &( theWrappedObject->replace(index, length, ba));
4764 }
4764 }
4765
4765
4766 void PythonQtWrapper_XByteArray::setAddressOffset(XByteArray* theWrappedObject, int offset)
4766 void PythonQtWrapper_XByteArray::setAddressOffset(XByteArray* theWrappedObject, int offset)
4767 {
4767 {
4768 ( theWrappedObject->setAddressOffset(offset));
4768 ( theWrappedObject->setAddressOffset(offset));
4769 }
4769 }
4770
4770
4771 void PythonQtWrapper_XByteArray::setAddressWidth(XByteArray* theWrappedObject, int width)
4771 void PythonQtWrapper_XByteArray::setAddressWidth(XByteArray* theWrappedObject, int width)
4772 {
4772 {
4773 ( theWrappedObject->setAddressWidth(width));
4773 ( theWrappedObject->setAddressWidth(width));
4774 }
4774 }
4775
4775
4776 void PythonQtWrapper_XByteArray::setData(XByteArray* theWrappedObject, QByteArray data)
4776 void PythonQtWrapper_XByteArray::setData(XByteArray* theWrappedObject, QByteArray data)
4777 {
4777 {
4778 ( theWrappedObject->setData(data));
4778 ( theWrappedObject->setData(data));
4779 }
4779 }
4780
4780
4781 void PythonQtWrapper_XByteArray::setDataChanged(XByteArray* theWrappedObject, int i, bool state)
4781 void PythonQtWrapper_XByteArray::setDataChanged(XByteArray* theWrappedObject, int i, bool state)
4782 {
4782 {
4783 ( theWrappedObject->setDataChanged(i, state));
4783 ( theWrappedObject->setDataChanged(i, state));
4784 }
4784 }
4785
4785
4786 void PythonQtWrapper_XByteArray::setDataChanged(XByteArray* theWrappedObject, int i, const QByteArray& state)
4786 void PythonQtWrapper_XByteArray::setDataChanged(XByteArray* theWrappedObject, int i, const QByteArray& state)
4787 {
4787 {
4788 ( theWrappedObject->setDataChanged(i, state));
4788 ( theWrappedObject->setDataChanged(i, state));
4789 }
4789 }
4790
4790
4791 int PythonQtWrapper_XByteArray::size(XByteArray* theWrappedObject)
4791 int PythonQtWrapper_XByteArray::size(XByteArray* theWrappedObject)
4792 {
4792 {
4793 return ( theWrappedObject->size());
4793 return ( theWrappedObject->size());
4794 }
4794 }
4795
4795
4796 QString PythonQtWrapper_XByteArray::toRedableString(XByteArray* theWrappedObject, int start, int end)
4796 QString PythonQtWrapper_XByteArray::toRedableString(XByteArray* theWrappedObject, int start, int end)
4797 {
4797 {
4798 return ( theWrappedObject->toRedableString(start, end));
4798 return ( theWrappedObject->toRedableString(start, end));
4799 }
4799 }
4800
4800
4801
4801
4802
4802
4803 PythonQtShell_abstractBinFile::~PythonQtShell_abstractBinFile() {
4803 PythonQtShell_abstractBinFile::~PythonQtShell_abstractBinFile() {
4804 PythonQtPrivate* priv = PythonQt::priv();
4804 PythonQtPrivate* priv = PythonQt::priv();
4805 if (priv) { priv->shellClassDeleted(this); }
4805 if (priv) { priv->shellClassDeleted(this); }
4806 }
4806 }
4807 void PythonQtShell_abstractBinFile::childEvent(QChildEvent* arg__1)
4807 void PythonQtShell_abstractBinFile::childEvent(QChildEvent* arg__1)
4808 {
4808 {
4809 if (_wrapper) {
4809 if (_wrapper) {
4810 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "childEvent");
4810 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "childEvent");
4811 PyErr_Clear();
4811 PyErr_Clear();
4812 if (obj && !PythonQtSlotFunction_Check(obj)) {
4812 if (obj && !PythonQtSlotFunction_Check(obj)) {
4813 static const char* argumentList[] ={"" , "QChildEvent*"};
4813 static const char* argumentList[] ={"" , "QChildEvent*"};
4814 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
4814 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
4815 void* args[2] = {NULL, (void*)&arg__1};
4815 void* args[2] = {NULL, (void*)&arg__1};
4816 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
4816 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
4817 if (result) { Py_DECREF(result); }
4817 if (result) { Py_DECREF(result); }
4818 Py_DECREF(obj);
4818 Py_DECREF(obj);
4819 return;
4819 return;
4820 }
4820 }
4821 }
4821 }
4822 abstractBinFile::childEvent(arg__1);
4822 abstractBinFile::childEvent(arg__1);
4823 }
4823 }
4824 int PythonQtShell_abstractBinFile::closeFile()
4824 int PythonQtShell_abstractBinFile::closeFile()
4825 {
4825 {
4826 if (_wrapper) {
4826 if (_wrapper) {
4827 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "closeFile");
4827 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "closeFile");
4828 PyErr_Clear();
4828 PyErr_Clear();
4829 if (obj && !PythonQtSlotFunction_Check(obj)) {
4829 if (obj && !PythonQtSlotFunction_Check(obj)) {
4830 static const char* argumentList[] ={"int"};
4830 static const char* argumentList[] ={"int"};
4831 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList);
4831 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList);
4832 int returnValue;
4832 int returnValue;
4833 void* args[1] = {NULL};
4833 void* args[1] = {NULL};
4834 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
4834 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
4835 if (result) {
4835 if (result) {
4836 args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue);
4836 args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue);
4837 if (args[0]!=&returnValue) {
4837 if (args[0]!=&returnValue) {
4838 if (args[0]==NULL) {
4838 if (args[0]==NULL) {
4839 PythonQt::priv()->handleVirtualOverloadReturnError("closeFile", methodInfo, result);
4839 PythonQt::priv()->handleVirtualOverloadReturnError("closeFile", methodInfo, result);
4840 } else {
4840 } else {
4841 returnValue = *((int*)args[0]);
4841 returnValue = *((int*)args[0]);
4842 }
4842 }
4843 }
4843 }
4844 }
4844 }
4845 if (result) { Py_DECREF(result); }
4845 if (result) { Py_DECREF(result); }
4846 Py_DECREF(obj);
4846 Py_DECREF(obj);
4847 return returnValue;
4847 return returnValue;
4848 }
4848 }
4849 }
4849 }
4850 return int();
4850 return int();
4851 }
4851 }
4852 void PythonQtShell_abstractBinFile::customEvent(QEvent* arg__1)
4852 void PythonQtShell_abstractBinFile::customEvent(QEvent* arg__1)
4853 {
4853 {
4854 if (_wrapper) {
4854 if (_wrapper) {
4855 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "customEvent");
4855 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "customEvent");
4856 PyErr_Clear();
4856 PyErr_Clear();
4857 if (obj && !PythonQtSlotFunction_Check(obj)) {
4857 if (obj && !PythonQtSlotFunction_Check(obj)) {
4858 static const char* argumentList[] ={"" , "QEvent*"};
4858 static const char* argumentList[] ={"" , "QEvent*"};
4859 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
4859 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
4860 void* args[2] = {NULL, (void*)&arg__1};
4860 void* args[2] = {NULL, (void*)&arg__1};
4861 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
4861 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
4862 if (result) { Py_DECREF(result); }
4862 if (result) { Py_DECREF(result); }
4863 Py_DECREF(obj);
4863 Py_DECREF(obj);
4864 return;
4864 return;
4865 }
4865 }
4866 }
4866 }
4867 abstractBinFile::customEvent(arg__1);
4867 abstractBinFile::customEvent(arg__1);
4868 }
4868 }
4869 bool PythonQtShell_abstractBinFile::event(QEvent* arg__1)
4869 bool PythonQtShell_abstractBinFile::event(QEvent* arg__1)
4870 {
4870 {
4871 if (_wrapper) {
4871 if (_wrapper) {
4872 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "event");
4872 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "event");
4873 PyErr_Clear();
4873 PyErr_Clear();
4874 if (obj && !PythonQtSlotFunction_Check(obj)) {
4874 if (obj && !PythonQtSlotFunction_Check(obj)) {
4875 static const char* argumentList[] ={"bool" , "QEvent*"};
4875 static const char* argumentList[] ={"bool" , "QEvent*"};
4876 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
4876 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
4877 bool returnValue;
4877 bool returnValue;
4878 void* args[2] = {NULL, (void*)&arg__1};
4878 void* args[2] = {NULL, (void*)&arg__1};
4879 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
4879 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
4880 if (result) {
4880 if (result) {
4881 args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue);
4881 args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue);
4882 if (args[0]!=&returnValue) {
4882 if (args[0]!=&returnValue) {
4883 if (args[0]==NULL) {
4883 if (args[0]==NULL) {
4884 PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result);
4884 PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result);
4885 } else {
4885 } else {
4886 returnValue = *((bool*)args[0]);
4886 returnValue = *((bool*)args[0]);
4887 }
4887 }
4888 }
4888 }
4889 }
4889 }
4890 if (result) { Py_DECREF(result); }
4890 if (result) { Py_DECREF(result); }
4891 Py_DECREF(obj);
4891 Py_DECREF(obj);
4892 return returnValue;
4892 return returnValue;
4893 }
4893 }
4894 }
4894 }
4895 return abstractBinFile::event(arg__1);
4895 return abstractBinFile::event(arg__1);
4896 }
4896 }
4897 bool PythonQtShell_abstractBinFile::eventFilter(QObject* arg__1, QEvent* arg__2)
4897 bool PythonQtShell_abstractBinFile::eventFilter(QObject* arg__1, QEvent* arg__2)
4898 {
4898 {
4899 if (_wrapper) {
4899 if (_wrapper) {
4900 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "eventFilter");
4900 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "eventFilter");
4901 PyErr_Clear();
4901 PyErr_Clear();
4902 if (obj && !PythonQtSlotFunction_Check(obj)) {
4902 if (obj && !PythonQtSlotFunction_Check(obj)) {
4903 static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"};
4903 static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"};
4904 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList);
4904 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList);
4905 bool returnValue;
4905 bool returnValue;
4906 void* args[3] = {NULL, (void*)&arg__1, (void*)&arg__2};
4906 void* args[3] = {NULL, (void*)&arg__1, (void*)&arg__2};
4907 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
4907 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
4908 if (result) {
4908 if (result) {
4909 args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue);
4909 args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue);
4910 if (args[0]!=&returnValue) {
4910 if (args[0]!=&returnValue) {
4911 if (args[0]==NULL) {
4911 if (args[0]==NULL) {
4912 PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result);
4912 PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result);
4913 } else {
4913 } else {
4914 returnValue = *((bool*)args[0]);
4914 returnValue = *((bool*)args[0]);
4915 }
4915 }
4916 }
4916 }
4917 }
4917 }
4918 if (result) { Py_DECREF(result); }
4918 if (result) { Py_DECREF(result); }
4919 Py_DECREF(obj);
4919 Py_DECREF(obj);
4920 return returnValue;
4920 return returnValue;
4921 }
4921 }
4922 }
4922 }
4923 return abstractBinFile::eventFilter(arg__1, arg__2);
4923 return abstractBinFile::eventFilter(arg__1, arg__2);
4924 }
4924 }
4925 QList<codeFragment* > PythonQtShell_abstractBinFile::getFragments()
4925 QList<codeFragment* > PythonQtShell_abstractBinFile::getFragments()
4926 {
4926 {
4927 if (_wrapper) {
4927 if (_wrapper) {
4928 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "getFragments");
4928 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "getFragments");
4929 PyErr_Clear();
4929 PyErr_Clear();
4930 if (obj && !PythonQtSlotFunction_Check(obj)) {
4930 if (obj && !PythonQtSlotFunction_Check(obj)) {
4931 static const char* argumentList[] ={"QList<codeFragment* >"};
4931 static const char* argumentList[] ={"QList<codeFragment* >"};
4932 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList);
4932 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList);
4933 QList<codeFragment* > returnValue;
4933 QList<codeFragment* > returnValue;
4934 void* args[1] = {NULL};
4934 void* args[1] = {NULL};
4935 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
4935 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
4936 if (result) {
4936 if (result) {
4937 args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue);
4937 args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue);
4938 if (args[0]!=&returnValue) {
4938 if (args[0]!=&returnValue) {
4939 if (args[0]==NULL) {
4939 if (args[0]==NULL) {
4940 PythonQt::priv()->handleVirtualOverloadReturnError("getFragments", methodInfo, result);
4940 PythonQt::priv()->handleVirtualOverloadReturnError("getFragments", methodInfo, result);
4941 } else {
4941 } else {
4942 returnValue = *((QList<codeFragment* >*)args[0]);
4942 returnValue = *((QList<codeFragment* >*)args[0]);
4943 }
4943 }
4944 }
4944 }
4945 }
4945 }
4946 if (result) { Py_DECREF(result); }
4946 if (result) { Py_DECREF(result); }
4947 Py_DECREF(obj);
4947 Py_DECREF(obj);
4948 return returnValue;
4948 return returnValue;
4949 }
4949 }
4950 }
4950 }
4951 return QList<codeFragment* >();
4951 return QList<codeFragment* >();
4952 }
4952 }
4953 bool PythonQtShell_abstractBinFile::isopened()
4953 bool PythonQtShell_abstractBinFile::isopened()
4954 {
4954 {
4955 if (_wrapper) {
4955 if (_wrapper) {
4956 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "isopened");
4956 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "isopened");
4957 PyErr_Clear();
4957 PyErr_Clear();
4958 if (obj && !PythonQtSlotFunction_Check(obj)) {
4958 if (obj && !PythonQtSlotFunction_Check(obj)) {
4959 static const char* argumentList[] ={"bool"};
4959 static const char* argumentList[] ={"bool"};
4960 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList);
4960 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList);
4961 bool returnValue;
4961 bool returnValue;
4962 void* args[1] = {NULL};
4962 void* args[1] = {NULL};
4963 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
4963 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
4964 if (result) {
4964 if (result) {
4965 args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue);
4965 args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue);
4966 if (args[0]!=&returnValue) {
4966 if (args[0]!=&returnValue) {
4967 if (args[0]==NULL) {
4967 if (args[0]==NULL) {
4968 PythonQt::priv()->handleVirtualOverloadReturnError("isopened", methodInfo, result);
4968 PythonQt::priv()->handleVirtualOverloadReturnError("isopened", methodInfo, result);
4969 } else {
4969 } else {
4970 returnValue = *((bool*)args[0]);
4970 returnValue = *((bool*)args[0]);
4971 }
4971 }
4972 }
4972 }
4973 }
4973 }
4974 if (result) { Py_DECREF(result); }
4974 if (result) { Py_DECREF(result); }
4975 Py_DECREF(obj);
4975 Py_DECREF(obj);
4976 return returnValue;
4976 return returnValue;
4977 }
4977 }
4978 }
4978 }
4979 return bool();
4979 return bool();
4980 }
4980 }
4981 bool PythonQtShell_abstractBinFile::openFile(const QString& File)
4981 bool PythonQtShell_abstractBinFile::openFile(const QString& File)
4982 {
4982 {
4983 if (_wrapper) {
4983 if (_wrapper) {
4984 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "openFile");
4984 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "openFile");
4985 PyErr_Clear();
4985 PyErr_Clear();
4986 if (obj && !PythonQtSlotFunction_Check(obj)) {
4986 if (obj && !PythonQtSlotFunction_Check(obj)) {
4987 static const char* argumentList[] ={"bool" , "const QString&"};
4987 static const char* argumentList[] ={"bool" , "const QString&"};
4988 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
4988 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
4989 bool returnValue;
4989 bool returnValue;
4990 void* args[2] = {NULL, (void*)&File};
4990 void* args[2] = {NULL, (void*)&File};
4991 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
4991 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
4992 if (result) {
4992 if (result) {
4993 args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue);
4993 args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue);
4994 if (args[0]!=&returnValue) {
4994 if (args[0]!=&returnValue) {
4995 if (args[0]==NULL) {
4995 if (args[0]==NULL) {
4996 PythonQt::priv()->handleVirtualOverloadReturnError("openFile", methodInfo, result);
4996 PythonQt::priv()->handleVirtualOverloadReturnError("openFile", methodInfo, result);
4997 } else {
4997 } else {
4998 returnValue = *((bool*)args[0]);
4998 returnValue = *((bool*)args[0]);
4999 }
4999 }
5000 }
5000 }
5001 }
5001 }
5002 if (result) { Py_DECREF(result); }
5002 if (result) { Py_DECREF(result); }
5003 Py_DECREF(obj);
5003 Py_DECREF(obj);
5004 return returnValue;
5004 return returnValue;
5005 }
5005 }
5006 }
5006 }
5007 return bool();
5007 return bool();
5008 }
5008 }
5009 void PythonQtShell_abstractBinFile::timerEvent(QTimerEvent* arg__1)
5009 void PythonQtShell_abstractBinFile::timerEvent(QTimerEvent* arg__1)
5010 {
5010 {
5011 if (_wrapper) {
5011 if (_wrapper) {
5012 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "timerEvent");
5012 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "timerEvent");
5013 PyErr_Clear();
5013 PyErr_Clear();
5014 if (obj && !PythonQtSlotFunction_Check(obj)) {
5014 if (obj && !PythonQtSlotFunction_Check(obj)) {
5015 static const char* argumentList[] ={"" , "QTimerEvent*"};
5015 static const char* argumentList[] ={"" , "QTimerEvent*"};
5016 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
5016 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
5017 void* args[2] = {NULL, (void*)&arg__1};
5017 void* args[2] = {NULL, (void*)&arg__1};
5018 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
5018 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
5019 if (result) { Py_DECREF(result); }
5019 if (result) { Py_DECREF(result); }
5020 Py_DECREF(obj);
5020 Py_DECREF(obj);
5021 return;
5021 return;
5022 }
5022 }
5023 }
5023 }
5024 abstractBinFile::timerEvent(arg__1);
5024 abstractBinFile::timerEvent(arg__1);
5025 }
5025 }
5026 bool PythonQtShell_abstractBinFile::toBinary(const QString& File)
5026 bool PythonQtShell_abstractBinFile::toBinary(const QString& File)
5027 {
5027 {
5028 if (_wrapper) {
5028 if (_wrapper) {
5029 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "toBinary");
5029 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "toBinary");
5030 PyErr_Clear();
5030 PyErr_Clear();
5031 if (obj && !PythonQtSlotFunction_Check(obj)) {
5031 if (obj && !PythonQtSlotFunction_Check(obj)) {
5032 static const char* argumentList[] ={"bool" , "const QString&"};
5032 static const char* argumentList[] ={"bool" , "const QString&"};
5033 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
5033 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
5034 bool returnValue;
5034 bool returnValue;
5035 void* args[2] = {NULL, (void*)&File};
5035 void* args[2] = {NULL, (void*)&File};
5036 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
5036 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
5037 if (result) {
5037 if (result) {
5038 args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue);
5038 args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue);
5039 if (args[0]!=&returnValue) {
5039 if (args[0]!=&returnValue) {
5040 if (args[0]==NULL) {
5040 if (args[0]==NULL) {
5041 PythonQt::priv()->handleVirtualOverloadReturnError("toBinary", methodInfo, result);
5041 PythonQt::priv()->handleVirtualOverloadReturnError("toBinary", methodInfo, result);
5042 } else {
5042 } else {
5043 returnValue = *((bool*)args[0]);
5043 returnValue = *((bool*)args[0]);
5044 }
5044 }
5045 }
5045 }
5046 }
5046 }
5047 if (result) { Py_DECREF(result); }
5047 if (result) { Py_DECREF(result); }
5048 Py_DECREF(obj);
5048 Py_DECREF(obj);
5049 return returnValue;
5049 return returnValue;
5050 }
5050 }
5051 }
5051 }
5052 return bool();
5052 return bool();
5053 }
5053 }
5054 bool PythonQtShell_abstractBinFile::toSrec(const QString& File)
5054 bool PythonQtShell_abstractBinFile::toSrec(const QString& File)
5055 {
5055 {
5056 if (_wrapper) {
5056 if (_wrapper) {
5057 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "toSrec");
5057 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "toSrec");
5058 PyErr_Clear();
5058 PyErr_Clear();
5059 if (obj && !PythonQtSlotFunction_Check(obj)) {
5059 if (obj && !PythonQtSlotFunction_Check(obj)) {
5060 static const char* argumentList[] ={"bool" , "const QString&"};
5060 static const char* argumentList[] ={"bool" , "const QString&"};
5061 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
5061 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
5062 bool returnValue;
5062 bool returnValue;
5063 void* args[2] = {NULL, (void*)&File};
5063 void* args[2] = {NULL, (void*)&File};
5064 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
5064 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
5065 if (result) {
5065 if (result) {
5066 args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue);
5066 args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue);
5067 if (args[0]!=&returnValue) {
5067 if (args[0]!=&returnValue) {
5068 if (args[0]==NULL) {
5068 if (args[0]==NULL) {
5069 PythonQt::priv()->handleVirtualOverloadReturnError("toSrec", methodInfo, result);
5069 PythonQt::priv()->handleVirtualOverloadReturnError("toSrec", methodInfo, result);
5070 } else {
5070 } else {
5071 returnValue = *((bool*)args[0]);
5071 returnValue = *((bool*)args[0]);
5072 }
5072 }
5073 }
5073 }
5074 }
5074 }
5075 if (result) { Py_DECREF(result); }
5075 if (result) { Py_DECREF(result); }
5076 Py_DECREF(obj);
5076 Py_DECREF(obj);
5077 return returnValue;
5077 return returnValue;
5078 }
5078 }
5079 }
5079 }
5080 return bool();
5080 return bool();
5081 }
5081 }
5082 abstractBinFile* PythonQtWrapper_abstractBinFile::new_abstractBinFile()
5082 abstractBinFile* PythonQtWrapper_abstractBinFile::new_abstractBinFile()
5083 {
5083 {
5084 return new PythonQtShell_abstractBinFile(); }
5084 return new PythonQtShell_abstractBinFile(); }
5085
5085
5086
5086
5087
5087
5088 PythonQtShell_abstractBinFileWidget::~PythonQtShell_abstractBinFileWidget() {
5088 PythonQtShell_abstractBinFileWidget::~PythonQtShell_abstractBinFileWidget() {
5089 PythonQtPrivate* priv = PythonQt::priv();
5089 PythonQtPrivate* priv = PythonQt::priv();
5090 if (priv) { priv->shellClassDeleted(this); }
5090 if (priv) { priv->shellClassDeleted(this); }
5091 }
5091 }
5092 void PythonQtShell_abstractBinFileWidget::actionEvent(QActionEvent* arg__1)
5092 void PythonQtShell_abstractBinFileWidget::actionEvent(QActionEvent* arg__1)
5093 {
5093 {
5094 if (_wrapper) {
5094 if (_wrapper) {
5095 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "actionEvent");
5095 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "actionEvent");
5096 PyErr_Clear();
5096 PyErr_Clear();
5097 if (obj && !PythonQtSlotFunction_Check(obj)) {
5097 if (obj && !PythonQtSlotFunction_Check(obj)) {
5098 static const char* argumentList[] ={"" , "QActionEvent*"};
5098 static const char* argumentList[] ={"" , "QActionEvent*"};
5099 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
5099 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
5100 void* args[2] = {NULL, (void*)&arg__1};
5100 void* args[2] = {NULL, (void*)&arg__1};
5101 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
5101 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
5102 if (result) { Py_DECREF(result); }
5102 if (result) { Py_DECREF(result); }
5103 Py_DECREF(obj);
5103 Py_DECREF(obj);
5104 return;
5104 return;
5105 }
5105 }
5106 }
5106 }
5107 abstractBinFileWidget::actionEvent(arg__1);
5107 abstractBinFileWidget::actionEvent(arg__1);
5108 }
5108 }
5109 void PythonQtShell_abstractBinFileWidget::changeEvent(QEvent* arg__1)
5109 void PythonQtShell_abstractBinFileWidget::changeEvent(QEvent* arg__1)
5110 {
5110 {
5111 if (_wrapper) {
5111 if (_wrapper) {
5112 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "changeEvent");
5112 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "changeEvent");
5113 PyErr_Clear();
5113 PyErr_Clear();
5114 if (obj && !PythonQtSlotFunction_Check(obj)) {
5114 if (obj && !PythonQtSlotFunction_Check(obj)) {
5115 static const char* argumentList[] ={"" , "QEvent*"};
5115 static const char* argumentList[] ={"" , "QEvent*"};
5116 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
5116 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
5117 void* args[2] = {NULL, (void*)&arg__1};
5117 void* args[2] = {NULL, (void*)&arg__1};
5118 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
5118 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
5119 if (result) { Py_DECREF(result); }
5119 if (result) { Py_DECREF(result); }
5120 Py_DECREF(obj);
5120 Py_DECREF(obj);
5121 return;
5121 return;
5122 }
5122 }
5123 }
5123 }
5124 abstractBinFileWidget::changeEvent(arg__1);
5124 abstractBinFileWidget::changeEvent(arg__1);
5125 }
5125 }
5126 void PythonQtShell_abstractBinFileWidget::childEvent(QChildEvent* arg__1)
5126 void PythonQtShell_abstractBinFileWidget::childEvent(QChildEvent* arg__1)
5127 {
5127 {
5128 if (_wrapper) {
5128 if (_wrapper) {
5129 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "childEvent");
5129 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "childEvent");
5130 PyErr_Clear();
5130 PyErr_Clear();
5131 if (obj && !PythonQtSlotFunction_Check(obj)) {
5131 if (obj && !PythonQtSlotFunction_Check(obj)) {
5132 static const char* argumentList[] ={"" , "QChildEvent*"};
5132 static const char* argumentList[] ={"" , "QChildEvent*"};
5133 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
5133 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
5134 void* args[2] = {NULL, (void*)&arg__1};
5134 void* args[2] = {NULL, (void*)&arg__1};
5135 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
5135 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
5136 if (result) { Py_DECREF(result); }
5136 if (result) { Py_DECREF(result); }
5137 Py_DECREF(obj);
5137 Py_DECREF(obj);
5138 return;
5138 return;
5139 }
5139 }
5140 }
5140 }
5141 abstractBinFileWidget::childEvent(arg__1);
5141 abstractBinFileWidget::childEvent(arg__1);
5142 }
5142 }
5143 void PythonQtShell_abstractBinFileWidget::closeEvent(QCloseEvent* arg__1)
5143 void PythonQtShell_abstractBinFileWidget::closeEvent(QCloseEvent* arg__1)
5144 {
5144 {
5145 if (_wrapper) {
5145 if (_wrapper) {
5146 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "closeEvent");
5146 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "closeEvent");
5147 PyErr_Clear();
5147 PyErr_Clear();
5148 if (obj && !PythonQtSlotFunction_Check(obj)) {
5148 if (obj && !PythonQtSlotFunction_Check(obj)) {
5149 static const char* argumentList[] ={"" , "QCloseEvent*"};
5149 static const char* argumentList[] ={"" , "QCloseEvent*"};
5150 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
5150 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
5151 void* args[2] = {NULL, (void*)&arg__1};
5151 void* args[2] = {NULL, (void*)&arg__1};
5152 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
5152 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
5153 if (result) { Py_DECREF(result); }
5153 if (result) { Py_DECREF(result); }
5154 Py_DECREF(obj);
5154 Py_DECREF(obj);
5155 return;
5155 return;
5156 }
5156 }
5157 }
5157 }
5158 abstractBinFileWidget::closeEvent(arg__1);
5158 abstractBinFileWidget::closeEvent(arg__1);
5159 }
5159 }
5160 void PythonQtShell_abstractBinFileWidget::contextMenuEvent(QContextMenuEvent* arg__1)
5160 void PythonQtShell_abstractBinFileWidget::contextMenuEvent(QContextMenuEvent* arg__1)
5161 {
5161 {
5162 if (_wrapper) {
5162 if (_wrapper) {
5163 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "contextMenuEvent");
5163 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "contextMenuEvent");
5164 PyErr_Clear();
5164 PyErr_Clear();
5165 if (obj && !PythonQtSlotFunction_Check(obj)) {
5165 if (obj && !PythonQtSlotFunction_Check(obj)) {
5166 static const char* argumentList[] ={"" , "QContextMenuEvent*"};
5166 static const char* argumentList[] ={"" , "QContextMenuEvent*"};
5167 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
5167 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
5168 void* args[2] = {NULL, (void*)&arg__1};
5168 void* args[2] = {NULL, (void*)&arg__1};
5169 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
5169 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
5170 if (result) { Py_DECREF(result); }
5170 if (result) { Py_DECREF(result); }
5171 Py_DECREF(obj);
5171 Py_DECREF(obj);
5172 return;
5172 return;
5173 }
5173 }
5174 }
5174 }
5175 abstractBinFileWidget::contextMenuEvent(arg__1);
5175 abstractBinFileWidget::contextMenuEvent(arg__1);
5176 }
5176 }
5177 void PythonQtShell_abstractBinFileWidget::customEvent(QEvent* arg__1)
5177 void PythonQtShell_abstractBinFileWidget::customEvent(QEvent* arg__1)
5178 {
5178 {
5179 if (_wrapper) {
5179 if (_wrapper) {
5180 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "customEvent");
5180 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "customEvent");
5181 PyErr_Clear();
5181 PyErr_Clear();
5182 if (obj && !PythonQtSlotFunction_Check(obj)) {
5182 if (obj && !PythonQtSlotFunction_Check(obj)) {
5183 static const char* argumentList[] ={"" , "QEvent*"};
5183 static const char* argumentList[] ={"" , "QEvent*"};
5184 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
5184 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
5185 void* args[2] = {NULL, (void*)&arg__1};
5185 void* args[2] = {NULL, (void*)&arg__1};
5186 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
5186 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
5187 if (result) { Py_DECREF(result); }
5187 if (result) { Py_DECREF(result); }
5188 Py_DECREF(obj);
5188 Py_DECREF(obj);
5189 return;
5189 return;
5190 }
5190 }
5191 }
5191 }
5192 abstractBinFileWidget::customEvent(arg__1);
5192 abstractBinFileWidget::customEvent(arg__1);
5193 }
5193 }
5194 int PythonQtShell_abstractBinFileWidget::devType() const
5194 int PythonQtShell_abstractBinFileWidget::devType() const
5195 {
5195 {
5196 if (_wrapper) {
5196 if (_wrapper) {
5197 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "devType");
5197 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "devType");
5198 PyErr_Clear();
5198 PyErr_Clear();
5199 if (obj && !PythonQtSlotFunction_Check(obj)) {
5199 if (obj && !PythonQtSlotFunction_Check(obj)) {
5200 static const char* argumentList[] ={"int"};
5200 static const char* argumentList[] ={"int"};
5201 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList);
5201 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList);
5202 int returnValue;
5202 int returnValue;
5203 void* args[1] = {NULL};
5203 void* args[1] = {NULL};
5204 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
5204 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
5205 if (result) {
5205 if (result) {
5206 args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue);
5206 args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue);
5207 if (args[0]!=&returnValue) {
5207 if (args[0]!=&returnValue) {
5208 if (args[0]==NULL) {
5208 if (args[0]==NULL) {
5209 PythonQt::priv()->handleVirtualOverloadReturnError("devType", methodInfo, result);
5209 PythonQt::priv()->handleVirtualOverloadReturnError("devType", methodInfo, result);
5210 } else {
5210 } else {
5211 returnValue = *((int*)args[0]);
5211 returnValue = *((int*)args[0]);
5212 }
5212 }
5213 }
5213 }
5214 }
5214 }
5215 if (result) { Py_DECREF(result); }
5215 if (result) { Py_DECREF(result); }
5216 Py_DECREF(obj);
5216 Py_DECREF(obj);
5217 return returnValue;
5217 return returnValue;
5218 }
5218 }
5219 }
5219 }
5220 return abstractBinFileWidget::devType();
5220 return abstractBinFileWidget::devType();
5221 }
5221 }
5222 void PythonQtShell_abstractBinFileWidget::dragEnterEvent(QDragEnterEvent* arg__1)
5222 void PythonQtShell_abstractBinFileWidget::dragEnterEvent(QDragEnterEvent* arg__1)
5223 {
5223 {
5224 if (_wrapper) {
5224 if (_wrapper) {
5225 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dragEnterEvent");
5225 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dragEnterEvent");
5226 PyErr_Clear();
5226 PyErr_Clear();
5227 if (obj && !PythonQtSlotFunction_Check(obj)) {
5227 if (obj && !PythonQtSlotFunction_Check(obj)) {
5228 static const char* argumentList[] ={"" , "QDragEnterEvent*"};
5228 static const char* argumentList[] ={"" , "QDragEnterEvent*"};
5229 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
5229 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
5230 void* args[2] = {NULL, (void*)&arg__1};
5230 void* args[2] = {NULL, (void*)&arg__1};
5231 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
5231 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
5232 if (result) { Py_DECREF(result); }
5232 if (result) { Py_DECREF(result); }
5233 Py_DECREF(obj);
5233 Py_DECREF(obj);
5234 return;
5234 return;
5235 }
5235 }
5236 }
5236 }
5237 abstractBinFileWidget::dragEnterEvent(arg__1);
5237 abstractBinFileWidget::dragEnterEvent(arg__1);
5238 }
5238 }
5239 void PythonQtShell_abstractBinFileWidget::dragLeaveEvent(QDragLeaveEvent* arg__1)
5239 void PythonQtShell_abstractBinFileWidget::dragLeaveEvent(QDragLeaveEvent* arg__1)
5240 {
5240 {
5241 if (_wrapper) {
5241 if (_wrapper) {
5242 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dragLeaveEvent");
5242 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dragLeaveEvent");
5243 PyErr_Clear();
5243 PyErr_Clear();
5244 if (obj && !PythonQtSlotFunction_Check(obj)) {
5244 if (obj && !PythonQtSlotFunction_Check(obj)) {
5245 static const char* argumentList[] ={"" , "QDragLeaveEvent*"};
5245 static const char* argumentList[] ={"" , "QDragLeaveEvent*"};
5246 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
5246 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
5247 void* args[2] = {NULL, (void*)&arg__1};
5247 void* args[2] = {NULL, (void*)&arg__1};
5248 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
5248 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
5249 if (result) { Py_DECREF(result); }
5249 if (result) { Py_DECREF(result); }
5250 Py_DECREF(obj);
5250 Py_DECREF(obj);
5251 return;
5251 return;
5252 }
5252 }
5253 }
5253 }
5254 abstractBinFileWidget::dragLeaveEvent(arg__1);
5254 abstractBinFileWidget::dragLeaveEvent(arg__1);
5255 }
5255 }
5256 void PythonQtShell_abstractBinFileWidget::dragMoveEvent(QDragMoveEvent* arg__1)
5256 void PythonQtShell_abstractBinFileWidget::dragMoveEvent(QDragMoveEvent* arg__1)
5257 {
5257 {
5258 if (_wrapper) {
5258 if (_wrapper) {
5259 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dragMoveEvent");
5259 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dragMoveEvent");
5260 PyErr_Clear();
5260 PyErr_Clear();
5261 if (obj && !PythonQtSlotFunction_Check(obj)) {
5261 if (obj && !PythonQtSlotFunction_Check(obj)) {
5262 static const char* argumentList[] ={"" , "QDragMoveEvent*"};
5262 static const char* argumentList[] ={"" , "QDragMoveEvent*"};
5263 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
5263 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
5264 void* args[2] = {NULL, (void*)&arg__1};
5264 void* args[2] = {NULL, (void*)&arg__1};
5265 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
5265 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
5266 if (result) { Py_DECREF(result); }
5266 if (result) { Py_DECREF(result); }
5267 Py_DECREF(obj);
5267 Py_DECREF(obj);
5268 return;
5268 return;
5269 }
5269 }
5270 }
5270 }
5271 abstractBinFileWidget::dragMoveEvent(arg__1);
5271 abstractBinFileWidget::dragMoveEvent(arg__1);
5272 }
5272 }
5273 void PythonQtShell_abstractBinFileWidget::dropEvent(QDropEvent* arg__1)
5273 void PythonQtShell_abstractBinFileWidget::dropEvent(QDropEvent* arg__1)
5274 {
5274 {
5275 if (_wrapper) {
5275 if (_wrapper) {
5276 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dropEvent");
5276 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dropEvent");
5277 PyErr_Clear();
5277 PyErr_Clear();
5278 if (obj && !PythonQtSlotFunction_Check(obj)) {
5278 if (obj && !PythonQtSlotFunction_Check(obj)) {
5279 static const char* argumentList[] ={"" , "QDropEvent*"};
5279 static const char* argumentList[] ={"" , "QDropEvent*"};
5280 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
5280 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
5281 void* args[2] = {NULL, (void*)&arg__1};
5281 void* args[2] = {NULL, (void*)&arg__1};
5282 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
5282 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
5283 if (result) { Py_DECREF(result); }
5283 if (result) { Py_DECREF(result); }
5284 Py_DECREF(obj);
5284 Py_DECREF(obj);
5285 return;
5285 return;
5286 }
5286 }
5287 }
5287 }
5288 abstractBinFileWidget::dropEvent(arg__1);
5288 abstractBinFileWidget::dropEvent(arg__1);
5289 }
5289 }
5290 void PythonQtShell_abstractBinFileWidget::enterEvent(QEvent* arg__1)
5290 void PythonQtShell_abstractBinFileWidget::enterEvent(QEvent* arg__1)
5291 {
5291 {
5292 if (_wrapper) {
5292 if (_wrapper) {
5293 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "enterEvent");
5293 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "enterEvent");
5294 PyErr_Clear();
5294 PyErr_Clear();
5295 if (obj && !PythonQtSlotFunction_Check(obj)) {
5295 if (obj && !PythonQtSlotFunction_Check(obj)) {
5296 static const char* argumentList[] ={"" , "QEvent*"};
5296 static const char* argumentList[] ={"" , "QEvent*"};
5297 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
5297 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
5298 void* args[2] = {NULL, (void*)&arg__1};
5298 void* args[2] = {NULL, (void*)&arg__1};
5299 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
5299 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
5300 if (result) { Py_DECREF(result); }
5300 if (result) { Py_DECREF(result); }
5301 Py_DECREF(obj);
5301 Py_DECREF(obj);
5302 return;
5302 return;
5303 }
5303 }
5304 }
5304 }
5305 abstractBinFileWidget::enterEvent(arg__1);
5305 abstractBinFileWidget::enterEvent(arg__1);
5306 }
5306 }
5307 bool PythonQtShell_abstractBinFileWidget::event(QEvent* arg__1)
5307 bool PythonQtShell_abstractBinFileWidget::event(QEvent* arg__1)
5308 {
5308 {
5309 if (_wrapper) {
5309 if (_wrapper) {
5310 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "event");
5310 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "event");
5311 PyErr_Clear();
5311 PyErr_Clear();
5312 if (obj && !PythonQtSlotFunction_Check(obj)) {
5312 if (obj && !PythonQtSlotFunction_Check(obj)) {
5313 static const char* argumentList[] ={"bool" , "QEvent*"};
5313 static const char* argumentList[] ={"bool" , "QEvent*"};
5314 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
5314 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
5315 bool returnValue;
5315 bool returnValue;
5316 void* args[2] = {NULL, (void*)&arg__1};
5316 void* args[2] = {NULL, (void*)&arg__1};
5317 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
5317 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
5318 if (result) {
5318 if (result) {
5319 args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue);
5319 args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue);
5320 if (args[0]!=&returnValue) {
5320 if (args[0]!=&returnValue) {
5321 if (args[0]==NULL) {
5321 if (args[0]==NULL) {
5322 PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result);
5322 PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result);
5323 } else {
5323 } else {
5324 returnValue = *((bool*)args[0]);
5324 returnValue = *((bool*)args[0]);
5325 }
5325 }
5326 }
5326 }
5327 }
5327 }
5328 if (result) { Py_DECREF(result); }
5328 if (result) { Py_DECREF(result); }
5329 Py_DECREF(obj);
5329 Py_DECREF(obj);
5330 return returnValue;
5330 return returnValue;
5331 }
5331 }
5332 }
5332 }
5333 return abstractBinFileWidget::event(arg__1);
5333 return abstractBinFileWidget::event(arg__1);
5334 }
5334 }
5335 bool PythonQtShell_abstractBinFileWidget::eventFilter(QObject* arg__1, QEvent* arg__2)
5335 bool PythonQtShell_abstractBinFileWidget::eventFilter(QObject* arg__1, QEvent* arg__2)
5336 {
5336 {
5337 if (_wrapper) {
5337 if (_wrapper) {
5338 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "eventFilter");
5338 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "eventFilter");
5339 PyErr_Clear();
5339 PyErr_Clear();
5340 if (obj && !PythonQtSlotFunction_Check(obj)) {
5340 if (obj && !PythonQtSlotFunction_Check(obj)) {
5341 static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"};
5341 static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"};
5342 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList);
5342 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList);
5343 bool returnValue;
5343 bool returnValue;
5344 void* args[3] = {NULL, (void*)&arg__1, (void*)&arg__2};
5344 void* args[3] = {NULL, (void*)&arg__1, (void*)&arg__2};
5345 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
5345 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
5346 if (result) {
5346 if (result) {
5347 args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue);
5347 args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue);
5348 if (args[0]!=&returnValue) {
5348 if (args[0]!=&returnValue) {
5349 if (args[0]==NULL) {
5349 if (args[0]==NULL) {
5350 PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result);
5350 PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result);
5351 } else {
5351 } else {
5352 returnValue = *((bool*)args[0]);
5352 returnValue = *((bool*)args[0]);
5353 }
5353 }
5354 }
5354 }
5355 }
5355 }
5356 if (result) { Py_DECREF(result); }
5356 if (result) { Py_DECREF(result); }
5357 Py_DECREF(obj);
5357 Py_DECREF(obj);
5358 return returnValue;
5358 return returnValue;
5359 }
5359 }
5360 }
5360 }
5361 return abstractBinFileWidget::eventFilter(arg__1, arg__2);
5361 return abstractBinFileWidget::eventFilter(arg__1, arg__2);
5362 }
5362 }
5363 void PythonQtShell_abstractBinFileWidget::focusInEvent(QFocusEvent* arg__1)
5363 void PythonQtShell_abstractBinFileWidget::focusInEvent(QFocusEvent* arg__1)
5364 {
5364 {
5365 if (_wrapper) {
5365 if (_wrapper) {
5366 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "focusInEvent");
5366 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "focusInEvent");
5367 PyErr_Clear();
5367 PyErr_Clear();
5368 if (obj && !PythonQtSlotFunction_Check(obj)) {
5368 if (obj && !PythonQtSlotFunction_Check(obj)) {
5369 static const char* argumentList[] ={"" , "QFocusEvent*"};
5369 static const char* argumentList[] ={"" , "QFocusEvent*"};
5370 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
5370 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
5371 void* args[2] = {NULL, (void*)&arg__1};
5371 void* args[2] = {NULL, (void*)&arg__1};
5372 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
5372 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
5373 if (result) { Py_DECREF(result); }
5373 if (result) { Py_DECREF(result); }
5374 Py_DECREF(obj);
5374 Py_DECREF(obj);
5375 return;
5375 return;
5376 }
5376 }
5377 }
5377 }
5378 abstractBinFileWidget::focusInEvent(arg__1);
5378 abstractBinFileWidget::focusInEvent(arg__1);
5379 }
5379 }
5380 bool PythonQtShell_abstractBinFileWidget::focusNextPrevChild(bool next)
5380 bool PythonQtShell_abstractBinFileWidget::focusNextPrevChild(bool next)
5381 {
5381 {
5382 if (_wrapper) {
5382 if (_wrapper) {
5383 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "focusNextPrevChild");
5383 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "focusNextPrevChild");
5384 PyErr_Clear();
5384 PyErr_Clear();
5385 if (obj && !PythonQtSlotFunction_Check(obj)) {
5385 if (obj && !PythonQtSlotFunction_Check(obj)) {
5386 static const char* argumentList[] ={"bool" , "bool"};
5386 static const char* argumentList[] ={"bool" , "bool"};
5387 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
5387 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
5388 bool returnValue;
5388 bool returnValue;
5389 void* args[2] = {NULL, (void*)&next};
5389 void* args[2] = {NULL, (void*)&next};
5390 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
5390 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
5391 if (result) {
5391 if (result) {
5392 args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue);
5392 args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue);
5393 if (args[0]!=&returnValue) {
5393 if (args[0]!=&returnValue) {
5394 if (args[0]==NULL) {
5394 if (args[0]==NULL) {
5395 PythonQt::priv()->handleVirtualOverloadReturnError("focusNextPrevChild", methodInfo, result);
5395 PythonQt::priv()->handleVirtualOverloadReturnError("focusNextPrevChild", methodInfo, result);
5396 } else {
5396 } else {
5397 returnValue = *((bool*)args[0]);
5397 returnValue = *((bool*)args[0]);
5398 }
5398 }
5399 }
5399 }
5400 }
5400 }
5401 if (result) { Py_DECREF(result); }
5401 if (result) { Py_DECREF(result); }
5402 Py_DECREF(obj);
5402 Py_DECREF(obj);
5403 return returnValue;
5403 return returnValue;
5404 }
5404 }
5405 }
5405 }
5406 return abstractBinFileWidget::focusNextPrevChild(next);
5406 return abstractBinFileWidget::focusNextPrevChild(next);
5407 }
5407 }
5408 void PythonQtShell_abstractBinFileWidget::focusOutEvent(QFocusEvent* arg__1)
5408 void PythonQtShell_abstractBinFileWidget::focusOutEvent(QFocusEvent* arg__1)
5409 {
5409 {
5410 if (_wrapper) {
5410 if (_wrapper) {
5411 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "focusOutEvent");
5411 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "focusOutEvent");
5412 PyErr_Clear();
5412 PyErr_Clear();
5413 if (obj && !PythonQtSlotFunction_Check(obj)) {
5413 if (obj && !PythonQtSlotFunction_Check(obj)) {
5414 static const char* argumentList[] ={"" , "QFocusEvent*"};
5414 static const char* argumentList[] ={"" , "QFocusEvent*"};
5415 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
5415 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
5416 void* args[2] = {NULL, (void*)&arg__1};
5416 void* args[2] = {NULL, (void*)&arg__1};
5417 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
5417 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
5418 if (result) { Py_DECREF(result); }
5418 if (result) { Py_DECREF(result); }
5419 Py_DECREF(obj);
5419 Py_DECREF(obj);
5420 return;
5420 return;
5421 }
5421 }
5422 }
5422 }
5423 abstractBinFileWidget::focusOutEvent(arg__1);
5423 abstractBinFileWidget::focusOutEvent(arg__1);
5424 }
5424 }
5425 bool PythonQtShell_abstractBinFileWidget::hasHeightForWidth() const
5425 bool PythonQtShell_abstractBinFileWidget::hasHeightForWidth() const
5426 {
5426 {
5427 if (_wrapper) {
5427 if (_wrapper) {
5428 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "hasHeightForWidth");
5428 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "hasHeightForWidth");
5429 PyErr_Clear();
5429 PyErr_Clear();
5430 if (obj && !PythonQtSlotFunction_Check(obj)) {
5430 if (obj && !PythonQtSlotFunction_Check(obj)) {
5431 static const char* argumentList[] ={"bool"};
5431 static const char* argumentList[] ={"bool"};
5432 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList);
5432 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList);
5433 bool returnValue;
5433 bool returnValue;
5434 void* args[1] = {NULL};
5434 void* args[1] = {NULL};
5435 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
5435 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
5436 if (result) {
5436 if (result) {
5437 args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue);
5437 args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue);
5438 if (args[0]!=&returnValue) {
5438 if (args[0]!=&returnValue) {
5439 if (args[0]==NULL) {
5439 if (args[0]==NULL) {
5440 PythonQt::priv()->handleVirtualOverloadReturnError("hasHeightForWidth", methodInfo, result);
5440 PythonQt::priv()->handleVirtualOverloadReturnError("hasHeightForWidth", methodInfo, result);
5441 } else {
5441 } else {
5442 returnValue = *((bool*)args[0]);
5442 returnValue = *((bool*)args[0]);
5443 }
5443 }
5444 }
5444 }
5445 }
5445 }
5446 if (result) { Py_DECREF(result); }
5446 if (result) { Py_DECREF(result); }
5447 Py_DECREF(obj);
5447 Py_DECREF(obj);
5448 return returnValue;
5448 return returnValue;
5449 }
5449 }
5450 }
5450 }
5451 return abstractBinFileWidget::hasHeightForWidth();
5451 return abstractBinFileWidget::hasHeightForWidth();
5452 }
5452 }
5453 int PythonQtShell_abstractBinFileWidget::heightForWidth(int arg__1) const
5453 int PythonQtShell_abstractBinFileWidget::heightForWidth(int arg__1) const
5454 {
5454 {
5455 if (_wrapper) {
5455 if (_wrapper) {
5456 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "heightForWidth");
5456 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "heightForWidth");
5457 PyErr_Clear();
5457 PyErr_Clear();
5458 if (obj && !PythonQtSlotFunction_Check(obj)) {
5458 if (obj && !PythonQtSlotFunction_Check(obj)) {
5459 static const char* argumentList[] ={"int" , "int"};
5459 static const char* argumentList[] ={"int" , "int"};
5460 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
5460 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
5461 int returnValue;
5461 int returnValue;
5462 void* args[2] = {NULL, (void*)&arg__1};
5462 void* args[2] = {NULL, (void*)&arg__1};
5463 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
5463 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
5464 if (result) {
5464 if (result) {
5465 args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue);
5465 args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue);
5466 if (args[0]!=&returnValue) {
5466 if (args[0]!=&returnValue) {
5467 if (args[0]==NULL) {
5467 if (args[0]==NULL) {
5468 PythonQt::priv()->handleVirtualOverloadReturnError("heightForWidth", methodInfo, result);
5468 PythonQt::priv()->handleVirtualOverloadReturnError("heightForWidth", methodInfo, result);
5469 } else {
5469 } else {
5470 returnValue = *((int*)args[0]);
5470 returnValue = *((int*)args[0]);
5471 }
5471 }
5472 }
5472 }
5473 }
5473 }
5474 if (result) { Py_DECREF(result); }
5474 if (result) { Py_DECREF(result); }
5475 Py_DECREF(obj);
5475 Py_DECREF(obj);
5476 return returnValue;
5476 return returnValue;
5477 }
5477 }
5478 }
5478 }
5479 return abstractBinFileWidget::heightForWidth(arg__1);
5479 return abstractBinFileWidget::heightForWidth(arg__1);
5480 }
5480 }
5481 void PythonQtShell_abstractBinFileWidget::hideEvent(QHideEvent* arg__1)
5481 void PythonQtShell_abstractBinFileWidget::hideEvent(QHideEvent* arg__1)
5482 {
5482 {
5483 if (_wrapper) {
5483 if (_wrapper) {
5484 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "hideEvent");
5484 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "hideEvent");
5485 PyErr_Clear();
5485 PyErr_Clear();
5486 if (obj && !PythonQtSlotFunction_Check(obj)) {
5486 if (obj && !PythonQtSlotFunction_Check(obj)) {
5487 static const char* argumentList[] ={"" , "QHideEvent*"};
5487 static const char* argumentList[] ={"" , "QHideEvent*"};
5488 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
5488 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
5489 void* args[2] = {NULL, (void*)&arg__1};
5489 void* args[2] = {NULL, (void*)&arg__1};
5490 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
5490 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
5491 if (result) { Py_DECREF(result); }
5491 if (result) { Py_DECREF(result); }
5492 Py_DECREF(obj);
5492 Py_DECREF(obj);
5493 return;
5493 return;
5494 }
5494 }
5495 }
5495 }
5496 abstractBinFileWidget::hideEvent(arg__1);
5496 abstractBinFileWidget::hideEvent(arg__1);
5497 }
5497 }
5498 void PythonQtShell_abstractBinFileWidget::initPainter(QPainter* painter) const
5498 void PythonQtShell_abstractBinFileWidget::initPainter(QPainter* painter) const
5499 {
5499 {
5500 if (_wrapper) {
5500 if (_wrapper) {
5501 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "initPainter");
5501 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "initPainter");
5502 PyErr_Clear();
5502 PyErr_Clear();
5503 if (obj && !PythonQtSlotFunction_Check(obj)) {
5503 if (obj && !PythonQtSlotFunction_Check(obj)) {
5504 static const char* argumentList[] ={"" , "QPainter*"};
5504 static const char* argumentList[] ={"" , "QPainter*"};
5505 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
5505 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
5506 void* args[2] = {NULL, (void*)&painter};
5506 void* args[2] = {NULL, (void*)&painter};
5507 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
5507 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
5508 if (result) { Py_DECREF(result); }
5508 if (result) { Py_DECREF(result); }
5509 Py_DECREF(obj);
5509 Py_DECREF(obj);
5510 return;
5510 return;
5511 }
5511 }
5512 }
5512 }
5513 abstractBinFileWidget::initPainter(painter);
5513 abstractBinFileWidget::initPainter(painter);
5514 }
5514 }
5515 void PythonQtShell_abstractBinFileWidget::inputMethodEvent(QInputMethodEvent* arg__1)
5515 void PythonQtShell_abstractBinFileWidget::inputMethodEvent(QInputMethodEvent* arg__1)
5516 {
5516 {
5517 if (_wrapper) {
5517 if (_wrapper) {
5518 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "inputMethodEvent");
5518 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "inputMethodEvent");
5519 PyErr_Clear();
5519 PyErr_Clear();
5520 if (obj && !PythonQtSlotFunction_Check(obj)) {
5520 if (obj && !PythonQtSlotFunction_Check(obj)) {
5521 static const char* argumentList[] ={"" , "QInputMethodEvent*"};
5521 static const char* argumentList[] ={"" , "QInputMethodEvent*"};
5522 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
5522 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
5523 void* args[2] = {NULL, (void*)&arg__1};
5523 void* args[2] = {NULL, (void*)&arg__1};
5524 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
5524 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
5525 if (result) { Py_DECREF(result); }
5525 if (result) { Py_DECREF(result); }
5526 Py_DECREF(obj);
5526 Py_DECREF(obj);
5527 return;
5527 return;
5528 }
5528 }
5529 }
5529 }
5530 abstractBinFileWidget::inputMethodEvent(arg__1);
5530 abstractBinFileWidget::inputMethodEvent(arg__1);
5531 }
5531 }
5532 QVariant PythonQtShell_abstractBinFileWidget::inputMethodQuery(Qt::InputMethodQuery arg__1) const
5532 QVariant PythonQtShell_abstractBinFileWidget::inputMethodQuery(Qt::InputMethodQuery arg__1) const
5533 {
5533 {
5534 if (_wrapper) {
5534 if (_wrapper) {
5535 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "inputMethodQuery");
5535 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "inputMethodQuery");
5536 PyErr_Clear();
5536 PyErr_Clear();
5537 if (obj && !PythonQtSlotFunction_Check(obj)) {
5537 if (obj && !PythonQtSlotFunction_Check(obj)) {
5538 static const char* argumentList[] ={"QVariant" , "Qt::InputMethodQuery"};
5538 static const char* argumentList[] ={"QVariant" , "Qt::InputMethodQuery"};
5539 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
5539 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
5540 QVariant returnValue;
5540 QVariant returnValue;
5541 void* args[2] = {NULL, (void*)&arg__1};
5541 void* args[2] = {NULL, (void*)&arg__1};
5542 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
5542 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
5543 if (result) {
5543 if (result) {
5544 args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue);
5544 args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue);
5545 if (args[0]!=&returnValue) {
5545 if (args[0]!=&returnValue) {
5546 if (args[0]==NULL) {
5546 if (args[0]==NULL) {
5547 PythonQt::priv()->handleVirtualOverloadReturnError("inputMethodQuery", methodInfo, result);
5547 PythonQt::priv()->handleVirtualOverloadReturnError("inputMethodQuery", methodInfo, result);
5548 } else {
5548 } else {
5549 returnValue = *((QVariant*)args[0]);
5549 returnValue = *((QVariant*)args[0]);
5550 }
5550 }
5551 }
5551 }
5552 }
5552 }
5553 if (result) { Py_DECREF(result); }
5553 if (result) { Py_DECREF(result); }
5554 Py_DECREF(obj);
5554 Py_DECREF(obj);
5555 return returnValue;
5555 return returnValue;
5556 }
5556 }
5557 }
5557 }
5558 return abstractBinFileWidget::inputMethodQuery(arg__1);
5558 return abstractBinFileWidget::inputMethodQuery(arg__1);
5559 }
5559 }
5560 void PythonQtShell_abstractBinFileWidget::keyPressEvent(QKeyEvent* arg__1)
5560 void PythonQtShell_abstractBinFileWidget::keyPressEvent(QKeyEvent* arg__1)
5561 {
5561 {
5562 if (_wrapper) {
5562 if (_wrapper) {
5563 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "keyPressEvent");
5563 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "keyPressEvent");
5564 PyErr_Clear();
5564 PyErr_Clear();
5565 if (obj && !PythonQtSlotFunction_Check(obj)) {
5565 if (obj && !PythonQtSlotFunction_Check(obj)) {
5566 static const char* argumentList[] ={"" , "QKeyEvent*"};
5566 static const char* argumentList[] ={"" , "QKeyEvent*"};
5567 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
5567 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
5568 void* args[2] = {NULL, (void*)&arg__1};
5568 void* args[2] = {NULL, (void*)&arg__1};
5569 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
5569 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
5570 if (result) { Py_DECREF(result); }
5570 if (result) { Py_DECREF(result); }
5571 Py_DECREF(obj);
5571 Py_DECREF(obj);
5572 return;
5572 return;
5573 }
5573 }
5574 }
5574 }
5575 abstractBinFileWidget::keyPressEvent(arg__1);
5575 abstractBinFileWidget::keyPressEvent(arg__1);
5576 }
5576 }
5577 void PythonQtShell_abstractBinFileWidget::keyReleaseEvent(QKeyEvent* arg__1)
5577 void PythonQtShell_abstractBinFileWidget::keyReleaseEvent(QKeyEvent* arg__1)
5578 {
5578 {
5579 if (_wrapper) {
5579 if (_wrapper) {
5580 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "keyReleaseEvent");
5580 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "keyReleaseEvent");
5581 PyErr_Clear();
5581 PyErr_Clear();
5582 if (obj && !PythonQtSlotFunction_Check(obj)) {
5582 if (obj && !PythonQtSlotFunction_Check(obj)) {
5583 static const char* argumentList[] ={"" , "QKeyEvent*"};
5583 static const char* argumentList[] ={"" , "QKeyEvent*"};
5584 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
5584 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
5585 void* args[2] = {NULL, (void*)&arg__1};
5585 void* args[2] = {NULL, (void*)&arg__1};
5586 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
5586 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
5587 if (result) { Py_DECREF(result); }
5587 if (result) { Py_DECREF(result); }
5588 Py_DECREF(obj);
5588 Py_DECREF(obj);
5589 return;
5589 return;
5590 }
5590 }
5591 }
5591 }
5592 abstractBinFileWidget::keyReleaseEvent(arg__1);
5592 abstractBinFileWidget::keyReleaseEvent(arg__1);
5593 }
5593 }
5594 void PythonQtShell_abstractBinFileWidget::leaveEvent(QEvent* arg__1)
5594 void PythonQtShell_abstractBinFileWidget::leaveEvent(QEvent* arg__1)
5595 {
5595 {
5596 if (_wrapper) {
5596 if (_wrapper) {
5597 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "leaveEvent");
5597 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "leaveEvent");
5598 PyErr_Clear();
5598 PyErr_Clear();
5599 if (obj && !PythonQtSlotFunction_Check(obj)) {
5599 if (obj && !PythonQtSlotFunction_Check(obj)) {
5600 static const char* argumentList[] ={"" , "QEvent*"};
5600 static const char* argumentList[] ={"" , "QEvent*"};
5601 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
5601 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
5602 void* args[2] = {NULL, (void*)&arg__1};
5602 void* args[2] = {NULL, (void*)&arg__1};
5603 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
5603 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
5604 if (result) { Py_DECREF(result); }
5604 if (result) { Py_DECREF(result); }
5605 Py_DECREF(obj);
5605 Py_DECREF(obj);
5606 return;
5606 return;
5607 }
5607 }
5608 }
5608 }
5609 abstractBinFileWidget::leaveEvent(arg__1);
5609 abstractBinFileWidget::leaveEvent(arg__1);
5610 }
5610 }
5611 int PythonQtShell_abstractBinFileWidget::metric(QPaintDevice::PaintDeviceMetric arg__1) const
5611 int PythonQtShell_abstractBinFileWidget::metric(QPaintDevice::PaintDeviceMetric arg__1) const
5612 {
5612 {
5613 if (_wrapper) {
5613 if (_wrapper) {
5614 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "metric");
5614 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "metric");
5615 PyErr_Clear();
5615 PyErr_Clear();
5616 if (obj && !PythonQtSlotFunction_Check(obj)) {
5616 if (obj && !PythonQtSlotFunction_Check(obj)) {
5617 static const char* argumentList[] ={"int" , "QPaintDevice::PaintDeviceMetric"};
5617 static const char* argumentList[] ={"int" , "QPaintDevice::PaintDeviceMetric"};
5618 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
5618 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
5619 int returnValue;
5619 int returnValue;
5620 void* args[2] = {NULL, (void*)&arg__1};
5620 void* args[2] = {NULL, (void*)&arg__1};
5621 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
5621 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
5622 if (result) {
5622 if (result) {
5623 args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue);
5623 args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue);
5624 if (args[0]!=&returnValue) {
5624 if (args[0]!=&returnValue) {
5625 if (args[0]==NULL) {
5625 if (args[0]==NULL) {
5626 PythonQt::priv()->handleVirtualOverloadReturnError("metric", methodInfo, result);
5626 PythonQt::priv()->handleVirtualOverloadReturnError("metric", methodInfo, result);
5627 } else {
5627 } else {
5628 returnValue = *((int*)args[0]);
5628 returnValue = *((int*)args[0]);
5629 }
5629 }
5630 }
5630 }
5631 }
5631 }
5632 if (result) { Py_DECREF(result); }
5632 if (result) { Py_DECREF(result); }
5633 Py_DECREF(obj);
5633 Py_DECREF(obj);
5634 return returnValue;
5634 return returnValue;
5635 }
5635 }
5636 }
5636 }
5637 return abstractBinFileWidget::metric(arg__1);
5637 return abstractBinFileWidget::metric(arg__1);
5638 }
5638 }
5639 QSize PythonQtShell_abstractBinFileWidget::minimumSizeHint() const
5639 QSize PythonQtShell_abstractBinFileWidget::minimumSizeHint() const
5640 {
5640 {
5641 if (_wrapper) {
5641 if (_wrapper) {
5642 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "getMinimumSizeHint");
5642 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "getMinimumSizeHint");
5643 PyErr_Clear();
5643 PyErr_Clear();
5644 if (obj && !PythonQtSlotFunction_Check(obj)) {
5644 if (obj && !PythonQtSlotFunction_Check(obj)) {
5645 static const char* argumentList[] ={"QSize"};
5645 static const char* argumentList[] ={"QSize"};
5646 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList);
5646 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList);
5647 QSize returnValue;
5647 QSize returnValue;
5648 void* args[1] = {NULL};
5648 void* args[1] = {NULL};
5649 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
5649 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
5650 if (result) {
5650 if (result) {
5651 args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue);
5651 args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue);
5652 if (args[0]!=&returnValue) {
5652 if (args[0]!=&returnValue) {
5653 if (args[0]==NULL) {
5653 if (args[0]==NULL) {
5654 PythonQt::priv()->handleVirtualOverloadReturnError("getMinimumSizeHint", methodInfo, result);
5654 PythonQt::priv()->handleVirtualOverloadReturnError("getMinimumSizeHint", methodInfo, result);
5655 } else {
5655 } else {
5656 returnValue = *((QSize*)args[0]);
5656 returnValue = *((QSize*)args[0]);
5657 }
5657 }
5658 }
5658 }
5659 }
5659 }
5660 if (result) { Py_DECREF(result); }
5660 if (result) { Py_DECREF(result); }
5661 Py_DECREF(obj);
5661 Py_DECREF(obj);
5662 return returnValue;
5662 return returnValue;
5663 }
5663 }
5664 }
5664 }
5665 return abstractBinFileWidget::minimumSizeHint();
5665 return abstractBinFileWidget::minimumSizeHint();
5666 }
5666 }
5667 void PythonQtShell_abstractBinFileWidget::mouseDoubleClickEvent(QMouseEvent* arg__1)
5667 void PythonQtShell_abstractBinFileWidget::mouseDoubleClickEvent(QMouseEvent* arg__1)
5668 {
5668 {
5669 if (_wrapper) {
5669 if (_wrapper) {
5670 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mouseDoubleClickEvent");
5670 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mouseDoubleClickEvent");
5671 PyErr_Clear();
5671 PyErr_Clear();
5672 if (obj && !PythonQtSlotFunction_Check(obj)) {
5672 if (obj && !PythonQtSlotFunction_Check(obj)) {
5673 static const char* argumentList[] ={"" , "QMouseEvent*"};
5673 static const char* argumentList[] ={"" , "QMouseEvent*"};
5674 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
5674 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
5675 void* args[2] = {NULL, (void*)&arg__1};
5675 void* args[2] = {NULL, (void*)&arg__1};
5676 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
5676 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
5677 if (result) { Py_DECREF(result); }
5677 if (result) { Py_DECREF(result); }
5678 Py_DECREF(obj);
5678 Py_DECREF(obj);
5679 return;
5679 return;
5680 }
5680 }
5681 }
5681 }
5682 abstractBinFileWidget::mouseDoubleClickEvent(arg__1);
5682 abstractBinFileWidget::mouseDoubleClickEvent(arg__1);
5683 }
5683 }
5684 void PythonQtShell_abstractBinFileWidget::mouseMoveEvent(QMouseEvent* arg__1)
5684 void PythonQtShell_abstractBinFileWidget::mouseMoveEvent(QMouseEvent* arg__1)
5685 {
5685 {
5686 if (_wrapper) {
5686 if (_wrapper) {
5687 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mouseMoveEvent");
5687 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mouseMoveEvent");
5688 PyErr_Clear();
5688 PyErr_Clear();
5689 if (obj && !PythonQtSlotFunction_Check(obj)) {
5689 if (obj && !PythonQtSlotFunction_Check(obj)) {
5690 static const char* argumentList[] ={"" , "QMouseEvent*"};
5690 static const char* argumentList[] ={"" , "QMouseEvent*"};
5691 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
5691 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
5692 void* args[2] = {NULL, (void*)&arg__1};
5692 void* args[2] = {NULL, (void*)&arg__1};
5693 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
5693 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
5694 if (result) { Py_DECREF(result); }
5694 if (result) { Py_DECREF(result); }
5695 Py_DECREF(obj);
5695 Py_DECREF(obj);
5696 return;
5696 return;
5697 }
5697 }
5698 }
5698 }
5699 abstractBinFileWidget::mouseMoveEvent(arg__1);
5699 abstractBinFileWidget::mouseMoveEvent(arg__1);
5700 }
5700 }
5701 void PythonQtShell_abstractBinFileWidget::mousePressEvent(QMouseEvent* arg__1)
5701 void PythonQtShell_abstractBinFileWidget::mousePressEvent(QMouseEvent* arg__1)
5702 {
5702 {
5703 if (_wrapper) {
5703 if (_wrapper) {
5704 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mousePressEvent");
5704 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mousePressEvent");
5705 PyErr_Clear();
5705 PyErr_Clear();
5706 if (obj && !PythonQtSlotFunction_Check(obj)) {
5706 if (obj && !PythonQtSlotFunction_Check(obj)) {
5707 static const char* argumentList[] ={"" , "QMouseEvent*"};
5707 static const char* argumentList[] ={"" , "QMouseEvent*"};
5708 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
5708 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
5709 void* args[2] = {NULL, (void*)&arg__1};
5709 void* args[2] = {NULL, (void*)&arg__1};
5710 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
5710 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
5711 if (result) { Py_DECREF(result); }
5711 if (result) { Py_DECREF(result); }
5712 Py_DECREF(obj);
5712 Py_DECREF(obj);
5713 return;
5713 return;
5714 }
5714 }
5715 }
5715 }
5716 abstractBinFileWidget::mousePressEvent(arg__1);
5716 abstractBinFileWidget::mousePressEvent(arg__1);
5717 }
5717 }
5718 void PythonQtShell_abstractBinFileWidget::mouseReleaseEvent(QMouseEvent* arg__1)
5718 void PythonQtShell_abstractBinFileWidget::mouseReleaseEvent(QMouseEvent* arg__1)
5719 {
5719 {
5720 if (_wrapper) {
5720 if (_wrapper) {
5721 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mouseReleaseEvent");
5721 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mouseReleaseEvent");
5722 PyErr_Clear();
5722 PyErr_Clear();
5723 if (obj && !PythonQtSlotFunction_Check(obj)) {
5723 if (obj && !PythonQtSlotFunction_Check(obj)) {
5724 static const char* argumentList[] ={"" , "QMouseEvent*"};
5724 static const char* argumentList[] ={"" , "QMouseEvent*"};
5725 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
5725 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
5726 void* args[2] = {NULL, (void*)&arg__1};
5726 void* args[2] = {NULL, (void*)&arg__1};
5727 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
5727 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
5728 if (result) { Py_DECREF(result); }
5728 if (result) { Py_DECREF(result); }
5729 Py_DECREF(obj);
5729 Py_DECREF(obj);
5730 return;
5730 return;
5731 }
5731 }
5732 }
5732 }
5733 abstractBinFileWidget::mouseReleaseEvent(arg__1);
5733 abstractBinFileWidget::mouseReleaseEvent(arg__1);
5734 }
5734 }
5735 void PythonQtShell_abstractBinFileWidget::moveEvent(QMoveEvent* arg__1)
5735 void PythonQtShell_abstractBinFileWidget::moveEvent(QMoveEvent* arg__1)
5736 {
5736 {
5737 if (_wrapper) {
5737 if (_wrapper) {
5738 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "moveEvent");
5738 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "moveEvent");
5739 PyErr_Clear();
5739 PyErr_Clear();
5740 if (obj && !PythonQtSlotFunction_Check(obj)) {
5740 if (obj && !PythonQtSlotFunction_Check(obj)) {
5741 static const char* argumentList[] ={"" , "QMoveEvent*"};
5741 static const char* argumentList[] ={"" , "QMoveEvent*"};
5742 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
5742 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
5743 void* args[2] = {NULL, (void*)&arg__1};
5743 void* args[2] = {NULL, (void*)&arg__1};
5744 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
5744 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
5745 if (result) { Py_DECREF(result); }
5745 if (result) { Py_DECREF(result); }
5746 Py_DECREF(obj);
5746 Py_DECREF(obj);
5747 return;
5747 return;
5748 }
5748 }
5749 }
5749 }
5750 abstractBinFileWidget::moveEvent(arg__1);
5750 abstractBinFileWidget::moveEvent(arg__1);
5751 }
5751 }
5752 bool PythonQtShell_abstractBinFileWidget::nativeEvent(const QByteArray& eventType, void* message, long* result)
5752 bool PythonQtShell_abstractBinFileWidget::nativeEvent(const QByteArray& eventType, void* message, long* result)
5753 {
5753 {
5754 if (_wrapper) {
5754 if (_wrapper) {
5755 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "nativeEvent");
5755 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "nativeEvent");
5756 PyErr_Clear();
5756 PyErr_Clear();
5757 if (obj && !PythonQtSlotFunction_Check(obj)) {
5757 if (obj && !PythonQtSlotFunction_Check(obj)) {
5758 static const char* argumentList[] ={"bool" , "const QByteArray&" , "void*" , "long*"};
5758 static const char* argumentList[] ={"bool" , "const QByteArray&" , "void*" , "long*"};
5759 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList);
5759 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList);
5760 bool returnValue;
5760 bool returnValue;
5761 void* args[4] = {NULL, (void*)&eventType, (void*)&message, (void*)&result};
5761 void* args[4] = {NULL, (void*)&eventType, (void*)&message, (void*)&result};
5762 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
5762 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
5763 if (result) {
5763 if (result) {
5764 args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue);
5764 args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue);
5765 if (args[0]!=&returnValue) {
5765 if (args[0]!=&returnValue) {
5766 if (args[0]==NULL) {
5766 if (args[0]==NULL) {
5767 PythonQt::priv()->handleVirtualOverloadReturnError("nativeEvent", methodInfo, result);
5767 PythonQt::priv()->handleVirtualOverloadReturnError("nativeEvent", methodInfo, result);
5768 } else {
5768 } else {
5769 returnValue = *((bool*)args[0]);
5769 returnValue = *((bool*)args[0]);
5770 }
5770 }
5771 }
5771 }
5772 }
5772 }
5773 if (result) { Py_DECREF(result); }
5773 if (result) { Py_DECREF(result); }
5774 Py_DECREF(obj);
5774 Py_DECREF(obj);
5775 return returnValue;
5775 return returnValue;
5776 }
5776 }
5777 }
5777 }
5778 return abstractBinFileWidget::nativeEvent(eventType, message, result);
5778 return abstractBinFileWidget::nativeEvent(eventType, message, result);
5779 }
5779 }
5780 QPaintEngine* PythonQtShell_abstractBinFileWidget::paintEngine() const
5780 QPaintEngine* PythonQtShell_abstractBinFileWidget::paintEngine() const
5781 {
5781 {
5782 if (_wrapper) {
5782 if (_wrapper) {
5783 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "paintEngine");
5783 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "paintEngine");
5784 PyErr_Clear();
5784 PyErr_Clear();
5785 if (obj && !PythonQtSlotFunction_Check(obj)) {
5785 if (obj && !PythonQtSlotFunction_Check(obj)) {
5786 static const char* argumentList[] ={"QPaintEngine*"};
5786 static const char* argumentList[] ={"QPaintEngine*"};
5787 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList);
5787 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList);
5788 QPaintEngine* returnValue;
5788 QPaintEngine* returnValue;
5789 void* args[1] = {NULL};
5789 void* args[1] = {NULL};
5790 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
5790 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
5791 if (result) {
5791 if (result) {
5792 args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue);
5792 args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue);
5793 if (args[0]!=&returnValue) {
5793 if (args[0]!=&returnValue) {
5794 if (args[0]==NULL) {
5794 if (args[0]==NULL) {
5795 PythonQt::priv()->handleVirtualOverloadReturnError("paintEngine", methodInfo, result);
5795 PythonQt::priv()->handleVirtualOverloadReturnError("paintEngine", methodInfo, result);
5796 } else {
5796 } else {
5797 returnValue = *((QPaintEngine**)args[0]);
5797 returnValue = *((QPaintEngine**)args[0]);
5798 }
5798 }
5799 }
5799 }
5800 }
5800 }
5801 if (result) { Py_DECREF(result); }
5801 if (result) { Py_DECREF(result); }
5802 Py_DECREF(obj);
5802 Py_DECREF(obj);
5803 return returnValue;
5803 return returnValue;
5804 }
5804 }
5805 }
5805 }
5806 return abstractBinFileWidget::paintEngine();
5806 return abstractBinFileWidget::paintEngine();
5807 }
5807 }
5808 void PythonQtShell_abstractBinFileWidget::paintEvent(QPaintEvent* arg__1)
5808 void PythonQtShell_abstractBinFileWidget::paintEvent(QPaintEvent* arg__1)
5809 {
5809 {
5810 if (_wrapper) {
5810 if (_wrapper) {
5811 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "paintEvent");
5811 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "paintEvent");
5812 PyErr_Clear();
5812 PyErr_Clear();
5813 if (obj && !PythonQtSlotFunction_Check(obj)) {
5813 if (obj && !PythonQtSlotFunction_Check(obj)) {
5814 static const char* argumentList[] ={"" , "QPaintEvent*"};
5814 static const char* argumentList[] ={"" , "QPaintEvent*"};
5815 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
5815 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
5816 void* args[2] = {NULL, (void*)&arg__1};
5816 void* args[2] = {NULL, (void*)&arg__1};
5817 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
5817 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
5818 if (result) { Py_DECREF(result); }
5818 if (result) { Py_DECREF(result); }
5819 Py_DECREF(obj);
5819 Py_DECREF(obj);
5820 return;
5820 return;
5821 }
5821 }
5822 }
5822 }
5823 abstractBinFileWidget::paintEvent(arg__1);
5823 abstractBinFileWidget::paintEvent(arg__1);
5824 }
5824 }
5825 QPaintDevice* PythonQtShell_abstractBinFileWidget::redirected(QPoint* offset) const
5825 QPaintDevice* PythonQtShell_abstractBinFileWidget::redirected(QPoint* offset) const
5826 {
5826 {
5827 if (_wrapper) {
5827 if (_wrapper) {
5828 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "redirected");
5828 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "redirected");
5829 PyErr_Clear();
5829 PyErr_Clear();
5830 if (obj && !PythonQtSlotFunction_Check(obj)) {
5830 if (obj && !PythonQtSlotFunction_Check(obj)) {
5831 static const char* argumentList[] ={"QPaintDevice*" , "QPoint*"};
5831 static const char* argumentList[] ={"QPaintDevice*" , "QPoint*"};
5832 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
5832 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
5833 QPaintDevice* returnValue;
5833 QPaintDevice* returnValue;
5834 void* args[2] = {NULL, (void*)&offset};
5834 void* args[2] = {NULL, (void*)&offset};
5835 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
5835 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
5836 if (result) {
5836 if (result) {
5837 args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue);
5837 args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue);
5838 if (args[0]!=&returnValue) {
5838 if (args[0]!=&returnValue) {
5839 if (args[0]==NULL) {
5839 if (args[0]==NULL) {
5840 PythonQt::priv()->handleVirtualOverloadReturnError("redirected", methodInfo, result);
5840 PythonQt::priv()->handleVirtualOverloadReturnError("redirected", methodInfo, result);
5841 } else {
5841 } else {
5842 returnValue = *((QPaintDevice**)args[0]);
5842 returnValue = *((QPaintDevice**)args[0]);
5843 }
5843 }
5844 }
5844 }
5845 }
5845 }
5846 if (result) { Py_DECREF(result); }
5846 if (result) { Py_DECREF(result); }
5847 Py_DECREF(obj);
5847 Py_DECREF(obj);
5848 return returnValue;
5848 return returnValue;
5849 }
5849 }
5850 }
5850 }
5851 return abstractBinFileWidget::redirected(offset);
5851 return abstractBinFileWidget::redirected(offset);
5852 }
5852 }
5853 void PythonQtShell_abstractBinFileWidget::reloadFile()
5853 void PythonQtShell_abstractBinFileWidget::reloadFile()
5854 {
5854 {
5855 if (_wrapper) {
5855 if (_wrapper) {
5856 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "reloadFile");
5856 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "reloadFile");
5857 PyErr_Clear();
5857 PyErr_Clear();
5858 if (obj && !PythonQtSlotFunction_Check(obj)) {
5858 if (obj && !PythonQtSlotFunction_Check(obj)) {
5859 static const char* argumentList[] ={""};
5859 static const char* argumentList[] ={""};
5860 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList);
5860 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList);
5861 void* args[1] = {NULL};
5861 void* args[1] = {NULL};
5862 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
5862 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
5863 if (result) { Py_DECREF(result); }
5863 if (result) { Py_DECREF(result); }
5864 Py_DECREF(obj);
5864 Py_DECREF(obj);
5865 return;
5865 return;
5866 }
5866 }
5867 }
5867 }
5868
5868
5869 }
5869 }
5870 void PythonQtShell_abstractBinFileWidget::resizeEvent(QResizeEvent* arg__1)
5870 void PythonQtShell_abstractBinFileWidget::resizeEvent(QResizeEvent* arg__1)
5871 {
5871 {
5872 if (_wrapper) {
5872 if (_wrapper) {
5873 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "resizeEvent");
5873 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "resizeEvent");
5874 PyErr_Clear();
5874 PyErr_Clear();
5875 if (obj && !PythonQtSlotFunction_Check(obj)) {
5875 if (obj && !PythonQtSlotFunction_Check(obj)) {
5876 static const char* argumentList[] ={"" , "QResizeEvent*"};
5876 static const char* argumentList[] ={"" , "QResizeEvent*"};
5877 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
5877 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
5878 void* args[2] = {NULL, (void*)&arg__1};
5878 void* args[2] = {NULL, (void*)&arg__1};
5879 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
5879 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
5880 if (result) { Py_DECREF(result); }
5880 if (result) { Py_DECREF(result); }
5881 Py_DECREF(obj);
5881 Py_DECREF(obj);
5882 return;
5882 return;
5883 }
5883 }
5884 }
5884 }
5885 abstractBinFileWidget::resizeEvent(arg__1);
5885 abstractBinFileWidget::resizeEvent(arg__1);
5886 }
5886 }
5887 void PythonQtShell_abstractBinFileWidget::setFile(abstractBinFile* file)
5887 void PythonQtShell_abstractBinFileWidget::setFile(abstractBinFile* file)
5888 {
5888 {
5889 if (_wrapper) {
5889 if (_wrapper) {
5890 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "setFile");
5890 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "setFile");
5891 PyErr_Clear();
5891 PyErr_Clear();
5892 if (obj && !PythonQtSlotFunction_Check(obj)) {
5892 if (obj && !PythonQtSlotFunction_Check(obj)) {
5893 static const char* argumentList[] ={"" , "abstractBinFile*"};
5893 static const char* argumentList[] ={"" , "abstractBinFile*"};
5894 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
5894 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
5895 void* args[2] = {NULL, (void*)&file};
5895 void* args[2] = {NULL, (void*)&file};
5896 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
5896 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
5897 if (result) { Py_DECREF(result); }
5897 if (result) { Py_DECREF(result); }
5898 Py_DECREF(obj);
5898 Py_DECREF(obj);
5899 return;
5899 return;
5900 }
5900 }
5901 }
5901 }
5902
5902
5903 }
5903 }
5904 QPainter* PythonQtShell_abstractBinFileWidget::sharedPainter() const
5904 QPainter* PythonQtShell_abstractBinFileWidget::sharedPainter() const
5905 {
5905 {
5906 if (_wrapper) {
5906 if (_wrapper) {
5907 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "sharedPainter");
5907 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "sharedPainter");
5908 PyErr_Clear();
5908 PyErr_Clear();
5909 if (obj && !PythonQtSlotFunction_Check(obj)) {
5909 if (obj && !PythonQtSlotFunction_Check(obj)) {
5910 static const char* argumentList[] ={"QPainter*"};
5910 static const char* argumentList[] ={"QPainter*"};
5911 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList);
5911 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList);
5912 QPainter* returnValue;
5912 QPainter* returnValue;
5913 void* args[1] = {NULL};
5913 void* args[1] = {NULL};
5914 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
5914 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
5915 if (result) {
5915 if (result) {
5916 args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue);
5916 args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue);
5917 if (args[0]!=&returnValue) {
5917 if (args[0]!=&returnValue) {
5918 if (args[0]==NULL) {
5918 if (args[0]==NULL) {
5919 PythonQt::priv()->handleVirtualOverloadReturnError("sharedPainter", methodInfo, result);
5919 PythonQt::priv()->handleVirtualOverloadReturnError("sharedPainter", methodInfo, result);
5920 } else {
5920 } else {
5921 returnValue = *((QPainter**)args[0]);
5921 returnValue = *((QPainter**)args[0]);
5922 }
5922 }
5923 }
5923 }
5924 }
5924 }
5925 if (result) { Py_DECREF(result); }
5925 if (result) { Py_DECREF(result); }
5926 Py_DECREF(obj);
5926 Py_DECREF(obj);
5927 return returnValue;
5927 return returnValue;
5928 }
5928 }
5929 }
5929 }
5930 return abstractBinFileWidget::sharedPainter();
5930 return abstractBinFileWidget::sharedPainter();
5931 }
5931 }
5932 void PythonQtShell_abstractBinFileWidget::showEvent(QShowEvent* arg__1)
5932 void PythonQtShell_abstractBinFileWidget::showEvent(QShowEvent* arg__1)
5933 {
5933 {
5934 if (_wrapper) {
5934 if (_wrapper) {
5935 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "showEvent");
5935 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "showEvent");
5936 PyErr_Clear();
5936 PyErr_Clear();
5937 if (obj && !PythonQtSlotFunction_Check(obj)) {
5937 if (obj && !PythonQtSlotFunction_Check(obj)) {
5938 static const char* argumentList[] ={"" , "QShowEvent*"};
5938 static const char* argumentList[] ={"" , "QShowEvent*"};
5939 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
5939 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
5940 void* args[2] = {NULL, (void*)&arg__1};
5940 void* args[2] = {NULL, (void*)&arg__1};
5941 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
5941 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
5942 if (result) { Py_DECREF(result); }
5942 if (result) { Py_DECREF(result); }
5943 Py_DECREF(obj);
5943 Py_DECREF(obj);
5944 return;
5944 return;
5945 }
5945 }
5946 }
5946 }
5947 abstractBinFileWidget::showEvent(arg__1);
5947 abstractBinFileWidget::showEvent(arg__1);
5948 }
5948 }
5949 QSize PythonQtShell_abstractBinFileWidget::sizeHint() const
5949 QSize PythonQtShell_abstractBinFileWidget::sizeHint() const
5950 {
5950 {
5951 if (_wrapper) {
5951 if (_wrapper) {
5952 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "getSizeHint");
5952 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "getSizeHint");
5953 PyErr_Clear();
5953 PyErr_Clear();
5954 if (obj && !PythonQtSlotFunction_Check(obj)) {
5954 if (obj && !PythonQtSlotFunction_Check(obj)) {
5955 static const char* argumentList[] ={"QSize"};
5955 static const char* argumentList[] ={"QSize"};
5956 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList);
5956 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList);
5957 QSize returnValue;
5957 QSize returnValue;
5958 void* args[1] = {NULL};
5958 void* args[1] = {NULL};
5959 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
5959 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
5960 if (result) {
5960 if (result) {
5961 args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue);
5961 args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue);
5962 if (args[0]!=&returnValue) {
5962 if (args[0]!=&returnValue) {
5963 if (args[0]==NULL) {
5963 if (args[0]==NULL) {
5964 PythonQt::priv()->handleVirtualOverloadReturnError("getSizeHint", methodInfo, result);
5964 PythonQt::priv()->handleVirtualOverloadReturnError("getSizeHint", methodInfo, result);
5965 } else {
5965 } else {
5966 returnValue = *((QSize*)args[0]);
5966 returnValue = *((QSize*)args[0]);
5967 }
5967 }
5968 }
5968 }
5969 }
5969 }
5970 if (result) { Py_DECREF(result); }
5970 if (result) { Py_DECREF(result); }
5971 Py_DECREF(obj);
5971 Py_DECREF(obj);
5972 return returnValue;
5972 return returnValue;
5973 }
5973 }
5974 }
5974 }
5975 return abstractBinFileWidget::sizeHint();
5975 return abstractBinFileWidget::sizeHint();
5976 }
5976 }
5977 void PythonQtShell_abstractBinFileWidget::tabletEvent(QTabletEvent* arg__1)
5977 void PythonQtShell_abstractBinFileWidget::tabletEvent(QTabletEvent* arg__1)
5978 {
5978 {
5979 if (_wrapper) {
5979 if (_wrapper) {
5980 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "tabletEvent");
5980 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "tabletEvent");
5981 PyErr_Clear();
5981 PyErr_Clear();
5982 if (obj && !PythonQtSlotFunction_Check(obj)) {
5982 if (obj && !PythonQtSlotFunction_Check(obj)) {
5983 static const char* argumentList[] ={"" , "QTabletEvent*"};
5983 static const char* argumentList[] ={"" , "QTabletEvent*"};
5984 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
5984 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
5985 void* args[2] = {NULL, (void*)&arg__1};
5985 void* args[2] = {NULL, (void*)&arg__1};
5986 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
5986 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
5987 if (result) { Py_DECREF(result); }
5987 if (result) { Py_DECREF(result); }
5988 Py_DECREF(obj);
5988 Py_DECREF(obj);
5989 return;
5989 return;
5990 }
5990 }
5991 }
5991 }
5992 abstractBinFileWidget::tabletEvent(arg__1);
5992 abstractBinFileWidget::tabletEvent(arg__1);
5993 }
5993 }
5994 void PythonQtShell_abstractBinFileWidget::timerEvent(QTimerEvent* arg__1)
5994 void PythonQtShell_abstractBinFileWidget::timerEvent(QTimerEvent* arg__1)
5995 {
5995 {
5996 if (_wrapper) {
5996 if (_wrapper) {
5997 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "timerEvent");
5997 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "timerEvent");
5998 PyErr_Clear();
5998 PyErr_Clear();
5999 if (obj && !PythonQtSlotFunction_Check(obj)) {
5999 if (obj && !PythonQtSlotFunction_Check(obj)) {
6000 static const char* argumentList[] ={"" , "QTimerEvent*"};
6000 static const char* argumentList[] ={"" , "QTimerEvent*"};
6001 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
6001 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
6002 void* args[2] = {NULL, (void*)&arg__1};
6002 void* args[2] = {NULL, (void*)&arg__1};
6003 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
6003 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
6004 if (result) { Py_DECREF(result); }
6004 if (result) { Py_DECREF(result); }
6005 Py_DECREF(obj);
6005 Py_DECREF(obj);
6006 return;
6006 return;
6007 }
6007 }
6008 }
6008 }
6009 abstractBinFileWidget::timerEvent(arg__1);
6009 abstractBinFileWidget::timerEvent(arg__1);
6010 }
6010 }
6011 void PythonQtShell_abstractBinFileWidget::wheelEvent(QWheelEvent* arg__1)
6011 void PythonQtShell_abstractBinFileWidget::wheelEvent(QWheelEvent* arg__1)
6012 {
6012 {
6013 if (_wrapper) {
6013 if (_wrapper) {
6014 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "wheelEvent");
6014 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "wheelEvent");
6015 PyErr_Clear();
6015 PyErr_Clear();
6016 if (obj && !PythonQtSlotFunction_Check(obj)) {
6016 if (obj && !PythonQtSlotFunction_Check(obj)) {
6017 static const char* argumentList[] ={"" , "QWheelEvent*"};
6017 static const char* argumentList[] ={"" , "QWheelEvent*"};
6018 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
6018 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
6019 void* args[2] = {NULL, (void*)&arg__1};
6019 void* args[2] = {NULL, (void*)&arg__1};
6020 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
6020 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
6021 if (result) { Py_DECREF(result); }
6021 if (result) { Py_DECREF(result); }
6022 Py_DECREF(obj);
6022 Py_DECREF(obj);
6023 return;
6023 return;
6024 }
6024 }
6025 }
6025 }
6026 abstractBinFileWidget::wheelEvent(arg__1);
6026 abstractBinFileWidget::wheelEvent(arg__1);
6027 }
6027 }
6028 abstractBinFileWidget* PythonQtWrapper_abstractBinFileWidget::new_abstractBinFileWidget(QWidget* parent)
6028 abstractBinFileWidget* PythonQtWrapper_abstractBinFileWidget::new_abstractBinFileWidget(QWidget* parent)
6029 {
6029 {
6030 return new PythonQtShell_abstractBinFileWidget(parent); }
6030 return new PythonQtShell_abstractBinFileWidget(parent); }
6031
6031
6032
6032
6033
6033
6034 PythonQtShell_binaryFile::~PythonQtShell_binaryFile() {
6034 PythonQtShell_binaryFile::~PythonQtShell_binaryFile() {
6035 PythonQtPrivate* priv = PythonQt::priv();
6035 PythonQtPrivate* priv = PythonQt::priv();
6036 if (priv) { priv->shellClassDeleted(this); }
6036 if (priv) { priv->shellClassDeleted(this); }
6037 }
6037 }
6038 int PythonQtShell_binaryFile::closeFile()
6038 int PythonQtShell_binaryFile::closeFile()
6039 {
6039 {
6040 if (_wrapper) {
6040 if (_wrapper) {
6041 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "closeFile");
6041 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "closeFile");
6042 PyErr_Clear();
6042 PyErr_Clear();
6043 if (obj && !PythonQtSlotFunction_Check(obj)) {
6043 if (obj && !PythonQtSlotFunction_Check(obj)) {
6044 static const char* argumentList[] ={"int"};
6044 static const char* argumentList[] ={"int"};
6045 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList);
6045 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList);
6046 int returnValue;
6046 int returnValue;
6047 void* args[1] = {NULL};
6047 void* args[1] = {NULL};
6048 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
6048 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
6049 if (result) {
6049 if (result) {
6050 args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue);
6050 args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue);
6051 if (args[0]!=&returnValue) {
6051 if (args[0]!=&returnValue) {
6052 if (args[0]==NULL) {
6052 if (args[0]==NULL) {
6053 PythonQt::priv()->handleVirtualOverloadReturnError("closeFile", methodInfo, result);
6053 PythonQt::priv()->handleVirtualOverloadReturnError("closeFile", methodInfo, result);
6054 } else {
6054 } else {
6055 returnValue = *((int*)args[0]);
6055 returnValue = *((int*)args[0]);
6056 }
6056 }
6057 }
6057 }
6058 }
6058 }
6059 if (result) { Py_DECREF(result); }
6059 if (result) { Py_DECREF(result); }
6060 Py_DECREF(obj);
6060 Py_DECREF(obj);
6061 return returnValue;
6061 return returnValue;
6062 }
6062 }
6063 }
6063 }
6064 return binaryFile::closeFile();
6064 return binaryFile::closeFile();
6065 }
6065 }
6066 QList<codeFragment* > PythonQtShell_binaryFile::getFragments()
6066 QList<codeFragment* > PythonQtShell_binaryFile::getFragments()
6067 {
6067 {
6068 if (_wrapper) {
6068 if (_wrapper) {
6069 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "getFragments");
6069 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "getFragments");
6070 PyErr_Clear();
6070 PyErr_Clear();
6071 if (obj && !PythonQtSlotFunction_Check(obj)) {
6071 if (obj && !PythonQtSlotFunction_Check(obj)) {
6072 static const char* argumentList[] ={"QList<codeFragment* >"};
6072 static const char* argumentList[] ={"QList<codeFragment* >"};
6073 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList);
6073 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList);
6074 QList<codeFragment* > returnValue;
6074 QList<codeFragment* > returnValue;
6075 void* args[1] = {NULL};
6075 void* args[1] = {NULL};
6076 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
6076 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
6077 if (result) {
6077 if (result) {
6078 args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue);
6078 args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue);
6079 if (args[0]!=&returnValue) {
6079 if (args[0]!=&returnValue) {
6080 if (args[0]==NULL) {
6080 if (args[0]==NULL) {
6081 PythonQt::priv()->handleVirtualOverloadReturnError("getFragments", methodInfo, result);
6081 PythonQt::priv()->handleVirtualOverloadReturnError("getFragments", methodInfo, result);
6082 } else {
6082 } else {
6083 returnValue = *((QList<codeFragment* >*)args[0]);
6083 returnValue = *((QList<codeFragment* >*)args[0]);
6084 }
6084 }
6085 }
6085 }
6086 }
6086 }
6087 if (result) { Py_DECREF(result); }
6087 if (result) { Py_DECREF(result); }
6088 Py_DECREF(obj);
6088 Py_DECREF(obj);
6089 return returnValue;
6089 return returnValue;
6090 }
6090 }
6091 }
6091 }
6092 return binaryFile::getFragments();
6092 return binaryFile::getFragments();
6093 }
6093 }
6094 bool PythonQtShell_binaryFile::isopened()
6094 bool PythonQtShell_binaryFile::isopened()
6095 {
6095 {
6096 if (_wrapper) {
6096 if (_wrapper) {
6097 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "isopened");
6097 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "isopened");
6098 PyErr_Clear();
6098 PyErr_Clear();
6099 if (obj && !PythonQtSlotFunction_Check(obj)) {
6099 if (obj && !PythonQtSlotFunction_Check(obj)) {
6100 static const char* argumentList[] ={"bool"};
6100 static const char* argumentList[] ={"bool"};
6101 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList);
6101 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList);
6102 bool returnValue;
6102 bool returnValue;
6103 void* args[1] = {NULL};
6103 void* args[1] = {NULL};
6104 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
6104 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
6105 if (result) {
6105 if (result) {
6106 args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue);
6106 args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue);
6107 if (args[0]!=&returnValue) {
6107 if (args[0]!=&returnValue) {
6108 if (args[0]==NULL) {
6108 if (args[0]==NULL) {
6109 PythonQt::priv()->handleVirtualOverloadReturnError("isopened", methodInfo, result);
6109 PythonQt::priv()->handleVirtualOverloadReturnError("isopened", methodInfo, result);
6110 } else {
6110 } else {
6111 returnValue = *((bool*)args[0]);
6111 returnValue = *((bool*)args[0]);
6112 }
6112 }
6113 }
6113 }
6114 }
6114 }
6115 if (result) { Py_DECREF(result); }
6115 if (result) { Py_DECREF(result); }
6116 Py_DECREF(obj);
6116 Py_DECREF(obj);
6117 return returnValue;
6117 return returnValue;
6118 }
6118 }
6119 }
6119 }
6120 return binaryFile::isopened();
6120 return binaryFile::isopened();
6121 }
6121 }
6122 bool PythonQtShell_binaryFile::openFile(const QString& File)
6122 bool PythonQtShell_binaryFile::openFile(const QString& File)
6123 {
6123 {
6124 if (_wrapper) {
6124 if (_wrapper) {
6125 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "openFile");
6125 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "openFile");
6126 PyErr_Clear();
6126 PyErr_Clear();
6127 if (obj && !PythonQtSlotFunction_Check(obj)) {
6127 if (obj && !PythonQtSlotFunction_Check(obj)) {
6128 static const char* argumentList[] ={"bool" , "const QString&"};
6128 static const char* argumentList[] ={"bool" , "const QString&"};
6129 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
6129 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
6130 bool returnValue;
6130 bool returnValue;
6131 void* args[2] = {NULL, (void*)&File};
6131 void* args[2] = {NULL, (void*)&File};
6132 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
6132 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
6133 if (result) {
6133 if (result) {
6134 args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue);
6134 args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue);
6135 if (args[0]!=&returnValue) {
6135 if (args[0]!=&returnValue) {
6136 if (args[0]==NULL) {
6136 if (args[0]==NULL) {
6137 PythonQt::priv()->handleVirtualOverloadReturnError("openFile", methodInfo, result);
6137 PythonQt::priv()->handleVirtualOverloadReturnError("openFile", methodInfo, result);
6138 } else {
6138 } else {
6139 returnValue = *((bool*)args[0]);
6139 returnValue = *((bool*)args[0]);
6140 }
6140 }
6141 }
6141 }
6142 }
6142 }
6143 if (result) { Py_DECREF(result); }
6143 if (result) { Py_DECREF(result); }
6144 Py_DECREF(obj);
6144 Py_DECREF(obj);
6145 return returnValue;
6145 return returnValue;
6146 }
6146 }
6147 }
6147 }
6148 return binaryFile::openFile(File);
6148 return binaryFile::openFile(File);
6149 }
6149 }
6150 bool PythonQtShell_binaryFile::toBinary(const QString& fileName)
6150 bool PythonQtShell_binaryFile::toBinary(const QString& fileName)
6151 {
6151 {
6152 if (_wrapper) {
6152 if (_wrapper) {
6153 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "toBinary");
6153 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "toBinary");
6154 PyErr_Clear();
6154 PyErr_Clear();
6155 if (obj && !PythonQtSlotFunction_Check(obj)) {
6155 if (obj && !PythonQtSlotFunction_Check(obj)) {
6156 static const char* argumentList[] ={"bool" , "const QString&"};
6156 static const char* argumentList[] ={"bool" , "const QString&"};
6157 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
6157 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
6158 bool returnValue;
6158 bool returnValue;
6159 void* args[2] = {NULL, (void*)&fileName};
6159 void* args[2] = {NULL, (void*)&fileName};
6160 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
6160 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
6161 if (result) {
6161 if (result) {
6162 args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue);
6162 args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue);
6163 if (args[0]!=&returnValue) {
6163 if (args[0]!=&returnValue) {
6164 if (args[0]==NULL) {
6164 if (args[0]==NULL) {
6165 PythonQt::priv()->handleVirtualOverloadReturnError("toBinary", methodInfo, result);
6165 PythonQt::priv()->handleVirtualOverloadReturnError("toBinary", methodInfo, result);
6166 } else {
6166 } else {
6167 returnValue = *((bool*)args[0]);
6167 returnValue = *((bool*)args[0]);
6168 }
6168 }
6169 }
6169 }
6170 }
6170 }
6171 if (result) { Py_DECREF(result); }
6171 if (result) { Py_DECREF(result); }
6172 Py_DECREF(obj);
6172 Py_DECREF(obj);
6173 return returnValue;
6173 return returnValue;
6174 }
6174 }
6175 }
6175 }
6176 return binaryFile::toBinary(fileName);
6176 return binaryFile::toBinary(fileName);
6177 }
6177 }
6178 bool PythonQtShell_binaryFile::toSrec(const QString& fileName)
6178 bool PythonQtShell_binaryFile::toSrec(const QString& fileName)
6179 {
6179 {
6180 if (_wrapper) {
6180 if (_wrapper) {
6181 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "toSrec");
6181 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "toSrec");
6182 PyErr_Clear();
6182 PyErr_Clear();
6183 if (obj && !PythonQtSlotFunction_Check(obj)) {
6183 if (obj && !PythonQtSlotFunction_Check(obj)) {
6184 static const char* argumentList[] ={"bool" , "const QString&"};
6184 static const char* argumentList[] ={"bool" , "const QString&"};
6185 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
6185 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
6186 bool returnValue;
6186 bool returnValue;
6187 void* args[2] = {NULL, (void*)&fileName};
6187 void* args[2] = {NULL, (void*)&fileName};
6188 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
6188 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
6189 if (result) {
6189 if (result) {
6190 args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue);
6190 args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue);
6191 if (args[0]!=&returnValue) {
6191 if (args[0]!=&returnValue) {
6192 if (args[0]==NULL) {
6192 if (args[0]==NULL) {
6193 PythonQt::priv()->handleVirtualOverloadReturnError("toSrec", methodInfo, result);
6193 PythonQt::priv()->handleVirtualOverloadReturnError("toSrec", methodInfo, result);
6194 } else {
6194 } else {
6195 returnValue = *((bool*)args[0]);
6195 returnValue = *((bool*)args[0]);
6196 }
6196 }
6197 }
6197 }
6198 }
6198 }
6199 if (result) { Py_DECREF(result); }
6199 if (result) { Py_DECREF(result); }
6200 Py_DECREF(obj);
6200 Py_DECREF(obj);
6201 return returnValue;
6201 return returnValue;
6202 }
6202 }
6203 }
6203 }
6204 return binaryFile::toSrec(fileName);
6204 return binaryFile::toSrec(fileName);
6205 }
6205 }
6206 binaryFile* PythonQtWrapper_binaryFile::new_binaryFile()
6206 binaryFile* PythonQtWrapper_binaryFile::new_binaryFile()
6207 {
6207 {
6208 return new PythonQtShell_binaryFile(); }
6208 return new PythonQtShell_binaryFile(); }
6209
6209
6210 binaryFile* PythonQtWrapper_binaryFile::new_binaryFile(const QString& File)
6210 binaryFile* PythonQtWrapper_binaryFile::new_binaryFile(const QString& File)
6211 {
6211 {
6212 return new PythonQtShell_binaryFile(File); }
6212 return new PythonQtShell_binaryFile(File); }
6213
6213
6214 binaryFile* PythonQtWrapper_binaryFile::new_binaryFile(const QStringList& Files)
6214 binaryFile* PythonQtWrapper_binaryFile::new_binaryFile(const QStringList& Files)
6215 {
6215 {
6216 return new PythonQtShell_binaryFile(Files); }
6216 return new PythonQtShell_binaryFile(Files); }
6217
6217
6218 int PythonQtWrapper_binaryFile::closeFile(binaryFile* theWrappedObject)
6218 int PythonQtWrapper_binaryFile::closeFile(binaryFile* theWrappedObject)
6219 {
6219 {
6220 return ( ((PythonQtPublicPromoter_binaryFile*)theWrappedObject)->promoted_closeFile());
6220 return ( ((PythonQtPublicPromoter_binaryFile*)theWrappedObject)->promoted_closeFile());
6221 }
6221 }
6222
6222
6223 codeFragment* PythonQtWrapper_binaryFile::getFragment(binaryFile* theWrappedObject, int index)
6223 codeFragment* PythonQtWrapper_binaryFile::getFragment(binaryFile* theWrappedObject, int index)
6224 {
6224 {
6225 return ( theWrappedObject->getFragment(index));
6225 return ( theWrappedObject->getFragment(index));
6226 }
6226 }
6227
6227
6228 int PythonQtWrapper_binaryFile::getFragmentAddress(binaryFile* theWrappedObject, int index)
6228 int PythonQtWrapper_binaryFile::getFragmentAddress(binaryFile* theWrappedObject, int index)
6229 {
6229 {
6230 return ( theWrappedObject->getFragmentAddress(index));
6230 return ( theWrappedObject->getFragmentAddress(index));
6231 }
6231 }
6232
6232
6233 bool PythonQtWrapper_binaryFile::getFragmentData(binaryFile* theWrappedObject, int index, char** buffer)
6233 bool PythonQtWrapper_binaryFile::getFragmentData(binaryFile* theWrappedObject, int index, char** buffer)
6234 {
6234 {
6235 return ( theWrappedObject->getFragmentData(index, buffer));
6235 return ( theWrappedObject->getFragmentData(index, buffer));
6236 }
6236 }
6237
6237
6238 QString PythonQtWrapper_binaryFile::getFragmentHeader(binaryFile* theWrappedObject, int index)
6238 QString PythonQtWrapper_binaryFile::getFragmentHeader(binaryFile* theWrappedObject, int index)
6239 {
6239 {
6240 return ( theWrappedObject->getFragmentHeader(index));
6240 return ( theWrappedObject->getFragmentHeader(index));
6241 }
6241 }
6242
6242
6243 int PythonQtWrapper_binaryFile::getFragmentSize(binaryFile* theWrappedObject, int index)
6243 int PythonQtWrapper_binaryFile::getFragmentSize(binaryFile* theWrappedObject, int index)
6244 {
6244 {
6245 return ( theWrappedObject->getFragmentSize(index));
6245 return ( theWrappedObject->getFragmentSize(index));
6246 }
6246 }
6247
6247
6248 QList<codeFragment* > PythonQtWrapper_binaryFile::getFragments(binaryFile* theWrappedObject)
6248 QList<codeFragment* > PythonQtWrapper_binaryFile::getFragments(binaryFile* theWrappedObject)
6249 {
6249 {
6250 return ( ((PythonQtPublicPromoter_binaryFile*)theWrappedObject)->promoted_getFragments());
6250 return ( ((PythonQtPublicPromoter_binaryFile*)theWrappedObject)->promoted_getFragments());
6251 }
6251 }
6252
6252
6253 int PythonQtWrapper_binaryFile::getFragmentsCount(binaryFile* theWrappedObject)
6253 int PythonQtWrapper_binaryFile::getFragmentsCount(binaryFile* theWrappedObject)
6254 {
6254 {
6255 return ( theWrappedObject->getFragmentsCount());
6255 return ( theWrappedObject->getFragmentsCount());
6256 }
6256 }
6257
6257
6258 bool PythonQtWrapper_binaryFile::isopened(binaryFile* theWrappedObject)
6258 bool PythonQtWrapper_binaryFile::isopened(binaryFile* theWrappedObject)
6259 {
6259 {
6260 return ( ((PythonQtPublicPromoter_binaryFile*)theWrappedObject)->promoted_isopened());
6260 return ( ((PythonQtPublicPromoter_binaryFile*)theWrappedObject)->promoted_isopened());
6261 }
6261 }
6262
6262
6263 bool PythonQtWrapper_binaryFile::openFile(binaryFile* theWrappedObject, const QString& File)
6263 bool PythonQtWrapper_binaryFile::openFile(binaryFile* theWrappedObject, const QString& File)
6264 {
6264 {
6265 return ( ((PythonQtPublicPromoter_binaryFile*)theWrappedObject)->promoted_openFile(File));
6265 return ( ((PythonQtPublicPromoter_binaryFile*)theWrappedObject)->promoted_openFile(File));
6266 }
6266 }
6267
6267
6268 bool PythonQtWrapper_binaryFile::openFiles(binaryFile* theWrappedObject, const QStringList& Files)
6268 bool PythonQtWrapper_binaryFile::openFiles(binaryFile* theWrappedObject, const QStringList& Files)
6269 {
6269 {
6270 return ( theWrappedObject->openFiles(Files));
6270 return ( theWrappedObject->openFiles(Files));
6271 }
6271 }
6272
6272
6273 bool PythonQtWrapper_binaryFile::static_binaryFile_toBinary(QList<codeFragment* > fragments, const QString& File)
6273 bool PythonQtWrapper_binaryFile::static_binaryFile_toBinary(QList<codeFragment* > fragments, const QString& File)
6274 {
6274 {
6275 return (binaryFile::toBinary(fragments, File));
6275 return (binaryFile::toBinary(fragments, File));
6276 }
6276 }
6277
6277
6278 bool PythonQtWrapper_binaryFile::toBinary(binaryFile* theWrappedObject, const QString& fileName)
6278 bool PythonQtWrapper_binaryFile::toBinary(binaryFile* theWrappedObject, const QString& fileName)
6279 {
6279 {
6280 return ( ((PythonQtPublicPromoter_binaryFile*)theWrappedObject)->promoted_toBinary(fileName));
6280 return ( ((PythonQtPublicPromoter_binaryFile*)theWrappedObject)->promoted_toBinary(fileName));
6281 }
6281 }
6282
6282
6283 bool PythonQtWrapper_binaryFile::toSrec(binaryFile* theWrappedObject, const QString& fileName)
6283 bool PythonQtWrapper_binaryFile::toSrec(binaryFile* theWrappedObject, const QString& fileName)
6284 {
6284 {
6285 return ( ((PythonQtPublicPromoter_binaryFile*)theWrappedObject)->promoted_toSrec(fileName));
6285 return ( ((PythonQtPublicPromoter_binaryFile*)theWrappedObject)->promoted_toSrec(fileName));
6286 }
6286 }
6287
6287
6288
6288
6289
6289
6290 PythonQtShell_binaryFileWidget::~PythonQtShell_binaryFileWidget() {
6290 PythonQtShell_binaryFileWidget::~PythonQtShell_binaryFileWidget() {
6291 PythonQtPrivate* priv = PythonQt::priv();
6291 PythonQtPrivate* priv = PythonQt::priv();
6292 if (priv) { priv->shellClassDeleted(this); }
6292 if (priv) { priv->shellClassDeleted(this); }
6293 }
6293 }
6294 void PythonQtShell_binaryFileWidget::reloadFile()
6294 void PythonQtShell_binaryFileWidget::reloadFile()
6295 {
6295 {
6296 if (_wrapper) {
6296 if (_wrapper) {
6297 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "reloadFile");
6297 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "reloadFile");
6298 PyErr_Clear();
6298 PyErr_Clear();
6299 if (obj && !PythonQtSlotFunction_Check(obj)) {
6299 if (obj && !PythonQtSlotFunction_Check(obj)) {
6300 static const char* argumentList[] ={""};
6300 static const char* argumentList[] ={""};
6301 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList);
6301 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList);
6302 void* args[1] = {NULL};
6302 void* args[1] = {NULL};
6303 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
6303 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
6304 if (result) { Py_DECREF(result); }
6304 if (result) { Py_DECREF(result); }
6305 Py_DECREF(obj);
6305 Py_DECREF(obj);
6306 return;
6306 return;
6307 }
6307 }
6308 }
6308 }
6309 binaryFileWidget::reloadFile();
6309 binaryFileWidget::reloadFile();
6310 }
6310 }
6311 void PythonQtShell_binaryFileWidget::setFile(abstractBinFile* file)
6311 void PythonQtShell_binaryFileWidget::setFile(abstractBinFile* file)
6312 {
6312 {
6313 if (_wrapper) {
6313 if (_wrapper) {
6314 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "setFile");
6314 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "setFile");
6315 PyErr_Clear();
6315 PyErr_Clear();
6316 if (obj && !PythonQtSlotFunction_Check(obj)) {
6316 if (obj && !PythonQtSlotFunction_Check(obj)) {
6317 static const char* argumentList[] ={"" , "abstractBinFile*"};
6317 static const char* argumentList[] ={"" , "abstractBinFile*"};
6318 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
6318 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
6319 void* args[2] = {NULL, (void*)&file};
6319 void* args[2] = {NULL, (void*)&file};
6320 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
6320 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
6321 if (result) { Py_DECREF(result); }
6321 if (result) { Py_DECREF(result); }
6322 Py_DECREF(obj);
6322 Py_DECREF(obj);
6323 return;
6323 return;
6324 }
6324 }
6325 }
6325 }
6326 binaryFileWidget::setFile(file);
6326 binaryFileWidget::setFile(file);
6327 }
6327 }
6328 binaryFileWidget* PythonQtWrapper_binaryFileWidget::new_binaryFileWidget(QWidget* parent)
6328 binaryFileWidget* PythonQtWrapper_binaryFileWidget::new_binaryFileWidget(QWidget* parent)
6329 {
6329 {
6330 return new PythonQtShell_binaryFileWidget(parent); }
6330 return new PythonQtShell_binaryFileWidget(parent); }
6331
6331
6332 void PythonQtWrapper_binaryFileWidget::reloadFile(binaryFileWidget* theWrappedObject)
6332 void PythonQtWrapper_binaryFileWidget::reloadFile(binaryFileWidget* theWrappedObject)
6333 {
6333 {
6334 ( ((PythonQtPublicPromoter_binaryFileWidget*)theWrappedObject)->promoted_reloadFile());
6334 ( ((PythonQtPublicPromoter_binaryFileWidget*)theWrappedObject)->promoted_reloadFile());
6335 }
6335 }
6336
6336
6337 void PythonQtWrapper_binaryFileWidget::setFile(binaryFileWidget* theWrappedObject, abstractBinFile* file)
6337 void PythonQtWrapper_binaryFileWidget::setFile(binaryFileWidget* theWrappedObject, abstractBinFile* file)
6338 {
6338 {
6339 ( ((PythonQtPublicPromoter_binaryFileWidget*)theWrappedObject)->promoted_setFile(file));
6339 ( ((PythonQtPublicPromoter_binaryFileWidget*)theWrappedObject)->promoted_setFile(file));
6340 }
6340 }
6341
6341
6342
6342
6343
6343
6344 PythonQtShell_codeFragment::~PythonQtShell_codeFragment() {
6344 PythonQtShell_codeFragment::~PythonQtShell_codeFragment() {
6345 PythonQtPrivate* priv = PythonQt::priv();
6345 PythonQtPrivate* priv = PythonQt::priv();
6346 if (priv) { priv->shellClassDeleted(this); }
6346 if (priv) { priv->shellClassDeleted(this); }
6347 }
6347 }
6348 codeFragment* PythonQtWrapper_codeFragment::new_codeFragment()
6348 codeFragment* PythonQtWrapper_codeFragment::new_codeFragment()
6349 {
6349 {
6350 return new PythonQtShell_codeFragment(); }
6350 return new PythonQtShell_codeFragment(); }
6351
6351
6352 codeFragment* PythonQtWrapper_codeFragment::new_codeFragment(char* data, quint64 size, quint64 address)
6352 codeFragment* PythonQtWrapper_codeFragment::new_codeFragment(char* data, quint64 size, quint64 address)
6353 {
6353 {
6354 return new PythonQtShell_codeFragment(data, size, address); }
6354 return new PythonQtShell_codeFragment(data, size, address); }
6355
6355
6356
6356
6357
6357
6358 PythonQtShell_elfFileWidget::~PythonQtShell_elfFileWidget() {
6358 PythonQtShell_elfFileWidget::~PythonQtShell_elfFileWidget() {
6359 PythonQtPrivate* priv = PythonQt::priv();
6359 PythonQtPrivate* priv = PythonQt::priv();
6360 if (priv) { priv->shellClassDeleted(this); }
6360 if (priv) { priv->shellClassDeleted(this); }
6361 }
6361 }
6362 void PythonQtShell_elfFileWidget::reloadFile()
6362 void PythonQtShell_elfFileWidget::reloadFile()
6363 {
6363 {
6364 if (_wrapper) {
6364 if (_wrapper) {
6365 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "reloadFile");
6365 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "reloadFile");
6366 PyErr_Clear();
6366 PyErr_Clear();
6367 if (obj && !PythonQtSlotFunction_Check(obj)) {
6367 if (obj && !PythonQtSlotFunction_Check(obj)) {
6368 static const char* argumentList[] ={""};
6368 static const char* argumentList[] ={""};
6369 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList);
6369 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList);
6370 void* args[1] = {NULL};
6370 void* args[1] = {NULL};
6371 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
6371 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
6372 if (result) { Py_DECREF(result); }
6372 if (result) { Py_DECREF(result); }
6373 Py_DECREF(obj);
6373 Py_DECREF(obj);
6374 return;
6374 return;
6375 }
6375 }
6376 }
6376 }
6377 elfFileWidget::reloadFile();
6377 elfFileWidget::reloadFile();
6378 }
6378 }
6379 void PythonQtShell_elfFileWidget::setFile(abstractBinFile* file)
6379 void PythonQtShell_elfFileWidget::setFile(abstractBinFile* file)
6380 {
6380 {
6381 if (_wrapper) {
6381 if (_wrapper) {
6382 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "setFile");
6382 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "setFile");
6383 PyErr_Clear();
6383 PyErr_Clear();
6384 if (obj && !PythonQtSlotFunction_Check(obj)) {
6384 if (obj && !PythonQtSlotFunction_Check(obj)) {
6385 static const char* argumentList[] ={"" , "abstractBinFile*"};
6385 static const char* argumentList[] ={"" , "abstractBinFile*"};
6386 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
6386 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
6387 void* args[2] = {NULL, (void*)&file};
6387 void* args[2] = {NULL, (void*)&file};
6388 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
6388 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
6389 if (result) { Py_DECREF(result); }
6389 if (result) { Py_DECREF(result); }
6390 Py_DECREF(obj);
6390 Py_DECREF(obj);
6391 return;
6391 return;
6392 }
6392 }
6393 }
6393 }
6394
6394
6395 }
6395 }
6396 elfFileWidget* PythonQtWrapper_elfFileWidget::new_elfFileWidget(QWidget* parent)
6396 elfFileWidget* PythonQtWrapper_elfFileWidget::new_elfFileWidget(QWidget* parent)
6397 {
6397 {
6398 return new PythonQtShell_elfFileWidget(parent); }
6398 return new PythonQtShell_elfFileWidget(parent); }
6399
6399
6400 void PythonQtWrapper_elfFileWidget::reloadFile(elfFileWidget* theWrappedObject)
6400 void PythonQtWrapper_elfFileWidget::reloadFile(elfFileWidget* theWrappedObject)
6401 {
6401 {
6402 ( ((PythonQtPublicPromoter_elfFileWidget*)theWrappedObject)->promoted_reloadFile());
6402 ( ((PythonQtPublicPromoter_elfFileWidget*)theWrappedObject)->promoted_reloadFile());
6403 }
6403 }
6404
6404
6405
6405
6406
6406
6407 PythonQtShell_elfInfoWdgt::~PythonQtShell_elfInfoWdgt() {
6407 PythonQtShell_elfInfoWdgt::~PythonQtShell_elfInfoWdgt() {
6408 PythonQtPrivate* priv = PythonQt::priv();
6408 PythonQtPrivate* priv = PythonQt::priv();
6409 if (priv) { priv->shellClassDeleted(this); }
6409 if (priv) { priv->shellClassDeleted(this); }
6410 }
6410 }
6411 void PythonQtShell_elfInfoWdgt::actionEvent(QActionEvent* arg__1)
6411 void PythonQtShell_elfInfoWdgt::actionEvent(QActionEvent* arg__1)
6412 {
6412 {
6413 if (_wrapper) {
6413 if (_wrapper) {
6414 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "actionEvent");
6414 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "actionEvent");
6415 PyErr_Clear();
6415 PyErr_Clear();
6416 if (obj && !PythonQtSlotFunction_Check(obj)) {
6416 if (obj && !PythonQtSlotFunction_Check(obj)) {
6417 static const char* argumentList[] ={"" , "QActionEvent*"};
6417 static const char* argumentList[] ={"" , "QActionEvent*"};
6418 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
6418 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
6419 void* args[2] = {NULL, (void*)&arg__1};
6419 void* args[2] = {NULL, (void*)&arg__1};
6420 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
6420 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
6421 if (result) { Py_DECREF(result); }
6421 if (result) { Py_DECREF(result); }
6422 Py_DECREF(obj);
6422 Py_DECREF(obj);
6423 return;
6423 return;
6424 }
6424 }
6425 }
6425 }
6426 elfInfoWdgt::actionEvent(arg__1);
6426 elfInfoWdgt::actionEvent(arg__1);
6427 }
6427 }
6428 void PythonQtShell_elfInfoWdgt::changeEvent(QEvent* arg__1)
6428 void PythonQtShell_elfInfoWdgt::changeEvent(QEvent* arg__1)
6429 {
6429 {
6430 if (_wrapper) {
6430 if (_wrapper) {
6431 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "changeEvent");
6431 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "changeEvent");
6432 PyErr_Clear();
6432 PyErr_Clear();
6433 if (obj && !PythonQtSlotFunction_Check(obj)) {
6433 if (obj && !PythonQtSlotFunction_Check(obj)) {
6434 static const char* argumentList[] ={"" , "QEvent*"};
6434 static const char* argumentList[] ={"" , "QEvent*"};
6435 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
6435 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
6436 void* args[2] = {NULL, (void*)&arg__1};
6436 void* args[2] = {NULL, (void*)&arg__1};
6437 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
6437 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
6438 if (result) { Py_DECREF(result); }
6438 if (result) { Py_DECREF(result); }
6439 Py_DECREF(obj);
6439 Py_DECREF(obj);
6440 return;
6440 return;
6441 }
6441 }
6442 }
6442 }
6443 elfInfoWdgt::changeEvent(arg__1);
6443 elfInfoWdgt::changeEvent(arg__1);
6444 }
6444 }
6445 void PythonQtShell_elfInfoWdgt::childEvent(QChildEvent* arg__1)
6445 void PythonQtShell_elfInfoWdgt::childEvent(QChildEvent* arg__1)
6446 {
6446 {
6447 if (_wrapper) {
6447 if (_wrapper) {
6448 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "childEvent");
6448 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "childEvent");
6449 PyErr_Clear();
6449 PyErr_Clear();
6450 if (obj && !PythonQtSlotFunction_Check(obj)) {
6450 if (obj && !PythonQtSlotFunction_Check(obj)) {
6451 static const char* argumentList[] ={"" , "QChildEvent*"};
6451 static const char* argumentList[] ={"" , "QChildEvent*"};
6452 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
6452 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
6453 void* args[2] = {NULL, (void*)&arg__1};
6453 void* args[2] = {NULL, (void*)&arg__1};
6454 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
6454 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
6455 if (result) { Py_DECREF(result); }
6455 if (result) { Py_DECREF(result); }
6456 Py_DECREF(obj);
6456 Py_DECREF(obj);
6457 return;
6457 return;
6458 }
6458 }
6459 }
6459 }
6460 elfInfoWdgt::childEvent(arg__1);
6460 elfInfoWdgt::childEvent(arg__1);
6461 }
6461 }
6462 void PythonQtShell_elfInfoWdgt::closeEvent(QCloseEvent* arg__1)
6462 void PythonQtShell_elfInfoWdgt::closeEvent(QCloseEvent* arg__1)
6463 {
6463 {
6464 if (_wrapper) {
6464 if (_wrapper) {
6465 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "closeEvent");
6465 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "closeEvent");
6466 PyErr_Clear();
6466 PyErr_Clear();
6467 if (obj && !PythonQtSlotFunction_Check(obj)) {
6467 if (obj && !PythonQtSlotFunction_Check(obj)) {
6468 static const char* argumentList[] ={"" , "QCloseEvent*"};
6468 static const char* argumentList[] ={"" , "QCloseEvent*"};
6469 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
6469 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
6470 void* args[2] = {NULL, (void*)&arg__1};
6470 void* args[2] = {NULL, (void*)&arg__1};
6471 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
6471 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
6472 if (result) { Py_DECREF(result); }
6472 if (result) { Py_DECREF(result); }
6473 Py_DECREF(obj);
6473 Py_DECREF(obj);
6474 return;
6474 return;
6475 }
6475 }
6476 }
6476 }
6477 elfInfoWdgt::closeEvent(arg__1);
6477 elfInfoWdgt::closeEvent(arg__1);
6478 }
6478 }
6479 void PythonQtShell_elfInfoWdgt::contextMenuEvent(QContextMenuEvent* arg__1)
6479 void PythonQtShell_elfInfoWdgt::contextMenuEvent(QContextMenuEvent* arg__1)
6480 {
6480 {
6481 if (_wrapper) {
6481 if (_wrapper) {
6482 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "contextMenuEvent");
6482 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "contextMenuEvent");
6483 PyErr_Clear();
6483 PyErr_Clear();
6484 if (obj && !PythonQtSlotFunction_Check(obj)) {
6484 if (obj && !PythonQtSlotFunction_Check(obj)) {
6485 static const char* argumentList[] ={"" , "QContextMenuEvent*"};
6485 static const char* argumentList[] ={"" , "QContextMenuEvent*"};
6486 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
6486 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
6487 void* args[2] = {NULL, (void*)&arg__1};
6487 void* args[2] = {NULL, (void*)&arg__1};
6488 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
6488 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
6489 if (result) { Py_DECREF(result); }
6489 if (result) { Py_DECREF(result); }
6490 Py_DECREF(obj);
6490 Py_DECREF(obj);
6491 return;
6491 return;
6492 }
6492 }
6493 }
6493 }
6494 elfInfoWdgt::contextMenuEvent(arg__1);
6494 elfInfoWdgt::contextMenuEvent(arg__1);
6495 }
6495 }
6496 void PythonQtShell_elfInfoWdgt::customEvent(QEvent* arg__1)
6496 void PythonQtShell_elfInfoWdgt::customEvent(QEvent* arg__1)
6497 {
6497 {
6498 if (_wrapper) {
6498 if (_wrapper) {
6499 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "customEvent");
6499 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "customEvent");
6500 PyErr_Clear();
6500 PyErr_Clear();
6501 if (obj && !PythonQtSlotFunction_Check(obj)) {
6501 if (obj && !PythonQtSlotFunction_Check(obj)) {
6502 static const char* argumentList[] ={"" , "QEvent*"};
6502 static const char* argumentList[] ={"" , "QEvent*"};
6503 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
6503 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
6504 void* args[2] = {NULL, (void*)&arg__1};
6504 void* args[2] = {NULL, (void*)&arg__1};
6505 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
6505 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
6506 if (result) { Py_DECREF(result); }
6506 if (result) { Py_DECREF(result); }
6507 Py_DECREF(obj);
6507 Py_DECREF(obj);
6508 return;
6508 return;
6509 }
6509 }
6510 }
6510 }
6511 elfInfoWdgt::customEvent(arg__1);
6511 elfInfoWdgt::customEvent(arg__1);
6512 }
6512 }
6513 int PythonQtShell_elfInfoWdgt::devType() const
6513 int PythonQtShell_elfInfoWdgt::devType() const
6514 {
6514 {
6515 if (_wrapper) {
6515 if (_wrapper) {
6516 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "devType");
6516 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "devType");
6517 PyErr_Clear();
6517 PyErr_Clear();
6518 if (obj && !PythonQtSlotFunction_Check(obj)) {
6518 if (obj && !PythonQtSlotFunction_Check(obj)) {
6519 static const char* argumentList[] ={"int"};
6519 static const char* argumentList[] ={"int"};
6520 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList);
6520 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList);
6521 int returnValue;
6521 int returnValue;
6522 void* args[1] = {NULL};
6522 void* args[1] = {NULL};
6523 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
6523 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
6524 if (result) {
6524 if (result) {
6525 args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue);
6525 args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue);
6526 if (args[0]!=&returnValue) {
6526 if (args[0]!=&returnValue) {
6527 if (args[0]==NULL) {
6527 if (args[0]==NULL) {
6528 PythonQt::priv()->handleVirtualOverloadReturnError("devType", methodInfo, result);
6528 PythonQt::priv()->handleVirtualOverloadReturnError("devType", methodInfo, result);
6529 } else {
6529 } else {
6530 returnValue = *((int*)args[0]);
6530 returnValue = *((int*)args[0]);
6531 }
6531 }
6532 }
6532 }
6533 }
6533 }
6534 if (result) { Py_DECREF(result); }
6534 if (result) { Py_DECREF(result); }
6535 Py_DECREF(obj);
6535 Py_DECREF(obj);
6536 return returnValue;
6536 return returnValue;
6537 }
6537 }
6538 }
6538 }
6539 return elfInfoWdgt::devType();
6539 return elfInfoWdgt::devType();
6540 }
6540 }
6541 void PythonQtShell_elfInfoWdgt::dragEnterEvent(QDragEnterEvent* arg__1)
6541 void PythonQtShell_elfInfoWdgt::dragEnterEvent(QDragEnterEvent* arg__1)
6542 {
6542 {
6543 if (_wrapper) {
6543 if (_wrapper) {
6544 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dragEnterEvent");
6544 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dragEnterEvent");
6545 PyErr_Clear();
6545 PyErr_Clear();
6546 if (obj && !PythonQtSlotFunction_Check(obj)) {
6546 if (obj && !PythonQtSlotFunction_Check(obj)) {
6547 static const char* argumentList[] ={"" , "QDragEnterEvent*"};
6547 static const char* argumentList[] ={"" , "QDragEnterEvent*"};
6548 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
6548 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
6549 void* args[2] = {NULL, (void*)&arg__1};
6549 void* args[2] = {NULL, (void*)&arg__1};
6550 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
6550 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
6551 if (result) { Py_DECREF(result); }
6551 if (result) { Py_DECREF(result); }
6552 Py_DECREF(obj);
6552 Py_DECREF(obj);
6553 return;
6553 return;
6554 }
6554 }
6555 }
6555 }
6556 elfInfoWdgt::dragEnterEvent(arg__1);
6556 elfInfoWdgt::dragEnterEvent(arg__1);
6557 }
6557 }
6558 void PythonQtShell_elfInfoWdgt::dragLeaveEvent(QDragLeaveEvent* arg__1)
6558 void PythonQtShell_elfInfoWdgt::dragLeaveEvent(QDragLeaveEvent* arg__1)
6559 {
6559 {
6560 if (_wrapper) {
6560 if (_wrapper) {
6561 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dragLeaveEvent");
6561 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dragLeaveEvent");
6562 PyErr_Clear();
6562 PyErr_Clear();
6563 if (obj && !PythonQtSlotFunction_Check(obj)) {
6563 if (obj && !PythonQtSlotFunction_Check(obj)) {
6564 static const char* argumentList[] ={"" , "QDragLeaveEvent*"};
6564 static const char* argumentList[] ={"" , "QDragLeaveEvent*"};
6565 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
6565 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
6566 void* args[2] = {NULL, (void*)&arg__1};
6566 void* args[2] = {NULL, (void*)&arg__1};
6567 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
6567 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
6568 if (result) { Py_DECREF(result); }
6568 if (result) { Py_DECREF(result); }
6569 Py_DECREF(obj);
6569 Py_DECREF(obj);
6570 return;
6570 return;
6571 }
6571 }
6572 }
6572 }
6573 elfInfoWdgt::dragLeaveEvent(arg__1);
6573 elfInfoWdgt::dragLeaveEvent(arg__1);
6574 }
6574 }
6575 void PythonQtShell_elfInfoWdgt::dragMoveEvent(QDragMoveEvent* arg__1)
6575 void PythonQtShell_elfInfoWdgt::dragMoveEvent(QDragMoveEvent* arg__1)
6576 {
6576 {
6577 if (_wrapper) {
6577 if (_wrapper) {
6578 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dragMoveEvent");
6578 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dragMoveEvent");
6579 PyErr_Clear();
6579 PyErr_Clear();
6580 if (obj && !PythonQtSlotFunction_Check(obj)) {
6580 if (obj && !PythonQtSlotFunction_Check(obj)) {
6581 static const char* argumentList[] ={"" , "QDragMoveEvent*"};
6581 static const char* argumentList[] ={"" , "QDragMoveEvent*"};
6582 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
6582 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
6583 void* args[2] = {NULL, (void*)&arg__1};
6583 void* args[2] = {NULL, (void*)&arg__1};
6584 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
6584 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
6585 if (result) { Py_DECREF(result); }
6585 if (result) { Py_DECREF(result); }
6586 Py_DECREF(obj);
6586 Py_DECREF(obj);
6587 return;
6587 return;
6588 }
6588 }
6589 }
6589 }
6590 elfInfoWdgt::dragMoveEvent(arg__1);
6590 elfInfoWdgt::dragMoveEvent(arg__1);
6591 }
6591 }
6592 void PythonQtShell_elfInfoWdgt::dropEvent(QDropEvent* arg__1)
6592 void PythonQtShell_elfInfoWdgt::dropEvent(QDropEvent* arg__1)
6593 {
6593 {
6594 if (_wrapper) {
6594 if (_wrapper) {
6595 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dropEvent");
6595 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dropEvent");
6596 PyErr_Clear();
6596 PyErr_Clear();
6597 if (obj && !PythonQtSlotFunction_Check(obj)) {
6597 if (obj && !PythonQtSlotFunction_Check(obj)) {
6598 static const char* argumentList[] ={"" , "QDropEvent*"};
6598 static const char* argumentList[] ={"" , "QDropEvent*"};
6599 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
6599 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
6600 void* args[2] = {NULL, (void*)&arg__1};
6600 void* args[2] = {NULL, (void*)&arg__1};
6601 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
6601 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
6602 if (result) { Py_DECREF(result); }
6602 if (result) { Py_DECREF(result); }
6603 Py_DECREF(obj);
6603 Py_DECREF(obj);
6604 return;
6604 return;
6605 }
6605 }
6606 }
6606 }
6607 elfInfoWdgt::dropEvent(arg__1);
6607 elfInfoWdgt::dropEvent(arg__1);
6608 }
6608 }
6609 void PythonQtShell_elfInfoWdgt::enterEvent(QEvent* arg__1)
6609 void PythonQtShell_elfInfoWdgt::enterEvent(QEvent* arg__1)
6610 {
6610 {
6611 if (_wrapper) {
6611 if (_wrapper) {
6612 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "enterEvent");
6612 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "enterEvent");
6613 PyErr_Clear();
6613 PyErr_Clear();
6614 if (obj && !PythonQtSlotFunction_Check(obj)) {
6614 if (obj && !PythonQtSlotFunction_Check(obj)) {
6615 static const char* argumentList[] ={"" , "QEvent*"};
6615 static const char* argumentList[] ={"" , "QEvent*"};
6616 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
6616 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
6617 void* args[2] = {NULL, (void*)&arg__1};
6617 void* args[2] = {NULL, (void*)&arg__1};
6618 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
6618 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
6619 if (result) { Py_DECREF(result); }
6619 if (result) { Py_DECREF(result); }
6620 Py_DECREF(obj);
6620 Py_DECREF(obj);
6621 return;
6621 return;
6622 }
6622 }
6623 }
6623 }
6624 elfInfoWdgt::enterEvent(arg__1);
6624 elfInfoWdgt::enterEvent(arg__1);
6625 }
6625 }
6626 bool PythonQtShell_elfInfoWdgt::event(QEvent* arg__1)
6626 bool PythonQtShell_elfInfoWdgt::event(QEvent* arg__1)
6627 {
6627 {
6628 if (_wrapper) {
6628 if (_wrapper) {
6629 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "event");
6629 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "event");
6630 PyErr_Clear();
6630 PyErr_Clear();
6631 if (obj && !PythonQtSlotFunction_Check(obj)) {
6631 if (obj && !PythonQtSlotFunction_Check(obj)) {
6632 static const char* argumentList[] ={"bool" , "QEvent*"};
6632 static const char* argumentList[] ={"bool" , "QEvent*"};
6633 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
6633 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
6634 bool returnValue;
6634 bool returnValue;
6635 void* args[2] = {NULL, (void*)&arg__1};
6635 void* args[2] = {NULL, (void*)&arg__1};
6636 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
6636 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
6637 if (result) {
6637 if (result) {
6638 args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue);
6638 args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue);
6639 if (args[0]!=&returnValue) {
6639 if (args[0]!=&returnValue) {
6640 if (args[0]==NULL) {
6640 if (args[0]==NULL) {
6641 PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result);
6641 PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result);
6642 } else {
6642 } else {
6643 returnValue = *((bool*)args[0]);
6643 returnValue = *((bool*)args[0]);
6644 }
6644 }
6645 }
6645 }
6646 }
6646 }
6647 if (result) { Py_DECREF(result); }
6647 if (result) { Py_DECREF(result); }
6648 Py_DECREF(obj);
6648 Py_DECREF(obj);
6649 return returnValue;
6649 return returnValue;
6650 }
6650 }
6651 }
6651 }
6652 return elfInfoWdgt::event(arg__1);
6652 return elfInfoWdgt::event(arg__1);
6653 }
6653 }
6654 bool PythonQtShell_elfInfoWdgt::eventFilter(QObject* arg__1, QEvent* arg__2)
6654 bool PythonQtShell_elfInfoWdgt::eventFilter(QObject* arg__1, QEvent* arg__2)
6655 {
6655 {
6656 if (_wrapper) {
6656 if (_wrapper) {
6657 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "eventFilter");
6657 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "eventFilter");
6658 PyErr_Clear();
6658 PyErr_Clear();
6659 if (obj && !PythonQtSlotFunction_Check(obj)) {
6659 if (obj && !PythonQtSlotFunction_Check(obj)) {
6660 static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"};
6660 static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"};
6661 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList);
6661 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList);
6662 bool returnValue;
6662 bool returnValue;
6663 void* args[3] = {NULL, (void*)&arg__1, (void*)&arg__2};
6663 void* args[3] = {NULL, (void*)&arg__1, (void*)&arg__2};
6664 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
6664 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
6665 if (result) {
6665 if (result) {
6666 args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue);
6666 args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue);
6667 if (args[0]!=&returnValue) {
6667 if (args[0]!=&returnValue) {
6668 if (args[0]==NULL) {
6668 if (args[0]==NULL) {
6669 PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result);
6669 PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result);
6670 } else {
6670 } else {
6671 returnValue = *((bool*)args[0]);
6671 returnValue = *((bool*)args[0]);
6672 }
6672 }
6673 }
6673 }
6674 }
6674 }
6675 if (result) { Py_DECREF(result); }
6675 if (result) { Py_DECREF(result); }
6676 Py_DECREF(obj);
6676 Py_DECREF(obj);
6677 return returnValue;
6677 return returnValue;
6678 }
6678 }
6679 }
6679 }
6680 return elfInfoWdgt::eventFilter(arg__1, arg__2);
6680 return elfInfoWdgt::eventFilter(arg__1, arg__2);
6681 }
6681 }
6682 void PythonQtShell_elfInfoWdgt::focusInEvent(QFocusEvent* arg__1)
6682 void PythonQtShell_elfInfoWdgt::focusInEvent(QFocusEvent* arg__1)
6683 {
6683 {
6684 if (_wrapper) {
6684 if (_wrapper) {
6685 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "focusInEvent");
6685 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "focusInEvent");
6686 PyErr_Clear();
6686 PyErr_Clear();
6687 if (obj && !PythonQtSlotFunction_Check(obj)) {
6687 if (obj && !PythonQtSlotFunction_Check(obj)) {
6688 static const char* argumentList[] ={"" , "QFocusEvent*"};
6688 static const char* argumentList[] ={"" , "QFocusEvent*"};
6689 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
6689 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
6690 void* args[2] = {NULL, (void*)&arg__1};
6690 void* args[2] = {NULL, (void*)&arg__1};
6691 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
6691 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
6692 if (result) { Py_DECREF(result); }
6692 if (result) { Py_DECREF(result); }
6693 Py_DECREF(obj);
6693 Py_DECREF(obj);
6694 return;
6694 return;
6695 }
6695 }
6696 }
6696 }
6697 elfInfoWdgt::focusInEvent(arg__1);
6697 elfInfoWdgt::focusInEvent(arg__1);
6698 }
6698 }
6699 bool PythonQtShell_elfInfoWdgt::focusNextPrevChild(bool next)
6699 bool PythonQtShell_elfInfoWdgt::focusNextPrevChild(bool next)
6700 {
6700 {
6701 if (_wrapper) {
6701 if (_wrapper) {
6702 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "focusNextPrevChild");
6702 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "focusNextPrevChild");
6703 PyErr_Clear();
6703 PyErr_Clear();
6704 if (obj && !PythonQtSlotFunction_Check(obj)) {
6704 if (obj && !PythonQtSlotFunction_Check(obj)) {
6705 static const char* argumentList[] ={"bool" , "bool"};
6705 static const char* argumentList[] ={"bool" , "bool"};
6706 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
6706 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
6707 bool returnValue;
6707 bool returnValue;
6708 void* args[2] = {NULL, (void*)&next};
6708 void* args[2] = {NULL, (void*)&next};
6709 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
6709 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
6710 if (result) {
6710 if (result) {
6711 args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue);
6711 args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue);
6712 if (args[0]!=&returnValue) {
6712 if (args[0]!=&returnValue) {
6713 if (args[0]==NULL) {
6713 if (args[0]==NULL) {
6714 PythonQt::priv()->handleVirtualOverloadReturnError("focusNextPrevChild", methodInfo, result);
6714 PythonQt::priv()->handleVirtualOverloadReturnError("focusNextPrevChild", methodInfo, result);
6715 } else {
6715 } else {
6716 returnValue = *((bool*)args[0]);
6716 returnValue = *((bool*)args[0]);
6717 }
6717 }
6718 }
6718 }
6719 }
6719 }
6720 if (result) { Py_DECREF(result); }
6720 if (result) { Py_DECREF(result); }
6721 Py_DECREF(obj);
6721 Py_DECREF(obj);
6722 return returnValue;
6722 return returnValue;
6723 }
6723 }
6724 }
6724 }
6725 return elfInfoWdgt::focusNextPrevChild(next);
6725 return elfInfoWdgt::focusNextPrevChild(next);
6726 }
6726 }
6727 void PythonQtShell_elfInfoWdgt::focusOutEvent(QFocusEvent* arg__1)
6727 void PythonQtShell_elfInfoWdgt::focusOutEvent(QFocusEvent* arg__1)
6728 {
6728 {
6729 if (_wrapper) {
6729 if (_wrapper) {
6730 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "focusOutEvent");
6730 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "focusOutEvent");
6731 PyErr_Clear();
6731 PyErr_Clear();
6732 if (obj && !PythonQtSlotFunction_Check(obj)) {
6732 if (obj && !PythonQtSlotFunction_Check(obj)) {
6733 static const char* argumentList[] ={"" , "QFocusEvent*"};
6733 static const char* argumentList[] ={"" , "QFocusEvent*"};
6734 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
6734 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
6735 void* args[2] = {NULL, (void*)&arg__1};
6735 void* args[2] = {NULL, (void*)&arg__1};
6736 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
6736 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
6737 if (result) { Py_DECREF(result); }
6737 if (result) { Py_DECREF(result); }
6738 Py_DECREF(obj);
6738 Py_DECREF(obj);
6739 return;
6739 return;
6740 }
6740 }
6741 }
6741 }
6742 elfInfoWdgt::focusOutEvent(arg__1);
6742 elfInfoWdgt::focusOutEvent(arg__1);
6743 }
6743 }
6744 bool PythonQtShell_elfInfoWdgt::hasHeightForWidth() const
6744 bool PythonQtShell_elfInfoWdgt::hasHeightForWidth() const
6745 {
6745 {
6746 if (_wrapper) {
6746 if (_wrapper) {
6747 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "hasHeightForWidth");
6747 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "hasHeightForWidth");
6748 PyErr_Clear();
6748 PyErr_Clear();
6749 if (obj && !PythonQtSlotFunction_Check(obj)) {
6749 if (obj && !PythonQtSlotFunction_Check(obj)) {
6750 static const char* argumentList[] ={"bool"};
6750 static const char* argumentList[] ={"bool"};
6751 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList);
6751 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList);
6752 bool returnValue;
6752 bool returnValue;
6753 void* args[1] = {NULL};
6753 void* args[1] = {NULL};
6754 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
6754 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
6755 if (result) {
6755 if (result) {
6756 args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue);
6756 args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue);
6757 if (args[0]!=&returnValue) {
6757 if (args[0]!=&returnValue) {
6758 if (args[0]==NULL) {
6758 if (args[0]==NULL) {
6759 PythonQt::priv()->handleVirtualOverloadReturnError("hasHeightForWidth", methodInfo, result);
6759 PythonQt::priv()->handleVirtualOverloadReturnError("hasHeightForWidth", methodInfo, result);
6760 } else {
6760 } else {
6761 returnValue = *((bool*)args[0]);
6761 returnValue = *((bool*)args[0]);
6762 }
6762 }
6763 }
6763 }
6764 }
6764 }
6765 if (result) { Py_DECREF(result); }
6765 if (result) { Py_DECREF(result); }
6766 Py_DECREF(obj);
6766 Py_DECREF(obj);
6767 return returnValue;
6767 return returnValue;
6768 }
6768 }
6769 }
6769 }
6770 return elfInfoWdgt::hasHeightForWidth();
6770 return elfInfoWdgt::hasHeightForWidth();
6771 }
6771 }
6772 int PythonQtShell_elfInfoWdgt::heightForWidth(int arg__1) const
6772 int PythonQtShell_elfInfoWdgt::heightForWidth(int arg__1) const
6773 {
6773 {
6774 if (_wrapper) {
6774 if (_wrapper) {
6775 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "heightForWidth");
6775 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "heightForWidth");
6776 PyErr_Clear();
6776 PyErr_Clear();
6777 if (obj && !PythonQtSlotFunction_Check(obj)) {
6777 if (obj && !PythonQtSlotFunction_Check(obj)) {
6778 static const char* argumentList[] ={"int" , "int"};
6778 static const char* argumentList[] ={"int" , "int"};
6779 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
6779 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
6780 int returnValue;
6780 int returnValue;
6781 void* args[2] = {NULL, (void*)&arg__1};
6781 void* args[2] = {NULL, (void*)&arg__1};
6782 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
6782 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
6783 if (result) {
6783 if (result) {
6784 args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue);
6784 args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue);
6785 if (args[0]!=&returnValue) {
6785 if (args[0]!=&returnValue) {
6786 if (args[0]==NULL) {
6786 if (args[0]==NULL) {
6787 PythonQt::priv()->handleVirtualOverloadReturnError("heightForWidth", methodInfo, result);
6787 PythonQt::priv()->handleVirtualOverloadReturnError("heightForWidth", methodInfo, result);
6788 } else {
6788 } else {
6789 returnValue = *((int*)args[0]);
6789 returnValue = *((int*)args[0]);
6790 }
6790 }
6791 }
6791 }
6792 }
6792 }
6793 if (result) { Py_DECREF(result); }
6793 if (result) { Py_DECREF(result); }
6794 Py_DECREF(obj);
6794 Py_DECREF(obj);
6795 return returnValue;
6795 return returnValue;
6796 }
6796 }
6797 }
6797 }
6798 return elfInfoWdgt::heightForWidth(arg__1);
6798 return elfInfoWdgt::heightForWidth(arg__1);
6799 }
6799 }
6800 void PythonQtShell_elfInfoWdgt::hideEvent(QHideEvent* arg__1)
6800 void PythonQtShell_elfInfoWdgt::hideEvent(QHideEvent* arg__1)
6801 {
6801 {
6802 if (_wrapper) {
6802 if (_wrapper) {
6803 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "hideEvent");
6803 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "hideEvent");
6804 PyErr_Clear();
6804 PyErr_Clear();
6805 if (obj && !PythonQtSlotFunction_Check(obj)) {
6805 if (obj && !PythonQtSlotFunction_Check(obj)) {
6806 static const char* argumentList[] ={"" , "QHideEvent*"};
6806 static const char* argumentList[] ={"" , "QHideEvent*"};
6807 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
6807 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
6808 void* args[2] = {NULL, (void*)&arg__1};
6808 void* args[2] = {NULL, (void*)&arg__1};
6809 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
6809 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
6810 if (result) { Py_DECREF(result); }
6810 if (result) { Py_DECREF(result); }
6811 Py_DECREF(obj);
6811 Py_DECREF(obj);
6812 return;
6812 return;
6813 }
6813 }
6814 }
6814 }
6815 elfInfoWdgt::hideEvent(arg__1);
6815 elfInfoWdgt::hideEvent(arg__1);
6816 }
6816 }
6817 void PythonQtShell_elfInfoWdgt::initPainter(QPainter* painter) const
6817 void PythonQtShell_elfInfoWdgt::initPainter(QPainter* painter) const
6818 {
6818 {
6819 if (_wrapper) {
6819 if (_wrapper) {
6820 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "initPainter");
6820 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "initPainter");
6821 PyErr_Clear();
6821 PyErr_Clear();
6822 if (obj && !PythonQtSlotFunction_Check(obj)) {
6822 if (obj && !PythonQtSlotFunction_Check(obj)) {
6823 static const char* argumentList[] ={"" , "QPainter*"};
6823 static const char* argumentList[] ={"" , "QPainter*"};
6824 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
6824 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
6825 void* args[2] = {NULL, (void*)&painter};
6825 void* args[2] = {NULL, (void*)&painter};
6826 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
6826 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
6827 if (result) { Py_DECREF(result); }
6827 if (result) { Py_DECREF(result); }
6828 Py_DECREF(obj);
6828 Py_DECREF(obj);
6829 return;
6829 return;
6830 }
6830 }
6831 }
6831 }
6832 elfInfoWdgt::initPainter(painter);
6832 elfInfoWdgt::initPainter(painter);
6833 }
6833 }
6834 void PythonQtShell_elfInfoWdgt::inputMethodEvent(QInputMethodEvent* arg__1)
6834 void PythonQtShell_elfInfoWdgt::inputMethodEvent(QInputMethodEvent* arg__1)
6835 {
6835 {
6836 if (_wrapper) {
6836 if (_wrapper) {
6837 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "inputMethodEvent");
6837 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "inputMethodEvent");
6838 PyErr_Clear();
6838 PyErr_Clear();
6839 if (obj && !PythonQtSlotFunction_Check(obj)) {
6839 if (obj && !PythonQtSlotFunction_Check(obj)) {
6840 static const char* argumentList[] ={"" , "QInputMethodEvent*"};
6840 static const char* argumentList[] ={"" , "QInputMethodEvent*"};
6841 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
6841 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
6842 void* args[2] = {NULL, (void*)&arg__1};
6842 void* args[2] = {NULL, (void*)&arg__1};
6843 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
6843 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
6844 if (result) { Py_DECREF(result); }
6844 if (result) { Py_DECREF(result); }
6845 Py_DECREF(obj);
6845 Py_DECREF(obj);
6846 return;
6846 return;
6847 }
6847 }
6848 }
6848 }
6849 elfInfoWdgt::inputMethodEvent(arg__1);
6849 elfInfoWdgt::inputMethodEvent(arg__1);
6850 }
6850 }
6851 QVariant PythonQtShell_elfInfoWdgt::inputMethodQuery(Qt::InputMethodQuery arg__1) const
6851 QVariant PythonQtShell_elfInfoWdgt::inputMethodQuery(Qt::InputMethodQuery arg__1) const
6852 {
6852 {
6853 if (_wrapper) {
6853 if (_wrapper) {
6854 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "inputMethodQuery");
6854 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "inputMethodQuery");
6855 PyErr_Clear();
6855 PyErr_Clear();
6856 if (obj && !PythonQtSlotFunction_Check(obj)) {
6856 if (obj && !PythonQtSlotFunction_Check(obj)) {
6857 static const char* argumentList[] ={"QVariant" , "Qt::InputMethodQuery"};
6857 static const char* argumentList[] ={"QVariant" , "Qt::InputMethodQuery"};
6858 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
6858 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
6859 QVariant returnValue;
6859 QVariant returnValue;
6860 void* args[2] = {NULL, (void*)&arg__1};
6860 void* args[2] = {NULL, (void*)&arg__1};
6861 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
6861 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
6862 if (result) {
6862 if (result) {
6863 args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue);
6863 args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue);
6864 if (args[0]!=&returnValue) {
6864 if (args[0]!=&returnValue) {
6865 if (args[0]==NULL) {
6865 if (args[0]==NULL) {
6866 PythonQt::priv()->handleVirtualOverloadReturnError("inputMethodQuery", methodInfo, result);
6866 PythonQt::priv()->handleVirtualOverloadReturnError("inputMethodQuery", methodInfo, result);
6867 } else {
6867 } else {
6868 returnValue = *((QVariant*)args[0]);
6868 returnValue = *((QVariant*)args[0]);
6869 }
6869 }
6870 }
6870 }
6871 }
6871 }
6872 if (result) { Py_DECREF(result); }
6872 if (result) { Py_DECREF(result); }
6873 Py_DECREF(obj);
6873 Py_DECREF(obj);
6874 return returnValue;
6874 return returnValue;
6875 }
6875 }
6876 }
6876 }
6877 return elfInfoWdgt::inputMethodQuery(arg__1);
6877 return elfInfoWdgt::inputMethodQuery(arg__1);
6878 }
6878 }
6879 void PythonQtShell_elfInfoWdgt::keyPressEvent(QKeyEvent* arg__1)
6879 void PythonQtShell_elfInfoWdgt::keyPressEvent(QKeyEvent* arg__1)
6880 {
6880 {
6881 if (_wrapper) {
6881 if (_wrapper) {
6882 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "keyPressEvent");
6882 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "keyPressEvent");
6883 PyErr_Clear();
6883 PyErr_Clear();
6884 if (obj && !PythonQtSlotFunction_Check(obj)) {
6884 if (obj && !PythonQtSlotFunction_Check(obj)) {
6885 static const char* argumentList[] ={"" , "QKeyEvent*"};
6885 static const char* argumentList[] ={"" , "QKeyEvent*"};
6886 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
6886 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
6887 void* args[2] = {NULL, (void*)&arg__1};
6887 void* args[2] = {NULL, (void*)&arg__1};
6888 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
6888 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
6889 if (result) { Py_DECREF(result); }
6889 if (result) { Py_DECREF(result); }
6890 Py_DECREF(obj);
6890 Py_DECREF(obj);
6891 return;
6891 return;
6892 }
6892 }
6893 }
6893 }
6894 elfInfoWdgt::keyPressEvent(arg__1);
6894 elfInfoWdgt::keyPressEvent(arg__1);
6895 }
6895 }
6896 void PythonQtShell_elfInfoWdgt::keyReleaseEvent(QKeyEvent* arg__1)
6896 void PythonQtShell_elfInfoWdgt::keyReleaseEvent(QKeyEvent* arg__1)
6897 {
6897 {
6898 if (_wrapper) {
6898 if (_wrapper) {
6899 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "keyReleaseEvent");
6899 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "keyReleaseEvent");
6900 PyErr_Clear();
6900 PyErr_Clear();
6901 if (obj && !PythonQtSlotFunction_Check(obj)) {
6901 if (obj && !PythonQtSlotFunction_Check(obj)) {
6902 static const char* argumentList[] ={"" , "QKeyEvent*"};
6902 static const char* argumentList[] ={"" , "QKeyEvent*"};
6903 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
6903 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
6904 void* args[2] = {NULL, (void*)&arg__1};
6904 void* args[2] = {NULL, (void*)&arg__1};
6905 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
6905 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
6906 if (result) { Py_DECREF(result); }
6906 if (result) { Py_DECREF(result); }
6907 Py_DECREF(obj);
6907 Py_DECREF(obj);
6908 return;
6908 return;
6909 }
6909 }
6910 }
6910 }
6911 elfInfoWdgt::keyReleaseEvent(arg__1);
6911 elfInfoWdgt::keyReleaseEvent(arg__1);
6912 }
6912 }
6913 void PythonQtShell_elfInfoWdgt::leaveEvent(QEvent* arg__1)
6913 void PythonQtShell_elfInfoWdgt::leaveEvent(QEvent* arg__1)
6914 {
6914 {
6915 if (_wrapper) {
6915 if (_wrapper) {
6916 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "leaveEvent");
6916 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "leaveEvent");
6917 PyErr_Clear();
6917 PyErr_Clear();
6918 if (obj && !PythonQtSlotFunction_Check(obj)) {
6918 if (obj && !PythonQtSlotFunction_Check(obj)) {
6919 static const char* argumentList[] ={"" , "QEvent*"};
6919 static const char* argumentList[] ={"" , "QEvent*"};
6920 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
6920 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
6921 void* args[2] = {NULL, (void*)&arg__1};
6921 void* args[2] = {NULL, (void*)&arg__1};
6922 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
6922 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
6923 if (result) { Py_DECREF(result); }
6923 if (result) { Py_DECREF(result); }
6924 Py_DECREF(obj);
6924 Py_DECREF(obj);
6925 return;
6925 return;
6926 }
6926 }
6927 }
6927 }
6928 elfInfoWdgt::leaveEvent(arg__1);
6928 elfInfoWdgt::leaveEvent(arg__1);
6929 }
6929 }
6930 int PythonQtShell_elfInfoWdgt::metric(QPaintDevice::PaintDeviceMetric arg__1) const
6930 int PythonQtShell_elfInfoWdgt::metric(QPaintDevice::PaintDeviceMetric arg__1) const
6931 {
6931 {
6932 if (_wrapper) {
6932 if (_wrapper) {
6933 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "metric");
6933 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "metric");
6934 PyErr_Clear();
6934 PyErr_Clear();
6935 if (obj && !PythonQtSlotFunction_Check(obj)) {
6935 if (obj && !PythonQtSlotFunction_Check(obj)) {
6936 static const char* argumentList[] ={"int" , "QPaintDevice::PaintDeviceMetric"};
6936 static const char* argumentList[] ={"int" , "QPaintDevice::PaintDeviceMetric"};
6937 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
6937 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
6938 int returnValue;
6938 int returnValue;
6939 void* args[2] = {NULL, (void*)&arg__1};
6939 void* args[2] = {NULL, (void*)&arg__1};
6940 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
6940 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
6941 if (result) {
6941 if (result) {
6942 args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue);
6942 args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue);
6943 if (args[0]!=&returnValue) {
6943 if (args[0]!=&returnValue) {
6944 if (args[0]==NULL) {
6944 if (args[0]==NULL) {
6945 PythonQt::priv()->handleVirtualOverloadReturnError("metric", methodInfo, result);
6945 PythonQt::priv()->handleVirtualOverloadReturnError("metric", methodInfo, result);
6946 } else {
6946 } else {
6947 returnValue = *((int*)args[0]);
6947 returnValue = *((int*)args[0]);
6948 }
6948 }
6949 }
6949 }
6950 }
6950 }
6951 if (result) { Py_DECREF(result); }
6951 if (result) { Py_DECREF(result); }
6952 Py_DECREF(obj);
6952 Py_DECREF(obj);
6953 return returnValue;
6953 return returnValue;
6954 }
6954 }
6955 }
6955 }
6956 return elfInfoWdgt::metric(arg__1);
6956 return elfInfoWdgt::metric(arg__1);
6957 }
6957 }
6958 QSize PythonQtShell_elfInfoWdgt::minimumSizeHint() const
6958 QSize PythonQtShell_elfInfoWdgt::minimumSizeHint() const
6959 {
6959 {
6960 if (_wrapper) {
6960 if (_wrapper) {
6961 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "getMinimumSizeHint");
6961 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "getMinimumSizeHint");
6962 PyErr_Clear();
6962 PyErr_Clear();
6963 if (obj && !PythonQtSlotFunction_Check(obj)) {
6963 if (obj && !PythonQtSlotFunction_Check(obj)) {
6964 static const char* argumentList[] ={"QSize"};
6964 static const char* argumentList[] ={"QSize"};
6965 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList);
6965 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList);
6966 QSize returnValue;
6966 QSize returnValue;
6967 void* args[1] = {NULL};
6967 void* args[1] = {NULL};
6968 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
6968 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
6969 if (result) {
6969 if (result) {
6970 args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue);
6970 args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue);
6971 if (args[0]!=&returnValue) {
6971 if (args[0]!=&returnValue) {
6972 if (args[0]==NULL) {
6972 if (args[0]==NULL) {
6973 PythonQt::priv()->handleVirtualOverloadReturnError("getMinimumSizeHint", methodInfo, result);
6973 PythonQt::priv()->handleVirtualOverloadReturnError("getMinimumSizeHint", methodInfo, result);
6974 } else {
6974 } else {
6975 returnValue = *((QSize*)args[0]);
6975 returnValue = *((QSize*)args[0]);
6976 }
6976 }
6977 }
6977 }
6978 }
6978 }
6979 if (result) { Py_DECREF(result); }
6979 if (result) { Py_DECREF(result); }
6980 Py_DECREF(obj);
6980 Py_DECREF(obj);
6981 return returnValue;
6981 return returnValue;
6982 }
6982 }
6983 }
6983 }
6984 return elfInfoWdgt::minimumSizeHint();
6984 return elfInfoWdgt::minimumSizeHint();
6985 }
6985 }
6986 void PythonQtShell_elfInfoWdgt::mouseDoubleClickEvent(QMouseEvent* arg__1)
6986 void PythonQtShell_elfInfoWdgt::mouseDoubleClickEvent(QMouseEvent* arg__1)
6987 {
6987 {
6988 if (_wrapper) {
6988 if (_wrapper) {
6989 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mouseDoubleClickEvent");
6989 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mouseDoubleClickEvent");
6990 PyErr_Clear();
6990 PyErr_Clear();
6991 if (obj && !PythonQtSlotFunction_Check(obj)) {
6991 if (obj && !PythonQtSlotFunction_Check(obj)) {
6992 static const char* argumentList[] ={"" , "QMouseEvent*"};
6992 static const char* argumentList[] ={"" , "QMouseEvent*"};
6993 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
6993 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
6994 void* args[2] = {NULL, (void*)&arg__1};
6994 void* args[2] = {NULL, (void*)&arg__1};
6995 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
6995 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
6996 if (result) { Py_DECREF(result); }
6996 if (result) { Py_DECREF(result); }
6997 Py_DECREF(obj);
6997 Py_DECREF(obj);
6998 return;
6998 return;
6999 }
6999 }
7000 }
7000 }
7001 elfInfoWdgt::mouseDoubleClickEvent(arg__1);
7001 elfInfoWdgt::mouseDoubleClickEvent(arg__1);
7002 }
7002 }
7003 void PythonQtShell_elfInfoWdgt::mouseMoveEvent(QMouseEvent* arg__1)
7003 void PythonQtShell_elfInfoWdgt::mouseMoveEvent(QMouseEvent* arg__1)
7004 {
7004 {
7005 if (_wrapper) {
7005 if (_wrapper) {
7006 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mouseMoveEvent");
7006 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mouseMoveEvent");
7007 PyErr_Clear();
7007 PyErr_Clear();
7008 if (obj && !PythonQtSlotFunction_Check(obj)) {
7008 if (obj && !PythonQtSlotFunction_Check(obj)) {
7009 static const char* argumentList[] ={"" , "QMouseEvent*"};
7009 static const char* argumentList[] ={"" , "QMouseEvent*"};
7010 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
7010 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
7011 void* args[2] = {NULL, (void*)&arg__1};
7011 void* args[2] = {NULL, (void*)&arg__1};
7012 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
7012 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
7013 if (result) { Py_DECREF(result); }
7013 if (result) { Py_DECREF(result); }
7014 Py_DECREF(obj);
7014 Py_DECREF(obj);
7015 return;
7015 return;
7016 }
7016 }
7017 }
7017 }
7018 elfInfoWdgt::mouseMoveEvent(arg__1);
7018 elfInfoWdgt::mouseMoveEvent(arg__1);
7019 }
7019 }
7020 void PythonQtShell_elfInfoWdgt::mousePressEvent(QMouseEvent* arg__1)
7020 void PythonQtShell_elfInfoWdgt::mousePressEvent(QMouseEvent* arg__1)
7021 {
7021 {
7022 if (_wrapper) {
7022 if (_wrapper) {
7023 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mousePressEvent");
7023 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mousePressEvent");
7024 PyErr_Clear();
7024 PyErr_Clear();
7025 if (obj && !PythonQtSlotFunction_Check(obj)) {
7025 if (obj && !PythonQtSlotFunction_Check(obj)) {
7026 static const char* argumentList[] ={"" , "QMouseEvent*"};
7026 static const char* argumentList[] ={"" , "QMouseEvent*"};
7027 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
7027 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
7028 void* args[2] = {NULL, (void*)&arg__1};
7028 void* args[2] = {NULL, (void*)&arg__1};
7029 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
7029 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
7030 if (result) { Py_DECREF(result); }
7030 if (result) { Py_DECREF(result); }
7031 Py_DECREF(obj);
7031 Py_DECREF(obj);
7032 return;
7032 return;
7033 }
7033 }
7034 }
7034 }
7035 elfInfoWdgt::mousePressEvent(arg__1);
7035 elfInfoWdgt::mousePressEvent(arg__1);
7036 }
7036 }
7037 void PythonQtShell_elfInfoWdgt::mouseReleaseEvent(QMouseEvent* arg__1)
7037 void PythonQtShell_elfInfoWdgt::mouseReleaseEvent(QMouseEvent* arg__1)
7038 {
7038 {
7039 if (_wrapper) {
7039 if (_wrapper) {
7040 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mouseReleaseEvent");
7040 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mouseReleaseEvent");
7041 PyErr_Clear();
7041 PyErr_Clear();
7042 if (obj && !PythonQtSlotFunction_Check(obj)) {
7042 if (obj && !PythonQtSlotFunction_Check(obj)) {
7043 static const char* argumentList[] ={"" , "QMouseEvent*"};
7043 static const char* argumentList[] ={"" , "QMouseEvent*"};
7044 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
7044 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
7045 void* args[2] = {NULL, (void*)&arg__1};
7045 void* args[2] = {NULL, (void*)&arg__1};
7046 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
7046 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
7047 if (result) { Py_DECREF(result); }
7047 if (result) { Py_DECREF(result); }
7048 Py_DECREF(obj);
7048 Py_DECREF(obj);
7049 return;
7049 return;
7050 }
7050 }
7051 }
7051 }
7052 elfInfoWdgt::mouseReleaseEvent(arg__1);
7052 elfInfoWdgt::mouseReleaseEvent(arg__1);
7053 }
7053 }
7054 void PythonQtShell_elfInfoWdgt::moveEvent(QMoveEvent* arg__1)
7054 void PythonQtShell_elfInfoWdgt::moveEvent(QMoveEvent* arg__1)
7055 {
7055 {
7056 if (_wrapper) {
7056 if (_wrapper) {
7057 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "moveEvent");
7057 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "moveEvent");
7058 PyErr_Clear();
7058 PyErr_Clear();
7059 if (obj && !PythonQtSlotFunction_Check(obj)) {
7059 if (obj && !PythonQtSlotFunction_Check(obj)) {
7060 static const char* argumentList[] ={"" , "QMoveEvent*"};
7060 static const char* argumentList[] ={"" , "QMoveEvent*"};
7061 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
7061 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
7062 void* args[2] = {NULL, (void*)&arg__1};
7062 void* args[2] = {NULL, (void*)&arg__1};
7063 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
7063 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
7064 if (result) { Py_DECREF(result); }
7064 if (result) { Py_DECREF(result); }
7065 Py_DECREF(obj);
7065 Py_DECREF(obj);
7066 return;
7066 return;
7067 }
7067 }
7068 }
7068 }
7069 elfInfoWdgt::moveEvent(arg__1);
7069 elfInfoWdgt::moveEvent(arg__1);
7070 }
7070 }
7071 bool PythonQtShell_elfInfoWdgt::nativeEvent(const QByteArray& eventType, void* message, long* result)
7071 bool PythonQtShell_elfInfoWdgt::nativeEvent(const QByteArray& eventType, void* message, long* result)
7072 {
7072 {
7073 if (_wrapper) {
7073 if (_wrapper) {
7074 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "nativeEvent");
7074 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "nativeEvent");
7075 PyErr_Clear();
7075 PyErr_Clear();
7076 if (obj && !PythonQtSlotFunction_Check(obj)) {
7076 if (obj && !PythonQtSlotFunction_Check(obj)) {
7077 static const char* argumentList[] ={"bool" , "const QByteArray&" , "void*" , "long*"};
7077 static const char* argumentList[] ={"bool" , "const QByteArray&" , "void*" , "long*"};
7078 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList);
7078 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList);
7079 bool returnValue;
7079 bool returnValue;
7080 void* args[4] = {NULL, (void*)&eventType, (void*)&message, (void*)&result};
7080 void* args[4] = {NULL, (void*)&eventType, (void*)&message, (void*)&result};
7081 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
7081 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
7082 if (result) {
7082 if (result) {
7083 args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue);
7083 args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue);
7084 if (args[0]!=&returnValue) {
7084 if (args[0]!=&returnValue) {
7085 if (args[0]==NULL) {
7085 if (args[0]==NULL) {
7086 PythonQt::priv()->handleVirtualOverloadReturnError("nativeEvent", methodInfo, result);
7086 PythonQt::priv()->handleVirtualOverloadReturnError("nativeEvent", methodInfo, result);
7087 } else {
7087 } else {
7088 returnValue = *((bool*)args[0]);
7088 returnValue = *((bool*)args[0]);
7089 }
7089 }
7090 }
7090 }
7091 }
7091 }
7092 if (result) { Py_DECREF(result); }
7092 if (result) { Py_DECREF(result); }
7093 Py_DECREF(obj);
7093 Py_DECREF(obj);
7094 return returnValue;
7094 return returnValue;
7095 }
7095 }
7096 }
7096 }
7097 return elfInfoWdgt::nativeEvent(eventType, message, result);
7097 return elfInfoWdgt::nativeEvent(eventType, message, result);
7098 }
7098 }
7099 QPaintEngine* PythonQtShell_elfInfoWdgt::paintEngine() const
7099 QPaintEngine* PythonQtShell_elfInfoWdgt::paintEngine() const
7100 {
7100 {
7101 if (_wrapper) {
7101 if (_wrapper) {
7102 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "paintEngine");
7102 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "paintEngine");
7103 PyErr_Clear();
7103 PyErr_Clear();
7104 if (obj && !PythonQtSlotFunction_Check(obj)) {
7104 if (obj && !PythonQtSlotFunction_Check(obj)) {
7105 static const char* argumentList[] ={"QPaintEngine*"};
7105 static const char* argumentList[] ={"QPaintEngine*"};
7106 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList);
7106 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList);
7107 QPaintEngine* returnValue;
7107 QPaintEngine* returnValue;
7108 void* args[1] = {NULL};
7108 void* args[1] = {NULL};
7109 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
7109 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
7110 if (result) {
7110 if (result) {
7111 args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue);
7111 args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue);
7112 if (args[0]!=&returnValue) {
7112 if (args[0]!=&returnValue) {
7113 if (args[0]==NULL) {
7113 if (args[0]==NULL) {
7114 PythonQt::priv()->handleVirtualOverloadReturnError("paintEngine", methodInfo, result);
7114 PythonQt::priv()->handleVirtualOverloadReturnError("paintEngine", methodInfo, result);
7115 } else {
7115 } else {
7116 returnValue = *((QPaintEngine**)args[0]);
7116 returnValue = *((QPaintEngine**)args[0]);
7117 }
7117 }
7118 }
7118 }
7119 }
7119 }
7120 if (result) { Py_DECREF(result); }
7120 if (result) { Py_DECREF(result); }
7121 Py_DECREF(obj);
7121 Py_DECREF(obj);
7122 return returnValue;
7122 return returnValue;
7123 }
7123 }
7124 }
7124 }
7125 return elfInfoWdgt::paintEngine();
7125 return elfInfoWdgt::paintEngine();
7126 }
7126 }
7127 void PythonQtShell_elfInfoWdgt::paintEvent(QPaintEvent* arg__1)
7127 void PythonQtShell_elfInfoWdgt::paintEvent(QPaintEvent* arg__1)
7128 {
7128 {
7129 if (_wrapper) {
7129 if (_wrapper) {
7130 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "paintEvent");
7130 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "paintEvent");
7131 PyErr_Clear();
7131 PyErr_Clear();
7132 if (obj && !PythonQtSlotFunction_Check(obj)) {
7132 if (obj && !PythonQtSlotFunction_Check(obj)) {
7133 static const char* argumentList[] ={"" , "QPaintEvent*"};
7133 static const char* argumentList[] ={"" , "QPaintEvent*"};
7134 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
7134 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
7135 void* args[2] = {NULL, (void*)&arg__1};
7135 void* args[2] = {NULL, (void*)&arg__1};
7136 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
7136 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
7137 if (result) { Py_DECREF(result); }
7137 if (result) { Py_DECREF(result); }
7138 Py_DECREF(obj);
7138 Py_DECREF(obj);
7139 return;
7139 return;
7140 }
7140 }
7141 }
7141 }
7142 elfInfoWdgt::paintEvent(arg__1);
7142 elfInfoWdgt::paintEvent(arg__1);
7143 }
7143 }
7144 QPaintDevice* PythonQtShell_elfInfoWdgt::redirected(QPoint* offset) const
7144 QPaintDevice* PythonQtShell_elfInfoWdgt::redirected(QPoint* offset) const
7145 {
7145 {
7146 if (_wrapper) {
7146 if (_wrapper) {
7147 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "redirected");
7147 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "redirected");
7148 PyErr_Clear();
7148 PyErr_Clear();
7149 if (obj && !PythonQtSlotFunction_Check(obj)) {
7149 if (obj && !PythonQtSlotFunction_Check(obj)) {
7150 static const char* argumentList[] ={"QPaintDevice*" , "QPoint*"};
7150 static const char* argumentList[] ={"QPaintDevice*" , "QPoint*"};
7151 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
7151 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
7152 QPaintDevice* returnValue;
7152 QPaintDevice* returnValue;
7153 void* args[2] = {NULL, (void*)&offset};
7153 void* args[2] = {NULL, (void*)&offset};
7154 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
7154 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
7155 if (result) {
7155 if (result) {
7156 args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue);
7156 args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue);
7157 if (args[0]!=&returnValue) {
7157 if (args[0]!=&returnValue) {
7158 if (args[0]==NULL) {
7158 if (args[0]==NULL) {
7159 PythonQt::priv()->handleVirtualOverloadReturnError("redirected", methodInfo, result);
7159 PythonQt::priv()->handleVirtualOverloadReturnError("redirected", methodInfo, result);
7160 } else {
7160 } else {
7161 returnValue = *((QPaintDevice**)args[0]);
7161 returnValue = *((QPaintDevice**)args[0]);
7162 }
7162 }
7163 }
7163 }
7164 }
7164 }
7165 if (result) { Py_DECREF(result); }
7165 if (result) { Py_DECREF(result); }
7166 Py_DECREF(obj);
7166 Py_DECREF(obj);
7167 return returnValue;
7167 return returnValue;
7168 }
7168 }
7169 }
7169 }
7170 return elfInfoWdgt::redirected(offset);
7170 return elfInfoWdgt::redirected(offset);
7171 }
7171 }
7172 void PythonQtShell_elfInfoWdgt::resizeEvent(QResizeEvent* arg__1)
7172 void PythonQtShell_elfInfoWdgt::resizeEvent(QResizeEvent* arg__1)
7173 {
7173 {
7174 if (_wrapper) {
7174 if (_wrapper) {
7175 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "resizeEvent");
7175 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "resizeEvent");
7176 PyErr_Clear();
7176 PyErr_Clear();
7177 if (obj && !PythonQtSlotFunction_Check(obj)) {
7177 if (obj && !PythonQtSlotFunction_Check(obj)) {
7178 static const char* argumentList[] ={"" , "QResizeEvent*"};
7178 static const char* argumentList[] ={"" , "QResizeEvent*"};
7179 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
7179 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
7180 void* args[2] = {NULL, (void*)&arg__1};
7180 void* args[2] = {NULL, (void*)&arg__1};
7181 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
7181 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
7182 if (result) { Py_DECREF(result); }
7182 if (result) { Py_DECREF(result); }
7183 Py_DECREF(obj);
7183 Py_DECREF(obj);
7184 return;
7184 return;
7185 }
7185 }
7186 }
7186 }
7187 elfInfoWdgt::resizeEvent(arg__1);
7187 elfInfoWdgt::resizeEvent(arg__1);
7188 }
7188 }
7189 QPainter* PythonQtShell_elfInfoWdgt::sharedPainter() const
7189 QPainter* PythonQtShell_elfInfoWdgt::sharedPainter() const
7190 {
7190 {
7191 if (_wrapper) {
7191 if (_wrapper) {
7192 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "sharedPainter");
7192 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "sharedPainter");
7193 PyErr_Clear();
7193 PyErr_Clear();
7194 if (obj && !PythonQtSlotFunction_Check(obj)) {
7194 if (obj && !PythonQtSlotFunction_Check(obj)) {
7195 static const char* argumentList[] ={"QPainter*"};
7195 static const char* argumentList[] ={"QPainter*"};
7196 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList);
7196 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList);
7197 QPainter* returnValue;
7197 QPainter* returnValue;
7198 void* args[1] = {NULL};
7198 void* args[1] = {NULL};
7199 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
7199 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
7200 if (result) {
7200 if (result) {
7201 args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue);
7201 args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue);
7202 if (args[0]!=&returnValue) {
7202 if (args[0]!=&returnValue) {
7203 if (args[0]==NULL) {
7203 if (args[0]==NULL) {
7204 PythonQt::priv()->handleVirtualOverloadReturnError("sharedPainter", methodInfo, result);
7204 PythonQt::priv()->handleVirtualOverloadReturnError("sharedPainter", methodInfo, result);
7205 } else {
7205 } else {
7206 returnValue = *((QPainter**)args[0]);
7206 returnValue = *((QPainter**)args[0]);
7207 }
7207 }
7208 }
7208 }
7209 }
7209 }
7210 if (result) { Py_DECREF(result); }
7210 if (result) { Py_DECREF(result); }
7211 Py_DECREF(obj);
7211 Py_DECREF(obj);
7212 return returnValue;
7212 return returnValue;
7213 }
7213 }
7214 }
7214 }
7215 return elfInfoWdgt::sharedPainter();
7215 return elfInfoWdgt::sharedPainter();
7216 }
7216 }
7217 void PythonQtShell_elfInfoWdgt::showEvent(QShowEvent* arg__1)
7217 void PythonQtShell_elfInfoWdgt::showEvent(QShowEvent* arg__1)
7218 {
7218 {
7219 if (_wrapper) {
7219 if (_wrapper) {
7220 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "showEvent");
7220 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "showEvent");
7221 PyErr_Clear();
7221 PyErr_Clear();
7222 if (obj && !PythonQtSlotFunction_Check(obj)) {
7222 if (obj && !PythonQtSlotFunction_Check(obj)) {
7223 static const char* argumentList[] ={"" , "QShowEvent*"};
7223 static const char* argumentList[] ={"" , "QShowEvent*"};
7224 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
7224 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
7225 void* args[2] = {NULL, (void*)&arg__1};
7225 void* args[2] = {NULL, (void*)&arg__1};
7226 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
7226 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
7227 if (result) { Py_DECREF(result); }
7227 if (result) { Py_DECREF(result); }
7228 Py_DECREF(obj);
7228 Py_DECREF(obj);
7229 return;
7229 return;
7230 }
7230 }
7231 }
7231 }
7232 elfInfoWdgt::showEvent(arg__1);
7232 elfInfoWdgt::showEvent(arg__1);
7233 }
7233 }
7234 QSize PythonQtShell_elfInfoWdgt::sizeHint() const
7234 QSize PythonQtShell_elfInfoWdgt::sizeHint() const
7235 {
7235 {
7236 if (_wrapper) {
7236 if (_wrapper) {
7237 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "getSizeHint");
7237 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "getSizeHint");
7238 PyErr_Clear();
7238 PyErr_Clear();
7239 if (obj && !PythonQtSlotFunction_Check(obj)) {
7239 if (obj && !PythonQtSlotFunction_Check(obj)) {
7240 static const char* argumentList[] ={"QSize"};
7240 static const char* argumentList[] ={"QSize"};
7241 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList);
7241 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList);
7242 QSize returnValue;
7242 QSize returnValue;
7243 void* args[1] = {NULL};
7243 void* args[1] = {NULL};
7244 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
7244 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
7245 if (result) {
7245 if (result) {
7246 args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue);
7246 args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue);
7247 if (args[0]!=&returnValue) {
7247 if (args[0]!=&returnValue) {
7248 if (args[0]==NULL) {
7248 if (args[0]==NULL) {
7249 PythonQt::priv()->handleVirtualOverloadReturnError("getSizeHint", methodInfo, result);
7249 PythonQt::priv()->handleVirtualOverloadReturnError("getSizeHint", methodInfo, result);
7250 } else {
7250 } else {
7251 returnValue = *((QSize*)args[0]);
7251 returnValue = *((QSize*)args[0]);
7252 }
7252 }
7253 }
7253 }
7254 }
7254 }
7255 if (result) { Py_DECREF(result); }
7255 if (result) { Py_DECREF(result); }
7256 Py_DECREF(obj);
7256 Py_DECREF(obj);
7257 return returnValue;
7257 return returnValue;
7258 }
7258 }
7259 }
7259 }
7260 return elfInfoWdgt::sizeHint();
7260 return elfInfoWdgt::sizeHint();
7261 }
7261 }
7262 void PythonQtShell_elfInfoWdgt::tabletEvent(QTabletEvent* arg__1)
7262 void PythonQtShell_elfInfoWdgt::tabletEvent(QTabletEvent* arg__1)
7263 {
7263 {
7264 if (_wrapper) {
7264 if (_wrapper) {
7265 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "tabletEvent");
7265 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "tabletEvent");
7266 PyErr_Clear();
7266 PyErr_Clear();
7267 if (obj && !PythonQtSlotFunction_Check(obj)) {
7267 if (obj && !PythonQtSlotFunction_Check(obj)) {
7268 static const char* argumentList[] ={"" , "QTabletEvent*"};
7268 static const char* argumentList[] ={"" , "QTabletEvent*"};
7269 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
7269 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
7270 void* args[2] = {NULL, (void*)&arg__1};
7270 void* args[2] = {NULL, (void*)&arg__1};
7271 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
7271 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
7272 if (result) { Py_DECREF(result); }
7272 if (result) { Py_DECREF(result); }
7273 Py_DECREF(obj);
7273 Py_DECREF(obj);
7274 return;
7274 return;
7275 }
7275 }
7276 }
7276 }
7277 elfInfoWdgt::tabletEvent(arg__1);
7277 elfInfoWdgt::tabletEvent(arg__1);
7278 }
7278 }
7279 void PythonQtShell_elfInfoWdgt::timerEvent(QTimerEvent* arg__1)
7279 void PythonQtShell_elfInfoWdgt::timerEvent(QTimerEvent* arg__1)
7280 {
7280 {
7281 if (_wrapper) {
7281 if (_wrapper) {
7282 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "timerEvent");
7282 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "timerEvent");
7283 PyErr_Clear();
7283 PyErr_Clear();
7284 if (obj && !PythonQtSlotFunction_Check(obj)) {
7284 if (obj && !PythonQtSlotFunction_Check(obj)) {
7285 static const char* argumentList[] ={"" , "QTimerEvent*"};
7285 static const char* argumentList[] ={"" , "QTimerEvent*"};
7286 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
7286 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
7287 void* args[2] = {NULL, (void*)&arg__1};
7287 void* args[2] = {NULL, (void*)&arg__1};
7288 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
7288 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
7289 if (result) { Py_DECREF(result); }
7289 if (result) { Py_DECREF(result); }
7290 Py_DECREF(obj);
7290 Py_DECREF(obj);
7291 return;
7291 return;
7292 }
7292 }
7293 }
7293 }
7294 elfInfoWdgt::timerEvent(arg__1);
7294 elfInfoWdgt::timerEvent(arg__1);
7295 }
7295 }
7296 void PythonQtShell_elfInfoWdgt::wheelEvent(QWheelEvent* arg__1)
7296 void PythonQtShell_elfInfoWdgt::wheelEvent(QWheelEvent* arg__1)
7297 {
7297 {
7298 if (_wrapper) {
7298 if (_wrapper) {
7299 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "wheelEvent");
7299 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "wheelEvent");
7300 PyErr_Clear();
7300 PyErr_Clear();
7301 if (obj && !PythonQtSlotFunction_Check(obj)) {
7301 if (obj && !PythonQtSlotFunction_Check(obj)) {
7302 static const char* argumentList[] ={"" , "QWheelEvent*"};
7302 static const char* argumentList[] ={"" , "QWheelEvent*"};
7303 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
7303 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
7304 void* args[2] = {NULL, (void*)&arg__1};
7304 void* args[2] = {NULL, (void*)&arg__1};
7305 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
7305 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
7306 if (result) { Py_DECREF(result); }
7306 if (result) { Py_DECREF(result); }
7307 Py_DECREF(obj);
7307 Py_DECREF(obj);
7308 return;
7308 return;
7309 }
7309 }
7310 }
7310 }
7311 elfInfoWdgt::wheelEvent(arg__1);
7311 elfInfoWdgt::wheelEvent(arg__1);
7312 }
7312 }
7313 elfInfoWdgt* PythonQtWrapper_elfInfoWdgt::new_elfInfoWdgt(QWidget* parent)
7313 elfInfoWdgt* PythonQtWrapper_elfInfoWdgt::new_elfInfoWdgt(QWidget* parent)
7314 {
7314 {
7315 return new PythonQtShell_elfInfoWdgt(parent); }
7315 return new PythonQtShell_elfInfoWdgt(parent); }
7316
7316
7317
7317
7318
7318
7319 elfparser* PythonQtWrapper_elfparser::new_elfparser()
7319 elfparser* PythonQtWrapper_elfparser::new_elfparser()
7320 {
7320 {
7321 return new elfparser(); }
7321 return new elfparser(); }
7322
7322
7323 int PythonQtWrapper_elfparser::closeFile(elfparser* theWrappedObject)
7323 int PythonQtWrapper_elfparser::closeFile(elfparser* theWrappedObject)
7324 {
7324 {
7325 return ( theWrappedObject->closeFile());
7325 return ( theWrappedObject->closeFile());
7326 }
7326 }
7327
7327
7328 QString PythonQtWrapper_elfparser::getABI(elfparser* theWrappedObject)
7328 QString PythonQtWrapper_elfparser::getABI(elfparser* theWrappedObject)
7329 {
7329 {
7330 return ( theWrappedObject->getABI());
7330 return ( theWrappedObject->getABI());
7331 }
7331 }
7332
7332
7333 QString PythonQtWrapper_elfparser::getArchitecture(elfparser* theWrappedObject)
7333 QString PythonQtWrapper_elfparser::getArchitecture(elfparser* theWrappedObject)
7334 {
7334 {
7335 return ( theWrappedObject->getArchitecture());
7335 return ( theWrappedObject->getArchitecture());
7336 }
7336 }
7337
7337
7338 QString PythonQtWrapper_elfparser::getClass(elfparser* theWrappedObject)
7338 QString PythonQtWrapper_elfparser::getClass(elfparser* theWrappedObject)
7339 {
7339 {
7340 return ( theWrappedObject->getClass());
7340 return ( theWrappedObject->getClass());
7341 }
7341 }
7342
7342
7343 QString PythonQtWrapper_elfparser::getEndianness(elfparser* theWrappedObject)
7343 QString PythonQtWrapper_elfparser::getEndianness(elfparser* theWrappedObject)
7344 {
7344 {
7345 return ( theWrappedObject->getEndianness());
7345 return ( theWrappedObject->getEndianness());
7346 }
7346 }
7347
7347
7348 qint64 PythonQtWrapper_elfparser::getEntryPointAddress(elfparser* theWrappedObject)
7348 qint64 PythonQtWrapper_elfparser::getEntryPointAddress(elfparser* theWrappedObject)
7349 {
7349 {
7350 return ( theWrappedObject->getEntryPointAddress());
7350 return ( theWrappedObject->getEntryPointAddress());
7351 }
7351 }
7352
7352
7353 bool PythonQtWrapper_elfparser::getSectionData(elfparser* theWrappedObject, int index, char** buffer)
7353 bool PythonQtWrapper_elfparser::getSectionData(elfparser* theWrappedObject, int index, char** buffer)
7354 {
7354 {
7355 return ( theWrappedObject->getSectionData(index, buffer));
7355 return ( theWrappedObject->getSectionData(index, buffer));
7356 }
7356 }
7357
7357
7358 qint64 PythonQtWrapper_elfparser::getSectionDatasz(elfparser* theWrappedObject, int index)
7358 qint64 PythonQtWrapper_elfparser::getSectionDatasz(elfparser* theWrappedObject, int index)
7359 {
7359 {
7360 return ( theWrappedObject->getSectionDatasz(index));
7360 return ( theWrappedObject->getSectionDatasz(index));
7361 }
7361 }
7362
7362
7363 qint64 PythonQtWrapper_elfparser::getSectionMemsz(elfparser* theWrappedObject, int index)
7363 qint64 PythonQtWrapper_elfparser::getSectionMemsz(elfparser* theWrappedObject, int index)
7364 {
7364 {
7365 return ( theWrappedObject->getSectionMemsz(index));
7365 return ( theWrappedObject->getSectionMemsz(index));
7366 }
7366 }
7367
7367
7368 QString PythonQtWrapper_elfparser::getSectionName(elfparser* theWrappedObject, int index)
7368 QString PythonQtWrapper_elfparser::getSectionName(elfparser* theWrappedObject, int index)
7369 {
7369 {
7370 return ( theWrappedObject->getSectionName(index));
7370 return ( theWrappedObject->getSectionName(index));
7371 }
7371 }
7372
7372
7373 qint64 PythonQtWrapper_elfparser::getSectionPaddr(elfparser* theWrappedObject, int index)
7373 qint64 PythonQtWrapper_elfparser::getSectionPaddr(elfparser* theWrappedObject, int index)
7374 {
7374 {
7375 return ( theWrappedObject->getSectionPaddr(index));
7375 return ( theWrappedObject->getSectionPaddr(index));
7376 }
7376 }
7377
7377
7378 QString PythonQtWrapper_elfparser::getSectionType(elfparser* theWrappedObject, int index)
7378 QString PythonQtWrapper_elfparser::getSectionType(elfparser* theWrappedObject, int index)
7379 {
7379 {
7380 return ( theWrappedObject->getSectionType(index));
7380 return ( theWrappedObject->getSectionType(index));
7381 }
7381 }
7382
7382
7383 int PythonQtWrapper_elfparser::getSectioncount(elfparser* theWrappedObject)
7383 int PythonQtWrapper_elfparser::getSectioncount(elfparser* theWrappedObject)
7384 {
7384 {
7385 return ( theWrappedObject->getSectioncount());
7385 return ( theWrappedObject->getSectioncount());
7386 }
7386 }
7387
7387
7388 qint64 PythonQtWrapper_elfparser::getSegmentFilesz(elfparser* theWrappedObject, int index)
7388 qint64 PythonQtWrapper_elfparser::getSegmentFilesz(elfparser* theWrappedObject, int index)
7389 {
7389 {
7390 return ( theWrappedObject->getSegmentFilesz(index));
7390 return ( theWrappedObject->getSegmentFilesz(index));
7391 }
7391 }
7392
7392
7393 QString PythonQtWrapper_elfparser::getSegmentFlags(elfparser* theWrappedObject, int index)
7393 QString PythonQtWrapper_elfparser::getSegmentFlags(elfparser* theWrappedObject, int index)
7394 {
7394 {
7395 return ( theWrappedObject->getSegmentFlags(index));
7395 return ( theWrappedObject->getSegmentFlags(index));
7396 }
7396 }
7397
7397
7398 qint64 PythonQtWrapper_elfparser::getSegmentMemsz(elfparser* theWrappedObject, int index)
7398 qint64 PythonQtWrapper_elfparser::getSegmentMemsz(elfparser* theWrappedObject, int index)
7399 {
7399 {
7400 return ( theWrappedObject->getSegmentMemsz(index));
7400 return ( theWrappedObject->getSegmentMemsz(index));
7401 }
7401 }
7402
7402
7403 qint64 PythonQtWrapper_elfparser::getSegmentOffset(elfparser* theWrappedObject, int index)
7403 qint64 PythonQtWrapper_elfparser::getSegmentOffset(elfparser* theWrappedObject, int index)
7404 {
7404 {
7405 return ( theWrappedObject->getSegmentOffset(index));
7405 return ( theWrappedObject->getSegmentOffset(index));
7406 }
7406 }
7407
7407
7408 qint64 PythonQtWrapper_elfparser::getSegmentPaddr(elfparser* theWrappedObject, int index)
7408 qint64 PythonQtWrapper_elfparser::getSegmentPaddr(elfparser* theWrappedObject, int index)
7409 {
7409 {
7410 return ( theWrappedObject->getSegmentPaddr(index));
7410 return ( theWrappedObject->getSegmentPaddr(index));
7411 }
7411 }
7412
7412
7413 QString PythonQtWrapper_elfparser::getSegmentType(elfparser* theWrappedObject, int index)
7413 QString PythonQtWrapper_elfparser::getSegmentType(elfparser* theWrappedObject, int index)
7414 {
7414 {
7415 return ( theWrappedObject->getSegmentType(index));
7415 return ( theWrappedObject->getSegmentType(index));
7416 }
7416 }
7417
7417
7418 qint64 PythonQtWrapper_elfparser::getSegmentVaddr(elfparser* theWrappedObject, int index)
7418 qint64 PythonQtWrapper_elfparser::getSegmentVaddr(elfparser* theWrappedObject, int index)
7419 {
7419 {
7420 return ( theWrappedObject->getSegmentVaddr(index));
7420 return ( theWrappedObject->getSegmentVaddr(index));
7421 }
7421 }
7422
7422
7423 int PythonQtWrapper_elfparser::getSegmentcount(elfparser* theWrappedObject)
7423 int PythonQtWrapper_elfparser::getSegmentcount(elfparser* theWrappedObject)
7424 {
7424 {
7425 return ( theWrappedObject->getSegmentcount());
7425 return ( theWrappedObject->getSegmentcount());
7426 }
7426 }
7427
7427
7428 QString PythonQtWrapper_elfparser::getType(elfparser* theWrappedObject)
7428 QString PythonQtWrapper_elfparser::getType(elfparser* theWrappedObject)
7429 {
7429 {
7430 return ( theWrappedObject->getType());
7430 return ( theWrappedObject->getType());
7431 }
7431 }
7432
7432
7433 qint64 PythonQtWrapper_elfparser::getVersion(elfparser* theWrappedObject)
7433 qint64 PythonQtWrapper_elfparser::getVersion(elfparser* theWrappedObject)
7434 {
7434 {
7435 return ( theWrappedObject->getVersion());
7435 return ( theWrappedObject->getVersion());
7436 }
7436 }
7437
7437
7438 bool PythonQtWrapper_elfparser::static_elfparser_isElf(const QString& File)
7438 bool PythonQtWrapper_elfparser::static_elfparser_isElf(const QString& File)
7439 {
7439 {
7440 return (elfparser::isElf(File));
7440 return (elfparser::isElf(File));
7441 }
7441 }
7442
7442
7443 bool PythonQtWrapper_elfparser::iself(elfparser* theWrappedObject)
7443 bool PythonQtWrapper_elfparser::iself(elfparser* theWrappedObject)
7444 {
7444 {
7445 return ( theWrappedObject->iself());
7445 return ( theWrappedObject->iself());
7446 }
7446 }
7447
7447
7448 bool PythonQtWrapper_elfparser::isopened(elfparser* theWrappedObject)
7448 bool PythonQtWrapper_elfparser::isopened(elfparser* theWrappedObject)
7449 {
7449 {
7450 return ( theWrappedObject->isopened());
7450 return ( theWrappedObject->isopened());
7451 }
7451 }
7452
7452
7453 int PythonQtWrapper_elfparser::setFilename(elfparser* theWrappedObject, const QString& name)
7453 int PythonQtWrapper_elfparser::setFilename(elfparser* theWrappedObject, const QString& name)
7454 {
7454 {
7455 return ( theWrappedObject->setFilename(name));
7455 return ( theWrappedObject->setFilename(name));
7456 }
7456 }
7457
7457
7458
7458
7459
7459
7460 PythonQtShell_srecFile::~PythonQtShell_srecFile() {
7460 PythonQtShell_srecFile::~PythonQtShell_srecFile() {
7461 PythonQtPrivate* priv = PythonQt::priv();
7461 PythonQtPrivate* priv = PythonQt::priv();
7462 if (priv) { priv->shellClassDeleted(this); }
7462 if (priv) { priv->shellClassDeleted(this); }
7463 }
7463 }
7464 int PythonQtShell_srecFile::closeFile()
7464 int PythonQtShell_srecFile::closeFile()
7465 {
7465 {
7466 if (_wrapper) {
7466 if (_wrapper) {
7467 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "closeFile");
7467 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "closeFile");
7468 PyErr_Clear();
7468 PyErr_Clear();
7469 if (obj && !PythonQtSlotFunction_Check(obj)) {
7469 if (obj && !PythonQtSlotFunction_Check(obj)) {
7470 static const char* argumentList[] ={"int"};
7470 static const char* argumentList[] ={"int"};
7471 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList);
7471 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList);
7472 int returnValue;
7472 int returnValue;
7473 void* args[1] = {NULL};
7473 void* args[1] = {NULL};
7474 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
7474 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
7475 if (result) {
7475 if (result) {
7476 args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue);
7476 args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue);
7477 if (args[0]!=&returnValue) {
7477 if (args[0]!=&returnValue) {
7478 if (args[0]==NULL) {
7478 if (args[0]==NULL) {
7479 PythonQt::priv()->handleVirtualOverloadReturnError("closeFile", methodInfo, result);
7479 PythonQt::priv()->handleVirtualOverloadReturnError("closeFile", methodInfo, result);
7480 } else {
7480 } else {
7481 returnValue = *((int*)args[0]);
7481 returnValue = *((int*)args[0]);
7482 }
7482 }
7483 }
7483 }
7484 }
7484 }
7485 if (result) { Py_DECREF(result); }
7485 if (result) { Py_DECREF(result); }
7486 Py_DECREF(obj);
7486 Py_DECREF(obj);
7487 return returnValue;
7487 return returnValue;
7488 }
7488 }
7489 }
7489 }
7490 return srecFile::closeFile();
7490 return srecFile::closeFile();
7491 }
7491 }
7492 QList<codeFragment* > PythonQtShell_srecFile::getFragments()
7492 QList<codeFragment* > PythonQtShell_srecFile::getFragments()
7493 {
7493 {
7494 if (_wrapper) {
7494 if (_wrapper) {
7495 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "getFragments");
7495 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "getFragments");
7496 PyErr_Clear();
7496 PyErr_Clear();
7497 if (obj && !PythonQtSlotFunction_Check(obj)) {
7497 if (obj && !PythonQtSlotFunction_Check(obj)) {
7498 static const char* argumentList[] ={"QList<codeFragment* >"};
7498 static const char* argumentList[] ={"QList<codeFragment* >"};
7499 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList);
7499 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList);
7500 QList<codeFragment* > returnValue;
7500 QList<codeFragment* > returnValue;
7501 void* args[1] = {NULL};
7501 void* args[1] = {NULL};
7502 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
7502 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
7503 if (result) {
7503 if (result) {
7504 args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue);
7504 args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue);
7505 if (args[0]!=&returnValue) {
7505 if (args[0]!=&returnValue) {
7506 if (args[0]==NULL) {
7506 if (args[0]==NULL) {
7507 PythonQt::priv()->handleVirtualOverloadReturnError("getFragments", methodInfo, result);
7507 PythonQt::priv()->handleVirtualOverloadReturnError("getFragments", methodInfo, result);
7508 } else {
7508 } else {
7509 returnValue = *((QList<codeFragment* >*)args[0]);
7509 returnValue = *((QList<codeFragment* >*)args[0]);
7510 }
7510 }
7511 }
7511 }
7512 }
7512 }
7513 if (result) { Py_DECREF(result); }
7513 if (result) { Py_DECREF(result); }
7514 Py_DECREF(obj);
7514 Py_DECREF(obj);
7515 return returnValue;
7515 return returnValue;
7516 }
7516 }
7517 }
7517 }
7518 return srecFile::getFragments();
7518 return srecFile::getFragments();
7519 }
7519 }
7520 bool PythonQtShell_srecFile::isopened()
7520 bool PythonQtShell_srecFile::isopened()
7521 {
7521 {
7522 if (_wrapper) {
7522 if (_wrapper) {
7523 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "isopened");
7523 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "isopened");
7524 PyErr_Clear();
7524 PyErr_Clear();
7525 if (obj && !PythonQtSlotFunction_Check(obj)) {
7525 if (obj && !PythonQtSlotFunction_Check(obj)) {
7526 static const char* argumentList[] ={"bool"};
7526 static const char* argumentList[] ={"bool"};
7527 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList);
7527 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList);
7528 bool returnValue;
7528 bool returnValue;
7529 void* args[1] = {NULL};
7529 void* args[1] = {NULL};
7530 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
7530 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
7531 if (result) {
7531 if (result) {
7532 args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue);
7532 args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue);
7533 if (args[0]!=&returnValue) {
7533 if (args[0]!=&returnValue) {
7534 if (args[0]==NULL) {
7534 if (args[0]==NULL) {
7535 PythonQt::priv()->handleVirtualOverloadReturnError("isopened", methodInfo, result);
7535 PythonQt::priv()->handleVirtualOverloadReturnError("isopened", methodInfo, result);
7536 } else {
7536 } else {
7537 returnValue = *((bool*)args[0]);
7537 returnValue = *((bool*)args[0]);
7538 }
7538 }
7539 }
7539 }
7540 }
7540 }
7541 if (result) { Py_DECREF(result); }
7541 if (result) { Py_DECREF(result); }
7542 Py_DECREF(obj);
7542 Py_DECREF(obj);
7543 return returnValue;
7543 return returnValue;
7544 }
7544 }
7545 }
7545 }
7546 return srecFile::isopened();
7546 return srecFile::isopened();
7547 }
7547 }
7548 bool PythonQtShell_srecFile::openFile(const QString& File)
7548 bool PythonQtShell_srecFile::openFile(const QString& File)
7549 {
7549 {
7550 if (_wrapper) {
7550 if (_wrapper) {
7551 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "openFile");
7551 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "openFile");
7552 PyErr_Clear();
7552 PyErr_Clear();
7553 if (obj && !PythonQtSlotFunction_Check(obj)) {
7553 if (obj && !PythonQtSlotFunction_Check(obj)) {
7554 static const char* argumentList[] ={"bool" , "const QString&"};
7554 static const char* argumentList[] ={"bool" , "const QString&"};
7555 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
7555 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
7556 bool returnValue;
7556 bool returnValue;
7557 void* args[2] = {NULL, (void*)&File};
7557 void* args[2] = {NULL, (void*)&File};
7558 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
7558 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
7559 if (result) {
7559 if (result) {
7560 args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue);
7560 args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue);
7561 if (args[0]!=&returnValue) {
7561 if (args[0]!=&returnValue) {
7562 if (args[0]==NULL) {
7562 if (args[0]==NULL) {
7563 PythonQt::priv()->handleVirtualOverloadReturnError("openFile", methodInfo, result);
7563 PythonQt::priv()->handleVirtualOverloadReturnError("openFile", methodInfo, result);
7564 } else {
7564 } else {
7565 returnValue = *((bool*)args[0]);
7565 returnValue = *((bool*)args[0]);
7566 }
7566 }
7567 }
7567 }
7568 }
7568 }
7569 if (result) { Py_DECREF(result); }
7569 if (result) { Py_DECREF(result); }
7570 Py_DECREF(obj);
7570 Py_DECREF(obj);
7571 return returnValue;
7571 return returnValue;
7572 }
7572 }
7573 }
7573 }
7574 return srecFile::openFile(File);
7574 return srecFile::openFile(File);
7575 }
7575 }
7576 bool PythonQtShell_srecFile::toBinary(const QString& File)
7576 bool PythonQtShell_srecFile::toBinary(const QString& File)
7577 {
7577 {
7578 if (_wrapper) {
7578 if (_wrapper) {
7579 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "toBinary");
7579 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "toBinary");
7580 PyErr_Clear();
7580 PyErr_Clear();
7581 if (obj && !PythonQtSlotFunction_Check(obj)) {
7581 if (obj && !PythonQtSlotFunction_Check(obj)) {
7582 static const char* argumentList[] ={"bool" , "const QString&"};
7582 static const char* argumentList[] ={"bool" , "const QString&"};
7583 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
7583 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
7584 bool returnValue;
7584 bool returnValue;
7585 void* args[2] = {NULL, (void*)&File};
7585 void* args[2] = {NULL, (void*)&File};
7586 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
7586 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
7587 if (result) {
7587 if (result) {
7588 args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue);
7588 args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue);
7589 if (args[0]!=&returnValue) {
7589 if (args[0]!=&returnValue) {
7590 if (args[0]==NULL) {
7590 if (args[0]==NULL) {
7591 PythonQt::priv()->handleVirtualOverloadReturnError("toBinary", methodInfo, result);
7591 PythonQt::priv()->handleVirtualOverloadReturnError("toBinary", methodInfo, result);
7592 } else {
7592 } else {
7593 returnValue = *((bool*)args[0]);
7593 returnValue = *((bool*)args[0]);
7594 }
7594 }
7595 }
7595 }
7596 }
7596 }
7597 if (result) { Py_DECREF(result); }
7597 if (result) { Py_DECREF(result); }
7598 Py_DECREF(obj);
7598 Py_DECREF(obj);
7599 return returnValue;
7599 return returnValue;
7600 }
7600 }
7601 }
7601 }
7602 return srecFile::toBinary(File);
7602 return srecFile::toBinary(File);
7603 }
7603 }
7604 bool PythonQtShell_srecFile::toSrec(const QString& File)
7604 bool PythonQtShell_srecFile::toSrec(const QString& File)
7605 {
7605 {
7606 if (_wrapper) {
7606 if (_wrapper) {
7607 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "toSrec");
7607 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "toSrec");
7608 PyErr_Clear();
7608 PyErr_Clear();
7609 if (obj && !PythonQtSlotFunction_Check(obj)) {
7609 if (obj && !PythonQtSlotFunction_Check(obj)) {
7610 static const char* argumentList[] ={"bool" , "const QString&"};
7610 static const char* argumentList[] ={"bool" , "const QString&"};
7611 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
7611 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
7612 bool returnValue;
7612 bool returnValue;
7613 void* args[2] = {NULL, (void*)&File};
7613 void* args[2] = {NULL, (void*)&File};
7614 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
7614 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
7615 if (result) {
7615 if (result) {
7616 args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue);
7616 args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue);
7617 if (args[0]!=&returnValue) {
7617 if (args[0]!=&returnValue) {
7618 if (args[0]==NULL) {
7618 if (args[0]==NULL) {
7619 PythonQt::priv()->handleVirtualOverloadReturnError("toSrec", methodInfo, result);
7619 PythonQt::priv()->handleVirtualOverloadReturnError("toSrec", methodInfo, result);
7620 } else {
7620 } else {
7621 returnValue = *((bool*)args[0]);
7621 returnValue = *((bool*)args[0]);
7622 }
7622 }
7623 }
7623 }
7624 }
7624 }
7625 if (result) { Py_DECREF(result); }
7625 if (result) { Py_DECREF(result); }
7626 Py_DECREF(obj);
7626 Py_DECREF(obj);
7627 return returnValue;
7627 return returnValue;
7628 }
7628 }
7629 }
7629 }
7630 return srecFile::toSrec(File);
7630 return srecFile::toSrec(File);
7631 }
7631 }
7632 srecFile* PythonQtWrapper_srecFile::new_srecFile()
7632 srecFile* PythonQtWrapper_srecFile::new_srecFile()
7633 {
7633 {
7634 return new PythonQtShell_srecFile(); }
7634 return new PythonQtShell_srecFile(); }
7635
7635
7636 srecFile* PythonQtWrapper_srecFile::new_srecFile(const QString& File)
7636 srecFile* PythonQtWrapper_srecFile::new_srecFile(const QString& File)
7637 {
7637 {
7638 return new PythonQtShell_srecFile(File); }
7638 return new PythonQtShell_srecFile(File); }
7639
7639
7640 srecFile* PythonQtWrapper_srecFile::new_srecFile(const QStringList& Files)
7640 srecFile* PythonQtWrapper_srecFile::new_srecFile(const QStringList& Files)
7641 {
7641 {
7642 return new PythonQtShell_srecFile(Files); }
7642 return new PythonQtShell_srecFile(Files); }
7643
7643
7644 int PythonQtWrapper_srecFile::closeFile(srecFile* theWrappedObject)
7644 int PythonQtWrapper_srecFile::closeFile(srecFile* theWrappedObject)
7645 {
7645 {
7646 return ( ((PythonQtPublicPromoter_srecFile*)theWrappedObject)->promoted_closeFile());
7646 return ( ((PythonQtPublicPromoter_srecFile*)theWrappedObject)->promoted_closeFile());
7647 }
7647 }
7648
7648
7649 codeFragment* PythonQtWrapper_srecFile::getFragment(srecFile* theWrappedObject, int index)
7649 codeFragment* PythonQtWrapper_srecFile::getFragment(srecFile* theWrappedObject, int index)
7650 {
7650 {
7651 return ( theWrappedObject->getFragment(index));
7651 return ( theWrappedObject->getFragment(index));
7652 }
7652 }
7653
7653
7654 int PythonQtWrapper_srecFile::getFragmentAddress(srecFile* theWrappedObject, int index)
7654 int PythonQtWrapper_srecFile::getFragmentAddress(srecFile* theWrappedObject, int index)
7655 {
7655 {
7656 return ( theWrappedObject->getFragmentAddress(index));
7656 return ( theWrappedObject->getFragmentAddress(index));
7657 }
7657 }
7658
7658
7659 bool PythonQtWrapper_srecFile::getFragmentData(srecFile* theWrappedObject, int index, char** buffer)
7659 bool PythonQtWrapper_srecFile::getFragmentData(srecFile* theWrappedObject, int index, char** buffer)
7660 {
7660 {
7661 return ( theWrappedObject->getFragmentData(index, buffer));
7661 return ( theWrappedObject->getFragmentData(index, buffer));
7662 }
7662 }
7663
7663
7664 QString PythonQtWrapper_srecFile::getFragmentHeader(srecFile* theWrappedObject, int index)
7664 QString PythonQtWrapper_srecFile::getFragmentHeader(srecFile* theWrappedObject, int index)
7665 {
7665 {
7666 return ( theWrappedObject->getFragmentHeader(index));
7666 return ( theWrappedObject->getFragmentHeader(index));
7667 }
7667 }
7668
7668
7669 int PythonQtWrapper_srecFile::getFragmentSize(srecFile* theWrappedObject, int index)
7669 int PythonQtWrapper_srecFile::getFragmentSize(srecFile* theWrappedObject, int index)
7670 {
7670 {
7671 return ( theWrappedObject->getFragmentSize(index));
7671 return ( theWrappedObject->getFragmentSize(index));
7672 }
7672 }
7673
7673
7674 QList<codeFragment* > PythonQtWrapper_srecFile::getFragments(srecFile* theWrappedObject)
7674 QList<codeFragment* > PythonQtWrapper_srecFile::getFragments(srecFile* theWrappedObject)
7675 {
7675 {
7676 return ( ((PythonQtPublicPromoter_srecFile*)theWrappedObject)->promoted_getFragments());
7676 return ( ((PythonQtPublicPromoter_srecFile*)theWrappedObject)->promoted_getFragments());
7677 }
7677 }
7678
7678
7679 int PythonQtWrapper_srecFile::getFragmentsCount(srecFile* theWrappedObject)
7679 int PythonQtWrapper_srecFile::getFragmentsCount(srecFile* theWrappedObject)
7680 {
7680 {
7681 return ( theWrappedObject->getFragmentsCount());
7681 return ( theWrappedObject->getFragmentsCount());
7682 }
7682 }
7683
7683
7684 bool PythonQtWrapper_srecFile::isSREC(srecFile* theWrappedObject)
7684 bool PythonQtWrapper_srecFile::isSREC(srecFile* theWrappedObject)
7685 {
7685 {
7686 return ( theWrappedObject->isSREC());
7686 return ( theWrappedObject->isSREC());
7687 }
7687 }
7688
7688
7689 bool PythonQtWrapper_srecFile::static_srecFile_isSREC(const QString& File)
7689 bool PythonQtWrapper_srecFile::static_srecFile_isSREC(const QString& File)
7690 {
7690 {
7691 return (srecFile::isSREC(File));
7691 return (srecFile::isSREC(File));
7692 }
7692 }
7693
7693
7694 bool PythonQtWrapper_srecFile::isopened(srecFile* theWrappedObject)
7694 bool PythonQtWrapper_srecFile::isopened(srecFile* theWrappedObject)
7695 {
7695 {
7696 return ( ((PythonQtPublicPromoter_srecFile*)theWrappedObject)->promoted_isopened());
7696 return ( ((PythonQtPublicPromoter_srecFile*)theWrappedObject)->promoted_isopened());
7697 }
7697 }
7698
7698
7699 int PythonQtWrapper_srecFile::lineCount(srecFile* theWrappedObject)
7699 int PythonQtWrapper_srecFile::lineCount(srecFile* theWrappedObject)
7700 {
7700 {
7701 return ( theWrappedObject->lineCount());
7701 return ( theWrappedObject->lineCount());
7702 }
7702 }
7703
7703
7704 bool PythonQtWrapper_srecFile::mergingRecords(srecFile* theWrappedObject)
7705 {
7706 return ( theWrappedObject->mergingRecords());
7707 }
7708
7704 bool PythonQtWrapper_srecFile::openFile(srecFile* theWrappedObject, const QString& File)
7709 bool PythonQtWrapper_srecFile::openFile(srecFile* theWrappedObject, const QString& File)
7705 {
7710 {
7706 return ( ((PythonQtPublicPromoter_srecFile*)theWrappedObject)->promoted_openFile(File));
7711 return ( ((PythonQtPublicPromoter_srecFile*)theWrappedObject)->promoted_openFile(File));
7707 }
7712 }
7708
7713
7709 bool PythonQtWrapper_srecFile::openFiles(srecFile* theWrappedObject, const QStringList& Files)
7714 bool PythonQtWrapper_srecFile::openFiles(srecFile* theWrappedObject, const QStringList& Files)
7710 {
7715 {
7711 return ( theWrappedObject->openFiles(Files));
7716 return ( theWrappedObject->openFiles(Files));
7712 }
7717 }
7713
7718
7719 void PythonQtWrapper_srecFile::setMergingRecords(srecFile* theWrappedObject, bool enabled)
7720 {
7721 ( theWrappedObject->setMergingRecords(enabled));
7722 }
7723
7714 bool PythonQtWrapper_srecFile::toBinary(srecFile* theWrappedObject, const QString& File)
7724 bool PythonQtWrapper_srecFile::toBinary(srecFile* theWrappedObject, const QString& File)
7715 {
7725 {
7716 return ( ((PythonQtPublicPromoter_srecFile*)theWrappedObject)->promoted_toBinary(File));
7726 return ( ((PythonQtPublicPromoter_srecFile*)theWrappedObject)->promoted_toBinary(File));
7717 }
7727 }
7718
7728
7719 bool PythonQtWrapper_srecFile::static_srecFile_toSrec(QList<codeFragment* > fragments, const QString& File)
7729 bool PythonQtWrapper_srecFile::static_srecFile_toSrec(QList<codeFragment* > fragments, const QString& File)
7720 {
7730 {
7721 return (srecFile::toSrec(fragments, File));
7731 return (srecFile::toSrec(fragments, File));
7722 }
7732 }
7723
7733
7724 bool PythonQtWrapper_srecFile::toSrec(srecFile* theWrappedObject, const QString& File)
7734 bool PythonQtWrapper_srecFile::toSrec(srecFile* theWrappedObject, const QString& File)
7725 {
7735 {
7726 return ( ((PythonQtPublicPromoter_srecFile*)theWrappedObject)->promoted_toSrec(File));
7736 return ( ((PythonQtPublicPromoter_srecFile*)theWrappedObject)->promoted_toSrec(File));
7727 }
7737 }
7728
7738
7729
7739
7730
7740
7731 PythonQtShell_srecFileWidget::~PythonQtShell_srecFileWidget() {
7741 PythonQtShell_srecFileWidget::~PythonQtShell_srecFileWidget() {
7732 PythonQtPrivate* priv = PythonQt::priv();
7742 PythonQtPrivate* priv = PythonQt::priv();
7733 if (priv) { priv->shellClassDeleted(this); }
7743 if (priv) { priv->shellClassDeleted(this); }
7734 }
7744 }
7735 void PythonQtShell_srecFileWidget::reloadFile()
7745 void PythonQtShell_srecFileWidget::reloadFile()
7736 {
7746 {
7737 if (_wrapper) {
7747 if (_wrapper) {
7738 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "reloadFile");
7748 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "reloadFile");
7739 PyErr_Clear();
7749 PyErr_Clear();
7740 if (obj && !PythonQtSlotFunction_Check(obj)) {
7750 if (obj && !PythonQtSlotFunction_Check(obj)) {
7741 static const char* argumentList[] ={""};
7751 static const char* argumentList[] ={""};
7742 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList);
7752 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList);
7743 void* args[1] = {NULL};
7753 void* args[1] = {NULL};
7744 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
7754 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
7745 if (result) { Py_DECREF(result); }
7755 if (result) { Py_DECREF(result); }
7746 Py_DECREF(obj);
7756 Py_DECREF(obj);
7747 return;
7757 return;
7748 }
7758 }
7749 }
7759 }
7750 srecFileWidget::reloadFile();
7760 srecFileWidget::reloadFile();
7751 }
7761 }
7752 void PythonQtShell_srecFileWidget::setFile(abstractBinFile* file)
7762 void PythonQtShell_srecFileWidget::setFile(abstractBinFile* file)
7753 {
7763 {
7754 if (_wrapper) {
7764 if (_wrapper) {
7755 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "setFile");
7765 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "setFile");
7756 PyErr_Clear();
7766 PyErr_Clear();
7757 if (obj && !PythonQtSlotFunction_Check(obj)) {
7767 if (obj && !PythonQtSlotFunction_Check(obj)) {
7758 static const char* argumentList[] ={"" , "abstractBinFile*"};
7768 static const char* argumentList[] ={"" , "abstractBinFile*"};
7759 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
7769 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
7760 void* args[2] = {NULL, (void*)&file};
7770 void* args[2] = {NULL, (void*)&file};
7761 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
7771 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
7762 if (result) { Py_DECREF(result); }
7772 if (result) { Py_DECREF(result); }
7763 Py_DECREF(obj);
7773 Py_DECREF(obj);
7764 return;
7774 return;
7765 }
7775 }
7766 }
7776 }
7767 srecFileWidget::setFile(file);
7777 srecFileWidget::setFile(file);
7768 }
7778 }
7769 srecFileWidget* PythonQtWrapper_srecFileWidget::new_srecFileWidget(QWidget* parent)
7779 srecFileWidget* PythonQtWrapper_srecFileWidget::new_srecFileWidget(QWidget* parent)
7770 {
7780 {
7771 return new PythonQtShell_srecFileWidget(parent); }
7781 return new PythonQtShell_srecFileWidget(parent); }
7772
7782
7773 void PythonQtWrapper_srecFileWidget::reloadFile(srecFileWidget* theWrappedObject)
7783 void PythonQtWrapper_srecFileWidget::reloadFile(srecFileWidget* theWrappedObject)
7774 {
7784 {
7775 ( ((PythonQtPublicPromoter_srecFileWidget*)theWrappedObject)->promoted_reloadFile());
7785 ( ((PythonQtPublicPromoter_srecFileWidget*)theWrappedObject)->promoted_reloadFile());
7776 }
7786 }
7777
7787
7778 void PythonQtWrapper_srecFileWidget::setFile(srecFileWidget* theWrappedObject, abstractBinFile* file)
7788 void PythonQtWrapper_srecFileWidget::setFile(srecFileWidget* theWrappedObject, abstractBinFile* file)
7779 {
7789 {
7780 ( ((PythonQtPublicPromoter_srecFileWidget*)theWrappedObject)->promoted_setFile(file));
7790 ( ((PythonQtPublicPromoter_srecFileWidget*)theWrappedObject)->promoted_setFile(file));
7781 }
7791 }
7782
7792
7783
7793
@@ -1,1019 +1,1021
1 #include <PythonQt.h>
1 #include <PythonQt.h>
2 #include <QIconEngine>
2 #include <QIconEngine>
3 #include <QObject>
3 #include <QObject>
4 #include <QSpinBox>
4 #include <QSpinBox>
5 #include <QVariant>
5 #include <QVariant>
6 #include <QWidget>
6 #include <QWidget>
7 #include <SocExplorerPlot.h>
7 #include <SocExplorerPlot.h>
8 #include <abstractbinfile.h>
8 #include <abstractbinfile.h>
9 #include <binaryfile.h>
9 #include <binaryfile.h>
10 #include <binaryfilewidget.h>
10 #include <binaryfilewidget.h>
11 #include <elffile.h>
11 #include <elffile.h>
12 #include <elffilewidget.h>
12 #include <elffilewidget.h>
13 #include <elfinfowdgt.h>
13 #include <elfinfowdgt.h>
14 #include <elfparser.h>
14 #include <elfparser.h>
15 #include <memsizewdgt.h>
15 #include <memsizewdgt.h>
16 #include <qaction.h>
16 #include <qaction.h>
17 #include <qbitmap.h>
17 #include <qbitmap.h>
18 #include <qbytearray.h>
18 #include <qbytearray.h>
19 #include <qcolor.h>
19 #include <qcolor.h>
20 #include <qcoreevent.h>
20 #include <qcoreevent.h>
21 #include <qcursor.h>
21 #include <qcursor.h>
22 #include <qevent.h>
22 #include <qevent.h>
23 #include <qfile.h>
23 #include <qfile.h>
24 #include <qfont.h>
24 #include <qfont.h>
25 #include <qgraphicseffect.h>
25 #include <qgraphicseffect.h>
26 #include <qgraphicsproxywidget.h>
26 #include <qgraphicsproxywidget.h>
27 #include <qhexedit.h>
27 #include <qhexedit.h>
28 #include <qhexspinbox.h>
28 #include <qhexspinbox.h>
29 #include <qkeysequence.h>
29 #include <qkeysequence.h>
30 #include <qlayout.h>
30 #include <qlayout.h>
31 #include <qlineedit.h>
31 #include <qlineedit.h>
32 #include <qlist.h>
32 #include <qlist.h>
33 #include <qlocale.h>
33 #include <qlocale.h>
34 #include <qmargins.h>
34 #include <qmargins.h>
35 #include <qobject.h>
35 #include <qobject.h>
36 #include <qpaintdevice.h>
36 #include <qpaintdevice.h>
37 #include <qpaintengine.h>
37 #include <qpaintengine.h>
38 #include <qpainter.h>
38 #include <qpainter.h>
39 #include <qpalette.h>
39 #include <qpalette.h>
40 #include <qpen.h>
40 #include <qpen.h>
41 #include <qpixmap.h>
41 #include <qpixmap.h>
42 #include <qpoint.h>
42 #include <qpoint.h>
43 #include <qrect.h>
43 #include <qrect.h>
44 #include <qregion.h>
44 #include <qregion.h>
45 #include <qscrollarea.h>
45 #include <qscrollarea.h>
46 #include <qscrollbar.h>
46 #include <qscrollbar.h>
47 #include <qsize.h>
47 #include <qsize.h>
48 #include <qsizepolicy.h>
48 #include <qsizepolicy.h>
49 #include <qspinbox.h>
49 #include <qspinbox.h>
50 #include <qstringlist.h>
50 #include <qstringlist.h>
51 #include <qstyle.h>
51 #include <qstyle.h>
52 #include <qstyleoption.h>
52 #include <qstyleoption.h>
53 #include <qwidget.h>
53 #include <qwidget.h>
54 #include <srecfile.h>
54 #include <srecfile.h>
55 #include <srecfilewidget.h>
55 #include <srecfilewidget.h>
56 #include <tcp_terminal_client.h>
56 #include <tcp_terminal_client.h>
57 #include <xbytearray.h>
57 #include <xbytearray.h>
58
58
59
59
60
60
61 class PythonQtShell_ElfFile : public ElfFile
61 class PythonQtShell_ElfFile : public ElfFile
62 {
62 {
63 public:
63 public:
64 PythonQtShell_ElfFile():ElfFile(),_wrapper(NULL) {};
64 PythonQtShell_ElfFile():ElfFile(),_wrapper(NULL) {};
65 PythonQtShell_ElfFile(const QString& File):ElfFile(File),_wrapper(NULL) {};
65 PythonQtShell_ElfFile(const QString& File):ElfFile(File),_wrapper(NULL) {};
66
66
67 ~PythonQtShell_ElfFile();
67 ~PythonQtShell_ElfFile();
68
68
69 virtual int closeFile();
69 virtual int closeFile();
70 virtual QList<codeFragment* > getFragments();
70 virtual QList<codeFragment* > getFragments();
71 virtual bool isopened();
71 virtual bool isopened();
72 virtual bool openFile(const QString& File);
72 virtual bool openFile(const QString& File);
73 virtual bool toBinary(const QString& File);
73 virtual bool toBinary(const QString& File);
74 virtual bool toSrec(const QString& File);
74 virtual bool toSrec(const QString& File);
75
75
76 PythonQtInstanceWrapper* _wrapper;
76 PythonQtInstanceWrapper* _wrapper;
77 };
77 };
78
78
79 class PythonQtPublicPromoter_ElfFile : public ElfFile
79 class PythonQtPublicPromoter_ElfFile : public ElfFile
80 { public:
80 { public:
81 inline int promoted_closeFile() { return ElfFile::closeFile(); }
81 inline int promoted_closeFile() { return ElfFile::closeFile(); }
82 inline QList<codeFragment* > promoted_getFragments() { return ElfFile::getFragments(); }
82 inline QList<codeFragment* > promoted_getFragments() { return ElfFile::getFragments(); }
83 inline bool promoted_isopened() { return ElfFile::isopened(); }
83 inline bool promoted_isopened() { return ElfFile::isopened(); }
84 inline bool promoted_openFile(const QString& File) { return ElfFile::openFile(File); }
84 inline bool promoted_openFile(const QString& File) { return ElfFile::openFile(File); }
85 inline bool promoted_toBinary(const QString& File) { return ElfFile::toBinary(File); }
85 inline bool promoted_toBinary(const QString& File) { return ElfFile::toBinary(File); }
86 inline bool promoted_toSrec(const QString& File) { return ElfFile::toSrec(File); }
86 inline bool promoted_toSrec(const QString& File) { return ElfFile::toSrec(File); }
87 };
87 };
88
88
89 class PythonQtWrapper_ElfFile : public QObject
89 class PythonQtWrapper_ElfFile : public QObject
90 { Q_OBJECT
90 { Q_OBJECT
91 public:
91 public:
92 public slots:
92 public slots:
93 ElfFile* new_ElfFile();
93 ElfFile* new_ElfFile();
94 ElfFile* new_ElfFile(const QString& File);
94 ElfFile* new_ElfFile(const QString& File);
95 void delete_ElfFile(ElfFile* obj) { delete obj; }
95 void delete_ElfFile(ElfFile* obj) { delete obj; }
96 int closeFile(ElfFile* theWrappedObject);
96 int closeFile(ElfFile* theWrappedObject);
97 QString getABI(ElfFile* theWrappedObject);
97 QString getABI(ElfFile* theWrappedObject);
98 QString getArchitecture(ElfFile* theWrappedObject);
98 QString getArchitecture(ElfFile* theWrappedObject);
99 QString getClass(ElfFile* theWrappedObject);
99 QString getClass(ElfFile* theWrappedObject);
100 QString getEndianness(ElfFile* theWrappedObject);
100 QString getEndianness(ElfFile* theWrappedObject);
101 qint64 getEntryPointAddress(ElfFile* theWrappedObject);
101 qint64 getEntryPointAddress(ElfFile* theWrappedObject);
102 QList<codeFragment* > getFragments(ElfFile* theWrappedObject);
102 QList<codeFragment* > getFragments(ElfFile* theWrappedObject);
103 QList<codeFragment* > getFragments(ElfFile* theWrappedObject, QStringList fragmentList);
103 QList<codeFragment* > getFragments(ElfFile* theWrappedObject, QStringList fragmentList);
104 int getSectionCount(ElfFile* theWrappedObject);
104 int getSectionCount(ElfFile* theWrappedObject);
105 bool getSectionData(ElfFile* theWrappedObject, int index, char** buffer);
105 bool getSectionData(ElfFile* theWrappedObject, int index, char** buffer);
106 qint64 getSectionDatasz(ElfFile* theWrappedObject, int index);
106 qint64 getSectionDatasz(ElfFile* theWrappedObject, int index);
107 int getSectionIndex(ElfFile* theWrappedObject, QString name);
107 int getSectionIndex(ElfFile* theWrappedObject, QString name);
108 qint64 getSectionMemsz(ElfFile* theWrappedObject, int index);
108 qint64 getSectionMemsz(ElfFile* theWrappedObject, int index);
109 QString getSectionName(ElfFile* theWrappedObject, int index);
109 QString getSectionName(ElfFile* theWrappedObject, int index);
110 qint64 getSectionPaddr(ElfFile* theWrappedObject, int index);
110 qint64 getSectionPaddr(ElfFile* theWrappedObject, int index);
111 QString getSectionType(ElfFile* theWrappedObject, int index);
111 QString getSectionType(ElfFile* theWrappedObject, int index);
112 int getSegmentCount(ElfFile* theWrappedObject);
112 int getSegmentCount(ElfFile* theWrappedObject);
113 qint64 getSegmentFilesz(ElfFile* theWrappedObject, int index);
113 qint64 getSegmentFilesz(ElfFile* theWrappedObject, int index);
114 QString getSegmentFlags(ElfFile* theWrappedObject, int index);
114 QString getSegmentFlags(ElfFile* theWrappedObject, int index);
115 qint64 getSegmentMemsz(ElfFile* theWrappedObject, int index);
115 qint64 getSegmentMemsz(ElfFile* theWrappedObject, int index);
116 qint64 getSegmentOffset(ElfFile* theWrappedObject, int index);
116 qint64 getSegmentOffset(ElfFile* theWrappedObject, int index);
117 qint64 getSegmentPaddr(ElfFile* theWrappedObject, int index);
117 qint64 getSegmentPaddr(ElfFile* theWrappedObject, int index);
118 QString getSegmentType(ElfFile* theWrappedObject, int index);
118 QString getSegmentType(ElfFile* theWrappedObject, int index);
119 qint64 getSegmentVaddr(ElfFile* theWrappedObject, int index);
119 qint64 getSegmentVaddr(ElfFile* theWrappedObject, int index);
120 quint64 getSymbolAddress(ElfFile* theWrappedObject, int index);
120 quint64 getSymbolAddress(ElfFile* theWrappedObject, int index);
121 int getSymbolCount(ElfFile* theWrappedObject);
121 int getSymbolCount(ElfFile* theWrappedObject);
122 QString getSymbolLinkType(ElfFile* theWrappedObject, int index);
122 QString getSymbolLinkType(ElfFile* theWrappedObject, int index);
123 QString getSymbolName(ElfFile* theWrappedObject, int index);
123 QString getSymbolName(ElfFile* theWrappedObject, int index);
124 int getSymbolSectionIndex(ElfFile* theWrappedObject, int index);
124 int getSymbolSectionIndex(ElfFile* theWrappedObject, int index);
125 QString getSymbolSectionName(ElfFile* theWrappedObject, int index);
125 QString getSymbolSectionName(ElfFile* theWrappedObject, int index);
126 quint64 getSymbolSize(ElfFile* theWrappedObject, int index);
126 quint64 getSymbolSize(ElfFile* theWrappedObject, int index);
127 QString getSymbolType(ElfFile* theWrappedObject, int index);
127 QString getSymbolType(ElfFile* theWrappedObject, int index);
128 QString getType(ElfFile* theWrappedObject);
128 QString getType(ElfFile* theWrappedObject);
129 qint64 getVersion(ElfFile* theWrappedObject);
129 qint64 getVersion(ElfFile* theWrappedObject);
130 bool static_ElfFile_isElf(const QString& File);
130 bool static_ElfFile_isElf(const QString& File);
131 bool iself(ElfFile* theWrappedObject);
131 bool iself(ElfFile* theWrappedObject);
132 bool isopened(ElfFile* theWrappedObject);
132 bool isopened(ElfFile* theWrappedObject);
133 bool openFile(ElfFile* theWrappedObject, const QString& File);
133 bool openFile(ElfFile* theWrappedObject, const QString& File);
134 bool sectionIsNobits(ElfFile* theWrappedObject, int index);
134 bool sectionIsNobits(ElfFile* theWrappedObject, int index);
135 bool toBinary(ElfFile* theWrappedObject, const QString& File);
135 bool toBinary(ElfFile* theWrappedObject, const QString& File);
136 bool toSrec(ElfFile* theWrappedObject, const QString& File);
136 bool toSrec(ElfFile* theWrappedObject, const QString& File);
137 };
137 };
138
138
139
139
140
140
141
141
142
142
143 class PythonQtShell_MemSizeWdgt : public MemSizeWdgt
143 class PythonQtShell_MemSizeWdgt : public MemSizeWdgt
144 {
144 {
145 public:
145 public:
146 PythonQtShell_MemSizeWdgt(QWidget* parent = 0):MemSizeWdgt(parent),_wrapper(NULL) {};
146 PythonQtShell_MemSizeWdgt(QWidget* parent = 0):MemSizeWdgt(parent),_wrapper(NULL) {};
147 PythonQtShell_MemSizeWdgt(int defaultSize, QWidget* parent = 0):MemSizeWdgt(defaultSize, parent),_wrapper(NULL) {};
147 PythonQtShell_MemSizeWdgt(int defaultSize, QWidget* parent = 0):MemSizeWdgt(defaultSize, parent),_wrapper(NULL) {};
148
148
149 ~PythonQtShell_MemSizeWdgt();
149 ~PythonQtShell_MemSizeWdgt();
150
150
151 virtual void actionEvent(QActionEvent* arg__1);
151 virtual void actionEvent(QActionEvent* arg__1);
152 virtual void changeEvent(QEvent* arg__1);
152 virtual void changeEvent(QEvent* arg__1);
153 virtual void childEvent(QChildEvent* arg__1);
153 virtual void childEvent(QChildEvent* arg__1);
154 virtual void closeEvent(QCloseEvent* arg__1);
154 virtual void closeEvent(QCloseEvent* arg__1);
155 virtual void contextMenuEvent(QContextMenuEvent* arg__1);
155 virtual void contextMenuEvent(QContextMenuEvent* arg__1);
156 virtual void customEvent(QEvent* arg__1);
156 virtual void customEvent(QEvent* arg__1);
157 virtual int devType() const;
157 virtual int devType() const;
158 virtual void dragEnterEvent(QDragEnterEvent* arg__1);
158 virtual void dragEnterEvent(QDragEnterEvent* arg__1);
159 virtual void dragLeaveEvent(QDragLeaveEvent* arg__1);
159 virtual void dragLeaveEvent(QDragLeaveEvent* arg__1);
160 virtual void dragMoveEvent(QDragMoveEvent* arg__1);
160 virtual void dragMoveEvent(QDragMoveEvent* arg__1);
161 virtual void dropEvent(QDropEvent* arg__1);
161 virtual void dropEvent(QDropEvent* arg__1);
162 virtual void enterEvent(QEvent* arg__1);
162 virtual void enterEvent(QEvent* arg__1);
163 virtual bool event(QEvent* arg__1);
163 virtual bool event(QEvent* arg__1);
164 virtual bool eventFilter(QObject* arg__1, QEvent* arg__2);
164 virtual bool eventFilter(QObject* arg__1, QEvent* arg__2);
165 virtual void focusInEvent(QFocusEvent* arg__1);
165 virtual void focusInEvent(QFocusEvent* arg__1);
166 virtual bool focusNextPrevChild(bool next);
166 virtual bool focusNextPrevChild(bool next);
167 virtual void focusOutEvent(QFocusEvent* arg__1);
167 virtual void focusOutEvent(QFocusEvent* arg__1);
168 virtual bool hasHeightForWidth() const;
168 virtual bool hasHeightForWidth() const;
169 virtual int heightForWidth(int arg__1) const;
169 virtual int heightForWidth(int arg__1) const;
170 virtual void hideEvent(QHideEvent* arg__1);
170 virtual void hideEvent(QHideEvent* arg__1);
171 virtual void initPainter(QPainter* painter) const;
171 virtual void initPainter(QPainter* painter) const;
172 virtual void inputMethodEvent(QInputMethodEvent* arg__1);
172 virtual void inputMethodEvent(QInputMethodEvent* arg__1);
173 virtual QVariant inputMethodQuery(Qt::InputMethodQuery arg__1) const;
173 virtual QVariant inputMethodQuery(Qt::InputMethodQuery arg__1) const;
174 virtual void keyPressEvent(QKeyEvent* arg__1);
174 virtual void keyPressEvent(QKeyEvent* arg__1);
175 virtual void keyReleaseEvent(QKeyEvent* arg__1);
175 virtual void keyReleaseEvent(QKeyEvent* arg__1);
176 virtual void leaveEvent(QEvent* arg__1);
176 virtual void leaveEvent(QEvent* arg__1);
177 virtual int metric(QPaintDevice::PaintDeviceMetric arg__1) const;
177 virtual int metric(QPaintDevice::PaintDeviceMetric arg__1) const;
178 virtual QSize minimumSizeHint() const;
178 virtual QSize minimumSizeHint() const;
179 virtual void mouseDoubleClickEvent(QMouseEvent* arg__1);
179 virtual void mouseDoubleClickEvent(QMouseEvent* arg__1);
180 virtual void mouseMoveEvent(QMouseEvent* arg__1);
180 virtual void mouseMoveEvent(QMouseEvent* arg__1);
181 virtual void mousePressEvent(QMouseEvent* arg__1);
181 virtual void mousePressEvent(QMouseEvent* arg__1);
182 virtual void mouseReleaseEvent(QMouseEvent* arg__1);
182 virtual void mouseReleaseEvent(QMouseEvent* arg__1);
183 virtual void moveEvent(QMoveEvent* arg__1);
183 virtual void moveEvent(QMoveEvent* arg__1);
184 virtual bool nativeEvent(const QByteArray& eventType, void* message, long* result);
184 virtual bool nativeEvent(const QByteArray& eventType, void* message, long* result);
185 virtual QPaintEngine* paintEngine() const;
185 virtual QPaintEngine* paintEngine() const;
186 virtual void paintEvent(QPaintEvent* arg__1);
186 virtual void paintEvent(QPaintEvent* arg__1);
187 virtual QPaintDevice* redirected(QPoint* offset) const;
187 virtual QPaintDevice* redirected(QPoint* offset) const;
188 virtual void resizeEvent(QResizeEvent* arg__1);
188 virtual void resizeEvent(QResizeEvent* arg__1);
189 virtual QPainter* sharedPainter() const;
189 virtual QPainter* sharedPainter() const;
190 virtual void showEvent(QShowEvent* arg__1);
190 virtual void showEvent(QShowEvent* arg__1);
191 virtual QSize sizeHint() const;
191 virtual QSize sizeHint() const;
192 virtual void tabletEvent(QTabletEvent* arg__1);
192 virtual void tabletEvent(QTabletEvent* arg__1);
193 virtual void timerEvent(QTimerEvent* arg__1);
193 virtual void timerEvent(QTimerEvent* arg__1);
194 virtual void wheelEvent(QWheelEvent* arg__1);
194 virtual void wheelEvent(QWheelEvent* arg__1);
195
195
196 PythonQtInstanceWrapper* _wrapper;
196 PythonQtInstanceWrapper* _wrapper;
197 };
197 };
198
198
199 class PythonQtWrapper_MemSizeWdgt : public QObject
199 class PythonQtWrapper_MemSizeWdgt : public QObject
200 { Q_OBJECT
200 { Q_OBJECT
201 public:
201 public:
202 public slots:
202 public slots:
203 MemSizeWdgt* new_MemSizeWdgt(QWidget* parent = 0);
203 MemSizeWdgt* new_MemSizeWdgt(QWidget* parent = 0);
204 MemSizeWdgt* new_MemSizeWdgt(int defaultSize, QWidget* parent = 0);
204 MemSizeWdgt* new_MemSizeWdgt(int defaultSize, QWidget* parent = 0);
205 void delete_MemSizeWdgt(MemSizeWdgt* obj) { delete obj; }
205 void delete_MemSizeWdgt(MemSizeWdgt* obj) { delete obj; }
206 int getsize(MemSizeWdgt* theWrappedObject);
206 int getsize(MemSizeWdgt* theWrappedObject);
207 void setMaximum(MemSizeWdgt* theWrappedObject, unsigned int max);
207 void setMaximum(MemSizeWdgt* theWrappedObject, unsigned int max);
208 void show(MemSizeWdgt* theWrappedObject);
208 void show(MemSizeWdgt* theWrappedObject);
209 void updateSizeValue(MemSizeWdgt* theWrappedObject);
209 void updateSizeValue(MemSizeWdgt* theWrappedObject);
210 };
210 };
211
211
212
212
213
213
214
214
215
215
216 class PythonQtShell_QHexEdit : public QHexEdit
216 class PythonQtShell_QHexEdit : public QHexEdit
217 {
217 {
218 public:
218 public:
219 PythonQtShell_QHexEdit(QWidget* parent = 0):QHexEdit(parent),_wrapper(NULL) {};
219 PythonQtShell_QHexEdit(QWidget* parent = 0):QHexEdit(parent),_wrapper(NULL) {};
220
220
221 ~PythonQtShell_QHexEdit();
221 ~PythonQtShell_QHexEdit();
222
222
223 virtual void actionEvent(QActionEvent* arg__1);
223 virtual void actionEvent(QActionEvent* arg__1);
224 virtual void changeEvent(QEvent* arg__1);
224 virtual void changeEvent(QEvent* arg__1);
225 virtual void childEvent(QChildEvent* arg__1);
225 virtual void childEvent(QChildEvent* arg__1);
226 virtual void closeEvent(QCloseEvent* arg__1);
226 virtual void closeEvent(QCloseEvent* arg__1);
227 virtual void contextMenuEvent(QContextMenuEvent* arg__1);
227 virtual void contextMenuEvent(QContextMenuEvent* arg__1);
228 virtual void customEvent(QEvent* arg__1);
228 virtual void customEvent(QEvent* arg__1);
229 virtual int devType() const;
229 virtual int devType() const;
230 virtual void dragEnterEvent(QDragEnterEvent* arg__1);
230 virtual void dragEnterEvent(QDragEnterEvent* arg__1);
231 virtual void dragLeaveEvent(QDragLeaveEvent* arg__1);
231 virtual void dragLeaveEvent(QDragLeaveEvent* arg__1);
232 virtual void dragMoveEvent(QDragMoveEvent* arg__1);
232 virtual void dragMoveEvent(QDragMoveEvent* arg__1);
233 virtual void dropEvent(QDropEvent* arg__1);
233 virtual void dropEvent(QDropEvent* arg__1);
234 virtual void enterEvent(QEvent* arg__1);
234 virtual void enterEvent(QEvent* arg__1);
235 virtual bool event(QEvent* arg__1);
235 virtual bool event(QEvent* arg__1);
236 virtual bool eventFilter(QObject* arg__1, QEvent* arg__2);
236 virtual bool eventFilter(QObject* arg__1, QEvent* arg__2);
237 virtual void focusInEvent(QFocusEvent* arg__1);
237 virtual void focusInEvent(QFocusEvent* arg__1);
238 virtual bool focusNextPrevChild(bool next);
238 virtual bool focusNextPrevChild(bool next);
239 virtual void focusOutEvent(QFocusEvent* arg__1);
239 virtual void focusOutEvent(QFocusEvent* arg__1);
240 virtual bool hasHeightForWidth() const;
240 virtual bool hasHeightForWidth() const;
241 virtual int heightForWidth(int arg__1) const;
241 virtual int heightForWidth(int arg__1) const;
242 virtual void hideEvent(QHideEvent* arg__1);
242 virtual void hideEvent(QHideEvent* arg__1);
243 virtual void initPainter(QPainter* painter) const;
243 virtual void initPainter(QPainter* painter) const;
244 virtual void inputMethodEvent(QInputMethodEvent* arg__1);
244 virtual void inputMethodEvent(QInputMethodEvent* arg__1);
245 virtual QVariant inputMethodQuery(Qt::InputMethodQuery arg__1) const;
245 virtual QVariant inputMethodQuery(Qt::InputMethodQuery arg__1) const;
246 virtual void keyPressEvent(QKeyEvent* arg__1);
246 virtual void keyPressEvent(QKeyEvent* arg__1);
247 virtual void keyReleaseEvent(QKeyEvent* arg__1);
247 virtual void keyReleaseEvent(QKeyEvent* arg__1);
248 virtual void leaveEvent(QEvent* arg__1);
248 virtual void leaveEvent(QEvent* arg__1);
249 virtual int metric(QPaintDevice::PaintDeviceMetric arg__1) const;
249 virtual int metric(QPaintDevice::PaintDeviceMetric arg__1) const;
250 virtual void mouseDoubleClickEvent(QMouseEvent* arg__1);
250 virtual void mouseDoubleClickEvent(QMouseEvent* arg__1);
251 virtual void mouseMoveEvent(QMouseEvent* arg__1);
251 virtual void mouseMoveEvent(QMouseEvent* arg__1);
252 virtual void mousePressEvent(QMouseEvent* arg__1);
252 virtual void mousePressEvent(QMouseEvent* arg__1);
253 virtual void mouseReleaseEvent(QMouseEvent* arg__1);
253 virtual void mouseReleaseEvent(QMouseEvent* arg__1);
254 virtual void moveEvent(QMoveEvent* arg__1);
254 virtual void moveEvent(QMoveEvent* arg__1);
255 virtual bool nativeEvent(const QByteArray& eventType, void* message, long* result);
255 virtual bool nativeEvent(const QByteArray& eventType, void* message, long* result);
256 virtual QPaintEngine* paintEngine() const;
256 virtual QPaintEngine* paintEngine() const;
257 virtual void paintEvent(QPaintEvent* arg__1);
257 virtual void paintEvent(QPaintEvent* arg__1);
258 virtual QPaintDevice* redirected(QPoint* offset) const;
258 virtual QPaintDevice* redirected(QPoint* offset) const;
259 virtual void resizeEvent(QResizeEvent* arg__1);
259 virtual void resizeEvent(QResizeEvent* arg__1);
260 virtual void scrollContentsBy(int dx, int dy);
260 virtual void scrollContentsBy(int dx, int dy);
261 virtual void setupViewport(QWidget* viewport);
261 virtual void setupViewport(QWidget* viewport);
262 virtual QPainter* sharedPainter() const;
262 virtual QPainter* sharedPainter() const;
263 virtual void showEvent(QShowEvent* arg__1);
263 virtual void showEvent(QShowEvent* arg__1);
264 virtual void tabletEvent(QTabletEvent* arg__1);
264 virtual void tabletEvent(QTabletEvent* arg__1);
265 virtual void timerEvent(QTimerEvent* arg__1);
265 virtual void timerEvent(QTimerEvent* arg__1);
266 virtual bool viewportEvent(QEvent* arg__1);
266 virtual bool viewportEvent(QEvent* arg__1);
267 virtual QSize viewportSizeHint() const;
267 virtual QSize viewportSizeHint() const;
268 virtual void wheelEvent(QWheelEvent* arg__1);
268 virtual void wheelEvent(QWheelEvent* arg__1);
269
269
270 PythonQtInstanceWrapper* _wrapper;
270 PythonQtInstanceWrapper* _wrapper;
271 };
271 };
272
272
273 class PythonQtWrapper_QHexEdit : public QObject
273 class PythonQtWrapper_QHexEdit : public QObject
274 { Q_OBJECT
274 { Q_OBJECT
275 public:
275 public:
276 public slots:
276 public slots:
277 QHexEdit* new_QHexEdit(QWidget* parent = 0);
277 QHexEdit* new_QHexEdit(QWidget* parent = 0);
278 void delete_QHexEdit(QHexEdit* obj) { delete obj; }
278 void delete_QHexEdit(QHexEdit* obj) { delete obj; }
279 QColor addressAreaColor(QHexEdit* theWrappedObject);
279 QColor addressAreaColor(QHexEdit* theWrappedObject);
280 int addressOffset(QHexEdit* theWrappedObject);
280 int addressOffset(QHexEdit* theWrappedObject);
281 int cursorPosition(QHexEdit* theWrappedObject);
281 int cursorPosition(QHexEdit* theWrappedObject);
282 QByteArray data(QHexEdit* theWrappedObject);
282 QByteArray data(QHexEdit* theWrappedObject);
283 const QFont* font(QHexEdit* theWrappedObject) const;
283 const QFont* font(QHexEdit* theWrappedObject) const;
284 int getSelectionBegin(QHexEdit* theWrappedObject);
284 int getSelectionBegin(QHexEdit* theWrappedObject);
285 int getSelectionEnd(QHexEdit* theWrappedObject);
285 int getSelectionEnd(QHexEdit* theWrappedObject);
286 QColor highlightingColor(QHexEdit* theWrappedObject);
286 QColor highlightingColor(QHexEdit* theWrappedObject);
287 int indexOf(QHexEdit* theWrappedObject, const QByteArray& ba, int from = 0) const;
287 int indexOf(QHexEdit* theWrappedObject, const QByteArray& ba, int from = 0) const;
288 void insert(QHexEdit* theWrappedObject, int i, char ch);
288 void insert(QHexEdit* theWrappedObject, int i, char ch);
289 void insert(QHexEdit* theWrappedObject, int i, const QByteArray& ba);
289 void insert(QHexEdit* theWrappedObject, int i, const QByteArray& ba);
290 bool isReadOnly(QHexEdit* theWrappedObject);
290 bool isReadOnly(QHexEdit* theWrappedObject);
291 int lastIndexOf(QHexEdit* theWrappedObject, const QByteArray& ba, int from = 0) const;
291 int lastIndexOf(QHexEdit* theWrappedObject, const QByteArray& ba, int from = 0) const;
292 bool overwriteMode(QHexEdit* theWrappedObject);
292 bool overwriteMode(QHexEdit* theWrappedObject);
293 void remove(QHexEdit* theWrappedObject, int pos, int len = 1);
293 void remove(QHexEdit* theWrappedObject, int pos, int len = 1);
294 void replace(QHexEdit* theWrappedObject, int pos, int len, const QByteArray& after);
294 void replace(QHexEdit* theWrappedObject, int pos, int len, const QByteArray& after);
295 void resetSelection(QHexEdit* theWrappedObject);
295 void resetSelection(QHexEdit* theWrappedObject);
296 void resetSelection(QHexEdit* theWrappedObject, int pos);
296 void resetSelection(QHexEdit* theWrappedObject, int pos);
297 QColor selectionColor(QHexEdit* theWrappedObject);
297 QColor selectionColor(QHexEdit* theWrappedObject);
298 QString selectionToReadableString(QHexEdit* theWrappedObject);
298 QString selectionToReadableString(QHexEdit* theWrappedObject);
299 void setAddressAreaColor(QHexEdit* theWrappedObject, const QColor& color);
299 void setAddressAreaColor(QHexEdit* theWrappedObject, const QColor& color);
300 void setAddressOffset(QHexEdit* theWrappedObject, int offset);
300 void setAddressOffset(QHexEdit* theWrappedObject, int offset);
301 void setCursorPosition(QHexEdit* theWrappedObject, int cusorPos);
301 void setCursorPosition(QHexEdit* theWrappedObject, int cusorPos);
302 void setData(QHexEdit* theWrappedObject, const QByteArray& data);
302 void setData(QHexEdit* theWrappedObject, const QByteArray& data);
303 void setFont(QHexEdit* theWrappedObject, const QFont& arg__1);
303 void setFont(QHexEdit* theWrappedObject, const QFont& arg__1);
304 void setHighlightingColor(QHexEdit* theWrappedObject, const QColor& color);
304 void setHighlightingColor(QHexEdit* theWrappedObject, const QColor& color);
305 void setOverwriteMode(QHexEdit* theWrappedObject, bool arg__1);
305 void setOverwriteMode(QHexEdit* theWrappedObject, bool arg__1);
306 void setReadOnly(QHexEdit* theWrappedObject, bool arg__1);
306 void setReadOnly(QHexEdit* theWrappedObject, bool arg__1);
307 void setSelection(QHexEdit* theWrappedObject, int pos);
307 void setSelection(QHexEdit* theWrappedObject, int pos);
308 void setSelectionColor(QHexEdit* theWrappedObject, const QColor& color);
308 void setSelectionColor(QHexEdit* theWrappedObject, const QColor& color);
309 QString toReadableString(QHexEdit* theWrappedObject);
309 QString toReadableString(QHexEdit* theWrappedObject);
310 };
310 };
311
311
312
312
313
313
314
314
315
315
316 class PythonQtShell_QHexSpinBox : public QHexSpinBox
316 class PythonQtShell_QHexSpinBox : public QHexSpinBox
317 {
317 {
318 public:
318 public:
319 PythonQtShell_QHexSpinBox(QWidget* parent = 0):QHexSpinBox(parent),_wrapper(NULL) {};
319 PythonQtShell_QHexSpinBox(QWidget* parent = 0):QHexSpinBox(parent),_wrapper(NULL) {};
320
320
321 ~PythonQtShell_QHexSpinBox();
321 ~PythonQtShell_QHexSpinBox();
322
322
323 virtual void actionEvent(QActionEvent* arg__1);
323 virtual void actionEvent(QActionEvent* arg__1);
324 virtual void changeEvent(QEvent* event);
324 virtual void changeEvent(QEvent* event);
325 virtual void childEvent(QChildEvent* arg__1);
325 virtual void childEvent(QChildEvent* arg__1);
326 virtual void clear();
326 virtual void clear();
327 virtual void closeEvent(QCloseEvent* event);
327 virtual void closeEvent(QCloseEvent* event);
328 virtual void contextMenuEvent(QContextMenuEvent* event);
328 virtual void contextMenuEvent(QContextMenuEvent* event);
329 virtual void customEvent(QEvent* arg__1);
329 virtual void customEvent(QEvent* arg__1);
330 virtual int devType() const;
330 virtual int devType() const;
331 virtual void dragEnterEvent(QDragEnterEvent* arg__1);
331 virtual void dragEnterEvent(QDragEnterEvent* arg__1);
332 virtual void dragLeaveEvent(QDragLeaveEvent* arg__1);
332 virtual void dragLeaveEvent(QDragLeaveEvent* arg__1);
333 virtual void dragMoveEvent(QDragMoveEvent* arg__1);
333 virtual void dragMoveEvent(QDragMoveEvent* arg__1);
334 virtual void dropEvent(QDropEvent* arg__1);
334 virtual void dropEvent(QDropEvent* arg__1);
335 virtual void enterEvent(QEvent* arg__1);
335 virtual void enterEvent(QEvent* arg__1);
336 virtual bool event(QEvent* event);
336 virtual bool event(QEvent* event);
337 virtual bool eventFilter(QObject* arg__1, QEvent* arg__2);
337 virtual bool eventFilter(QObject* arg__1, QEvent* arg__2);
338 virtual void fixup(QString& str) const;
338 virtual void fixup(QString& str) const;
339 virtual void focusInEvent(QFocusEvent* event);
339 virtual void focusInEvent(QFocusEvent* event);
340 virtual bool focusNextPrevChild(bool next);
340 virtual bool focusNextPrevChild(bool next);
341 virtual void focusOutEvent(QFocusEvent* event);
341 virtual void focusOutEvent(QFocusEvent* event);
342 virtual bool hasHeightForWidth() const;
342 virtual bool hasHeightForWidth() const;
343 virtual int heightForWidth(int arg__1) const;
343 virtual int heightForWidth(int arg__1) const;
344 virtual void hideEvent(QHideEvent* event);
344 virtual void hideEvent(QHideEvent* event);
345 virtual void initPainter(QPainter* painter) const;
345 virtual void initPainter(QPainter* painter) const;
346 virtual void inputMethodEvent(QInputMethodEvent* arg__1);
346 virtual void inputMethodEvent(QInputMethodEvent* arg__1);
347 virtual QVariant inputMethodQuery(Qt::InputMethodQuery arg__1) const;
347 virtual QVariant inputMethodQuery(Qt::InputMethodQuery arg__1) const;
348 virtual void keyPressEvent(QKeyEvent* event);
348 virtual void keyPressEvent(QKeyEvent* event);
349 virtual void keyReleaseEvent(QKeyEvent* event);
349 virtual void keyReleaseEvent(QKeyEvent* event);
350 virtual void leaveEvent(QEvent* arg__1);
350 virtual void leaveEvent(QEvent* arg__1);
351 virtual int metric(QPaintDevice::PaintDeviceMetric arg__1) const;
351 virtual int metric(QPaintDevice::PaintDeviceMetric arg__1) const;
352 virtual void mouseDoubleClickEvent(QMouseEvent* arg__1);
352 virtual void mouseDoubleClickEvent(QMouseEvent* arg__1);
353 virtual void mouseMoveEvent(QMouseEvent* event);
353 virtual void mouseMoveEvent(QMouseEvent* event);
354 virtual void mousePressEvent(QMouseEvent* event);
354 virtual void mousePressEvent(QMouseEvent* event);
355 virtual void mouseReleaseEvent(QMouseEvent* event);
355 virtual void mouseReleaseEvent(QMouseEvent* event);
356 virtual void moveEvent(QMoveEvent* arg__1);
356 virtual void moveEvent(QMoveEvent* arg__1);
357 virtual bool nativeEvent(const QByteArray& eventType, void* message, long* result);
357 virtual bool nativeEvent(const QByteArray& eventType, void* message, long* result);
358 virtual QPaintEngine* paintEngine() const;
358 virtual QPaintEngine* paintEngine() const;
359 virtual void paintEvent(QPaintEvent* event);
359 virtual void paintEvent(QPaintEvent* event);
360 virtual QPaintDevice* redirected(QPoint* offset) const;
360 virtual QPaintDevice* redirected(QPoint* offset) const;
361 virtual void resizeEvent(QResizeEvent* event);
361 virtual void resizeEvent(QResizeEvent* event);
362 virtual QPainter* sharedPainter() const;
362 virtual QPainter* sharedPainter() const;
363 virtual void showEvent(QShowEvent* event);
363 virtual void showEvent(QShowEvent* event);
364 virtual void stepBy(int steps);
364 virtual void stepBy(int steps);
365 virtual QAbstractSpinBox::StepEnabled stepEnabled() const;
365 virtual QAbstractSpinBox::StepEnabled stepEnabled() const;
366 virtual void tabletEvent(QTabletEvent* arg__1);
366 virtual void tabletEvent(QTabletEvent* arg__1);
367 virtual QString textFromValue(int value) const;
367 virtual QString textFromValue(int value) const;
368 virtual void timerEvent(QTimerEvent* event);
368 virtual void timerEvent(QTimerEvent* event);
369 virtual QValidator::State validate(QString& input, int& pos) const;
369 virtual QValidator::State validate(QString& input, int& pos) const;
370 virtual int valueFromText(const QString& text) const;
370 virtual int valueFromText(const QString& text) const;
371 virtual void wheelEvent(QWheelEvent* event);
371 virtual void wheelEvent(QWheelEvent* event);
372
372
373 PythonQtInstanceWrapper* _wrapper;
373 PythonQtInstanceWrapper* _wrapper;
374 };
374 };
375
375
376 class PythonQtPublicPromoter_QHexSpinBox : public QHexSpinBox
376 class PythonQtPublicPromoter_QHexSpinBox : public QHexSpinBox
377 { public:
377 { public:
378 inline QString promoted_textFromValue(int value) const { return QHexSpinBox::textFromValue(value); }
378 inline QString promoted_textFromValue(int value) const { return QHexSpinBox::textFromValue(value); }
379 inline QValidator::State promoted_validate(QString& input, int& pos) const { return QHexSpinBox::validate(input, pos); }
379 inline QValidator::State promoted_validate(QString& input, int& pos) const { return QHexSpinBox::validate(input, pos); }
380 inline int promoted_valueFromText(const QString& text) const { return QHexSpinBox::valueFromText(text); }
380 inline int promoted_valueFromText(const QString& text) const { return QHexSpinBox::valueFromText(text); }
381 };
381 };
382
382
383 class PythonQtWrapper_QHexSpinBox : public QObject
383 class PythonQtWrapper_QHexSpinBox : public QObject
384 { Q_OBJECT
384 { Q_OBJECT
385 public:
385 public:
386 public slots:
386 public slots:
387 QHexSpinBox* new_QHexSpinBox(QWidget* parent = 0);
387 QHexSpinBox* new_QHexSpinBox(QWidget* parent = 0);
388 void delete_QHexSpinBox(QHexSpinBox* obj) { delete obj; }
388 void delete_QHexSpinBox(QHexSpinBox* obj) { delete obj; }
389 void show(QHexSpinBox* theWrappedObject);
389 void show(QHexSpinBox* theWrappedObject);
390 QString textFromValue(QHexSpinBox* theWrappedObject, int value) const;
390 QString textFromValue(QHexSpinBox* theWrappedObject, int value) const;
391 QValidator::State validate(QHexSpinBox* theWrappedObject, QString& input, int& pos) const;
391 QValidator::State validate(QHexSpinBox* theWrappedObject, QString& input, int& pos) const;
392 int valueFromText(QHexSpinBox* theWrappedObject, const QString& text) const;
392 int valueFromText(QHexSpinBox* theWrappedObject, const QString& text) const;
393 };
393 };
394
394
395
395
396
396
397
397
398
398
399 class PythonQtShell_SocExplorerPlot : public SocExplorerPlot
399 class PythonQtShell_SocExplorerPlot : public SocExplorerPlot
400 {
400 {
401 public:
401 public:
402 PythonQtShell_SocExplorerPlot(QWidget* parent = 0):SocExplorerPlot(parent),_wrapper(NULL) {};
402 PythonQtShell_SocExplorerPlot(QWidget* parent = 0):SocExplorerPlot(parent),_wrapper(NULL) {};
403
403
404 ~PythonQtShell_SocExplorerPlot();
404 ~PythonQtShell_SocExplorerPlot();
405
405
406 virtual void actionEvent(QActionEvent* arg__1);
406 virtual void actionEvent(QActionEvent* arg__1);
407 virtual void changeEvent(QEvent* arg__1);
407 virtual void changeEvent(QEvent* arg__1);
408 virtual void childEvent(QChildEvent* arg__1);
408 virtual void childEvent(QChildEvent* arg__1);
409 virtual void closeEvent(QCloseEvent* arg__1);
409 virtual void closeEvent(QCloseEvent* arg__1);
410 virtual void contextMenuEvent(QContextMenuEvent* arg__1);
410 virtual void contextMenuEvent(QContextMenuEvent* arg__1);
411 virtual void customEvent(QEvent* arg__1);
411 virtual void customEvent(QEvent* arg__1);
412 virtual int devType() const;
412 virtual int devType() const;
413 virtual void dragEnterEvent(QDragEnterEvent* arg__1);
413 virtual void dragEnterEvent(QDragEnterEvent* arg__1);
414 virtual void dragLeaveEvent(QDragLeaveEvent* arg__1);
414 virtual void dragLeaveEvent(QDragLeaveEvent* arg__1);
415 virtual void dragMoveEvent(QDragMoveEvent* arg__1);
415 virtual void dragMoveEvent(QDragMoveEvent* arg__1);
416 virtual void dropEvent(QDropEvent* arg__1);
416 virtual void dropEvent(QDropEvent* arg__1);
417 virtual void enterEvent(QEvent* arg__1);
417 virtual void enterEvent(QEvent* arg__1);
418 virtual bool event(QEvent* arg__1);
418 virtual bool event(QEvent* arg__1);
419 virtual bool eventFilter(QObject* arg__1, QEvent* arg__2);
419 virtual bool eventFilter(QObject* arg__1, QEvent* arg__2);
420 virtual void focusInEvent(QFocusEvent* arg__1);
420 virtual void focusInEvent(QFocusEvent* arg__1);
421 virtual bool focusNextPrevChild(bool next);
421 virtual bool focusNextPrevChild(bool next);
422 virtual void focusOutEvent(QFocusEvent* arg__1);
422 virtual void focusOutEvent(QFocusEvent* arg__1);
423 virtual bool hasHeightForWidth() const;
423 virtual bool hasHeightForWidth() const;
424 virtual int heightForWidth(int arg__1) const;
424 virtual int heightForWidth(int arg__1) const;
425 virtual void hideEvent(QHideEvent* arg__1);
425 virtual void hideEvent(QHideEvent* arg__1);
426 virtual void initPainter(QPainter* painter) const;
426 virtual void initPainter(QPainter* painter) const;
427 virtual void inputMethodEvent(QInputMethodEvent* arg__1);
427 virtual void inputMethodEvent(QInputMethodEvent* arg__1);
428 virtual QVariant inputMethodQuery(Qt::InputMethodQuery arg__1) const;
428 virtual QVariant inputMethodQuery(Qt::InputMethodQuery arg__1) const;
429 virtual void keyPressEvent(QKeyEvent* arg__1);
429 virtual void keyPressEvent(QKeyEvent* arg__1);
430 virtual void keyReleaseEvent(QKeyEvent* arg__1);
430 virtual void keyReleaseEvent(QKeyEvent* arg__1);
431 virtual void leaveEvent(QEvent* arg__1);
431 virtual void leaveEvent(QEvent* arg__1);
432 virtual int metric(QPaintDevice::PaintDeviceMetric arg__1) const;
432 virtual int metric(QPaintDevice::PaintDeviceMetric arg__1) const;
433 virtual QSize minimumSizeHint() const;
433 virtual QSize minimumSizeHint() const;
434 virtual void mouseDoubleClickEvent(QMouseEvent* arg__1);
434 virtual void mouseDoubleClickEvent(QMouseEvent* arg__1);
435 virtual void mouseMoveEvent(QMouseEvent* arg__1);
435 virtual void mouseMoveEvent(QMouseEvent* arg__1);
436 virtual void mousePressEvent(QMouseEvent* arg__1);
436 virtual void mousePressEvent(QMouseEvent* arg__1);
437 virtual void mouseReleaseEvent(QMouseEvent* arg__1);
437 virtual void mouseReleaseEvent(QMouseEvent* arg__1);
438 virtual void moveEvent(QMoveEvent* arg__1);
438 virtual void moveEvent(QMoveEvent* arg__1);
439 virtual bool nativeEvent(const QByteArray& eventType, void* message, long* result);
439 virtual bool nativeEvent(const QByteArray& eventType, void* message, long* result);
440 virtual QPaintEngine* paintEngine() const;
440 virtual QPaintEngine* paintEngine() const;
441 virtual void paintEvent(QPaintEvent* arg__1);
441 virtual void paintEvent(QPaintEvent* arg__1);
442 virtual QPaintDevice* redirected(QPoint* offset) const;
442 virtual QPaintDevice* redirected(QPoint* offset) const;
443 virtual void resizeEvent(QResizeEvent* arg__1);
443 virtual void resizeEvent(QResizeEvent* arg__1);
444 virtual QPainter* sharedPainter() const;
444 virtual QPainter* sharedPainter() const;
445 virtual void showEvent(QShowEvent* arg__1);
445 virtual void showEvent(QShowEvent* arg__1);
446 virtual QSize sizeHint() const;
446 virtual QSize sizeHint() const;
447 virtual void tabletEvent(QTabletEvent* arg__1);
447 virtual void tabletEvent(QTabletEvent* arg__1);
448 virtual void timerEvent(QTimerEvent* arg__1);
448 virtual void timerEvent(QTimerEvent* arg__1);
449 virtual void wheelEvent(QWheelEvent* arg__1);
449 virtual void wheelEvent(QWheelEvent* arg__1);
450
450
451 PythonQtInstanceWrapper* _wrapper;
451 PythonQtInstanceWrapper* _wrapper;
452 };
452 };
453
453
454 class PythonQtPublicPromoter_SocExplorerPlot : public SocExplorerPlot
454 class PythonQtPublicPromoter_SocExplorerPlot : public SocExplorerPlot
455 { public:
455 { public:
456 inline void promoted_keyPressEvent(QKeyEvent* arg__1) { SocExplorerPlot::keyPressEvent(arg__1); }
456 inline void promoted_keyPressEvent(QKeyEvent* arg__1) { SocExplorerPlot::keyPressEvent(arg__1); }
457 inline void promoted_keyReleaseEvent(QKeyEvent* arg__1) { SocExplorerPlot::keyReleaseEvent(arg__1); }
457 inline void promoted_keyReleaseEvent(QKeyEvent* arg__1) { SocExplorerPlot::keyReleaseEvent(arg__1); }
458 inline void promoted_mouseMoveEvent(QMouseEvent* arg__1) { SocExplorerPlot::mouseMoveEvent(arg__1); }
458 inline void promoted_mouseMoveEvent(QMouseEvent* arg__1) { SocExplorerPlot::mouseMoveEvent(arg__1); }
459 inline void promoted_mousePressEvent(QMouseEvent* arg__1) { SocExplorerPlot::mousePressEvent(arg__1); }
459 inline void promoted_mousePressEvent(QMouseEvent* arg__1) { SocExplorerPlot::mousePressEvent(arg__1); }
460 inline void promoted_mouseReleaseEvent(QMouseEvent* arg__1) { SocExplorerPlot::mouseReleaseEvent(arg__1); }
460 inline void promoted_mouseReleaseEvent(QMouseEvent* arg__1) { SocExplorerPlot::mouseReleaseEvent(arg__1); }
461 inline void promoted_wheelEvent(QWheelEvent* arg__1) { SocExplorerPlot::wheelEvent(arg__1); }
461 inline void promoted_wheelEvent(QWheelEvent* arg__1) { SocExplorerPlot::wheelEvent(arg__1); }
462 };
462 };
463
463
464 class PythonQtWrapper_SocExplorerPlot : public QObject
464 class PythonQtWrapper_SocExplorerPlot : public QObject
465 { Q_OBJECT
465 { Q_OBJECT
466 public:
466 public:
467 public slots:
467 public slots:
468 SocExplorerPlot* new_SocExplorerPlot(QWidget* parent = 0);
468 SocExplorerPlot* new_SocExplorerPlot(QWidget* parent = 0);
469 void delete_SocExplorerPlot(SocExplorerPlot* obj) { delete obj; }
469 void delete_SocExplorerPlot(SocExplorerPlot* obj) { delete obj; }
470 int addGraph(SocExplorerPlot* theWrappedObject);
470 int addGraph(SocExplorerPlot* theWrappedObject);
471 void addGraphData(SocExplorerPlot* theWrappedObject, int graphIndex, QList<QVariant > x, QList<QVariant > y);
471 void addGraphData(SocExplorerPlot* theWrappedObject, int graphIndex, QList<QVariant > x, QList<QVariant > y);
472 void addGraphData(SocExplorerPlot* theWrappedObject, int graphIndex, QVariant x, QVariant y);
472 void addGraphData(SocExplorerPlot* theWrappedObject, int graphIndex, QVariant x, QVariant y);
473 QPen getGraphPen(SocExplorerPlot* theWrappedObject, int graphIndex);
473 QPen getGraphPen(SocExplorerPlot* theWrappedObject, int graphIndex);
474 void keyPressEvent(SocExplorerPlot* theWrappedObject, QKeyEvent* arg__1);
474 void keyPressEvent(SocExplorerPlot* theWrappedObject, QKeyEvent* arg__1);
475 void keyReleaseEvent(SocExplorerPlot* theWrappedObject, QKeyEvent* arg__1);
475 void keyReleaseEvent(SocExplorerPlot* theWrappedObject, QKeyEvent* arg__1);
476 void mouseMoveEvent(SocExplorerPlot* theWrappedObject, QMouseEvent* arg__1);
476 void mouseMoveEvent(SocExplorerPlot* theWrappedObject, QMouseEvent* arg__1);
477 void mousePressEvent(SocExplorerPlot* theWrappedObject, QMouseEvent* arg__1);
477 void mousePressEvent(SocExplorerPlot* theWrappedObject, QMouseEvent* arg__1);
478 void mouseReleaseEvent(SocExplorerPlot* theWrappedObject, QMouseEvent* arg__1);
478 void mouseReleaseEvent(SocExplorerPlot* theWrappedObject, QMouseEvent* arg__1);
479 void rescaleAxis(SocExplorerPlot* theWrappedObject);
479 void rescaleAxis(SocExplorerPlot* theWrappedObject);
480 void setAdaptativeSampling(SocExplorerPlot* theWrappedObject, int graphIndex, bool enable);
480 void setAdaptativeSampling(SocExplorerPlot* theWrappedObject, int graphIndex, bool enable);
481 void setGraphData(SocExplorerPlot* theWrappedObject, int graphIndex, QList<QVariant > x, QList<QVariant > y);
481 void setGraphData(SocExplorerPlot* theWrappedObject, int graphIndex, QList<QVariant > x, QList<QVariant > y);
482 void setGraphLineStyle(SocExplorerPlot* theWrappedObject, int graphIndex, QString lineStyle);
482 void setGraphLineStyle(SocExplorerPlot* theWrappedObject, int graphIndex, QString lineStyle);
483 void setGraphName(SocExplorerPlot* theWrappedObject, int graphIndex, QString name);
483 void setGraphName(SocExplorerPlot* theWrappedObject, int graphIndex, QString name);
484 void setGraphPen(SocExplorerPlot* theWrappedObject, int graphIndex, QPen pen);
484 void setGraphPen(SocExplorerPlot* theWrappedObject, int graphIndex, QPen pen);
485 void setGraphScatterStyle(SocExplorerPlot* theWrappedObject, int graphIndex, QString scatterStyle);
485 void setGraphScatterStyle(SocExplorerPlot* theWrappedObject, int graphIndex, QString scatterStyle);
486 void setLegendFont(SocExplorerPlot* theWrappedObject, QFont font);
486 void setLegendFont(SocExplorerPlot* theWrappedObject, QFont font);
487 void setLegendSelectedFont(SocExplorerPlot* theWrappedObject, QFont font);
487 void setLegendSelectedFont(SocExplorerPlot* theWrappedObject, QFont font);
488 void setTitle(SocExplorerPlot* theWrappedObject, QString title);
488 void setTitle(SocExplorerPlot* theWrappedObject, QString title);
489 void setXaxisLabel(SocExplorerPlot* theWrappedObject, QString label);
489 void setXaxisLabel(SocExplorerPlot* theWrappedObject, QString label);
490 void setXaxisRange(SocExplorerPlot* theWrappedObject, double lower, double upper);
490 void setXaxisRange(SocExplorerPlot* theWrappedObject, double lower, double upper);
491 void setYaxisLabel(SocExplorerPlot* theWrappedObject, QString label);
491 void setYaxisLabel(SocExplorerPlot* theWrappedObject, QString label);
492 void setYaxisRange(SocExplorerPlot* theWrappedObject, double lower, double upper);
492 void setYaxisRange(SocExplorerPlot* theWrappedObject, double lower, double upper);
493 void show(SocExplorerPlot* theWrappedObject);
493 void show(SocExplorerPlot* theWrappedObject);
494 void wheelEvent(SocExplorerPlot* theWrappedObject, QWheelEvent* arg__1);
494 void wheelEvent(SocExplorerPlot* theWrappedObject, QWheelEvent* arg__1);
495 };
495 };
496
496
497
497
498
498
499
499
500
500
501 class PythonQtShell_TCP_Terminal_Client : public TCP_Terminal_Client
501 class PythonQtShell_TCP_Terminal_Client : public TCP_Terminal_Client
502 {
502 {
503 public:
503 public:
504 PythonQtShell_TCP_Terminal_Client(QObject* parent = 0):TCP_Terminal_Client(parent),_wrapper(NULL) {};
504 PythonQtShell_TCP_Terminal_Client(QObject* parent = 0):TCP_Terminal_Client(parent),_wrapper(NULL) {};
505
505
506 ~PythonQtShell_TCP_Terminal_Client();
506 ~PythonQtShell_TCP_Terminal_Client();
507
507
508 virtual void childEvent(QChildEvent* arg__1);
508 virtual void childEvent(QChildEvent* arg__1);
509 virtual void customEvent(QEvent* arg__1);
509 virtual void customEvent(QEvent* arg__1);
510 virtual bool event(QEvent* arg__1);
510 virtual bool event(QEvent* arg__1);
511 virtual bool eventFilter(QObject* arg__1, QEvent* arg__2);
511 virtual bool eventFilter(QObject* arg__1, QEvent* arg__2);
512 virtual void timerEvent(QTimerEvent* arg__1);
512 virtual void timerEvent(QTimerEvent* arg__1);
513
513
514 PythonQtInstanceWrapper* _wrapper;
514 PythonQtInstanceWrapper* _wrapper;
515 };
515 };
516
516
517 class PythonQtWrapper_TCP_Terminal_Client : public QObject
517 class PythonQtWrapper_TCP_Terminal_Client : public QObject
518 { Q_OBJECT
518 { Q_OBJECT
519 public:
519 public:
520 public slots:
520 public slots:
521 TCP_Terminal_Client* new_TCP_Terminal_Client(QObject* parent = 0);
521 TCP_Terminal_Client* new_TCP_Terminal_Client(QObject* parent = 0);
522 void delete_TCP_Terminal_Client(TCP_Terminal_Client* obj) { delete obj; }
522 void delete_TCP_Terminal_Client(TCP_Terminal_Client* obj) { delete obj; }
523 void connectToServer(TCP_Terminal_Client* theWrappedObject);
523 void connectToServer(TCP_Terminal_Client* theWrappedObject);
524 void connectToServer(TCP_Terminal_Client* theWrappedObject, const QString& IP, int port);
524 void connectToServer(TCP_Terminal_Client* theWrappedObject, const QString& IP, int port);
525 bool isConnected(TCP_Terminal_Client* theWrappedObject);
525 bool isConnected(TCP_Terminal_Client* theWrappedObject);
526 void sendText(TCP_Terminal_Client* theWrappedObject, const QString& text);
526 void sendText(TCP_Terminal_Client* theWrappedObject, const QString& text);
527 void startServer(TCP_Terminal_Client* theWrappedObject);
527 void startServer(TCP_Terminal_Client* theWrappedObject);
528 void startServer(TCP_Terminal_Client* theWrappedObject, int port);
528 void startServer(TCP_Terminal_Client* theWrappedObject, int port);
529 };
529 };
530
530
531
531
532
532
533
533
534
534
535 class PythonQtWrapper_XByteArray : public QObject
535 class PythonQtWrapper_XByteArray : public QObject
536 { Q_OBJECT
536 { Q_OBJECT
537 public:
537 public:
538 public slots:
538 public slots:
539 XByteArray* new_XByteArray();
539 XByteArray* new_XByteArray();
540 void delete_XByteArray(XByteArray* obj) { delete obj; }
540 void delete_XByteArray(XByteArray* obj) { delete obj; }
541 int addressOffset(XByteArray* theWrappedObject);
541 int addressOffset(XByteArray* theWrappedObject);
542 int addressWidth(XByteArray* theWrappedObject);
542 int addressWidth(XByteArray* theWrappedObject);
543 QChar asciiChar(XByteArray* theWrappedObject, int index);
543 QChar asciiChar(XByteArray* theWrappedObject, int index);
544 QByteArray* data(XByteArray* theWrappedObject);
544 QByteArray* data(XByteArray* theWrappedObject);
545 bool dataChanged(XByteArray* theWrappedObject, int i);
545 bool dataChanged(XByteArray* theWrappedObject, int i);
546 QByteArray dataChanged(XByteArray* theWrappedObject, int i, int len);
546 QByteArray dataChanged(XByteArray* theWrappedObject, int i, int len);
547 QByteArray* insert(XByteArray* theWrappedObject, int i, char ch);
547 QByteArray* insert(XByteArray* theWrappedObject, int i, char ch);
548 QByteArray* insert(XByteArray* theWrappedObject, int i, const QByteArray& ba);
548 QByteArray* insert(XByteArray* theWrappedObject, int i, const QByteArray& ba);
549 int realAddressNumbers(XByteArray* theWrappedObject);
549 int realAddressNumbers(XByteArray* theWrappedObject);
550 QByteArray* remove(XByteArray* theWrappedObject, int pos, int len);
550 QByteArray* remove(XByteArray* theWrappedObject, int pos, int len);
551 QByteArray* replace(XByteArray* theWrappedObject, int index, char ch);
551 QByteArray* replace(XByteArray* theWrappedObject, int index, char ch);
552 QByteArray* replace(XByteArray* theWrappedObject, int index, const QByteArray& ba);
552 QByteArray* replace(XByteArray* theWrappedObject, int index, const QByteArray& ba);
553 QByteArray* replace(XByteArray* theWrappedObject, int index, int length, const QByteArray& ba);
553 QByteArray* replace(XByteArray* theWrappedObject, int index, int length, const QByteArray& ba);
554 void setAddressOffset(XByteArray* theWrappedObject, int offset);
554 void setAddressOffset(XByteArray* theWrappedObject, int offset);
555 void setAddressWidth(XByteArray* theWrappedObject, int width);
555 void setAddressWidth(XByteArray* theWrappedObject, int width);
556 void setData(XByteArray* theWrappedObject, QByteArray data);
556 void setData(XByteArray* theWrappedObject, QByteArray data);
557 void setDataChanged(XByteArray* theWrappedObject, int i, bool state);
557 void setDataChanged(XByteArray* theWrappedObject, int i, bool state);
558 void setDataChanged(XByteArray* theWrappedObject, int i, const QByteArray& state);
558 void setDataChanged(XByteArray* theWrappedObject, int i, const QByteArray& state);
559 int size(XByteArray* theWrappedObject);
559 int size(XByteArray* theWrappedObject);
560 QString toRedableString(XByteArray* theWrappedObject, int start = 0, int end = -1);
560 QString toRedableString(XByteArray* theWrappedObject, int start = 0, int end = -1);
561 };
561 };
562
562
563
563
564
564
565
565
566
566
567 class PythonQtShell_abstractBinFile : public abstractBinFile
567 class PythonQtShell_abstractBinFile : public abstractBinFile
568 {
568 {
569 public:
569 public:
570 PythonQtShell_abstractBinFile():abstractBinFile(),_wrapper(NULL) {};
570 PythonQtShell_abstractBinFile():abstractBinFile(),_wrapper(NULL) {};
571
571
572 ~PythonQtShell_abstractBinFile();
572 ~PythonQtShell_abstractBinFile();
573
573
574 virtual void childEvent(QChildEvent* arg__1);
574 virtual void childEvent(QChildEvent* arg__1);
575 virtual int closeFile();
575 virtual int closeFile();
576 virtual void customEvent(QEvent* arg__1);
576 virtual void customEvent(QEvent* arg__1);
577 virtual bool event(QEvent* arg__1);
577 virtual bool event(QEvent* arg__1);
578 virtual bool eventFilter(QObject* arg__1, QEvent* arg__2);
578 virtual bool eventFilter(QObject* arg__1, QEvent* arg__2);
579 virtual QList<codeFragment* > getFragments();
579 virtual QList<codeFragment* > getFragments();
580 virtual bool isopened();
580 virtual bool isopened();
581 virtual bool openFile(const QString& File);
581 virtual bool openFile(const QString& File);
582 virtual void timerEvent(QTimerEvent* arg__1);
582 virtual void timerEvent(QTimerEvent* arg__1);
583 virtual bool toBinary(const QString& File);
583 virtual bool toBinary(const QString& File);
584 virtual bool toSrec(const QString& File);
584 virtual bool toSrec(const QString& File);
585
585
586 PythonQtInstanceWrapper* _wrapper;
586 PythonQtInstanceWrapper* _wrapper;
587 };
587 };
588
588
589 class PythonQtWrapper_abstractBinFile : public QObject
589 class PythonQtWrapper_abstractBinFile : public QObject
590 { Q_OBJECT
590 { Q_OBJECT
591 public:
591 public:
592 public slots:
592 public slots:
593 abstractBinFile* new_abstractBinFile();
593 abstractBinFile* new_abstractBinFile();
594 void delete_abstractBinFile(abstractBinFile* obj) { delete obj; }
594 void delete_abstractBinFile(abstractBinFile* obj) { delete obj; }
595 };
595 };
596
596
597
597
598
598
599
599
600
600
601 class PythonQtShell_abstractBinFileWidget : public abstractBinFileWidget
601 class PythonQtShell_abstractBinFileWidget : public abstractBinFileWidget
602 {
602 {
603 public:
603 public:
604 PythonQtShell_abstractBinFileWidget(QWidget* parent = 0):abstractBinFileWidget(parent),_wrapper(NULL) {};
604 PythonQtShell_abstractBinFileWidget(QWidget* parent = 0):abstractBinFileWidget(parent),_wrapper(NULL) {};
605
605
606 ~PythonQtShell_abstractBinFileWidget();
606 ~PythonQtShell_abstractBinFileWidget();
607
607
608 virtual void actionEvent(QActionEvent* arg__1);
608 virtual void actionEvent(QActionEvent* arg__1);
609 virtual void changeEvent(QEvent* arg__1);
609 virtual void changeEvent(QEvent* arg__1);
610 virtual void childEvent(QChildEvent* arg__1);
610 virtual void childEvent(QChildEvent* arg__1);
611 virtual void closeEvent(QCloseEvent* arg__1);
611 virtual void closeEvent(QCloseEvent* arg__1);
612 virtual void contextMenuEvent(QContextMenuEvent* arg__1);
612 virtual void contextMenuEvent(QContextMenuEvent* arg__1);
613 virtual void customEvent(QEvent* arg__1);
613 virtual void customEvent(QEvent* arg__1);
614 virtual int devType() const;
614 virtual int devType() const;
615 virtual void dragEnterEvent(QDragEnterEvent* arg__1);
615 virtual void dragEnterEvent(QDragEnterEvent* arg__1);
616 virtual void dragLeaveEvent(QDragLeaveEvent* arg__1);
616 virtual void dragLeaveEvent(QDragLeaveEvent* arg__1);
617 virtual void dragMoveEvent(QDragMoveEvent* arg__1);
617 virtual void dragMoveEvent(QDragMoveEvent* arg__1);
618 virtual void dropEvent(QDropEvent* arg__1);
618 virtual void dropEvent(QDropEvent* arg__1);
619 virtual void enterEvent(QEvent* arg__1);
619 virtual void enterEvent(QEvent* arg__1);
620 virtual bool event(QEvent* arg__1);
620 virtual bool event(QEvent* arg__1);
621 virtual bool eventFilter(QObject* arg__1, QEvent* arg__2);
621 virtual bool eventFilter(QObject* arg__1, QEvent* arg__2);
622 virtual void focusInEvent(QFocusEvent* arg__1);
622 virtual void focusInEvent(QFocusEvent* arg__1);
623 virtual bool focusNextPrevChild(bool next);
623 virtual bool focusNextPrevChild(bool next);
624 virtual void focusOutEvent(QFocusEvent* arg__1);
624 virtual void focusOutEvent(QFocusEvent* arg__1);
625 virtual bool hasHeightForWidth() const;
625 virtual bool hasHeightForWidth() const;
626 virtual int heightForWidth(int arg__1) const;
626 virtual int heightForWidth(int arg__1) const;
627 virtual void hideEvent(QHideEvent* arg__1);
627 virtual void hideEvent(QHideEvent* arg__1);
628 virtual void initPainter(QPainter* painter) const;
628 virtual void initPainter(QPainter* painter) const;
629 virtual void inputMethodEvent(QInputMethodEvent* arg__1);
629 virtual void inputMethodEvent(QInputMethodEvent* arg__1);
630 virtual QVariant inputMethodQuery(Qt::InputMethodQuery arg__1) const;
630 virtual QVariant inputMethodQuery(Qt::InputMethodQuery arg__1) const;
631 virtual void keyPressEvent(QKeyEvent* arg__1);
631 virtual void keyPressEvent(QKeyEvent* arg__1);
632 virtual void keyReleaseEvent(QKeyEvent* arg__1);
632 virtual void keyReleaseEvent(QKeyEvent* arg__1);
633 virtual void leaveEvent(QEvent* arg__1);
633 virtual void leaveEvent(QEvent* arg__1);
634 virtual int metric(QPaintDevice::PaintDeviceMetric arg__1) const;
634 virtual int metric(QPaintDevice::PaintDeviceMetric arg__1) const;
635 virtual QSize minimumSizeHint() const;
635 virtual QSize minimumSizeHint() const;
636 virtual void mouseDoubleClickEvent(QMouseEvent* arg__1);
636 virtual void mouseDoubleClickEvent(QMouseEvent* arg__1);
637 virtual void mouseMoveEvent(QMouseEvent* arg__1);
637 virtual void mouseMoveEvent(QMouseEvent* arg__1);
638 virtual void mousePressEvent(QMouseEvent* arg__1);
638 virtual void mousePressEvent(QMouseEvent* arg__1);
639 virtual void mouseReleaseEvent(QMouseEvent* arg__1);
639 virtual void mouseReleaseEvent(QMouseEvent* arg__1);
640 virtual void moveEvent(QMoveEvent* arg__1);
640 virtual void moveEvent(QMoveEvent* arg__1);
641 virtual bool nativeEvent(const QByteArray& eventType, void* message, long* result);
641 virtual bool nativeEvent(const QByteArray& eventType, void* message, long* result);
642 virtual QPaintEngine* paintEngine() const;
642 virtual QPaintEngine* paintEngine() const;
643 virtual void paintEvent(QPaintEvent* arg__1);
643 virtual void paintEvent(QPaintEvent* arg__1);
644 virtual QPaintDevice* redirected(QPoint* offset) const;
644 virtual QPaintDevice* redirected(QPoint* offset) const;
645 virtual void reloadFile();
645 virtual void reloadFile();
646 virtual void resizeEvent(QResizeEvent* arg__1);
646 virtual void resizeEvent(QResizeEvent* arg__1);
647 virtual void setFile(abstractBinFile* file);
647 virtual void setFile(abstractBinFile* file);
648 virtual QPainter* sharedPainter() const;
648 virtual QPainter* sharedPainter() const;
649 virtual void showEvent(QShowEvent* arg__1);
649 virtual void showEvent(QShowEvent* arg__1);
650 virtual QSize sizeHint() const;
650 virtual QSize sizeHint() const;
651 virtual void tabletEvent(QTabletEvent* arg__1);
651 virtual void tabletEvent(QTabletEvent* arg__1);
652 virtual void timerEvent(QTimerEvent* arg__1);
652 virtual void timerEvent(QTimerEvent* arg__1);
653 virtual void wheelEvent(QWheelEvent* arg__1);
653 virtual void wheelEvent(QWheelEvent* arg__1);
654
654
655 PythonQtInstanceWrapper* _wrapper;
655 PythonQtInstanceWrapper* _wrapper;
656 };
656 };
657
657
658 class PythonQtWrapper_abstractBinFileWidget : public QObject
658 class PythonQtWrapper_abstractBinFileWidget : public QObject
659 { Q_OBJECT
659 { Q_OBJECT
660 public:
660 public:
661 public slots:
661 public slots:
662 abstractBinFileWidget* new_abstractBinFileWidget(QWidget* parent = 0);
662 abstractBinFileWidget* new_abstractBinFileWidget(QWidget* parent = 0);
663 void delete_abstractBinFileWidget(abstractBinFileWidget* obj) { delete obj; }
663 void delete_abstractBinFileWidget(abstractBinFileWidget* obj) { delete obj; }
664 };
664 };
665
665
666
666
667
667
668
668
669
669
670 class PythonQtShell_binaryFile : public binaryFile
670 class PythonQtShell_binaryFile : public binaryFile
671 {
671 {
672 public:
672 public:
673 PythonQtShell_binaryFile():binaryFile(),_wrapper(NULL) {};
673 PythonQtShell_binaryFile():binaryFile(),_wrapper(NULL) {};
674 PythonQtShell_binaryFile(const QString& File):binaryFile(File),_wrapper(NULL) {};
674 PythonQtShell_binaryFile(const QString& File):binaryFile(File),_wrapper(NULL) {};
675 PythonQtShell_binaryFile(const QStringList& Files):binaryFile(Files),_wrapper(NULL) {};
675 PythonQtShell_binaryFile(const QStringList& Files):binaryFile(Files),_wrapper(NULL) {};
676
676
677 ~PythonQtShell_binaryFile();
677 ~PythonQtShell_binaryFile();
678
678
679 virtual int closeFile();
679 virtual int closeFile();
680 virtual QList<codeFragment* > getFragments();
680 virtual QList<codeFragment* > getFragments();
681 virtual bool isopened();
681 virtual bool isopened();
682 virtual bool openFile(const QString& File);
682 virtual bool openFile(const QString& File);
683 virtual bool toBinary(const QString& fileName);
683 virtual bool toBinary(const QString& fileName);
684 virtual bool toSrec(const QString& fileName);
684 virtual bool toSrec(const QString& fileName);
685
685
686 PythonQtInstanceWrapper* _wrapper;
686 PythonQtInstanceWrapper* _wrapper;
687 };
687 };
688
688
689 class PythonQtPublicPromoter_binaryFile : public binaryFile
689 class PythonQtPublicPromoter_binaryFile : public binaryFile
690 { public:
690 { public:
691 inline int promoted_closeFile() { return binaryFile::closeFile(); }
691 inline int promoted_closeFile() { return binaryFile::closeFile(); }
692 inline QList<codeFragment* > promoted_getFragments() { return binaryFile::getFragments(); }
692 inline QList<codeFragment* > promoted_getFragments() { return binaryFile::getFragments(); }
693 inline bool promoted_isopened() { return binaryFile::isopened(); }
693 inline bool promoted_isopened() { return binaryFile::isopened(); }
694 inline bool promoted_openFile(const QString& File) { return binaryFile::openFile(File); }
694 inline bool promoted_openFile(const QString& File) { return binaryFile::openFile(File); }
695 inline bool promoted_toBinary(const QString& fileName) { return binaryFile::toBinary(fileName); }
695 inline bool promoted_toBinary(const QString& fileName) { return binaryFile::toBinary(fileName); }
696 inline bool promoted_toSrec(const QString& fileName) { return binaryFile::toSrec(fileName); }
696 inline bool promoted_toSrec(const QString& fileName) { return binaryFile::toSrec(fileName); }
697 };
697 };
698
698
699 class PythonQtWrapper_binaryFile : public QObject
699 class PythonQtWrapper_binaryFile : public QObject
700 { Q_OBJECT
700 { Q_OBJECT
701 public:
701 public:
702 public slots:
702 public slots:
703 binaryFile* new_binaryFile();
703 binaryFile* new_binaryFile();
704 binaryFile* new_binaryFile(const QString& File);
704 binaryFile* new_binaryFile(const QString& File);
705 binaryFile* new_binaryFile(const QStringList& Files);
705 binaryFile* new_binaryFile(const QStringList& Files);
706 void delete_binaryFile(binaryFile* obj) { delete obj; }
706 void delete_binaryFile(binaryFile* obj) { delete obj; }
707 int closeFile(binaryFile* theWrappedObject);
707 int closeFile(binaryFile* theWrappedObject);
708 codeFragment* getFragment(binaryFile* theWrappedObject, int index);
708 codeFragment* getFragment(binaryFile* theWrappedObject, int index);
709 int getFragmentAddress(binaryFile* theWrappedObject, int index);
709 int getFragmentAddress(binaryFile* theWrappedObject, int index);
710 bool getFragmentData(binaryFile* theWrappedObject, int index, char** buffer);
710 bool getFragmentData(binaryFile* theWrappedObject, int index, char** buffer);
711 QString getFragmentHeader(binaryFile* theWrappedObject, int index);
711 QString getFragmentHeader(binaryFile* theWrappedObject, int index);
712 int getFragmentSize(binaryFile* theWrappedObject, int index);
712 int getFragmentSize(binaryFile* theWrappedObject, int index);
713 QList<codeFragment* > getFragments(binaryFile* theWrappedObject);
713 QList<codeFragment* > getFragments(binaryFile* theWrappedObject);
714 int getFragmentsCount(binaryFile* theWrappedObject);
714 int getFragmentsCount(binaryFile* theWrappedObject);
715 bool isopened(binaryFile* theWrappedObject);
715 bool isopened(binaryFile* theWrappedObject);
716 bool openFile(binaryFile* theWrappedObject, const QString& File);
716 bool openFile(binaryFile* theWrappedObject, const QString& File);
717 bool openFiles(binaryFile* theWrappedObject, const QStringList& Files);
717 bool openFiles(binaryFile* theWrappedObject, const QStringList& Files);
718 bool static_binaryFile_toBinary(QList<codeFragment* > fragments, const QString& File);
718 bool static_binaryFile_toBinary(QList<codeFragment* > fragments, const QString& File);
719 bool toBinary(binaryFile* theWrappedObject, const QString& fileName);
719 bool toBinary(binaryFile* theWrappedObject, const QString& fileName);
720 bool toSrec(binaryFile* theWrappedObject, const QString& fileName);
720 bool toSrec(binaryFile* theWrappedObject, const QString& fileName);
721 };
721 };
722
722
723
723
724
724
725
725
726
726
727 class PythonQtShell_binaryFileWidget : public binaryFileWidget
727 class PythonQtShell_binaryFileWidget : public binaryFileWidget
728 {
728 {
729 public:
729 public:
730 PythonQtShell_binaryFileWidget(QWidget* parent = 0):binaryFileWidget(parent),_wrapper(NULL) {};
730 PythonQtShell_binaryFileWidget(QWidget* parent = 0):binaryFileWidget(parent),_wrapper(NULL) {};
731
731
732 ~PythonQtShell_binaryFileWidget();
732 ~PythonQtShell_binaryFileWidget();
733
733
734 virtual void reloadFile();
734 virtual void reloadFile();
735 virtual void setFile(abstractBinFile* file);
735 virtual void setFile(abstractBinFile* file);
736
736
737 PythonQtInstanceWrapper* _wrapper;
737 PythonQtInstanceWrapper* _wrapper;
738 };
738 };
739
739
740 class PythonQtPublicPromoter_binaryFileWidget : public binaryFileWidget
740 class PythonQtPublicPromoter_binaryFileWidget : public binaryFileWidget
741 { public:
741 { public:
742 inline void promoted_reloadFile() { binaryFileWidget::reloadFile(); }
742 inline void promoted_reloadFile() { binaryFileWidget::reloadFile(); }
743 inline void promoted_setFile(abstractBinFile* file) { binaryFileWidget::setFile(file); }
743 inline void promoted_setFile(abstractBinFile* file) { binaryFileWidget::setFile(file); }
744 };
744 };
745
745
746 class PythonQtWrapper_binaryFileWidget : public QObject
746 class PythonQtWrapper_binaryFileWidget : public QObject
747 { Q_OBJECT
747 { Q_OBJECT
748 public:
748 public:
749 public slots:
749 public slots:
750 binaryFileWidget* new_binaryFileWidget(QWidget* parent = 0);
750 binaryFileWidget* new_binaryFileWidget(QWidget* parent = 0);
751 void delete_binaryFileWidget(binaryFileWidget* obj) { delete obj; }
751 void delete_binaryFileWidget(binaryFileWidget* obj) { delete obj; }
752 void reloadFile(binaryFileWidget* theWrappedObject);
752 void reloadFile(binaryFileWidget* theWrappedObject);
753 void setFile(binaryFileWidget* theWrappedObject, abstractBinFile* file);
753 void setFile(binaryFileWidget* theWrappedObject, abstractBinFile* file);
754 };
754 };
755
755
756
756
757
757
758
758
759
759
760 class PythonQtShell_codeFragment : public codeFragment
760 class PythonQtShell_codeFragment : public codeFragment
761 {
761 {
762 public:
762 public:
763 PythonQtShell_codeFragment():codeFragment(),_wrapper(NULL) {};
763 PythonQtShell_codeFragment():codeFragment(),_wrapper(NULL) {};
764 PythonQtShell_codeFragment(char* data, quint64 size, quint64 address):codeFragment(data, size, address),_wrapper(NULL) {};
764 PythonQtShell_codeFragment(char* data, quint64 size, quint64 address):codeFragment(data, size, address),_wrapper(NULL) {};
765
765
766 ~PythonQtShell_codeFragment();
766 ~PythonQtShell_codeFragment();
767
767
768
768
769 PythonQtInstanceWrapper* _wrapper;
769 PythonQtInstanceWrapper* _wrapper;
770 };
770 };
771
771
772 class PythonQtWrapper_codeFragment : public QObject
772 class PythonQtWrapper_codeFragment : public QObject
773 { Q_OBJECT
773 { Q_OBJECT
774 public:
774 public:
775 public slots:
775 public slots:
776 codeFragment* new_codeFragment();
776 codeFragment* new_codeFragment();
777 codeFragment* new_codeFragment(char* data, quint64 size, quint64 address);
777 codeFragment* new_codeFragment(char* data, quint64 size, quint64 address);
778 void delete_codeFragment(codeFragment* obj) { delete obj; }
778 void delete_codeFragment(codeFragment* obj) { delete obj; }
779 void py_set_size(codeFragment* theWrappedObject, quint64 size){ theWrappedObject->size = size; }
779 void py_set_size(codeFragment* theWrappedObject, quint64 size){ theWrappedObject->size = size; }
780 quint64 py_get_size(codeFragment* theWrappedObject){ return theWrappedObject->size; }
780 quint64 py_get_size(codeFragment* theWrappedObject){ return theWrappedObject->size; }
781 void py_set_address(codeFragment* theWrappedObject, quint64 address){ theWrappedObject->address = address; }
782 quint64 py_get_address(codeFragment* theWrappedObject){ return theWrappedObject->address; }
783 void py_set_data(codeFragment* theWrappedObject, char* data){ theWrappedObject->data = data; }
784 char* py_get_data(codeFragment* theWrappedObject){ return theWrappedObject->data; }
781 void py_set_header(codeFragment* theWrappedObject, QString header){ theWrappedObject->header = header; }
785 void py_set_header(codeFragment* theWrappedObject, QString header){ theWrappedObject->header = header; }
782 QString py_get_header(codeFragment* theWrappedObject){ return theWrappedObject->header; }
786 QString py_get_header(codeFragment* theWrappedObject){ return theWrappedObject->header; }
783 void py_set_data(codeFragment* theWrappedObject, char* data){ theWrappedObject->data = data; }
784 char* py_get_data(codeFragment* theWrappedObject){ return theWrappedObject->data; }
785 void py_set_address(codeFragment* theWrappedObject, quint64 address){ theWrappedObject->address = address; }
786 quint64 py_get_address(codeFragment* theWrappedObject){ return theWrappedObject->address; }
787 };
787 };
788
788
789
789
790
790
791
791
792
792
793 class PythonQtShell_elfFileWidget : public elfFileWidget
793 class PythonQtShell_elfFileWidget : public elfFileWidget
794 {
794 {
795 public:
795 public:
796 PythonQtShell_elfFileWidget(QWidget* parent = 0):elfFileWidget(parent),_wrapper(NULL) {};
796 PythonQtShell_elfFileWidget(QWidget* parent = 0):elfFileWidget(parent),_wrapper(NULL) {};
797
797
798 ~PythonQtShell_elfFileWidget();
798 ~PythonQtShell_elfFileWidget();
799
799
800 virtual void reloadFile();
800 virtual void reloadFile();
801 virtual void setFile(abstractBinFile* file);
801 virtual void setFile(abstractBinFile* file);
802
802
803 PythonQtInstanceWrapper* _wrapper;
803 PythonQtInstanceWrapper* _wrapper;
804 };
804 };
805
805
806 class PythonQtPublicPromoter_elfFileWidget : public elfFileWidget
806 class PythonQtPublicPromoter_elfFileWidget : public elfFileWidget
807 { public:
807 { public:
808 inline void promoted_reloadFile() { elfFileWidget::reloadFile(); }
808 inline void promoted_reloadFile() { elfFileWidget::reloadFile(); }
809 };
809 };
810
810
811 class PythonQtWrapper_elfFileWidget : public QObject
811 class PythonQtWrapper_elfFileWidget : public QObject
812 { Q_OBJECT
812 { Q_OBJECT
813 public:
813 public:
814 public slots:
814 public slots:
815 elfFileWidget* new_elfFileWidget(QWidget* parent = 0);
815 elfFileWidget* new_elfFileWidget(QWidget* parent = 0);
816 void delete_elfFileWidget(elfFileWidget* obj) { delete obj; }
816 void delete_elfFileWidget(elfFileWidget* obj) { delete obj; }
817 void reloadFile(elfFileWidget* theWrappedObject);
817 void reloadFile(elfFileWidget* theWrappedObject);
818 };
818 };
819
819
820
820
821
821
822
822
823
823
824 class PythonQtShell_elfInfoWdgt : public elfInfoWdgt
824 class PythonQtShell_elfInfoWdgt : public elfInfoWdgt
825 {
825 {
826 public:
826 public:
827 PythonQtShell_elfInfoWdgt(QWidget* parent = 0):elfInfoWdgt(parent),_wrapper(NULL) {};
827 PythonQtShell_elfInfoWdgt(QWidget* parent = 0):elfInfoWdgt(parent),_wrapper(NULL) {};
828
828
829 ~PythonQtShell_elfInfoWdgt();
829 ~PythonQtShell_elfInfoWdgt();
830
830
831 virtual void actionEvent(QActionEvent* arg__1);
831 virtual void actionEvent(QActionEvent* arg__1);
832 virtual void changeEvent(QEvent* arg__1);
832 virtual void changeEvent(QEvent* arg__1);
833 virtual void childEvent(QChildEvent* arg__1);
833 virtual void childEvent(QChildEvent* arg__1);
834 virtual void closeEvent(QCloseEvent* arg__1);
834 virtual void closeEvent(QCloseEvent* arg__1);
835 virtual void contextMenuEvent(QContextMenuEvent* arg__1);
835 virtual void contextMenuEvent(QContextMenuEvent* arg__1);
836 virtual void customEvent(QEvent* arg__1);
836 virtual void customEvent(QEvent* arg__1);
837 virtual int devType() const;
837 virtual int devType() const;
838 virtual void dragEnterEvent(QDragEnterEvent* arg__1);
838 virtual void dragEnterEvent(QDragEnterEvent* arg__1);
839 virtual void dragLeaveEvent(QDragLeaveEvent* arg__1);
839 virtual void dragLeaveEvent(QDragLeaveEvent* arg__1);
840 virtual void dragMoveEvent(QDragMoveEvent* arg__1);
840 virtual void dragMoveEvent(QDragMoveEvent* arg__1);
841 virtual void dropEvent(QDropEvent* arg__1);
841 virtual void dropEvent(QDropEvent* arg__1);
842 virtual void enterEvent(QEvent* arg__1);
842 virtual void enterEvent(QEvent* arg__1);
843 virtual bool event(QEvent* arg__1);
843 virtual bool event(QEvent* arg__1);
844 virtual bool eventFilter(QObject* arg__1, QEvent* arg__2);
844 virtual bool eventFilter(QObject* arg__1, QEvent* arg__2);
845 virtual void focusInEvent(QFocusEvent* arg__1);
845 virtual void focusInEvent(QFocusEvent* arg__1);
846 virtual bool focusNextPrevChild(bool next);
846 virtual bool focusNextPrevChild(bool next);
847 virtual void focusOutEvent(QFocusEvent* arg__1);
847 virtual void focusOutEvent(QFocusEvent* arg__1);
848 virtual bool hasHeightForWidth() const;
848 virtual bool hasHeightForWidth() const;
849 virtual int heightForWidth(int arg__1) const;
849 virtual int heightForWidth(int arg__1) const;
850 virtual void hideEvent(QHideEvent* arg__1);
850 virtual void hideEvent(QHideEvent* arg__1);
851 virtual void initPainter(QPainter* painter) const;
851 virtual void initPainter(QPainter* painter) const;
852 virtual void inputMethodEvent(QInputMethodEvent* arg__1);
852 virtual void inputMethodEvent(QInputMethodEvent* arg__1);
853 virtual QVariant inputMethodQuery(Qt::InputMethodQuery arg__1) const;
853 virtual QVariant inputMethodQuery(Qt::InputMethodQuery arg__1) const;
854 virtual void keyPressEvent(QKeyEvent* arg__1);
854 virtual void keyPressEvent(QKeyEvent* arg__1);
855 virtual void keyReleaseEvent(QKeyEvent* arg__1);
855 virtual void keyReleaseEvent(QKeyEvent* arg__1);
856 virtual void leaveEvent(QEvent* arg__1);
856 virtual void leaveEvent(QEvent* arg__1);
857 virtual int metric(QPaintDevice::PaintDeviceMetric arg__1) const;
857 virtual int metric(QPaintDevice::PaintDeviceMetric arg__1) const;
858 virtual QSize minimumSizeHint() const;
858 virtual QSize minimumSizeHint() const;
859 virtual void mouseDoubleClickEvent(QMouseEvent* arg__1);
859 virtual void mouseDoubleClickEvent(QMouseEvent* arg__1);
860 virtual void mouseMoveEvent(QMouseEvent* arg__1);
860 virtual void mouseMoveEvent(QMouseEvent* arg__1);
861 virtual void mousePressEvent(QMouseEvent* arg__1);
861 virtual void mousePressEvent(QMouseEvent* arg__1);
862 virtual void mouseReleaseEvent(QMouseEvent* arg__1);
862 virtual void mouseReleaseEvent(QMouseEvent* arg__1);
863 virtual void moveEvent(QMoveEvent* arg__1);
863 virtual void moveEvent(QMoveEvent* arg__1);
864 virtual bool nativeEvent(const QByteArray& eventType, void* message, long* result);
864 virtual bool nativeEvent(const QByteArray& eventType, void* message, long* result);
865 virtual QPaintEngine* paintEngine() const;
865 virtual QPaintEngine* paintEngine() const;
866 virtual void paintEvent(QPaintEvent* arg__1);
866 virtual void paintEvent(QPaintEvent* arg__1);
867 virtual QPaintDevice* redirected(QPoint* offset) const;
867 virtual QPaintDevice* redirected(QPoint* offset) const;
868 virtual void resizeEvent(QResizeEvent* arg__1);
868 virtual void resizeEvent(QResizeEvent* arg__1);
869 virtual QPainter* sharedPainter() const;
869 virtual QPainter* sharedPainter() const;
870 virtual void showEvent(QShowEvent* arg__1);
870 virtual void showEvent(QShowEvent* arg__1);
871 virtual QSize sizeHint() const;
871 virtual QSize sizeHint() const;
872 virtual void tabletEvent(QTabletEvent* arg__1);
872 virtual void tabletEvent(QTabletEvent* arg__1);
873 virtual void timerEvent(QTimerEvent* arg__1);
873 virtual void timerEvent(QTimerEvent* arg__1);
874 virtual void wheelEvent(QWheelEvent* arg__1);
874 virtual void wheelEvent(QWheelEvent* arg__1);
875
875
876 PythonQtInstanceWrapper* _wrapper;
876 PythonQtInstanceWrapper* _wrapper;
877 };
877 };
878
878
879 class PythonQtWrapper_elfInfoWdgt : public QObject
879 class PythonQtWrapper_elfInfoWdgt : public QObject
880 { Q_OBJECT
880 { Q_OBJECT
881 public:
881 public:
882 public slots:
882 public slots:
883 elfInfoWdgt* new_elfInfoWdgt(QWidget* parent = 0);
883 elfInfoWdgt* new_elfInfoWdgt(QWidget* parent = 0);
884 void delete_elfInfoWdgt(elfInfoWdgt* obj) { delete obj; }
884 void delete_elfInfoWdgt(elfInfoWdgt* obj) { delete obj; }
885 };
885 };
886
886
887
887
888
888
889
889
890
890
891 class PythonQtWrapper_elfparser : public QObject
891 class PythonQtWrapper_elfparser : public QObject
892 { Q_OBJECT
892 { Q_OBJECT
893 public:
893 public:
894 public slots:
894 public slots:
895 elfparser* new_elfparser();
895 elfparser* new_elfparser();
896 void delete_elfparser(elfparser* obj) { delete obj; }
896 void delete_elfparser(elfparser* obj) { delete obj; }
897 int closeFile(elfparser* theWrappedObject);
897 int closeFile(elfparser* theWrappedObject);
898 QString getABI(elfparser* theWrappedObject);
898 QString getABI(elfparser* theWrappedObject);
899 QString getArchitecture(elfparser* theWrappedObject);
899 QString getArchitecture(elfparser* theWrappedObject);
900 QString getClass(elfparser* theWrappedObject);
900 QString getClass(elfparser* theWrappedObject);
901 QString getEndianness(elfparser* theWrappedObject);
901 QString getEndianness(elfparser* theWrappedObject);
902 qint64 getEntryPointAddress(elfparser* theWrappedObject);
902 qint64 getEntryPointAddress(elfparser* theWrappedObject);
903 bool getSectionData(elfparser* theWrappedObject, int index, char** buffer);
903 bool getSectionData(elfparser* theWrappedObject, int index, char** buffer);
904 qint64 getSectionDatasz(elfparser* theWrappedObject, int index);
904 qint64 getSectionDatasz(elfparser* theWrappedObject, int index);
905 qint64 getSectionMemsz(elfparser* theWrappedObject, int index);
905 qint64 getSectionMemsz(elfparser* theWrappedObject, int index);
906 QString getSectionName(elfparser* theWrappedObject, int index);
906 QString getSectionName(elfparser* theWrappedObject, int index);
907 qint64 getSectionPaddr(elfparser* theWrappedObject, int index);
907 qint64 getSectionPaddr(elfparser* theWrappedObject, int index);
908 QString getSectionType(elfparser* theWrappedObject, int index);
908 QString getSectionType(elfparser* theWrappedObject, int index);
909 int getSectioncount(elfparser* theWrappedObject);
909 int getSectioncount(elfparser* theWrappedObject);
910 qint64 getSegmentFilesz(elfparser* theWrappedObject, int index);
910 qint64 getSegmentFilesz(elfparser* theWrappedObject, int index);
911 QString getSegmentFlags(elfparser* theWrappedObject, int index);
911 QString getSegmentFlags(elfparser* theWrappedObject, int index);
912 qint64 getSegmentMemsz(elfparser* theWrappedObject, int index);
912 qint64 getSegmentMemsz(elfparser* theWrappedObject, int index);
913 qint64 getSegmentOffset(elfparser* theWrappedObject, int index);
913 qint64 getSegmentOffset(elfparser* theWrappedObject, int index);
914 qint64 getSegmentPaddr(elfparser* theWrappedObject, int index);
914 qint64 getSegmentPaddr(elfparser* theWrappedObject, int index);
915 QString getSegmentType(elfparser* theWrappedObject, int index);
915 QString getSegmentType(elfparser* theWrappedObject, int index);
916 qint64 getSegmentVaddr(elfparser* theWrappedObject, int index);
916 qint64 getSegmentVaddr(elfparser* theWrappedObject, int index);
917 int getSegmentcount(elfparser* theWrappedObject);
917 int getSegmentcount(elfparser* theWrappedObject);
918 QString getType(elfparser* theWrappedObject);
918 QString getType(elfparser* theWrappedObject);
919 qint64 getVersion(elfparser* theWrappedObject);
919 qint64 getVersion(elfparser* theWrappedObject);
920 bool static_elfparser_isElf(const QString& File);
920 bool static_elfparser_isElf(const QString& File);
921 bool iself(elfparser* theWrappedObject);
921 bool iself(elfparser* theWrappedObject);
922 bool isopened(elfparser* theWrappedObject);
922 bool isopened(elfparser* theWrappedObject);
923 int setFilename(elfparser* theWrappedObject, const QString& name);
923 int setFilename(elfparser* theWrappedObject, const QString& name);
924 };
924 };
925
925
926
926
927
927
928
928
929
929
930 class PythonQtShell_srecFile : public srecFile
930 class PythonQtShell_srecFile : public srecFile
931 {
931 {
932 public:
932 public:
933 PythonQtShell_srecFile():srecFile(),_wrapper(NULL) {};
933 PythonQtShell_srecFile():srecFile(),_wrapper(NULL) {};
934 PythonQtShell_srecFile(const QString& File):srecFile(File),_wrapper(NULL) {};
934 PythonQtShell_srecFile(const QString& File):srecFile(File),_wrapper(NULL) {};
935 PythonQtShell_srecFile(const QStringList& Files):srecFile(Files),_wrapper(NULL) {};
935 PythonQtShell_srecFile(const QStringList& Files):srecFile(Files),_wrapper(NULL) {};
936
936
937 ~PythonQtShell_srecFile();
937 ~PythonQtShell_srecFile();
938
938
939 virtual int closeFile();
939 virtual int closeFile();
940 virtual QList<codeFragment* > getFragments();
940 virtual QList<codeFragment* > getFragments();
941 virtual bool isopened();
941 virtual bool isopened();
942 virtual bool openFile(const QString& File);
942 virtual bool openFile(const QString& File);
943 virtual bool toBinary(const QString& File);
943 virtual bool toBinary(const QString& File);
944 virtual bool toSrec(const QString& File);
944 virtual bool toSrec(const QString& File);
945
945
946 PythonQtInstanceWrapper* _wrapper;
946 PythonQtInstanceWrapper* _wrapper;
947 };
947 };
948
948
949 class PythonQtPublicPromoter_srecFile : public srecFile
949 class PythonQtPublicPromoter_srecFile : public srecFile
950 { public:
950 { public:
951 inline int promoted_closeFile() { return srecFile::closeFile(); }
951 inline int promoted_closeFile() { return srecFile::closeFile(); }
952 inline QList<codeFragment* > promoted_getFragments() { return srecFile::getFragments(); }
952 inline QList<codeFragment* > promoted_getFragments() { return srecFile::getFragments(); }
953 inline bool promoted_isopened() { return srecFile::isopened(); }
953 inline bool promoted_isopened() { return srecFile::isopened(); }
954 inline bool promoted_openFile(const QString& File) { return srecFile::openFile(File); }
954 inline bool promoted_openFile(const QString& File) { return srecFile::openFile(File); }
955 inline bool promoted_toBinary(const QString& File) { return srecFile::toBinary(File); }
955 inline bool promoted_toBinary(const QString& File) { return srecFile::toBinary(File); }
956 inline bool promoted_toSrec(const QString& File) { return srecFile::toSrec(File); }
956 inline bool promoted_toSrec(const QString& File) { return srecFile::toSrec(File); }
957 };
957 };
958
958
959 class PythonQtWrapper_srecFile : public QObject
959 class PythonQtWrapper_srecFile : public QObject
960 { Q_OBJECT
960 { Q_OBJECT
961 public:
961 public:
962 public slots:
962 public slots:
963 srecFile* new_srecFile();
963 srecFile* new_srecFile();
964 srecFile* new_srecFile(const QString& File);
964 srecFile* new_srecFile(const QString& File);
965 srecFile* new_srecFile(const QStringList& Files);
965 srecFile* new_srecFile(const QStringList& Files);
966 void delete_srecFile(srecFile* obj) { delete obj; }
966 void delete_srecFile(srecFile* obj) { delete obj; }
967 int closeFile(srecFile* theWrappedObject);
967 int closeFile(srecFile* theWrappedObject);
968 codeFragment* getFragment(srecFile* theWrappedObject, int index);
968 codeFragment* getFragment(srecFile* theWrappedObject, int index);
969 int getFragmentAddress(srecFile* theWrappedObject, int index);
969 int getFragmentAddress(srecFile* theWrappedObject, int index);
970 bool getFragmentData(srecFile* theWrappedObject, int index, char** buffer);
970 bool getFragmentData(srecFile* theWrappedObject, int index, char** buffer);
971 QString getFragmentHeader(srecFile* theWrappedObject, int index);
971 QString getFragmentHeader(srecFile* theWrappedObject, int index);
972 int getFragmentSize(srecFile* theWrappedObject, int index);
972 int getFragmentSize(srecFile* theWrappedObject, int index);
973 QList<codeFragment* > getFragments(srecFile* theWrappedObject);
973 QList<codeFragment* > getFragments(srecFile* theWrappedObject);
974 int getFragmentsCount(srecFile* theWrappedObject);
974 int getFragmentsCount(srecFile* theWrappedObject);
975 bool isSREC(srecFile* theWrappedObject);
975 bool isSREC(srecFile* theWrappedObject);
976 bool static_srecFile_isSREC(const QString& File);
976 bool static_srecFile_isSREC(const QString& File);
977 bool isopened(srecFile* theWrappedObject);
977 bool isopened(srecFile* theWrappedObject);
978 int lineCount(srecFile* theWrappedObject);
978 int lineCount(srecFile* theWrappedObject);
979 bool mergingRecords(srecFile* theWrappedObject);
979 bool openFile(srecFile* theWrappedObject, const QString& File);
980 bool openFile(srecFile* theWrappedObject, const QString& File);
980 bool openFiles(srecFile* theWrappedObject, const QStringList& Files);
981 bool openFiles(srecFile* theWrappedObject, const QStringList& Files);
982 void setMergingRecords(srecFile* theWrappedObject, bool enabled);
981 bool toBinary(srecFile* theWrappedObject, const QString& File);
983 bool toBinary(srecFile* theWrappedObject, const QString& File);
982 bool static_srecFile_toSrec(QList<codeFragment* > fragments, const QString& File);
984 bool static_srecFile_toSrec(QList<codeFragment* > fragments, const QString& File);
983 bool toSrec(srecFile* theWrappedObject, const QString& File);
985 bool toSrec(srecFile* theWrappedObject, const QString& File);
984 };
986 };
985
987
986
988
987
989
988
990
989
991
990 class PythonQtShell_srecFileWidget : public srecFileWidget
992 class PythonQtShell_srecFileWidget : public srecFileWidget
991 {
993 {
992 public:
994 public:
993 PythonQtShell_srecFileWidget(QWidget* parent = 0):srecFileWidget(parent),_wrapper(NULL) {};
995 PythonQtShell_srecFileWidget(QWidget* parent = 0):srecFileWidget(parent),_wrapper(NULL) {};
994
996
995 ~PythonQtShell_srecFileWidget();
997 ~PythonQtShell_srecFileWidget();
996
998
997 virtual void reloadFile();
999 virtual void reloadFile();
998 virtual void setFile(abstractBinFile* file);
1000 virtual void setFile(abstractBinFile* file);
999
1001
1000 PythonQtInstanceWrapper* _wrapper;
1002 PythonQtInstanceWrapper* _wrapper;
1001 };
1003 };
1002
1004
1003 class PythonQtPublicPromoter_srecFileWidget : public srecFileWidget
1005 class PythonQtPublicPromoter_srecFileWidget : public srecFileWidget
1004 { public:
1006 { public:
1005 inline void promoted_reloadFile() { srecFileWidget::reloadFile(); }
1007 inline void promoted_reloadFile() { srecFileWidget::reloadFile(); }
1006 inline void promoted_setFile(abstractBinFile* file) { srecFileWidget::setFile(file); }
1008 inline void promoted_setFile(abstractBinFile* file) { srecFileWidget::setFile(file); }
1007 };
1009 };
1008
1010
1009 class PythonQtWrapper_srecFileWidget : public QObject
1011 class PythonQtWrapper_srecFileWidget : public QObject
1010 { Q_OBJECT
1012 { Q_OBJECT
1011 public:
1013 public:
1012 public slots:
1014 public slots:
1013 srecFileWidget* new_srecFileWidget(QWidget* parent = 0);
1015 srecFileWidget* new_srecFileWidget(QWidget* parent = 0);
1014 void delete_srecFileWidget(srecFileWidget* obj) { delete obj; }
1016 void delete_srecFileWidget(srecFileWidget* obj) { delete obj; }
1015 void reloadFile(srecFileWidget* theWrappedObject);
1017 void reloadFile(srecFileWidget* theWrappedObject);
1016 void setFile(srecFileWidget* theWrappedObject, abstractBinFile* file);
1018 void setFile(srecFileWidget* theWrappedObject, abstractBinFile* file);
1017 };
1019 };
1018
1020
1019
1021
@@ -1,6 +1,6
1 #!/bin/bash
1 #!/bin/bash
2
2
3 #export QTDIR=/usr/include
3 #export QTDIR=/usr/include
4 #export QTDIR=/usr/include/qt5
4 #export QTDIR=/usr/include/qt5
5
5
6 pythonqt_generator --include-paths=./genericBinaryFiles/elf:./genericBinaryFiles/srec:./genericBinaryFiles/BinFile:/usr/include/qt5:/usr/include/qt5/QtCore:/usr/include/qt5/QtWidgets --output-directory=pythonQtOut PySocExplorer.h pythonQtgeneratorCfg.txt
6 pythonqt_generator --include-paths=./genericBinaryFiles/:./genericBinaryFiles/elf:./genericBinaryFiles/srec:./genericBinaryFiles/BinFile:/usr/include/qt5:/usr/include/qt5/QtCore:/usr/include/qt5/QtWidgets --output-directory=pythonQtOut PySocExplorer.h pythonQtgeneratorCfg.txt
General Comments 0
You need to be logged in to leave comments. Login now