##// END OF EJS Templates
Abstract Binary files tools WIP.
jeandet -
r51:c839740ef520 default
parent child
Show More
@@ -1,150 +1,176
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 "binaryfile.h"
22 #include "binaryfile.h"
23 #include "srecfile.h"
23
24
24 binaryFile::binaryFile()
25 binaryFile::binaryFile()
25 {
26 {
26 }
27 }
27
28
28 binaryFile::binaryFile(const QString &File)
29 binaryFile::binaryFile(const QString &File)
29 {
30 {
30 openFile(File);
31 openFile(File);
31 }
32 }
32
33
33 binaryFile::binaryFile(const QStringList &Files)
34 binaryFile::binaryFile(const QStringList &Files)
34 {
35 {
35 openFiles(Files);
36 openFiles(Files);
36 }
37 }
37
38
38 binaryFile::~binaryFile()
39 binaryFile::~binaryFile()
39 {
40 {
40
41
41 }
42 }
42
43
43 bool binaryFile::openFile(const QString &File)
44 bool binaryFile::openFile(const QString &File)
44 {
45 {
45 return openFiles(QStringList()<<File);
46 return openFiles(QStringList()<<File);
46 }
47 }
47
48
48 bool binaryFile::openFiles(const QStringList &Files)
49 bool binaryFile::openFiles(const QStringList &Files)
49 {
50 {
50 this->p_fileNames.clear();
51 this->p_fileNames.append(Files);
52 for(int i=0;i<p_files.count();i++)
53 {
54 delete p_files.at(i);
55 }
56 this->p_files.clear();
57 for(int i=0;i<Files.count();i++)
51 for(int i=0;i<Files.count();i++)
58 {
52 {
59 this->p_files.append(new QFile(Files.at(i)));
53 this->p_files.append(new QFile(Files.at(i)));
60 this->p_files.at(i)->open(QIODevice::ReadOnly);
54 this->p_files.at(i)->open(QIODevice::ReadOnly);
61 loadFile(this->p_files.at(i));
55 loadFile(this->p_files.at(i));
62 }
56 }
63 return true;
57 return true;
64 }
58 }
65
59
66 bool binaryFile::isopened()
60 bool binaryFile::isopened()
67 {
61 {
68 bool opened = true;
62 bool opened = true;
69 for(int i=0;i<this->p_files.count();i++)
63 for(int i=0;i<this->p_files.count();i++)
70 {
64 {
71 opened &= p_files.at(i)->isOpen();
65 opened &= p_files.at(i)->isOpen();
72 }
66 }
73 return opened;
67 return opened;
74 }
68 }
75
69
76 int binaryFile::closeFile()
70 int binaryFile::closeFile()
77 {
71 {
78 for(int i=0;i<p_files.count();i++)
72 for(int i=0;i<p_files.count();i++)
79 {
73 {
80 delete p_files.at(i);
74 delete p_files.at(i);
81 for(int j=0;j<p_fragments.count();j++)
75 for(int j=0;j<p_fragments.count();j++)
82 {
76 {
83 if(p_fragments.at(j)->header == p_files.at(i)->fileName())
77 if(p_fragments.at(j)->header == p_files.at(i)->fileName())
84 {
78 {
85 codeFragment* fragment = p_fragments.at(j);
79 codeFragment* fragment = p_fragments.at(j);
86 p_fragments.removeAt(j);
80 p_fragments.removeAt(j);
87 free(fragment->data);
81 free(fragment->data);
88 delete fragment;
82 delete fragment;
89 }
83 }
90 }
84 }
91 }
85 }
92 p_files.clear();
86 p_files.clear();
93 p_fileName.clear();
87 p_fileName.clear();
94 return 0;
88 return 0;
95 }
89 }
96
90
97 QList<codeFragment *> binaryFile::getFragments()
91 QList<codeFragment *> binaryFile::getFragments()
98 {
92 {
99 return p_fragments;
93 return p_fragments;
100 }
94 }
101
95
102 int binaryFile::getFragmentsCount()
96 int binaryFile::getFragmentsCount()
103 {
97 {
104 return p_fragments.count();
98 return p_fragments.count();
105 }
99 }
106
100
107 int binaryFile::getFragmentAddress(int index)
101 int binaryFile::getFragmentAddress(int index)
108 {
102 {
109 if((index>=0)&&(index<p_fragments.count()))
103 if((index>=0)&&(index<p_fragments.count()))
110 return p_fragments.at(index)->address;
104 return p_fragments.at(index)->address;
111 return 0;
105 return 0;
112 }
106 }
113
107
114 int binaryFile::getFragmentSize(int index)
108 int binaryFile::getFragmentSize(int index)
115 {
109 {
116 if((index>=0)&&(index<p_fragments.count()))
110 if((index>=0)&&(index<p_fragments.count()))
117 return p_fragments.at(index)->size;
111 return p_fragments.at(index)->size;
118 return 0;
112 return 0;
119 }
113 }
120
114
121 QString binaryFile::getFragmentHeader(int index)
115 QString binaryFile::getFragmentHeader(int index)
122 {
116 {
123 if((index>=0)&&(index<p_fragments.count()))
117 if((index>=0)&&(index<p_fragments.count()))
124 return p_fragments.at(index)->header;
118 return p_fragments.at(index)->header;
125 return "";
119 return "";
126 }
120 }
127
121
122 codeFragment *binaryFile::getFragment(int index)
123 {
124 if((index>=0)&&(index<p_fragments.count()))
125 return p_fragments.at(index);
126 return NULL;
127 }
128
128 bool binaryFile::getFragmentData(int index, char **buffer)
129 bool binaryFile::getFragmentData(int index, char **buffer)
129 {
130 {
130 if((index>=0)&&(index<p_fragments.count()))
131 if((index>=0)&&(index<p_fragments.count()))
131 {
132 {
132 *buffer = p_fragments.at(index)->data;
133 *buffer = p_fragments.at(index)->data;
133 return true;
134 return true;
134 }
135 }
135 return false;
136 return false;
136 }
137 }
137
138
139 bool binaryFile::toSrec(const QString &fileName)
140 {
141 srecFile::toSrec(p_fragments,fileName);
142 }
143
144 bool binaryFile::toBinary(const QString &fileName)
145 {
146 toBinary(p_fragments,fileName);
147 }
148
149 bool binaryFile::toBinary(QList<codeFragment *> fragments, const QString &File)
150 {
151 QFile file(File);
152 file.open(QIODevice::WriteOnly);
153 if(file.isOpen())
154 {
155 for(int i=0;i<fragments.count();i++)
156 {
157 file.write(fragments.at(i)->data,fragments.at(i)->size);
158 }
159 return true;
160 }
161 return false;
162 }
163
138 void binaryFile::loadFile(QFile *file)
164 void binaryFile::loadFile(QFile *file)
139 {
165 {
140 if (file->isOpen())
166 if (file->isOpen())
141 {
167 {
142 codeFragment* fragment = new codeFragment();
168 codeFragment* fragment = new codeFragment();
143 fragment->header = file->fileName();
169 fragment->header = file->fileName();
144 fragment->address = 0;
170 fragment->address = 0;
145 fragment->size = file->size();
171 fragment->size = file->size();
146 fragment->data = (char*)malloc(file->size());
172 fragment->data = (char*)malloc(file->size());
147 file->read(fragment->data,file->size());
173 file->read(fragment->data,file->size());
148 p_fragments.append(fragment);
174 p_fragments.append(fragment);
149 }
175 }
150 }
176 }
@@ -1,60 +1,64
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 BINARYFILE_H
22 #ifndef BINARYFILE_H
23 #define BINARYFILE_H
23 #define BINARYFILE_H
24 #include "abstractbinfile.h"
24 #include "abstractbinfile.h"
25 #include <QObject>
25 #include <QObject>
26 #include <QString>
26 #include <QString>
27 #include <QList>
27 #include <QList>
28 #include <QStringList>
28 #include <QStringList>
29 #include <QFile>
29 #include <QFile>
30
30
31 class binaryFile : public abstractBinFile
31 class binaryFile : public abstractBinFile
32 {
32 {
33 Q_OBJECT
33 Q_OBJECT
34 public:
34 public:
35 explicit binaryFile();
35 explicit binaryFile();
36 binaryFile(const QString& File);
36 binaryFile(const QString& File);
37 binaryFile(const QStringList& Files);
37 binaryFile(const QStringList& Files);
38 ~binaryFile();
38 ~binaryFile();
39 bool openFile(const QString& File);
39 bool openFile(const QString& File);
40 bool openFiles(const QStringList& Files);
40 bool openFiles(const QStringList& Files);
41 bool isopened();
41 bool isopened();
42 int closeFile();
42 int closeFile();
43 QList<codeFragment*> getFragments();
43 QList<codeFragment*> getFragments();
44 int getFragmentsCount();
44 int getFragmentsCount();
45 int getFragmentAddress(int index);
45 int getFragmentAddress(int index);
46 int getFragmentSize(int index);
46 int getFragmentSize(int index);
47 QString getFragmentHeader(int index);
47 QString getFragmentHeader(int index);
48 bool getFragmentData(int index, char **buffer);
48 codeFragment* getFragment(int index);
49 bool getFragmentData(int index, char **buffer);
50 bool toSrec(const QString& fileName);
51 bool toBinary(const QString& fileName);
52 static bool toBinary(QList<codeFragment*> fragments,const QString& File);
49 signals:
53 signals:
50
54
51 public slots:
55 public slots:
52
56
53 private:
57 private:
54 void loadFile(QFile *file);
58 void loadFile(QFile *file);
55 QStringList p_fileNames;
59 QStringList p_fileNames;
56 QList<QFile*>p_files;
60 QList<QFile*>p_files;
57 QList<codeFragment*> p_fragments;
61 QList<codeFragment*> p_fragments;
58 };
62 };
59
63
60 #endif // BINARYFILE_H
64 #endif // BINARYFILE_H
@@ -1,82 +1,150
1 #include "binaryfilewidget.h"
1 #include "binaryfilewidget.h"
2 #include "ui_binaryfilewidget.h"
2 #include "ui_binaryfilewidget.h"
3 #include "qtablewidgetintitem.h"
3 #include "qtablewidgetintitem.h"
4 #include <QtWidgets/QTableWidget>
4 #include <QtWidgets/QTableWidget>
5 #include <QtWidgets/QFileDialog>
6 #include "srecfile.h"
5
7
6 binaryFileWidget::binaryFileWidget(QWidget *parent) :
8 binaryFileWidget::binaryFileWidget(QWidget *parent) :
7 QWidget(parent),
9 abstractBinFileWidget(parent),
8 ui(new Ui::binaryFileWidget)
10 ui(new Ui::binaryFileWidget)
9 {
11 {
10 ui->setupUi(this);
12 ui->setupUi(this);
11 connect(this->ui->fragmentList,SIGNAL(cellActivated(int,int)),this,SLOT(fragmentCellActivated(int,int)));
13 connect(this->ui->fragmentList,SIGNAL(cellActivated(int,int)),this,SLOT(fragmentCellActivated(int,int)));
12 connect(this->ui->fragmentList,SIGNAL(cellChanged(int,int)),this,SLOT(fragmentCellChanged(int,int)));
14 connect(this->ui->fragmentList,SIGNAL(cellChanged(int,int)),this,SLOT(fragmentCellChanged(int,int)));
15 exportToSREC_action = new QAction(tr("Export to SREC"),this);
16 exportToBIN_action = new QAction(tr("Export to Binary"),this);
17 this->ui->fragmentList->addAction(exportToBIN_action);
18 this->ui->fragmentList->addAction(exportToSREC_action);
19 connect(this->exportToBIN_action,SIGNAL(triggered()),this,SLOT(exportToBIN()));
20 connect(this->exportToSREC_action,SIGNAL(triggered()),this,SLOT(exportToSREC()));
13 }
21 }
14
22
15 binaryFileWidget::~binaryFileWidget()
23 binaryFileWidget::~binaryFileWidget()
16 {
24 {
17 delete ui;
25 delete ui;
18 }
26 }
19
27
20 void binaryFileWidget::updateBinaryFile(binaryFile *file)
28 void binaryFileWidget::setFile(abstractBinFile *file)
21 {
29 {
22 this->p_binfile = file;
30 this->p_binfile = (binaryFile*)file;
23 if(p_binfile->isopened())
31 if(p_binfile->isopened())
24 {
32 {
25 updateFragments();
33 reloadFile();
26 }
34 }
27 }
35 }
28
36
29 void binaryFileWidget::updateFragments()
37 void binaryFileWidget::reloadFile()
30 {
38 {
31 this->ui->fragmentList->clear();
39 this->ui->fragmentList->clear();
32 this->ui->fragmentList->setRowCount(p_binfile->getFragmentsCount());
40 this->ui->fragmentList->setRowCount(p_binfile->getFragmentsCount());
33 this->ui->fragmentList->setHorizontalHeaderLabels(QStringList()<<"File"<<"Size"<<"Address");
41 this->ui->fragmentList->setHorizontalHeaderLabels(QStringList()<<"File"<<"Size"<<"Address");
34 for(int i=0;i<p_binfile->getFragmentsCount();i++)
42 for(int i=0;i<p_binfile->getFragmentsCount();i++)
35 {
43 {
36 QTableWidgetItem *newItem = new QTableWidgetItem(p_binfile->getFragmentHeader(i));
44 QTableWidgetItem *newItem = new QTableWidgetItem(p_binfile->getFragmentHeader(i));
37 newItem->setFlags(newItem->flags() ^ Qt::ItemIsEditable);
45 newItem->setFlags(newItem->flags() ^ Qt::ItemIsEditable);
38 this->ui->fragmentList->setItem(i, 0, newItem);
46 this->ui->fragmentList->setItem(i, 0, newItem);
39
47
40 newItem = (QTableWidgetItem*)new QTableWidgetIntItem(QString("%1").arg(p_binfile->getFragmentSize(i)),DecimalItem);
48 newItem = (QTableWidgetItem*)new QTableWidgetIntItem(QString("%1").arg(p_binfile->getFragmentSize(i)),DecimalItem);
41 newItem->setFlags(newItem->flags() ^ Qt::ItemIsEditable);
49 newItem->setFlags(newItem->flags() ^ Qt::ItemIsEditable);
42 this->ui->fragmentList->setItem(i, 1, newItem);
50 this->ui->fragmentList->setItem(i, 1, newItem);
43
51
44 newItem = (QTableWidgetItem*)new QTableWidgetIntItem(QString("0x%1").arg(p_binfile->getFragmentAddress(i),8,16).replace(" ","0"),HexaDecimalItem);
52 newItem = (QTableWidgetItem*)new QTableWidgetIntItem(QString("0x%1").arg(p_binfile->getFragmentAddress(i),8,16).replace(" ","0"),HexaDecimalItem);
45 // newItem->setFlags(newItem->flags() ^ Qt::ItemIsEditable);
53 // newItem->setFlags(newItem->flags() ^ Qt::ItemIsEditable);
46 this->ui->fragmentList->setItem(i, 2, newItem);
54 this->ui->fragmentList->setItem(i, 2, newItem);
47
55
48 }
56 }
49 this->ui->fragmentList->resizeColumnsToContents();
57 this->ui->fragmentList->resizeColumnsToContents();
50 }
58 }
51
59
52 void binaryFileWidget::fragmentCellActivated(int row, int column)
60 void binaryFileWidget::fragmentCellActivated(int row, int column)
53 {
61 {
54 Q_UNUSED(column)
62 Q_UNUSED(column)
55 char* buff=NULL;
63 char* buff=NULL;
56 int index = this->ui->fragmentList->item(row,0)->text().toInt();
64 int index = this->ui->fragmentList->item(row,0)->text().toInt();
57 if(index!=-1)
65 if(index!=-1)
58 {
66 {
59 this->p_binfile->getFragmentData(index,&buff);
67 this->p_binfile->getFragmentData(index,&buff);
60 this->ui->hexViewer->setData(QByteArray(buff,this->p_binfile->getFragmentSize(index)));
68 this->ui->hexViewer->setData(QByteArray(buff,this->p_binfile->getFragmentSize(index)));
61 this->ui->hexViewer->setAddressOffset(this->p_binfile->getFragmentAddress(index));
69 this->ui->hexViewer->setAddressOffset(this->p_binfile->getFragmentAddress(index));
62 }
70 }
63 }
71 }
64
72
65 void binaryFileWidget::fragmentCellChanged(int row, int column)
73 void binaryFileWidget::fragmentCellChanged(int row, int column)
66 {
74 {
67 if(column==2)
75 if(column==2)
68 {
76 {
69 QString newAddressStr = this->ui->fragmentList->item(row,column)->text();
77 QString newAddressStr = this->ui->fragmentList->item(row,column)->text();
70 int newAddress = 0;
78 int newAddress = 0;
71 newAddressStr.remove(" ");
79 newAddressStr.remove(" ");
72 if(newAddressStr.at(0)=='0' && newAddressStr.at(1)=='x')
80 if(newAddressStr.at(0)=='0' && newAddressStr.at(1)=='x')
73 {
81 {
74 newAddress = newAddressStr.remove("0x").toUInt(0,16);
82 newAddress = newAddressStr.remove("0x").toUInt(0,16);
75 }
83 }
76 else
84 else
77 {
85 {
78 newAddress = newAddressStr.toUInt();
86 newAddress = newAddressStr.toUInt();
79 }
87 }
80 this->p_binfile->getFragments().at(row)->address = newAddress;
88 this->p_binfile->getFragments().at(row)->address = newAddress;
81 }
89 }
82 }
90 }
91
92 void binaryFileWidget::exportToSREC()
93 {
94 QList<codeFragment *> SelectedFragmentsList=getSelectedFragments();
95 if(SelectedFragmentsList.count()>0)
96 {
97 QString fileName = QFileDialog::getSaveFileName(this, tr("Save File"),
98 NULL,
99 tr("SREC Files (*.srec)"));
100 if(!fileName.isEmpty())
101 {
102 srecFile::toSrec(SelectedFragmentsList,fileName);
103 }
104 }
105 }
106
107 void binaryFileWidget::exportToBIN()
108 {
109 QList<codeFragment *> SelectedFragmentsList=getSelectedFragments();
110 if(SelectedFragmentsList.count()>0)
111 {
112 QString fileName = QFileDialog::getSaveFileName(this, tr("Save File"),
113 NULL,
114 tr("Binary Files (*.bin)"));
115 if(!fileName.isEmpty())
116 {
117 binaryFile::toBinary(SelectedFragmentsList,fileName);
118 }
119 }
120 }
121
122 QStringList binaryFileWidget::getSelectedFilesNames()
123 {
124 QStringList SelectedFilesList;
125 QList<QTableWidgetItem*> items = this->ui->fragmentList->selectedItems();
126 for(int i=0;i<items.count();i++)
127 {
128 QString file = p_binfile->getFragmentHeader(items.at(i)->row());
129 if(!SelectedFilesList.contains(file))
130 {
131 SelectedFilesList.append(file);
132 }
133 }
134 return SelectedFilesList;
135 }
136
137 QList<codeFragment *> binaryFileWidget::getSelectedFragments()
138 {
139 QList<codeFragment *> SelectedFragmentsList;
140 QList<QTableWidgetItem*> items = this->ui->fragmentList->selectedItems();
141 for(int i=0;i<items.count();i++)
142 {
143 codeFragment * fragment = p_binfile->getFragment(items.at(i)->row());
144 if(!SelectedFragmentsList.contains(fragment))
145 {
146 SelectedFragmentsList.append(fragment);
147 }
148 }
149 return SelectedFragmentsList;
150 }
@@ -1,32 +1,60
1 /*------------------------------------------------------------------------------
2 -- This file is a part of the SocExplorer Software
3 -- Copyright (C) 2014, Plasma Physics Laboratory - CNRS
4 --
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
7 -- the Free Software Foundation; either version 2 of the License, or
8 -- (at your option) any later version.
9 --
10 -- This program is distributed in the hope that it will be useful,
11 -- but WITHOUT ANY WARRANTY; without even the implied warranty of
12 -- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 -- GNU General Public License for more details.
14 --
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
17 -- Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
18 -------------------------------------------------------------------------------*/
19 /*-- Author : Alexis Jeandet
20 -- Mail : alexis.jeandet@member.fsf.org
21 ----------------------------------------------------------------------------*/
1 #ifndef BINARYFILEWIDGET_H
22 #ifndef BINARYFILEWIDGET_H
2 #define BINARYFILEWIDGET_H
23 #define BINARYFILEWIDGET_H
3
24
4 #include <QWidget>
25 #include <QWidget>
5 #include "binaryfile.h"
26 #include "binaryfile.h"
27 #include <QAction>
6
28
7 namespace Ui {
29 namespace Ui {
8 class binaryFileWidget;
30 class binaryFileWidget;
9 }
31 }
10
32
11 class binaryFileWidget : public QWidget
33 class binaryFileWidget : public abstractBinFileWidget
12 {
34 {
13 Q_OBJECT
35 Q_OBJECT
14
36
15 public:
37 public:
16 explicit binaryFileWidget(QWidget *parent = 0);
38 explicit binaryFileWidget(QWidget *parent = 0);
17 ~binaryFileWidget();
39 ~binaryFileWidget();
18
40
19 public slots:
41 public slots:
20 void updateBinaryFile(binaryFile* file);
42 void setFile(abstractBinFile* file);
21 void updateFragments();
43 void reloadFile();
22
44
23 private slots:
45 private slots:
24 void fragmentCellActivated(int row, int column);
46 void fragmentCellActivated(int row, int column);
25 void fragmentCellChanged(int row, int column);
47 void fragmentCellChanged(int row, int column);
48 void exportToSREC();
49 void exportToBIN();
26
50
27 private:
51 private:
52 QStringList getSelectedFilesNames();
53 QList<codeFragment *> getSelectedFragments();
28 Ui::binaryFileWidget *ui;
54 Ui::binaryFileWidget *ui;
29 binaryFile* p_binfile;
55 binaryFile* p_binfile;
56 QAction* exportToSREC_action;
57 QAction* exportToBIN_action;
30 };
58 };
31
59
32 #endif // BINARYFILEWIDGET_H
60 #endif // BINARYFILEWIDGET_H
@@ -1,61 +1,64
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>binaryFileWidget</class>
3 <class>binaryFileWidget</class>
4 <widget class="QWidget" name="binaryFileWidget">
4 <widget class="QWidget" name="binaryFileWidget">
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>637</width>
9 <width>637</width>
10 <height>342</height>
10 <height>342</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="QHexEdit" name="hexViewer" native="true">
22 <widget class="QHexEdit" name="hexViewer" native="true">
23 <property name="minimumSize">
23 <property name="minimumSize">
24 <size>
24 <size>
25 <width>200</width>
25 <width>200</width>
26 <height>0</height>
26 <height>0</height>
27 </size>
27 </size>
28 </property>
28 </property>
29 </widget>
29 </widget>
30 <widget class="QTableWidget" name="fragmentList">
30 <widget class="QTableWidget" name="fragmentList">
31 <property name="contextMenuPolicy">
32 <enum>Qt::ActionsContextMenu</enum>
33 </property>
31 <column>
34 <column>
32 <property name="text">
35 <property name="text">
33 <string>File</string>
36 <string>File</string>
34 </property>
37 </property>
35 </column>
38 </column>
36 <column>
39 <column>
37 <property name="text">
40 <property name="text">
38 <string>Size</string>
41 <string>Size</string>
39 </property>
42 </property>
40 </column>
43 </column>
41 <column>
44 <column>
42 <property name="text">
45 <property name="text">
43 <string>Address</string>
46 <string>Address</string>
44 </property>
47 </property>
45 </column>
48 </column>
46 </widget>
49 </widget>
47 </widget>
50 </widget>
48 </item>
51 </item>
49 </layout>
52 </layout>
50 </widget>
53 </widget>
51 <customwidgets>
54 <customwidgets>
52 <customwidget>
55 <customwidget>
53 <class>QHexEdit</class>
56 <class>QHexEdit</class>
54 <extends>QWidget</extends>
57 <extends>QWidget</extends>
55 <header location="global">qhexedit.h</header>
58 <header location="global">qhexedit.h</header>
56 <container>1</container>
59 <container>1</container>
57 </customwidget>
60 </customwidget>
58 </customwidgets>
61 </customwidgets>
59 <resources/>
62 <resources/>
60 <connections/>
63 <connections/>
61 </ui>
64 </ui>
@@ -1,52 +1,67
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 ABSTRACTBINFILE_H
22 #ifndef ABSTRACTBINFILE_H
23 #define ABSTRACTBINFILE_H
23 #define ABSTRACTBINFILE_H
24
24
25 #include <QtCore/QObject>
25 #include <QtCore/QObject>
26 #include <QtWidgets/QWidget>
26
27
27 class codeFragment
28 class codeFragment
28 {
29 {
29 public:
30 public:
30 codeFragment();
31 codeFragment();
31 codeFragment(char* data, quint64 size, quint64 address):data(data),size(size),address(address){}
32 codeFragment(char* data, quint64 size, quint64 address):data(data),size(size),address(address){}
32 QString header;
33 QString header;
33 char* data;
34 char* data;
34 quint64 size;
35 quint64 size;
35 quint64 address;
36 quint64 address;
36 };
37 };
37
38
38 class abstractBinFile : public QObject
39 class abstractBinFile : public QObject
39 {
40 {
40 Q_OBJECT
41 Q_OBJECT
41 public:
42 public:
42 // virtual abstractExecFile()=0;
43 // virtual abstractExecFile()=0;
43 virtual bool openFile(const QString& File)=0;
44 virtual bool openFile(const QString& File)=0;
44 virtual bool isopened()=0;
45 virtual bool isopened()=0;
45 virtual int closeFile()=0;
46 virtual int closeFile()=0;
46 virtual QList<codeFragment*> getFragments()=0;
47 virtual QList<codeFragment*> getFragments()=0;
47
48 virtual bool toSrec(const QString& File)=0;
49 virtual bool toBinary(const QString& File)=0;
48 protected:
50 protected:
49 QString p_fileName;
51 QString p_fileName;
50 };
52 };
51
53
54
55 class abstractBinFileWidget : public QWidget
56 {
57 Q_OBJECT
58
59 public:
60 abstractBinFileWidget(QWidget* parent = 0):QWidget(parent){};
61
62 public slots:
63 virtual void setFile(abstractBinFile* file)=0;
64 virtual void reloadFile()=0;
65 };
66
52 #endif // ABSTRACTBINFILE_H
67 #endif // ABSTRACTBINFILE_H
@@ -1,135 +1,135
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}/elf/libelfWin32/include
11 win32:INCLUDEPATH += $${PWD}/elf/libelfWin32/include
12 win32:INCLUDEPATH += $${PWD}/elf/libelfWin32/include/libelf
12 win32:INCLUDEPATH += $${PWD}/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}/elf/libelfWin32/bin/libelf.a
16 win32:LIBS += $${PWD}/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 elf/elfinfowdgt.h \
38 elf/elfinfowdgt.h \
39 elf/elfparser.h \
39 elf/elfparser.h \
40 elf/elffile.h \
40 elf/elffile.h \
41 elf/elffilewidget.h \
41 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 srec/srecfile.h \
45 srec/srecfile.h \
46 srec/srecfilewidget.h \
46 srec/srecfilewidget.h \
47 BinFile/binaryfile.h \
47 BinFile/binaryfile.h \
48 BinFile/binaryfilewidget.h \
48 BinFile/binaryfilewidget.h \
49 abstractbinfile.h
49 abstractbinfile.h
50
50
51 win32{
51 win32{
52 elfheader.path = $$[QT_INSTALL_HEADERS]/SocExplorer/common/libelf
52 elfheader.path = $$[QT_INSTALL_HEADERS]/SocExplorer/common/libelf
53 elfheader.files += \
53 elfheader.files += \
54 elf/libelfWin32/include/libelf/byteswap.h \
54 elf/libelfWin32/include/libelf/byteswap.h \
55 elf/libelfWin32/include/libelf/errors.h \
55 elf/libelfWin32/include/libelf/errors.h \
56 elf/libelfWin32/include/libelf/gelf.h \
56 elf/libelfWin32/include/libelf/gelf.h \
57 elf/libelfWin32/include/libelf/nlist.h \
57 elf/libelfWin32/include/libelf/nlist.h \
58 elf/libelfWin32/include/libelf/sys_elf.h \
58 elf/libelfWin32/include/libelf/sys_elf.h \
59 elf/libelfWin32/include/libelf/verneed.h \
59 elf/libelfWin32/include/libelf/verneed.h \
60 elf/libelfWin32/include/libelf/elf_repl.h \
60 elf/libelfWin32/include/libelf/elf_repl.h \
61 elf/libelfWin32/include/libelf/ext_types.h \
61 elf/libelfWin32/include/libelf/ext_types.h \
62 elf/libelfWin32/include/libelf/libelf.h \
62 elf/libelfWin32/include/libelf/libelf.h \
63 elf/libelfWin32/include/libelf/private.h \
63 elf/libelfWin32/include/libelf/private.h \
64 elf/libelfWin32/include/libelf/verdef.h
64 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 srec
75 INCLUDEPATH += QCustomPlot qhexedit srec 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 elf/elfinfowdgt.h \
87 elf/elfinfowdgt.h \
88 elf/elfparser.h \
88 elf/elfparser.h \
89 elf/elffile.h \
89 elf/elffile.h \
90 qipdialogbox.h \
90 qipdialogbox.h \
91 PySocExplorer.h \
91 PySocExplorer.h \
92 SocExplorerPlot.h \
92 SocExplorerPlot.h \
93 elf/elffilewidget.h \
93 elf/elffilewidget.h \
94 qtablewidgetintitem.h \
94 qtablewidgetintitem.h \
95 srec/srecfile.h \
95 srec/srecfile.h \
96 srec/srecfilewidget.h \
96 srec/srecfilewidget.h \
97 abstractbinfile.h \
97 abstractbinfile.h \
98 BinFile/binaryfile.h \
98 BinFile/binaryfile.h \
99 BinFile/binaryfilewidget.h
99 BinFile/binaryfilewidget.h
100
100
101
101
102 SOURCES += \
102 SOURCES += \
103 memsizewdgt.cpp \
103 memsizewdgt.cpp \
104 qhexspinbox.cpp \
104 qhexspinbox.cpp \
105 qsvgicon.cpp \
105 qsvgicon.cpp \
106 qhexedit/qhexedit_p.cpp \
106 qhexedit/qhexedit_p.cpp \
107 qhexedit/qhexedit.cpp \
107 qhexedit/qhexedit.cpp \
108 qhexedit/xbytearray.cpp \
108 qhexedit/xbytearray.cpp \
109 qhexedit/commands.cpp \
109 qhexedit/commands.cpp \
110 QCustomPlot/qcustomplot.cpp \
110 QCustomPlot/qcustomplot.cpp \
111 tcp_terminal_client.cpp \
111 tcp_terminal_client.cpp \
112 elf/elfinfowdgt.cpp \
112 elf/elfinfowdgt.cpp \
113 elf/elfparser.cpp \
113 elf/elfparser.cpp \
114 elf/elffile.cpp \
114 elf/elffile.cpp \
115 qipdialogbox.cpp \
115 qipdialogbox.cpp \
116 SocExplorerPlot.cpp \
116 SocExplorerPlot.cpp \
117 elf/elffilewidget.cpp \
117 elf/elffilewidget.cpp \
118 qtablewidgetintitem.cpp \
118 qtablewidgetintitem.cpp \
119 srec/srecfile.cpp \
119 srec/srecfile.cpp \
120 srec/srecfilewidget.cpp \
120 srec/srecfilewidget.cpp \
121 abstractbinfile.cpp \
121 abstractbinfile.cpp \
122 BinFile/binaryfile.cpp \
122 BinFile/binaryfile.cpp \
123 BinFile/binaryfilewidget.cpp
123 BinFile/binaryfilewidget.cpp
124
124
125 FORMS += \
125 FORMS += \
126 elf/elffilewidget.ui \
126 elf/elffilewidget.ui \
127 srec/srecfilewidget.ui \
127 srec/srecfilewidget.ui \
128 BinFile/binaryfilewidget.ui
128 BinFile/binaryfilewidget.ui
129
129
130 OTHER_FILES += \
130 OTHER_FILES += \
131 ./pythongenerator.sh \
131 ./pythongenerator.sh \
132 ./pythonQtgeneratorCfg.txt
132 ./pythonQtgeneratorCfg.txt
133
133
134
134
135
135
@@ -1,1068 +1,1074
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 :
19 /*-- Author :
20 Alexis Jeandet
20 Alexis Jeandet
21 -- Mail :
21 -- Mail :
22 alexis.jeandet@member.fsf.org
22 alexis.jeandet@member.fsf.org
23 ----------------------------------------------------------------------------*/
23 ----------------------------------------------------------------------------*/
24 #include "elffile.h"
24 #include "elffile.h"
25 #include "srec/srecfile.h"
25 #include "srecfile.h"
26 #include "binaryfile.h"
26 #include <stdint.h>
27 #include <stdint.h>
27
28
28 ElfFile::ElfFile()
29 ElfFile::ElfFile()
29 :abstractBinFile()
30 :abstractBinFile()
30 {
31 {
31 this->opened = false;
32 this->opened = false;
32 this->type_elf = false;
33 this->type_elf = false;
33 this->elfFile = (int)NULL;
34 this->elfFile = (int)NULL;
34 this->e = NULL;
35 this->e = NULL;
35 }
36 }
36
37
37 ElfFile::ElfFile(const QString &File)
38 ElfFile::ElfFile(const QString &File)
38 :abstractBinFile()
39 :abstractBinFile()
39 {
40 {
40 this->opened = false;
41 this->opened = false;
41 this->type_elf = false;
42 this->type_elf = false;
42 this->elfFile = (int)NULL;
43 this->elfFile = (int)NULL;
43 this->e = NULL;
44 this->e = NULL;
44 this->p_fileName = File;
45 this->p_fileName = File;
45 openFile(File);
46 openFile(File);
46 }
47 }
47
48
48 ElfFile::~ElfFile()
49 ElfFile::~ElfFile()
49 {
50 {
50 closeFile();
51 closeFile();
51 if(scn)free(scn);
52 if(scn)free(scn);
52 if(data)free(data);
53 if(data)free(data);
53 for(int i=0;i<this->sections.count();i++)
54 for(int i=0;i<this->sections.count();i++)
54 {
55 {
55 delete this->sections.at(i);
56 delete this->sections.at(i);
56 }
57 }
57 this->sections.clear();
58 this->sections.clear();
58 for(int i=0;i<this->Segments.count();i++)
59 for(int i=0;i<this->Segments.count();i++)
59 {
60 {
60 free(this->Segments.at(i));
61 free(this->Segments.at(i));
61 }
62 }
62 this->Segments.clear();
63 this->Segments.clear();
63 for(int i=0;i<symbols.count();i++)
64 for(int i=0;i<symbols.count();i++)
64 {
65 {
65 delete this->symbols.at(i);
66 delete this->symbols.at(i);
66 }
67 }
67 this->symbols.clear();
68 this->symbols.clear();
68 }
69 }
69
70
70 bool ElfFile::openFile(const QString &File)
71 bool ElfFile::openFile(const QString &File)
71 {
72 {
72 this->p_fileName = File;
73 this->p_fileName = File;
73 this->closeFile();
74 this->closeFile();
74 if(elf_version(EV_CURRENT)==EV_NONE)return 0;
75 if(elf_version(EV_CURRENT)==EV_NONE)return 0;
75 #ifdef _ELF_WINDOWS_
76 #ifdef _ELF_WINDOWS_
76 this->elfFile = open(File.toStdString().c_str(),O_RDONLY|O_BINARY ,0);
77 this->elfFile = open(File.toStdString().c_str(),O_RDONLY|O_BINARY ,0);
77 #else
78 #else
78 this->elfFile = open(File.toStdString().c_str(),O_RDONLY ,0);
79 this->elfFile = open(File.toStdString().c_str(),O_RDONLY ,0);
79 #endif
80 #endif
80 if(this->elfFile==(int)NULL)return 0;
81 if(this->elfFile==(int)NULL)return 0;
81 this->e = elf_begin(this->elfFile,ELF_C_READ,NULL);
82 this->e = elf_begin(this->elfFile,ELF_C_READ,NULL);
82 if(this->e==NULL)return 0;
83 if(this->e==NULL)return 0;
83 this->ek = elf_kind(this->e);
84 this->ek = elf_kind(this->e);
84 gelf_getehdr (this->e, &this->ehdr );
85 gelf_getehdr (this->e, &this->ehdr );
85 elf_getshdrstrndx (this->e, &this->shstrndx);
86 elf_getshdrstrndx (this->e, &this->shstrndx);
86 this->updateSegments();
87 this->updateSegments();
87 this->updateSections();
88 this->updateSections();
88 this->updateSymbols();
89 this->updateSymbols();
89 this->opened = true;
90 this->opened = true;
90 return 1;
91 return 1;
91 }
92 }
92
93
93 bool ElfFile::isopened()
94 bool ElfFile::isopened()
94 {
95 {
95 return this->opened;
96 return this->opened;
96 }
97 }
97
98
98 int ElfFile::closeFile()
99 int ElfFile::closeFile()
99 {
100 {
100 if(this->elfFile!=(int)NULL)
101 if(this->elfFile!=(int)NULL)
101 {
102 {
102 if(this->e!=NULL)
103 if(this->e!=NULL)
103 {
104 {
104 elf_end(this->e);
105 elf_end(this->e);
105 this->e = NULL;
106 this->e = NULL;
106 }
107 }
107 close(this->elfFile);
108 close(this->elfFile);
108 this->elfFile = (int)NULL;
109 this->elfFile = (int)NULL;
109 }
110 }
110 this->opened = false;
111 this->opened = false;
111 return 0;
112 return 0;
112 }
113 }
113
114
114
115
115 QList<codeFragment*> ElfFile::getFragments(QStringList fragmentList)
116 QList<codeFragment*> ElfFile::getFragments(QStringList fragmentList)
116 {
117 {
117 QList<codeFragment*> fragments;
118 QList<codeFragment*> fragments;
118 if (isopened())
119 if (isopened())
119 {
120 {
120 for(int i =0;i<fragmentList.count();i++)
121 for(int i =0;i<fragmentList.count();i++)
121 {
122 {
122 fragments.append(getFragment(fragmentList.at(i)));
123 fragments.append(getFragment(fragmentList.at(i)));
123 }
124 }
124 }
125 }
125 return fragments;
126 return fragments;
126 }
127 }
127
128
128 QList<codeFragment*> ElfFile::getFragments()
129 QList<codeFragment*> ElfFile::getFragments()
129 {
130 {
130 return getFragments(QStringList()<<".data"<<".text");
131 return getFragments(QStringList()<<".data"<<".text");
131 }
132 }
132
133
133 codeFragment *ElfFile::getFragment(const QString &name)
134 codeFragment *ElfFile::getFragment(const QString &name)
134 {
135 {
135 codeFragment* fragment= new codeFragment();
136 codeFragment* fragment= new codeFragment();
136 for(int i=0;i<getSectionCount();i++)
137 for(int i=0;i<getSectionCount();i++)
137 {
138 {
138 if(getSectionName(i) == name)
139 if(getSectionName(i) == name)
139 {
140 {
140 fragment->data =NULL;
141 fragment->data =NULL;
141 fragment->size = getSectionDatasz(i);
142 fragment->size = getSectionDatasz(i);
142 fragment->address = getSectionPaddr(i);
143 fragment->address = getSectionPaddr(i);
143 getSectionData(i,&fragment->data);
144 getSectionData(i,&fragment->data);
144 }
145 }
145 }
146 }
146 return fragment;
147 return fragment;
147 }
148 }
148
149
149
150
150
151
151
152
152
153
153
154
154
155
155 QString elfresolveMachine(Elf64_Half e_machine)
156 QString elfresolveMachine(Elf64_Half e_machine)
156 {
157 {
157 QString machineName;
158 QString machineName;
158 //Update from with bash script don't write it by yourself!
159 //Update from with bash script don't write it by yourself!
159 switch(e_machine)
160 switch(e_machine)
160 {
161 {
161 case EM_NONE:
162 case EM_NONE:
162 machineName = " No machine ";
163 machineName = " No machine ";
163 break;
164 break;
164 case EM_M32:
165 case EM_M32:
165 machineName = " AT&T WE 32100 ";
166 machineName = " AT&T WE 32100 ";
166 break;
167 break;
167 case EM_SPARC:
168 case EM_SPARC:
168 machineName = " SUN SPARC ";
169 machineName = " SUN SPARC ";
169 break;
170 break;
170 case EM_386:
171 case EM_386:
171 machineName = " Intel 80386 ";
172 machineName = " Intel 80386 ";
172 break;
173 break;
173 case EM_68K:
174 case EM_68K:
174 machineName = " Motorola m68k family ";
175 machineName = " Motorola m68k family ";
175 break;
176 break;
176 case EM_88K:
177 case EM_88K:
177 machineName = " Motorola m88k family ";
178 machineName = " Motorola m88k family ";
178 break;
179 break;
179 case EM_860:
180 case EM_860:
180 machineName = " Intel 80860 ";
181 machineName = " Intel 80860 ";
181 break;
182 break;
182 case EM_MIPS:
183 case EM_MIPS:
183 machineName = " MIPS R3000 big-endian ";
184 machineName = " MIPS R3000 big-endian ";
184 break;
185 break;
185 case EM_S370:
186 case EM_S370:
186 machineName = " IBM System/370 ";
187 machineName = " IBM System/370 ";
187 break;
188 break;
188 case EM_MIPS_RS3_LE:
189 case EM_MIPS_RS3_LE:
189 machineName = " MIPS R3000 little-endian ";
190 machineName = " MIPS R3000 little-endian ";
190 break;
191 break;
191 case EM_PARISC:
192 case EM_PARISC:
192 machineName = " HPPA ";
193 machineName = " HPPA ";
193 break;
194 break;
194 case EM_VPP500:
195 case EM_VPP500:
195 machineName = " Fujitsu VPP500 ";
196 machineName = " Fujitsu VPP500 ";
196 break;
197 break;
197 case EM_SPARC32PLUS:
198 case EM_SPARC32PLUS:
198 machineName = " Sun's \"v8plus\" ";
199 machineName = " Sun's \"v8plus\" ";
199 break;
200 break;
200 case EM_960:
201 case EM_960:
201 machineName = " Intel 80960 ";
202 machineName = " Intel 80960 ";
202 break;
203 break;
203 case EM_PPC:
204 case EM_PPC:
204 machineName = " PowerPC ";
205 machineName = " PowerPC ";
205 break;
206 break;
206 case EM_PPC64:
207 case EM_PPC64:
207 machineName = " PowerPC 64-bit ";
208 machineName = " PowerPC 64-bit ";
208 break;
209 break;
209 case EM_S390:
210 case EM_S390:
210 machineName = " IBM S390 ";
211 machineName = " IBM S390 ";
211 break;
212 break;
212 case EM_V800:
213 case EM_V800:
213 machineName = " NEC V800 series ";
214 machineName = " NEC V800 series ";
214 break;
215 break;
215 case EM_FR20:
216 case EM_FR20:
216 machineName = " Fujitsu FR20 ";
217 machineName = " Fujitsu FR20 ";
217 break;
218 break;
218 case EM_RH32:
219 case EM_RH32:
219 machineName = " TRW RH-32 ";
220 machineName = " TRW RH-32 ";
220 break;
221 break;
221 case EM_RCE:
222 case EM_RCE:
222 machineName = " Motorola RCE ";
223 machineName = " Motorola RCE ";
223 break;
224 break;
224 case EM_ARM:
225 case EM_ARM:
225 machineName = " ARM ";
226 machineName = " ARM ";
226 break;
227 break;
227 case EM_FAKE_ALPHA:
228 case EM_FAKE_ALPHA:
228 machineName = " Digital Alpha ";
229 machineName = " Digital Alpha ";
229 break;
230 break;
230 case EM_SH:
231 case EM_SH:
231 machineName = " Hitachi SH ";
232 machineName = " Hitachi SH ";
232 break;
233 break;
233 case EM_SPARCV9:
234 case EM_SPARCV9:
234 machineName = " SPARC v9 64-bit ";
235 machineName = " SPARC v9 64-bit ";
235 break;
236 break;
236 case EM_TRICORE:
237 case EM_TRICORE:
237 machineName = " Siemens Tricore ";
238 machineName = " Siemens Tricore ";
238 break;
239 break;
239 case EM_ARC:
240 case EM_ARC:
240 machineName = " Argonaut RISC Core ";
241 machineName = " Argonaut RISC Core ";
241 break;
242 break;
242 case EM_H8_300:
243 case EM_H8_300:
243 machineName = " Hitachi H8/300 ";
244 machineName = " Hitachi H8/300 ";
244 break;
245 break;
245 case EM_H8_300H:
246 case EM_H8_300H:
246 machineName = " Hitachi H8/300H ";
247 machineName = " Hitachi H8/300H ";
247 break;
248 break;
248 case EM_H8S:
249 case EM_H8S:
249 machineName = " Hitachi H8S ";
250 machineName = " Hitachi H8S ";
250 break;
251 break;
251 case EM_H8_500:
252 case EM_H8_500:
252 machineName = " Hitachi H8/500 ";
253 machineName = " Hitachi H8/500 ";
253 break;
254 break;
254 case EM_IA_64:
255 case EM_IA_64:
255 machineName = " Intel Merced ";
256 machineName = " Intel Merced ";
256 break;
257 break;
257 case EM_MIPS_X:
258 case EM_MIPS_X:
258 machineName = " Stanford MIPS-X ";
259 machineName = " Stanford MIPS-X ";
259 break;
260 break;
260 case EM_COLDFIRE:
261 case EM_COLDFIRE:
261 machineName = " Motorola Coldfire ";
262 machineName = " Motorola Coldfire ";
262 break;
263 break;
263 case EM_68HC12:
264 case EM_68HC12:
264 machineName = " Motorola M68HC12 ";
265 machineName = " Motorola M68HC12 ";
265 break;
266 break;
266 case EM_MMA:
267 case EM_MMA:
267 machineName = " Fujitsu MMA Multimedia Accelerator";
268 machineName = " Fujitsu MMA Multimedia Accelerator";
268 break;
269 break;
269 case EM_PCP:
270 case EM_PCP:
270 machineName = " Siemens PCP ";
271 machineName = " Siemens PCP ";
271 break;
272 break;
272 case EM_NCPU:
273 case EM_NCPU:
273 machineName = " Sony nCPU embeeded RISC ";
274 machineName = " Sony nCPU embeeded RISC ";
274 break;
275 break;
275 case EM_NDR1:
276 case EM_NDR1:
276 machineName = " Denso NDR1 microprocessor ";
277 machineName = " Denso NDR1 microprocessor ";
277 break;
278 break;
278 case EM_STARCORE:
279 case EM_STARCORE:
279 machineName = " Motorola Start*Core processor ";
280 machineName = " Motorola Start*Core processor ";
280 break;
281 break;
281 case EM_ME16:
282 case EM_ME16:
282 machineName = " Toyota ME16 processor ";
283 machineName = " Toyota ME16 processor ";
283 break;
284 break;
284 case EM_ST100:
285 case EM_ST100:
285 machineName = " STMicroelectronic ST100 processor ";
286 machineName = " STMicroelectronic ST100 processor ";
286 break;
287 break;
287 case EM_TINYJ:
288 case EM_TINYJ:
288 machineName = " Advanced Logic Corp. Tinyj emb.fam";
289 machineName = " Advanced Logic Corp. Tinyj emb.fam";
289 break;
290 break;
290 case EM_X86_64:
291 case EM_X86_64:
291 machineName = " AMD x86-64 architecture ";
292 machineName = " AMD x86-64 architecture ";
292 break;
293 break;
293 case EM_PDSP:
294 case EM_PDSP:
294 machineName = " Sony DSP Processor ";
295 machineName = " Sony DSP Processor ";
295 break;
296 break;
296 case EM_FX66:
297 case EM_FX66:
297 machineName = " Siemens FX66 microcontroller ";
298 machineName = " Siemens FX66 microcontroller ";
298 break;
299 break;
299 case EM_ST9PLUS:
300 case EM_ST9PLUS:
300 machineName = " STMicroelectronics ST9+ 8/16 mc ";
301 machineName = " STMicroelectronics ST9+ 8/16 mc ";
301 break;
302 break;
302 case EM_ST7:
303 case EM_ST7:
303 machineName = " STmicroelectronics ST7 8 bit mc ";
304 machineName = " STmicroelectronics ST7 8 bit mc ";
304 break;
305 break;
305 case EM_68HC16:
306 case EM_68HC16:
306 machineName = " Motorola MC68HC16 microcontroller ";
307 machineName = " Motorola MC68HC16 microcontroller ";
307 break;
308 break;
308 case EM_68HC11:
309 case EM_68HC11:
309 machineName = " Motorola MC68HC11 microcontroller ";
310 machineName = " Motorola MC68HC11 microcontroller ";
310 break;
311 break;
311 case EM_68HC08:
312 case EM_68HC08:
312 machineName = " Motorola MC68HC08 microcontroller ";
313 machineName = " Motorola MC68HC08 microcontroller ";
313 break;
314 break;
314 case EM_68HC05:
315 case EM_68HC05:
315 machineName = " Motorola MC68HC05 microcontroller ";
316 machineName = " Motorola MC68HC05 microcontroller ";
316 break;
317 break;
317 case EM_SVX:
318 case EM_SVX:
318 machineName = " Silicon Graphics SVx ";
319 machineName = " Silicon Graphics SVx ";
319 break;
320 break;
320 case EM_ST19:
321 case EM_ST19:
321 machineName = " STMicroelectronics ST19 8 bit mc ";
322 machineName = " STMicroelectronics ST19 8 bit mc ";
322 break;
323 break;
323 case EM_VAX:
324 case EM_VAX:
324 machineName = " Digital VAX ";
325 machineName = " Digital VAX ";
325 break;
326 break;
326 case EM_CRIS:
327 case EM_CRIS:
327 machineName = " Axis Communications 32-bit embedded processor ";
328 machineName = " Axis Communications 32-bit embedded processor ";
328 break;
329 break;
329 case EM_JAVELIN:
330 case EM_JAVELIN:
330 machineName = " Infineon Technologies 32-bit embedded processor ";
331 machineName = " Infineon Technologies 32-bit embedded processor ";
331 break;
332 break;
332 case EM_FIREPATH:
333 case EM_FIREPATH:
333 machineName = " Element 14 64-bit DSP Processor ";
334 machineName = " Element 14 64-bit DSP Processor ";
334 break;
335 break;
335 case EM_ZSP:
336 case EM_ZSP:
336 machineName = " LSI Logic 16-bit DSP Processor ";
337 machineName = " LSI Logic 16-bit DSP Processor ";
337 break;
338 break;
338 case EM_MMIX:
339 case EM_MMIX:
339 machineName = " Donald Knuth's educational 64-bit processor ";
340 machineName = " Donald Knuth's educational 64-bit processor ";
340 break;
341 break;
341 case EM_HUANY:
342 case EM_HUANY:
342 machineName = " Harvard University machine-independent object files ";
343 machineName = " Harvard University machine-independent object files ";
343 break;
344 break;
344 case EM_PRISM:
345 case EM_PRISM:
345 machineName = " SiTera Prism ";
346 machineName = " SiTera Prism ";
346 break;
347 break;
347 case EM_AVR:
348 case EM_AVR:
348 machineName = " Atmel AVR 8-bit microcontroller ";
349 machineName = " Atmel AVR 8-bit microcontroller ";
349 break;
350 break;
350 case EM_FR30:
351 case EM_FR30:
351 machineName = " Fujitsu FR30 ";
352 machineName = " Fujitsu FR30 ";
352 break;
353 break;
353 case EM_D10V:
354 case EM_D10V:
354 machineName = " Mitsubishi D10V ";
355 machineName = " Mitsubishi D10V ";
355 break;
356 break;
356 case EM_D30V:
357 case EM_D30V:
357 machineName = " Mitsubishi D30V ";
358 machineName = " Mitsubishi D30V ";
358 break;
359 break;
359 case EM_V850:
360 case EM_V850:
360 machineName = " NEC v850 ";
361 machineName = " NEC v850 ";
361 break;
362 break;
362 case EM_M32R:
363 case EM_M32R:
363 machineName = " Mitsubishi M32R ";
364 machineName = " Mitsubishi M32R ";
364 break;
365 break;
365 case EM_MN10300:
366 case EM_MN10300:
366 machineName = " Matsushita MN10300 ";
367 machineName = " Matsushita MN10300 ";
367 break;
368 break;
368 case EM_MN10200:
369 case EM_MN10200:
369 machineName = " Matsushita MN10200 ";
370 machineName = " Matsushita MN10200 ";
370 break;
371 break;
371 case EM_PJ:
372 case EM_PJ:
372 machineName = " picoJava ";
373 machineName = " picoJava ";
373 break;
374 break;
374 case EM_OPENRISC:
375 case EM_OPENRISC:
375 machineName = " OpenRISC 32-bit embedded processor ";
376 machineName = " OpenRISC 32-bit embedded processor ";
376 break;
377 break;
377 case EM_ARC_A5:
378 case EM_ARC_A5:
378 machineName = " ARC Cores Tangent-A5 ";
379 machineName = " ARC Cores Tangent-A5 ";
379 break;
380 break;
380 case EM_XTENSA:
381 case EM_XTENSA:
381 machineName = " Tensilica Xtensa Architecture ";
382 machineName = " Tensilica Xtensa Architecture ";
382 break;
383 break;
383 case EM_AARCH64:
384 case EM_AARCH64:
384 machineName = " ARM AARCH64 ";
385 machineName = " ARM AARCH64 ";
385 break;
386 break;
386 case EM_TILEPRO:
387 case EM_TILEPRO:
387 machineName = " Tilera TILEPro ";
388 machineName = " Tilera TILEPro ";
388 break;
389 break;
389 case EM_MICROBLAZE:
390 case EM_MICROBLAZE:
390 machineName = " Xilinx MicroBlaze ";
391 machineName = " Xilinx MicroBlaze ";
391 break;
392 break;
392 case EM_TILEGX:
393 case EM_TILEGX:
393 machineName = " Tilera TILE-Gx ";
394 machineName = " Tilera TILE-Gx ";
394 break;
395 break;
395 case EM_NUM:
396 case EM_NUM:
396 machineName = "";
397 machineName = "";
397 break;
398 break;
398 default:
399 default:
399 machineName ="Unknow Machine";
400 machineName ="Unknow Machine";
400 break;
401 break;
401 }
402 }
402 return machineName;
403 return machineName;
403 }
404 }
404
405
405
406
406
407
407
408
408 QString ElfFile::getClass()
409 QString ElfFile::getClass()
409 {
410 {
410 if(this->e!=NULL)
411 if(this->e!=NULL)
411 {
412 {
412 int eclass = gelf_getclass(this->e);
413 int eclass = gelf_getclass(this->e);
413 if(eclass==ELFCLASS32)return "ELF32";
414 if(eclass==ELFCLASS32)return "ELF32";
414 if(eclass==ELFCLASS64)return "ELF64";
415 if(eclass==ELFCLASS64)return "ELF64";
415 }
416 }
416 return "none";
417 return "none";
417 }
418 }
418
419
419
420
420 bool ElfFile::iself()
421 bool ElfFile::iself()
421 {
422 {
422 return (this->getType()!="Unknow");
423 return (this->getType()!="Unknow");
423 }
424 }
424
425
425 QString ElfFile::getArchitecture()
426 QString ElfFile::getArchitecture()
426 {
427 {
427 if(this->e!=NULL)
428 if(this->e!=NULL)
428 {
429 {
429 return elfresolveMachine(this->ehdr.e_machine);
430 return elfresolveMachine(this->ehdr.e_machine);
430 }
431 }
431 return "";
432 return "";
432 }
433 }
433
434
434
435
435 QString ElfFile::getType()
436 QString ElfFile::getType()
436 {
437 {
437 QString kind("");
438 QString kind("");
438 if(this->e!=NULL)
439 if(this->e!=NULL)
439 {
440 {
440 switch(this->ek)
441 switch(this->ek)
441 {
442 {
442 case ELF_K_AR:
443 case ELF_K_AR:
443 kind = "Archive";
444 kind = "Archive";
444 break;
445 break;
445 case ELF_K_ELF:
446 case ELF_K_ELF:
446 kind = "Elf";
447 kind = "Elf";
447 break;
448 break;
448 case ELF_K_COFF:
449 case ELF_K_COFF:
449 kind = "COFF";
450 kind = "COFF";
450 break;
451 break;
451 case ELF_K_NUM:
452 case ELF_K_NUM:
452 kind = "NUM";
453 kind = "NUM";
453 break;
454 break;
454 case ELF_K_NONE:
455 case ELF_K_NONE:
455 kind = "Data";
456 kind = "Data";
456 break;
457 break;
457 default:
458 default:
458 kind = "Unknow";
459 kind = "Unknow";
459 break;
460 break;
460 }
461 }
461 }
462 }
462 return kind;
463 return kind;
463 }
464 }
464
465
465 QString ElfFile::getEndianness()
466 QString ElfFile::getEndianness()
466 {
467 {
467 if(this->e!=NULL)
468 if(this->e!=NULL)
468 {
469 {
469 if(this->ehdr.e_ident[EI_DATA]==ELFDATA2LSB)return "2's complement, little endian";
470 if(this->ehdr.e_ident[EI_DATA]==ELFDATA2LSB)return "2's complement, little endian";
470 if(this->ehdr.e_ident[EI_DATA]==ELFDATA2MSB)return "2's complement, big endian";
471 if(this->ehdr.e_ident[EI_DATA]==ELFDATA2MSB)return "2's complement, big endian";
471 }
472 }
472 return "none";
473 return "none";
473 }
474 }
474
475
475 QString ElfFile::getABI()
476 QString ElfFile::getABI()
476 {
477 {
477 if(this->e!=NULL)
478 if(this->e!=NULL)
478 {
479 {
479 if(this->ehdr.e_ident[EI_OSABI]==ELFOSABI_NONE)return "UNIX System V ABI";
480 if(this->ehdr.e_ident[EI_OSABI]==ELFOSABI_NONE)return "UNIX System V ABI";
480 if(this->ehdr.e_ident[EI_OSABI]==ELFOSABI_SYSV)return "Alias";
481 if(this->ehdr.e_ident[EI_OSABI]==ELFOSABI_SYSV)return "Alias";
481 if(this->ehdr.e_ident[EI_OSABI]==ELFOSABI_HPUX)return "HP-UX";
482 if(this->ehdr.e_ident[EI_OSABI]==ELFOSABI_HPUX)return "HP-UX";
482 if(this->ehdr.e_ident[EI_OSABI]==ELFOSABI_NETBSD)return "NetBSD";
483 if(this->ehdr.e_ident[EI_OSABI]==ELFOSABI_NETBSD)return "NetBSD";
483 if(this->ehdr.e_ident[EI_OSABI]==ELFOSABI_LINUX)return "Object uses GNU ELF extensions";
484 if(this->ehdr.e_ident[EI_OSABI]==ELFOSABI_LINUX)return "Object uses GNU ELF extensions";
484 if(this->ehdr.e_ident[EI_OSABI]==ELFOSABI_SOLARIS)return "Sun Solaris";
485 if(this->ehdr.e_ident[EI_OSABI]==ELFOSABI_SOLARIS)return "Sun Solaris";
485 if(this->ehdr.e_ident[EI_OSABI]==ELFOSABI_AIX)return "IBM AIX";
486 if(this->ehdr.e_ident[EI_OSABI]==ELFOSABI_AIX)return "IBM AIX";
486 if(this->ehdr.e_ident[EI_OSABI]==ELFOSABI_IRIX)return "SGI Irix";
487 if(this->ehdr.e_ident[EI_OSABI]==ELFOSABI_IRIX)return "SGI Irix";
487 if(this->ehdr.e_ident[EI_OSABI]==ELFOSABI_FREEBSD)return "FreeBSD";
488 if(this->ehdr.e_ident[EI_OSABI]==ELFOSABI_FREEBSD)return "FreeBSD";
488 if(this->ehdr.e_ident[EI_OSABI]==ELFOSABI_TRU64)return "Compaq TRU64 UNIX";
489 if(this->ehdr.e_ident[EI_OSABI]==ELFOSABI_TRU64)return "Compaq TRU64 UNIX";
489 if(this->ehdr.e_ident[EI_OSABI]==ELFOSABI_MODESTO)return " Novell Modesto";
490 if(this->ehdr.e_ident[EI_OSABI]==ELFOSABI_MODESTO)return " Novell Modesto";
490 if(this->ehdr.e_ident[EI_OSABI]==ELFOSABI_OPENBSD)return "OpenBSD";
491 if(this->ehdr.e_ident[EI_OSABI]==ELFOSABI_OPENBSD)return "OpenBSD";
491 if(this->ehdr.e_ident[EI_OSABI]==ELFOSABI_ARM_AEABI)return "ARM EABI";
492 if(this->ehdr.e_ident[EI_OSABI]==ELFOSABI_ARM_AEABI)return "ARM EABI";
492 if(this->ehdr.e_ident[EI_OSABI]==ELFOSABI_ARM)return "ARM";
493 if(this->ehdr.e_ident[EI_OSABI]==ELFOSABI_ARM)return "ARM";
493 if(this->ehdr.e_ident[EI_OSABI]==ELFOSABI_STANDALONE)return "Standalone (embedded) application";
494 if(this->ehdr.e_ident[EI_OSABI]==ELFOSABI_STANDALONE)return "Standalone (embedded) application";
494 }
495 }
495 return "none";
496 return "none";
496 }
497 }
497
498
498
499
499 qint64 ElfFile::getVersion()
500 qint64 ElfFile::getVersion()
500 {
501 {
501 if(this->e!=NULL)
502 if(this->e!=NULL)
502 {
503 {
503 return this->ehdr.e_version;
504 return this->ehdr.e_version;
504 }
505 }
505 return -1;
506 return -1;
506 }
507 }
507
508
508 qint64 ElfFile::getEntryPointAddress()
509 qint64 ElfFile::getEntryPointAddress()
509 {
510 {
510 if(this->e!=NULL)
511 if(this->e!=NULL)
511 {
512 {
512 return this->ehdr.e_entry;
513 return this->ehdr.e_entry;
513 }
514 }
514 return -1;
515 return -1;
515 }
516 }
516
517
517
518
518 int ElfFile::getSectionCount()
519 int ElfFile::getSectionCount()
519 {
520 {
520 return (int)this->SectionCount;
521 return (int)this->SectionCount;
521 }
522 }
522
523
523 int ElfFile::getSymbolCount()
524 int ElfFile::getSymbolCount()
524 {
525 {
525 return (int)this->SymbolCount;
526 return (int)this->SymbolCount;
526 }
527 }
527
528
528
529
529 int ElfFile::getSegmentCount()
530 int ElfFile::getSegmentCount()
530 {
531 {
531 return (int)this->SegmentCount;
532 return (int)this->SegmentCount;
532 }
533 }
533
534
534
535
535 QString ElfFile::getSegmentType(int index)
536 QString ElfFile::getSegmentType(int index)
536 {
537 {
537 QString type("");
538 QString type("");
538 if(this->e!=NULL)
539 if(this->e!=NULL)
539 {
540 {
540 if(index < this->Segments.count())
541 if(index < this->Segments.count())
541 {
542 {
542 switch(this->Segments.at(index)->p_type)
543 switch(this->Segments.at(index)->p_type)
543 {
544 {
544 case PT_NULL:
545 case PT_NULL:
545 type = "Program header table entry unused";
546 type = "Program header table entry unused";
546 break;
547 break;
547 case PT_LOAD:
548 case PT_LOAD:
548 type = "Loadable program segment";
549 type = "Loadable program segment";
549 break;
550 break;
550 case PT_DYNAMIC :
551 case PT_DYNAMIC :
551 type = "Dynamic linking information";
552 type = "Dynamic linking information";
552 break;
553 break;
553 case PT_INTERP:
554 case PT_INTERP:
554 type ="Program interpreter";
555 type ="Program interpreter";
555 break;
556 break;
556 case PT_NOTE:
557 case PT_NOTE:
557 type = "Auxiliary information";
558 type = "Auxiliary information";
558 break;
559 break;
559 case PT_SHLIB:
560 case PT_SHLIB:
560 type = "Reserved";
561 type = "Reserved";
561 break;
562 break;
562 case PT_PHDR:
563 case PT_PHDR:
563 type = "Entry for header table itself";
564 type = "Entry for header table itself";
564 break;
565 break;
565 case PT_TLS:
566 case PT_TLS:
566 type = "Thread-local storage segment";
567 type = "Thread-local storage segment";
567 break;
568 break;
568 case PT_NUM:
569 case PT_NUM:
569 type = "Number of defined types";
570 type = "Number of defined types";
570 break;
571 break;
571 case PT_LOOS:
572 case PT_LOOS:
572 type = "Start of OS-specific";
573 type = "Start of OS-specific";
573 break;
574 break;
574 case PT_SUNWSTACK:
575 case PT_SUNWSTACK:
575 type = "Stack segment";
576 type = "Stack segment";
576 break;
577 break;
577 case PT_LOPROC:
578 case PT_LOPROC:
578 type = "Start of processor-specific";
579 type = "Start of processor-specific";
579 break;
580 break;
580 case PT_HIPROC:
581 case PT_HIPROC:
581 type = "End of processor-specific";
582 type = "End of processor-specific";
582 break;
583 break;
583 default:
584 default:
584 type = "Unknow Section Type";
585 type = "Unknow Section Type";
585 break;
586 break;
586 }
587 }
587 }
588 }
588 }
589 }
589
590
590 return type;
591 return type;
591 }
592 }
592
593
593
594
594 qint64 ElfFile::getSegmentOffset(int index)
595 qint64 ElfFile::getSegmentOffset(int index)
595 {
596 {
596 qint64 Offset = -1;
597 qint64 Offset = -1;
597 if(this->e!=NULL)
598 if(this->e!=NULL)
598 {
599 {
599 if(index < this->Segments.count())
600 if(index < this->Segments.count())
600 {
601 {
601 Offset = (qint64)this->Segments.at(index)->p_offset;
602 Offset = (qint64)this->Segments.at(index)->p_offset;
602 }
603 }
603 }
604 }
604 return Offset;
605 return Offset;
605 }
606 }
606
607
607
608
608 qint64 ElfFile::getSegmentVaddr(int index)
609 qint64 ElfFile::getSegmentVaddr(int index)
609 {
610 {
610 int64_t Vaddr = 0;
611 int64_t Vaddr = 0;
611 if(this->e!=NULL)
612 if(this->e!=NULL)
612 {
613 {
613 if(index < this->Segments.count())
614 if(index < this->Segments.count())
614 {
615 {
615 Vaddr = (int64_t)this->Segments.at(index)->p_vaddr;
616 Vaddr = (int64_t)this->Segments.at(index)->p_vaddr;
616 }
617 }
617 }
618 }
618 return Vaddr;
619 return Vaddr;
619 }
620 }
620
621
621
622
622 qint64 ElfFile::getSegmentPaddr(int index)
623 qint64 ElfFile::getSegmentPaddr(int index)
623 {
624 {
624 int64_t Paddr=0;
625 int64_t Paddr=0;
625 if(this->e!=NULL)
626 if(this->e!=NULL)
626 {
627 {
627 if(index < this->Segments.count())
628 if(index < this->Segments.count())
628 {
629 {
629 Paddr = (int64_t)this->Segments.at(index)->p_paddr;
630 Paddr = (int64_t)this->Segments.at(index)->p_paddr;
630 }
631 }
631 }
632 }
632 return Paddr;
633 return Paddr;
633 }
634 }
634
635
635 qint64 ElfFile::getSectionPaddr(int index)
636 qint64 ElfFile::getSectionPaddr(int index)
636 {
637 {
637 int64_t Paddr=0;
638 int64_t Paddr=0;
638 if(this->e!=NULL)
639 if(this->e!=NULL)
639 {
640 {
640 if(index < this->sections.count())
641 if(index < this->sections.count())
641 {
642 {
642 Paddr = (int64_t)this->sections.at(index)->section_header->sh_addr;
643 Paddr = (int64_t)this->sections.at(index)->section_header->sh_addr;
643 }
644 }
644 }
645 }
645 return Paddr;
646 return Paddr;
646 }
647 }
647
648
648
649
649 qint64 ElfFile::getSegmentFilesz(int index)
650 qint64 ElfFile::getSegmentFilesz(int index)
650 {
651 {
651 int64_t FileSz=0;
652 int64_t FileSz=0;
652 if(this->e!=NULL)
653 if(this->e!=NULL)
653 {
654 {
654 if(index < this->Segments.count())
655 if(index < this->Segments.count())
655 {
656 {
656 FileSz = (int64_t)this->Segments.at(index)->p_filesz;
657 FileSz = (int64_t)this->Segments.at(index)->p_filesz;
657 }
658 }
658 }
659 }
659 return FileSz;
660 return FileSz;
660 }
661 }
661
662
662 qint64 ElfFile::getSectionDatasz(int index)
663 qint64 ElfFile::getSectionDatasz(int index)
663 {
664 {
664 int64_t DataSz=0;
665 int64_t DataSz=0;
665 if(this->e!=NULL)
666 if(this->e!=NULL)
666 {
667 {
667 if(index < this->sections.count())
668 if(index < this->sections.count())
668 {
669 {
669 if(this->sections.at(index)->section_header->sh_type==SHT_NOBITS)
670 if(this->sections.at(index)->section_header->sh_type==SHT_NOBITS)
670 {
671 {
671 DataSz=0;
672 DataSz=0;
672 }
673 }
673 else
674 else
674 {
675 {
675 DataSz = (int64_t)this->sections.at(index)->data->d_size;
676 DataSz = (int64_t)this->sections.at(index)->data->d_size;
676 }
677 }
677 }
678 }
678 }
679 }
679 return DataSz;
680 return DataSz;
680 }
681 }
681
682
682 bool ElfFile::getSectionData(int index, char **buffer)
683 bool ElfFile::getSectionData(int index, char **buffer)
683 {
684 {
684 if(this->e!=NULL)
685 if(this->e!=NULL)
685 {
686 {
686 if(index < this->sections.count())
687 if(index < this->sections.count())
687 {
688 {
688 *buffer = (char *)this->sections.at(index)->data->d_buf;
689 *buffer = (char *)this->sections.at(index)->data->d_buf;
689 return true;
690 return true;
690 }
691 }
691 }
692 }
692 return false;
693 return false;
693 }
694 }
694
695
695
696
696 qint64 ElfFile::getSegmentMemsz(int index)
697 qint64 ElfFile::getSegmentMemsz(int index)
697 {
698 {
698 int64_t MemSz=0;
699 int64_t MemSz=0;
699 if(this->e!=NULL)
700 if(this->e!=NULL)
700 {
701 {
701 if(index < this->Segments.count())
702 if(index < this->Segments.count())
702 {
703 {
703 MemSz = (int64_t)this->Segments.at(index)->p_memsz;
704 MemSz = (int64_t)this->Segments.at(index)->p_memsz;
704 }
705 }
705 }
706 }
706 return MemSz;
707 return MemSz;
707 }
708 }
708
709
709 qint64 ElfFile::getSectionMemsz(int index)
710 qint64 ElfFile::getSectionMemsz(int index)
710 {
711 {
711 int64_t MemSz=0;
712 int64_t MemSz=0;
712 if(this->e!=NULL)
713 if(this->e!=NULL)
713 {
714 {
714 if(index < this->sections.count())
715 if(index < this->sections.count())
715 {
716 {
716 MemSz = (int64_t)this->sections.at(index)->section_header->sh_size;
717 MemSz = (int64_t)this->sections.at(index)->section_header->sh_size;
717 }
718 }
718 }
719 }
719 return MemSz;
720 return MemSz;
720 }
721 }
721
722
722
723
723 QString ElfFile::getSegmentFlags(int index)
724 QString ElfFile::getSegmentFlags(int index)
724 {
725 {
725 QString flags("");
726 QString flags("");
726 if(this->e!=NULL)
727 if(this->e!=NULL)
727 {
728 {
728 if(index < this->Segments.count())
729 if(index < this->Segments.count())
729 {
730 {
730 if((this->Segments.at(index)->p_flags&PF_X) == PF_X)flags+="x";
731 if((this->Segments.at(index)->p_flags&PF_X) == PF_X)flags+="x";
731 if((this->Segments.at(index)->p_flags&PF_W) == PF_W)flags+="w";
732 if((this->Segments.at(index)->p_flags&PF_W) == PF_W)flags+="w";
732 if((this->Segments.at(index)->p_flags&PF_R) == PF_R)flags+="r";
733 if((this->Segments.at(index)->p_flags&PF_R) == PF_R)flags+="r";
733 if((this->Segments.at(index)->p_flags&PF_MASKOS) == PF_MASKOS)flags+=" OS-specific";
734 if((this->Segments.at(index)->p_flags&PF_MASKOS) == PF_MASKOS)flags+=" OS-specific";
734 if((this->Segments.at(index)->p_flags&PF_MASKPROC) == PF_MASKPROC)flags+=" Processor-specific";
735 if((this->Segments.at(index)->p_flags&PF_MASKPROC) == PF_MASKPROC)flags+=" Processor-specific";
735 }
736 }
736 }
737 }
737 return flags;
738 return flags;
738 }
739 }
739
740
740
741
741 QString ElfFile::getSectionName(int index)
742 QString ElfFile::getSectionName(int index)
742 {
743 {
743 if((index<sections.count()) && (index>=0))
744 if((index<sections.count()) && (index>=0))
744 {
745 {
745 char* nameChr = elf_strptr(this->e , this->shstrndx , this->sections.at(index)->section_header->sh_name);
746 char* nameChr = elf_strptr(this->e , this->shstrndx , this->sections.at(index)->section_header->sh_name);
746 return QString(nameChr);
747 return QString(nameChr);
747 }
748 }
748 return "";
749 return "";
749 }
750 }
750
751
751
752
752 void ElfFile::updateSections()
753 void ElfFile::updateSections()
753 {
754 {
754 for(int i=0;i<this->sections.count();i++)
755 for(int i=0;i<this->sections.count();i++)
755 {
756 {
756 delete this->sections.at(i);
757 delete this->sections.at(i);
757 }
758 }
758 this->sections.clear();
759 this->sections.clear();
759 this->scn = elf_nextscn (this->e , NULL );
760 this->scn = elf_nextscn (this->e , NULL );
760 this->SectionCount = 0;
761 this->SectionCount = 0;
761 while( this->scn != NULL )
762 while( this->scn != NULL )
762 {
763 {
763 GElf_Shdr* shdr = (GElf_Shdr*)malloc(sizeof(GElf_Shdr));
764 GElf_Shdr* shdr = (GElf_Shdr*)malloc(sizeof(GElf_Shdr));
764 gelf_getshdr ( this->scn , shdr );
765 gelf_getshdr ( this->scn , shdr );
765 Elf_Data* data = elf_getdata(this->scn, NULL);
766 Elf_Data* data = elf_getdata(this->scn, NULL);
766 this->sections.append(new Elf_Section(data,shdr));
767 this->sections.append(new Elf_Section(data,shdr));
767 this->SectionCount+=1;
768 this->SectionCount+=1;
768 this->scn = elf_nextscn(e , scn);
769 this->scn = elf_nextscn(e , scn);
769 }
770 }
770 }
771 }
771
772
772
773
773 void ElfFile::updateSegments()
774 void ElfFile::updateSegments()
774 {
775 {
775 elf_getphdrnum (this->e , &this->SegmentCount);
776 elf_getphdrnum (this->e , &this->SegmentCount);
776 for(int i=0;i<this->Segments.count();i++)
777 for(int i=0;i<this->Segments.count();i++)
777 {
778 {
778 free(this->Segments.at(i));
779 free(this->Segments.at(i));
779 }
780 }
780 this->Segments.clear();
781 this->Segments.clear();
781 for(int i=0;i<(int)this->SegmentCount;i++)
782 for(int i=0;i<(int)this->SegmentCount;i++)
782 {
783 {
783 GElf_Phdr* header=(GElf_Phdr*)malloc(sizeof(GElf_Phdr));
784 GElf_Phdr* header=(GElf_Phdr*)malloc(sizeof(GElf_Phdr));
784 gelf_getphdr (this->e , i , header );
785 gelf_getphdr (this->e , i , header );
785 this->Segments.append(header);
786 this->Segments.append(header);
786 }
787 }
787 }
788 }
788
789
789 void ElfFile::updateSymbols()
790 void ElfFile::updateSymbols()
790 {
791 {
791 for(int i=0;i<symbols.count();i++)
792 for(int i=0;i<symbols.count();i++)
792 {
793 {
793 delete this->symbols.at(i);
794 delete this->symbols.at(i);
794 }
795 }
795 this->symbols.clear();
796 this->symbols.clear();
796 updateSections(); //Useless in most case but safer to do it
797 updateSections(); //Useless in most case but safer to do it
797 for(int i=0;i<(int)SectionCount;i++)
798 for(int i=0;i<(int)SectionCount;i++)
798 {
799 {
799 //First find Symbol table
800 //First find Symbol table
800 if(this->getSectionName(i)==".symtab")
801 if(this->getSectionName(i)==".symtab")
801 {
802 {
802 Elf_Section* sec = sections.at(i);
803 Elf_Section* sec = sections.at(i);
803 this->SymbolCount = sec->section_header->sh_size / sec->section_header->sh_entsize;
804 this->SymbolCount = sec->section_header->sh_size / sec->section_header->sh_entsize;
804 //Then list all symbols
805 //Then list all symbols
805 for(int j=0;j<(int)this->SymbolCount;j++)
806 for(int j=0;j<(int)this->SymbolCount;j++)
806 {
807 {
807 GElf_Sym* esym = (GElf_Sym*)malloc(sizeof(GElf_Sym));
808 GElf_Sym* esym = (GElf_Sym*)malloc(sizeof(GElf_Sym));
808 gelf_getsym(sec->data, j, esym);
809 gelf_getsym(sec->data, j, esym);
809 QString name = elf_strptr(this->e,sec->section_header->sh_link,esym->st_name);
810 QString name = elf_strptr(this->e,sec->section_header->sh_link,esym->st_name);
810 Elf_Symbol* sym = new Elf_Symbol(name,esym);
811 Elf_Symbol* sym = new Elf_Symbol(name,esym);
811 symbols.append(sym);
812 symbols.append(sym);
812 }
813 }
813 }
814 }
814 }
815 }
815
816
816 }
817 }
817
818
818
819
819
820
820 QString ElfFile::getSectionType(int index)
821 QString ElfFile::getSectionType(int index)
821 {
822 {
822 QString type("");
823 QString type("");
823 if(this->e!=NULL)
824 if(this->e!=NULL)
824 {
825 {
825 if(index < this->sections.count())
826 if(index < this->sections.count())
826 {
827 {
827 switch(this->sections.at(index)->section_header->sh_type)
828 switch(this->sections.at(index)->section_header->sh_type)
828 {
829 {
829 case SHT_NULL : type = "Section header table entry unused"; break;
830 case SHT_NULL : type = "Section header table entry unused"; break;
830 case SHT_PROGBITS : type = "Program data"; break;
831 case SHT_PROGBITS : type = "Program data"; break;
831 case SHT_SYMTAB : type = "Symbol table"; break;
832 case SHT_SYMTAB : type = "Symbol table"; break;
832 case SHT_STRTAB : type = "String table"; break;
833 case SHT_STRTAB : type = "String table"; break;
833 case SHT_RELA : type = "Relocation entries with addends"; break;
834 case SHT_RELA : type = "Relocation entries with addends"; break;
834 case SHT_HASH : type = "Symbol hash table"; break;
835 case SHT_HASH : type = "Symbol hash table"; break;
835 case SHT_DYNAMIC : type = "Dynamic linking information"; break;
836 case SHT_DYNAMIC : type = "Dynamic linking information"; break;
836 case SHT_NOTE : type = "Notes"; break;
837 case SHT_NOTE : type = "Notes"; break;
837 case SHT_NOBITS :type = "Program space with no data (bss)"; break;
838 case SHT_NOBITS :type = "Program space with no data (bss)"; break;
838 case SHT_REL :type = "Relocation entries, no addends"; break;
839 case SHT_REL :type = "Relocation entries, no addends"; break;
839 case SHT_SHLIB : type = "Reserved"; break;
840 case SHT_SHLIB : type = "Reserved"; break;
840 case SHT_DYNSYM : type = "Dynamic linker symbol table"; break;
841 case SHT_DYNSYM : type = "Dynamic linker symbol table"; break;
841 case SHT_INIT_ARRAY : type = "Array of constructors"; break;
842 case SHT_INIT_ARRAY : type = "Array of constructors"; break;
842 case SHT_FINI_ARRAY : type = "Array of destructors"; break;
843 case SHT_FINI_ARRAY : type = "Array of destructors"; break;
843 case SHT_PREINIT_ARRAY : type = "Array of pre-constructors"; break;
844 case SHT_PREINIT_ARRAY : type = "Array of pre-constructors"; break;
844 case SHT_GROUP : type = "Section group"; break;
845 case SHT_GROUP : type = "Section group"; break;
845 case SHT_SYMTAB_SHNDX : type = "Extended section indeces"; break;
846 case SHT_SYMTAB_SHNDX : type = "Extended section indeces"; break;
846 case SHT_NUM : type = "Number of defined types. "; break;
847 case SHT_NUM : type = "Number of defined types. "; break;
847 case SHT_LOOS : type = "Start OS-specific. "; break;
848 case SHT_LOOS : type = "Start OS-specific. "; break;
848 case SHT_LOSUNW : type = "Sun-specific low bound. "; break;
849 case SHT_LOSUNW : type = "Sun-specific low bound. "; break;
849 case SHT_SUNW_COMDAT : type = " "; break;
850 case SHT_SUNW_COMDAT : type = " "; break;
850 case SHT_SUNW_syminfo : type = " "; break;
851 case SHT_SUNW_syminfo : type = " "; break;
851 case SHT_GNU_verdef : type = "Version definition section. "; break;
852 case SHT_GNU_verdef : type = "Version definition section. "; break;
852 case SHT_GNU_verneed : type = "Version needs section. "; break;
853 case SHT_GNU_verneed : type = "Version needs section. "; break;
853 case SHT_GNU_versym : type = "Version symbol table. "; break;
854 case SHT_GNU_versym : type = "Version symbol table. "; break;
854 case SHT_LOPROC : type = "Start of processor-specific"; break;
855 case SHT_LOPROC : type = "Start of processor-specific"; break;
855 case SHT_HIPROC : type = "End of processor-specific"; break;
856 case SHT_HIPROC : type = "End of processor-specific"; break;
856 case SHT_HIUSER : type = "End of application-specific"; break;
857 case SHT_HIUSER : type = "End of application-specific"; break;
857 }
858 }
858 }
859 }
859 }
860 }
860 return type;
861 return type;
861 }
862 }
862
863
863 int ElfFile::getSectionIndex(QString name)
864 int ElfFile::getSectionIndex(QString name)
864 {
865 {
865 if(this->e!=NULL)
866 if(this->e!=NULL)
866 {
867 {
867 for(int i=0;i<sections.count();i++)
868 for(int i=0;i<sections.count();i++)
868 {
869 {
869 if(getSectionName(i)==name)
870 if(getSectionName(i)==name)
870 return i;
871 return i;
871 }
872 }
872 }
873 }
873 return -1;
874 return -1;
874 }
875 }
875
876
876 bool ElfFile::sectionIsNobits(int index)
877 bool ElfFile::sectionIsNobits(int index)
877 {
878 {
878 if(this->e!=NULL)
879 if(this->e!=NULL)
879 {
880 {
880 if(index < this->sections.count())
881 if(index < this->sections.count())
881 {
882 {
882 return this->sections.at(index)->section_header->sh_type== SHT_NOBITS;
883 return this->sections.at(index)->section_header->sh_type== SHT_NOBITS;
883 }
884 }
884 }
885 }
885 return false;
886 return false;
886 }
887 }
887
888
888 QString ElfFile::getSymbolName(int index)
889 QString ElfFile::getSymbolName(int index)
889 {
890 {
890 if(this->e!=NULL)
891 if(this->e!=NULL)
891 {
892 {
892 if(index < this->symbols.count())
893 if(index < this->symbols.count())
893 {
894 {
894 return symbols.at(index)->name;
895 return symbols.at(index)->name;
895 }
896 }
896 }
897 }
897 return "";
898 return "";
898 }
899 }
899
900
900 QString ElfFile::getSymbolType(int index)
901 QString ElfFile::getSymbolType(int index)
901 {
902 {
902 if(this->e!=NULL)
903 if(this->e!=NULL)
903 {
904 {
904 if(index < this->symbols.count())
905 if(index < this->symbols.count())
905 {
906 {
906 int type = GELF_ST_TYPE(symbols.at(index)->sym->st_info);
907 int type = GELF_ST_TYPE(symbols.at(index)->sym->st_info);
907 switch(type)
908 switch(type)
908 {
909 {
909 case STT_NOTYPE:
910 case STT_NOTYPE:
910 return "No Type";
911 return "No Type";
911 break;
912 break;
912 case STT_OBJECT:
913 case STT_OBJECT:
913 return "Object";
914 return "Object";
914 break;
915 break;
915 case STT_FUNC:
916 case STT_FUNC:
916 return "Function";
917 return "Function";
917 break;
918 break;
918 case STT_SECTION:
919 case STT_SECTION:
919 return "Section";
920 return "Section";
920 break;
921 break;
921 case STT_FILE:
922 case STT_FILE:
922 return "File";
923 return "File";
923 break;
924 break;
924 case STT_COMMON:
925 case STT_COMMON:
925 return "Common data object";
926 return "Common data object";
926 break;
927 break;
927 case STT_TLS:
928 case STT_TLS:
928 return "Thread-local data object";
929 return "Thread-local data object";
929 break;
930 break;
930 case STT_NUM:
931 case STT_NUM:
931 return "Number of defined types";
932 return "Number of defined types";
932 break;
933 break;
933 case STT_LOOS:
934 case STT_LOOS:
934 return "Start of OS-specific";
935 return "Start of OS-specific";
935 break;
936 break;
936 case STT_HIOS:
937 case STT_HIOS:
937 return "End of OS-specific";
938 return "End of OS-specific";
938 break;
939 break;
939 case STT_LOPROC:
940 case STT_LOPROC:
940 return "Start of processor-specific";
941 return "Start of processor-specific";
941 break;
942 break;
942 case STT_HIPROC:
943 case STT_HIPROC:
943 return "End of processor-specific";
944 return "End of processor-specific";
944 break;
945 break;
945 default:
946 default:
946 return "none";
947 return "none";
947 break;
948 break;
948 }
949 }
949 }
950 }
950 }
951 }
951 return "none";
952 return "none";
952 }
953 }
953
954
954 quint64 ElfFile::getSymbolSize(int index)
955 quint64 ElfFile::getSymbolSize(int index)
955 {
956 {
956 if(this->e!=NULL)
957 if(this->e!=NULL)
957 {
958 {
958 if((index < this->symbols.count()) && (index>=0))
959 if((index < this->symbols.count()) && (index>=0))
959 {
960 {
960 return symbols.at(index)->sym->st_size;
961 return symbols.at(index)->sym->st_size;
961 }
962 }
962 }
963 }
963 return 0;
964 return 0;
964 }
965 }
965
966
966 QString ElfFile::getSymbolSectionName(int index)
967 QString ElfFile::getSymbolSectionName(int index)
967 {
968 {
968 if(this->e!=NULL)
969 if(this->e!=NULL)
969 {
970 {
970 if((index < this->symbols.count()) && (index>=0))
971 if((index < this->symbols.count()) && (index>=0))
971 {
972 {
972 return getSectionName(symbols.at(index)->sym->st_shndx-1);
973 return getSectionName(symbols.at(index)->sym->st_shndx-1);
973 }
974 }
974 }
975 }
975 return "none";
976 return "none";
976 }
977 }
977
978
978 int ElfFile::getSymbolSectionIndex(int index)
979 int ElfFile::getSymbolSectionIndex(int index)
979 {
980 {
980 if(this->e!=NULL)
981 if(this->e!=NULL)
981 {
982 {
982 if((index < this->symbols.count()) && (index>=0))
983 if((index < this->symbols.count()) && (index>=0))
983 {
984 {
984 return symbols.at(index)->sym->st_shndx;
985 return symbols.at(index)->sym->st_shndx;
985 }
986 }
986 }
987 }
987 return 0;
988 return 0;
988 }
989 }
989
990
990 quint64 ElfFile::getSymbolAddress(int index)
991 quint64 ElfFile::getSymbolAddress(int index)
991 {
992 {
992 if(this->e!=NULL)
993 if(this->e!=NULL)
993 {
994 {
994 if((index < this->symbols.count()) && (index>=0))
995 if((index < this->symbols.count()) && (index>=0))
995 {
996 {
996 return symbols.at(index)->sym->st_value;
997 return symbols.at(index)->sym->st_value;
997 }
998 }
998 }
999 }
999 return 0;
1000 return 0;
1000 }
1001 }
1001
1002
1002 QString ElfFile::getSymbolLinkType(int index)
1003 QString ElfFile::getSymbolLinkType(int index)
1003 {
1004 {
1004 if(this->e!=NULL)
1005 if(this->e!=NULL)
1005 {
1006 {
1006 if(index < this->symbols.count())
1007 if(index < this->symbols.count())
1007 {
1008 {
1008 int btype = GELF_ST_BIND(symbols.at(index)->sym->st_info);
1009 int btype = GELF_ST_BIND(symbols.at(index)->sym->st_info);
1009 switch(btype)
1010 switch(btype)
1010 {
1011 {
1011 case STB_LOCAL:
1012 case STB_LOCAL:
1012 return "Local";
1013 return "Local";
1013 break;
1014 break;
1014 case STB_GLOBAL:
1015 case STB_GLOBAL:
1015 return "Global";
1016 return "Global";
1016 break;
1017 break;
1017 case STB_WEAK:
1018 case STB_WEAK:
1018 return "Weak";
1019 return "Weak";
1019 break;
1020 break;
1020 case STB_NUM:
1021 case STB_NUM:
1021 return "Number of defined types";
1022 return "Number of defined types";
1022 break;
1023 break;
1023 case STB_LOOS:
1024 case STB_LOOS:
1024 return "Start of OS-specific";
1025 return "Start of OS-specific";
1025 break;
1026 break;
1026 case STB_HIOS:
1027 case STB_HIOS:
1027 return "End of OS-specific";
1028 return "End of OS-specific";
1028 break;
1029 break;
1029 case STB_LOPROC:
1030 case STB_LOPROC:
1030 return "Start of processor-specific";
1031 return "Start of processor-specific";
1031 break;
1032 break;
1032 case STB_HIPROC:
1033 case STB_HIPROC:
1033 return "End of processor-specific";
1034 return "End of processor-specific";
1034 break;
1035 break;
1035 default:
1036 default:
1036 return "none";
1037 return "none";
1037 break;
1038 break;
1038 }
1039 }
1039 }
1040 }
1040 }
1041 }
1041 return "none";
1042 return "none";
1042 }
1043 }
1043
1044
1044 bool ElfFile::isElf(const QString &File)
1045 bool ElfFile::isElf(const QString &File)
1045 {
1046 {
1046 int file =0;
1047 int file =0;
1047 #ifdef _ELF_WINDOWS_
1048 #ifdef _ELF_WINDOWS_
1048 file = open(File.toStdString().c_str(),O_RDONLY|O_BINARY ,0);
1049 file = open(File.toStdString().c_str(),O_RDONLY|O_BINARY ,0);
1049 #else
1050 #else
1050 file = open(File.toStdString().c_str(),O_RDONLY ,0);
1051 file = open(File.toStdString().c_str(),O_RDONLY ,0);
1051 #endif
1052 #endif
1052 char Magic[4];
1053 char Magic[4];
1053 if(file!=-1)
1054 if(file!=-1)
1054 {
1055 {
1055 size_t res = read(file,Magic,4);
1056 size_t res = read(file,Magic,4);
1056 close(file);
1057 close(file);
1057 if((res==4) && (Magic[0]==0x7f) && (Magic[1]==0x45) && (Magic[2]==0x4c) && (Magic[3]==0x46))
1058 if((res==4) && (Magic[0]==0x7f) && (Magic[1]==0x45) && (Magic[2]==0x4c) && (Magic[3]==0x46))
1058 {
1059 {
1059 return true;
1060 return true;
1060 }
1061 }
1061 }
1062 }
1062 return false;
1063 return false;
1063 }
1064 }
1064
1065
1065 bool ElfFile::toSrec(const QString &File)
1066 bool ElfFile::toSrec(const QString &File)
1066 {
1067 {
1067 return srecFile::toSrec(this->getFragments(),File);
1068 return srecFile::toSrec(this->getFragments(),File);
1068 }
1069 }
1070
1071 bool ElfFile::toBinary(const QString &File)
1072 {
1073 return binaryFile::toBinary(getFragments(),File);
1074 }
@@ -1,135 +1,136
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 <abstractbinfile.h>
22 #include <abstractbinfile.h>
23 #include <QtCore/QObject>
23 #include <QtCore/QObject>
24 #include <QtCore/QStringList>
24 #include <QtCore/QStringList>
25 #include <libelf.h>
25 #include <libelf.h>
26 #include <gelf.h>
26 #include <gelf.h>
27 #include <sys/types.h>
27 #include <sys/types.h>
28 #include <sys/stat.h>
28 #include <sys/stat.h>
29 #include <fcntl.h>
29 #include <fcntl.h>
30 #include <unistd.h>
30 #include <unistd.h>
31 #ifndef ELFFILE_H
31 #ifndef ELFFILE_H
32 #define ELFFILE_H
32 #define ELFFILE_H
33
33
34 class Elf_Section
34 class Elf_Section
35 {
35 {
36 public:
36 public:
37 Elf_Section(){}
37 Elf_Section(){}
38 Elf_Section(Elf_Data* data,GElf_Shdr* section_header)
38 Elf_Section(Elf_Data* data,GElf_Shdr* section_header)
39 {
39 {
40 this->data = data;
40 this->data = data;
41 this->section_header = section_header;
41 this->section_header = section_header;
42 }
42 }
43 ~Elf_Section()
43 ~Elf_Section()
44 {
44 {
45 free(section_header);
45 free(section_header);
46 }
46 }
47 Elf_Data* data;
47 Elf_Data* data;
48 GElf_Shdr* section_header;
48 GElf_Shdr* section_header;
49 };
49 };
50
50
51 class Elf_Symbol
51 class Elf_Symbol
52 {
52 {
53 public:
53 public:
54 Elf_Symbol(){}
54 Elf_Symbol(){}
55 Elf_Symbol(const QString& name,GElf_Sym* sym):name(name),sym(sym){}
55 Elf_Symbol(const QString& name,GElf_Sym* sym):name(name),sym(sym){}
56 ~Elf_Symbol(){free(sym);}
56 ~Elf_Symbol(){free(sym);}
57 QString name;
57 QString name;
58 GElf_Sym* sym;
58 GElf_Sym* sym;
59 };
59 };
60
60
61 class ElfFile : public abstractBinFile
61 class ElfFile : public abstractBinFile
62 {
62 {
63 Q_OBJECT
63 Q_OBJECT
64 public:
64 public:
65 ElfFile();
65 ElfFile();
66 ElfFile(const QString& File);
66 ElfFile(const QString& File);
67 ~ElfFile();
67 ~ElfFile();
68 bool openFile(const QString& File);
68 bool openFile(const QString& File);
69 bool isopened();
69 bool isopened();
70 int closeFile();
70 int closeFile();
71 QList<codeFragment*> getFragments();
71 QList<codeFragment*> getFragments();
72 QList<codeFragment*> getFragments(QStringList fragmentList);
72 QList<codeFragment*> getFragments(QStringList fragmentList);
73
73
74 QString getClass();
74 QString getClass();
75 QString getArchitecture();
75 QString getArchitecture();
76 QString getType();
76 QString getType();
77 QString getEndianness();
77 QString getEndianness();
78 QString getABI();
78 QString getABI();
79 qint64 getVersion();
79 qint64 getVersion();
80 qint64 getEntryPointAddress();
80 qint64 getEntryPointAddress();
81
81
82 int getSectionCount();
82 int getSectionCount();
83 int getSymbolCount();
83 int getSymbolCount();
84 int getSegmentCount();
84 int getSegmentCount();
85
85
86 QString getSegmentType(int index);
86 QString getSegmentType(int index);
87 qint64 getSegmentOffset(int index);
87 qint64 getSegmentOffset(int index);
88 qint64 getSegmentVaddr(int index);
88 qint64 getSegmentVaddr(int index);
89 qint64 getSegmentPaddr(int index);
89 qint64 getSegmentPaddr(int index);
90 qint64 getSegmentFilesz(int index);
90 qint64 getSegmentFilesz(int index);
91 qint64 getSegmentMemsz(int index);
91 qint64 getSegmentMemsz(int index);
92 QString getSegmentFlags(int index);
92 QString getSegmentFlags(int index);
93
93
94 bool getSectionData(int index, char **buffer);
94 bool getSectionData(int index, char **buffer);
95 qint64 getSectionPaddr(int index);
95 qint64 getSectionPaddr(int index);
96 qint64 getSectionMemsz(int index);
96 qint64 getSectionMemsz(int index);
97 qint64 getSectionDatasz(int index);
97 qint64 getSectionDatasz(int index);
98 QString getSectionName(int index);
98 QString getSectionName(int index);
99 QString getSectionType(int index);
99 QString getSectionType(int index);
100 int getSectionIndex(QString name);
100 int getSectionIndex(QString name);
101 bool sectionIsNobits(int index);
101 bool sectionIsNobits(int index);
102
102
103 QString getSymbolName(int index);
103 QString getSymbolName(int index);
104 QString getSymbolType(int index);
104 QString getSymbolType(int index);
105 quint64 getSymbolSize(int index);
105 quint64 getSymbolSize(int index);
106 QString getSymbolSectionName(int index);
106 QString getSymbolSectionName(int index);
107 int getSymbolSectionIndex(int index);
107 int getSymbolSectionIndex(int index);
108 quint64 getSymbolAddress(int index);
108 quint64 getSymbolAddress(int index);
109 QString getSymbolLinkType(int index);
109 QString getSymbolLinkType(int index);
110 bool iself();
110 bool iself();
111 static bool isElf(const QString& File);
111 static bool isElf(const QString& File);
112
112
113 bool toSrec(const QString& File);
113 bool toSrec(const QString& File);
114 bool toBinary(const QString& File);
114
115
115 private:
116 private:
116 codeFragment* getFragment(const QString& name);
117 codeFragment* getFragment(const QString& name);
117 void updateSections();
118 void updateSections();
118 void updateSegments();
119 void updateSegments();
119 void updateSymbols();
120 void updateSymbols();
120 int elfFile;
121 int elfFile;
121 bool opened;
122 bool opened;
122 bool type_elf;
123 bool type_elf;
123 Elf* e;
124 Elf* e;
124 Elf_Kind ek;
125 Elf_Kind ek;
125 GElf_Ehdr ehdr;
126 GElf_Ehdr ehdr;
126 Elf_Scn * scn;
127 Elf_Scn * scn;
127 Elf_Data * data;
128 Elf_Data * data;
128 size_t SymbolCount,SectionCount,SegmentCount, shstrndx;
129 size_t SymbolCount,SectionCount,SegmentCount, shstrndx;
129 QList<GElf_Phdr*> Segments;
130 QList<GElf_Phdr*> Segments;
130 QList<Elf_Section*> sections;
131 QList<Elf_Section*> sections;
131 QList<Elf_Symbol*> symbols;
132 QList<Elf_Symbol*> symbols;
132
133
133 };
134 };
134
135
135 #endif // ELFFILE_H
136 #endif // ELFFILE_H
@@ -1,273 +1,290
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 "elffilewidget.h"
22 #include "elffilewidget.h"
23 #include "ui_elffilewidget.h"
23 #include "ui_elffilewidget.h"
24 #include <QtWidgets/QTableWidgetItem>
24 #include <QtWidgets/QTableWidgetItem>
25 #include <QtWidgets/QFileDialog>
25 #include <QtWidgets/QFileDialog>
26 #include "qhexedit.h"
26 #include "qhexedit.h"
27 #include "qtablewidgetintitem.h"
27 #include "qtablewidgetintitem.h"
28 #include "srec/srecfile.h"
28 #include "srecfile.h"
29 #include "binaryfile.h"
29
30
30 elfFileWidget::elfFileWidget(QWidget *parent) :
31 elfFileWidget::elfFileWidget(QWidget *parent) :
31 QWidget(parent),
32 abstractBinFileWidget(parent),
32 ui(new Ui::elfFileWidget)
33 ui(new Ui::elfFileWidget)
33 {
34 {
34 ui->setupUi(this);
35 ui->setupUi(this);
35 exportToSREC_action = new QAction(tr("Export to SREC"),this);
36 exportToSREC_action = new QAction(tr("Export to SREC"),this);
36 exportToBIN_action = new QAction(tr("Export to Binary"),this);
37 exportToBIN_action = new QAction(tr("Export to Binary"),this);
37 pointInSections_action = new QAction(tr("View in Hexviewer"),this);
38 pointInSections_action = new QAction(tr("View in Hexviewer"),this);
38 connect(this->ui->sectionsList,SIGNAL(cellActivated(int,int)),this,SLOT(sectionCellActivated(int,int)));
39 connect(this->ui->sectionsList,SIGNAL(cellActivated(int,int)),this,SLOT(sectionCellActivated(int,int)));
39 this->ui->sectionsList->addAction(exportToSREC_action);
40 this->ui->sectionsList->addAction(exportToSREC_action);
40 this->ui->sectionsList->addAction(exportToBIN_action);
41 this->ui->sectionsList->addAction(exportToBIN_action);
41 this->ui->symbolsList->addAction(pointInSections_action);
42 this->ui->symbolsList->addAction(pointInSections_action);
42 connect(this->exportToBIN_action,SIGNAL(triggered()),this,SLOT(exportToBIN()));
43 connect(this->exportToBIN_action,SIGNAL(triggered()),this,SLOT(exportToBIN()));
43 connect(this->exportToSREC_action,SIGNAL(triggered()),this,SLOT(exportToSREC()));
44 connect(this->exportToSREC_action,SIGNAL(triggered()),this,SLOT(exportToSREC()));
44 connect(this->ui->symbolsFilter,SIGNAL(textChanged(QString)),this,SLOT(filterSymbols(QString)));
45 connect(this->ui->symbolsFilter,SIGNAL(textChanged(QString)),this,SLOT(filterSymbols(QString)));
45 connect(this->ui->caseSensitive,SIGNAL(toggled(bool)),this,SLOT(filterSymbolsCaseUpdate(bool)));
46 connect(this->ui->caseSensitive,SIGNAL(toggled(bool)),this,SLOT(filterSymbolsCaseUpdate(bool)));
46 connect(this->pointInSections_action,SIGNAL(triggered()),this,SLOT(pointSymbol()));
47 connect(this->pointInSections_action,SIGNAL(triggered()),this,SLOT(pointSymbol()));
47 this->p_hexviewer = new QHexEdit();
48 this->p_hexviewer = new QHexEdit();
48 this->p_hexviewer->setWindowTitle("SocExplorer Hexadecimal viewer");
49 this->p_hexviewer->setWindowTitle("SocExplorer Hexadecimal viewer");
49 this->setWindowTitle("SocExplorer Elf viewer");
50 this->setWindowTitle("SocExplorer Elf viewer");
50 }
51 }
51
52
52
53
53
54
54 elfFileWidget::~elfFileWidget()
55 elfFileWidget::~elfFileWidget()
55 {
56 {
56 delete ui;
57 delete ui;
57 delete p_hexviewer;
58 delete p_hexviewer;
58 }
59 }
59
60
60
61
61
62
62 void elfFileWidget::updateElfFile(ElfFile *file)
63 void elfFileWidget::setFile(ElfFile *file)
63 {
64 {
64 this->p_elf = file;
65 this->p_elf = file;
65 if(p_elf->isopened() && p_elf->iself())
66 if(p_elf->isopened() && p_elf->iself())
66 {
67 {
67 this->ui->classLabel->setText(p_elf->getClass());
68 this->ui->classLabel->setText(p_elf->getClass());
68 this->ui->VersionLabel->setText(QString::number(p_elf->getVersion()));
69 this->ui->VersionLabel->setText(QString::number(p_elf->getVersion()));
69 this->ui->machineLabel->setText(p_elf->getArchitecture());
70 this->ui->machineLabel->setText(p_elf->getArchitecture());
70 this->ui->endiannesLabel->setText(p_elf->getEndianness());
71 this->ui->endiannesLabel->setText(p_elf->getEndianness());
71 this->ui->abiLabel->setText(p_elf->getABI());
72 this->ui->abiLabel->setText(p_elf->getABI());
72 this->ui->entryPointLabel->setText(QString("0x%1").arg((uint)p_elf->getEntryPointAddress(),8,16));
73 this->ui->entryPointLabel->setText(QString("0x%1").arg((uint)p_elf->getEntryPointAddress(),8,16));
73 this->ui->typeLabel->setText(p_elf->getType());
74 this->ui->typeLabel->setText(p_elf->getType());
74 this->ui->sectionCountLabel->setText(QString::number(p_elf->getSectionCount()));
75 this->ui->sectionCountLabel->setText(QString::number(p_elf->getSectionCount()));
75 this->ui->symbolCountLabel->setText(QString::number(p_elf->getSymbolCount()));
76 this->ui->symbolCountLabel->setText(QString::number(p_elf->getSymbolCount()));
76 }
77 }
78 reloadFile();
79 }
80
81 void elfFileWidget::reloadFile()
82 {
77 updateSymbols();
83 updateSymbols();
78 updateSections();
84 updateSections();
79 }
85 }
80
86
81
87
82
88
83 void elfFileWidget::updateSymbols()
89 void elfFileWidget::updateSymbols()
84 {
90 {
85 this->ui->symbolsList->clear();
91 this->ui->symbolsList->clear();
86 this->ui->symbolsList->setRowCount(p_elf->getSymbolCount());
92 this->ui->symbolsList->setRowCount(p_elf->getSymbolCount());
87 this->ui->symbolsList->setHorizontalHeaderLabels(QStringList()<<"Index"<<"Value"<<"Size"<<"Type"<<"Link"<<"Section"<<"Name");
93 this->ui->symbolsList->setHorizontalHeaderLabels(QStringList()<<"Index"<<"Value"<<"Size"<<"Type"<<"Link"<<"Section"<<"Name");
88 for(int i=0;i<p_elf->getSymbolCount();i++)
94 for(int i=0;i<p_elf->getSymbolCount();i++)
89 {
95 {
90 QTableWidgetItem *newItem = (QTableWidgetItem*)new QTableWidgetIntItem(QString("%1").arg(i),DecimalItem);
96 QTableWidgetItem *newItem = (QTableWidgetItem*)new QTableWidgetIntItem(QString("%1").arg(i),DecimalItem);
91 newItem->setFlags(newItem->flags() ^ Qt::ItemIsEditable);
97 newItem->setFlags(newItem->flags() ^ Qt::ItemIsEditable);
92 this->ui->symbolsList->setItem(i, 0, newItem);
98 this->ui->symbolsList->setItem(i, 0, newItem);
93
99
94 newItem = (QTableWidgetItem*)new QTableWidgetIntItem(QString("0x%1").arg(p_elf->getSymbolAddress(i),8,16).replace(" ","0"),HexaDecimalItem);
100 newItem = (QTableWidgetItem*)new QTableWidgetIntItem(QString("0x%1").arg(p_elf->getSymbolAddress(i),8,16).replace(" ","0"),HexaDecimalItem);
95 newItem->setFlags(newItem->flags() ^ Qt::ItemIsEditable);
101 newItem->setFlags(newItem->flags() ^ Qt::ItemIsEditable);
96 this->ui->symbolsList->setItem(i, 1, newItem);
102 this->ui->symbolsList->setItem(i, 1, newItem);
97
103
98 newItem = (QTableWidgetItem*)new QTableWidgetIntItem(QString("%1").arg(p_elf->getSymbolSize(i)),DecimalItem);
104 newItem = (QTableWidgetItem*)new QTableWidgetIntItem(QString("%1").arg(p_elf->getSymbolSize(i)),DecimalItem);
99 newItem->setFlags(newItem->flags() ^ Qt::ItemIsEditable);
105 newItem->setFlags(newItem->flags() ^ Qt::ItemIsEditable);
100 this->ui->symbolsList->setItem(i, 2, newItem);
106 this->ui->symbolsList->setItem(i, 2, newItem);
101
107
102 newItem = new QTableWidgetItem(p_elf->getSymbolType(i));
108 newItem = new QTableWidgetItem(p_elf->getSymbolType(i));
103 newItem->setFlags(newItem->flags() ^ Qt::ItemIsEditable);
109 newItem->setFlags(newItem->flags() ^ Qt::ItemIsEditable);
104 this->ui->symbolsList->setItem(i, 3, newItem);
110 this->ui->symbolsList->setItem(i, 3, newItem);
105
111
106 newItem = new QTableWidgetItem(p_elf->getSymbolLinkType(i));
112 newItem = new QTableWidgetItem(p_elf->getSymbolLinkType(i));
107 newItem->setFlags(newItem->flags() ^ Qt::ItemIsEditable);
113 newItem->setFlags(newItem->flags() ^ Qt::ItemIsEditable);
108 this->ui->symbolsList->setItem(i, 4, newItem);
114 this->ui->symbolsList->setItem(i, 4, newItem);
109
115
110 newItem = new QTableWidgetItem(p_elf->getSymbolSectionName(i));
116 newItem = new QTableWidgetItem(p_elf->getSymbolSectionName(i));
111 newItem->setFlags(newItem->flags() ^ Qt::ItemIsEditable);
117 newItem->setFlags(newItem->flags() ^ Qt::ItemIsEditable);
112 this->ui->symbolsList->setItem(i, 5, newItem);
118 this->ui->symbolsList->setItem(i, 5, newItem);
113
119
114 newItem = new QTableWidgetItem(p_elf->getSymbolName(i));
120 newItem = new QTableWidgetItem(p_elf->getSymbolName(i));
115 newItem->setFlags(newItem->flags() ^ Qt::ItemIsEditable);
121 newItem->setFlags(newItem->flags() ^ Qt::ItemIsEditable);
116 this->ui->symbolsList->setItem(i, 6, newItem);
122 this->ui->symbolsList->setItem(i, 6, newItem);
117 }
123 }
118 this->ui->symbolsList->resizeColumnsToContents();
124 this->ui->symbolsList->resizeColumnsToContents();
119 }
125 }
120
126
121
127
122
128
123 void elfFileWidget::updateSections()
129 void elfFileWidget::updateSections()
124 {
130 {
125 this->ui->sectionsList->clear();
131 this->ui->sectionsList->clear();
126 this->ui->sectionsList->setRowCount(p_elf->getSectionCount());
132 this->ui->sectionsList->setRowCount(p_elf->getSectionCount());
127 this->ui->sectionsList->setHorizontalHeaderLabels(QStringList()<<"Index"<<"Name"<<"Address"<<"Size"<<"File Size"<<"Type");
133 this->ui->sectionsList->setHorizontalHeaderLabels(QStringList()<<"Index"<<"Name"<<"Address"<<"Size"<<"File Size"<<"Type");
128 for(int i=0;i<p_elf->getSectionCount();i++)
134 for(int i=0;i<p_elf->getSectionCount();i++)
129 {
135 {
130 QTableWidgetItem *newItem = (QTableWidgetItem*) new QTableWidgetIntItem(QString("%1").arg(i),DecimalItem);
136 QTableWidgetItem *newItem = (QTableWidgetItem*) new QTableWidgetIntItem(QString("%1").arg(i),DecimalItem);
131 newItem->setFlags(newItem->flags() ^ Qt::ItemIsEditable);
137 newItem->setFlags(newItem->flags() ^ Qt::ItemIsEditable);
132 this->ui->sectionsList->setItem(i,0, newItem);
138 this->ui->sectionsList->setItem(i,0, newItem);
133
139
134 newItem = new QTableWidgetItem(p_elf->getSectionName(i));
140 newItem = new QTableWidgetItem(p_elf->getSectionName(i));
135 newItem->setFlags(newItem->flags() ^ Qt::ItemIsEditable);
141 newItem->setFlags(newItem->flags() ^ Qt::ItemIsEditable);
136 this->ui->sectionsList->setItem(i, 1, newItem);
142 this->ui->sectionsList->setItem(i, 1, newItem);
137
143
138 newItem = (QTableWidgetItem*) new QTableWidgetIntItem(QString("0x%1").arg(p_elf->getSectionPaddr(i),8,16).replace(" ","0"),HexaDecimalItem);
144 newItem = (QTableWidgetItem*) new QTableWidgetIntItem(QString("0x%1").arg(p_elf->getSectionPaddr(i),8,16).replace(" ","0"),HexaDecimalItem);
139 newItem->setFlags(newItem->flags() ^ Qt::ItemIsEditable);
145 newItem->setFlags(newItem->flags() ^ Qt::ItemIsEditable);
140 this->ui->sectionsList->setItem(i, 2, newItem);
146 this->ui->sectionsList->setItem(i, 2, newItem);
141
147
142 newItem = (QTableWidgetItem*) new QTableWidgetIntItem(QString("%1").arg(p_elf->getSectionMemsz(i)),DecimalItem);
148 newItem = (QTableWidgetItem*) new QTableWidgetIntItem(QString("%1").arg(p_elf->getSectionMemsz(i)),DecimalItem);
143 newItem->setFlags(newItem->flags() ^ Qt::ItemIsEditable);
149 newItem->setFlags(newItem->flags() ^ Qt::ItemIsEditable);
144 this->ui->sectionsList->setItem(i, 3, newItem);
150 this->ui->sectionsList->setItem(i, 3, newItem);
145
151
146 newItem = (QTableWidgetItem*) new QTableWidgetIntItem(QString("%1").arg(p_elf->getSectionDatasz(i)),DecimalItem);
152 newItem = (QTableWidgetItem*) new QTableWidgetIntItem(QString("%1").arg(p_elf->getSectionDatasz(i)),DecimalItem);
147 newItem->setFlags(newItem->flags() ^ Qt::ItemIsEditable);
153 newItem->setFlags(newItem->flags() ^ Qt::ItemIsEditable);
148 this->ui->sectionsList->setItem(i, 4, newItem);
154 this->ui->sectionsList->setItem(i, 4, newItem);
149
155
150 newItem = new QTableWidgetItem(p_elf->getSectionType(i));
156 newItem = new QTableWidgetItem(p_elf->getSectionType(i));
151 newItem->setFlags(newItem->flags() ^ Qt::ItemIsEditable);
157 newItem->setFlags(newItem->flags() ^ Qt::ItemIsEditable);
152 this->ui->sectionsList->setItem(i, 5, newItem);
158 this->ui->sectionsList->setItem(i, 5, newItem);
153 }
159 }
154 this->ui->sectionsList->resizeColumnsToContents();
160 this->ui->sectionsList->resizeColumnsToContents();
155 }
161 }
156
162
157 void elfFileWidget::sectionCellActivated(int row, int column)
163 void elfFileWidget::sectionCellActivated(int row, int column)
158 {
164 {
159 Q_UNUSED(column)
165 Q_UNUSED(column)
160 char* buff=NULL;
166 char* buff=NULL;
161 int sectionIndex = p_elf->getSectionIndex(this->ui->sectionsList->item(row,1)->text());
167 int sectionIndex = p_elf->getSectionIndex(this->ui->sectionsList->item(row,1)->text());
162 if(sectionIndex!=-1)
168 if(sectionIndex!=-1)
163 {
169 {
164 QString type = p_elf->getSectionType(sectionIndex);
170 QString type = p_elf->getSectionType(sectionIndex);
165 if(!p_elf->sectionIsNobits(sectionIndex))
171 if(!p_elf->sectionIsNobits(sectionIndex))
166 {
172 {
167 this->p_elf->getSectionData(sectionIndex,&buff);
173 this->p_elf->getSectionData(sectionIndex,&buff);
168 this->ui->sectionsHexView->setData(QByteArray(buff,this->p_elf->getSectionDatasz(sectionIndex)));
174 this->ui->sectionsHexView->setData(QByteArray(buff,this->p_elf->getSectionDatasz(sectionIndex)));
169 this->ui->sectionsHexView->setAddressOffset(this->p_elf->getSectionPaddr(sectionIndex));
175 this->ui->sectionsHexView->setAddressOffset(this->p_elf->getSectionPaddr(sectionIndex));
170 }
176 }
171 }
177 }
172 }
178 }
173
179
174 void elfFileWidget::exportToSREC()
180 void elfFileWidget::exportToSREC()
175 {
181 {
176 QStringList sectionList=getSelectedSectionsNames();
182 QStringList sectionList=getSelectedSectionsNames();
177 if(sectionList.count()>0)
183 if(sectionList.count()>0)
178 {
184 {
179 QString fileName = QFileDialog::getSaveFileName(this, tr("Save File"),
185 QString fileName = QFileDialog::getSaveFileName(this, tr("Save File"),
180 NULL,
186 NULL,
181 tr("SREC Files (*.srec)"));
187 tr("SREC Files (*.srec)"));
182 if(!fileName.isEmpty())
188 if(!fileName.isEmpty())
183 {
189 {
184 srecFile::toSrec(p_elf->getFragments(sectionList),fileName);
190 srecFile::toSrec(p_elf->getFragments(sectionList),fileName);
185 }
191 }
186 }
192 }
187
193
188 }
194 }
189
195
190 void elfFileWidget::exportToBIN()
196 void elfFileWidget::exportToBIN()
191 {
197 {
198 QStringList sectionList=getSelectedSectionsNames();
199 if(sectionList.count()>0)
200 {
201 QString fileName = QFileDialog::getSaveFileName(this, tr("Save File"),
202 NULL,
203 tr("Binary Files (*.bin)"));
204 if(!fileName.isEmpty())
205 {
206 binaryFile::toBinary(p_elf->getFragments(sectionList),fileName);
207 }
208 }
192
209
193 }
210 }
194
211
195 void elfFileWidget::pointSymbol()
212 void elfFileWidget::pointSymbol()
196 {
213 {
197 int row=this->ui->symbolsList->item(this->ui->symbolsList->currentRow(),0)->text().toInt();
214 int row=this->ui->symbolsList->item(this->ui->symbolsList->currentRow(),0)->text().toInt();
198 int section = p_elf->getSectionIndex(p_elf->getSymbolSectionName(row));
215 int section = p_elf->getSectionIndex(p_elf->getSymbolSectionName(row));
199 qint64 address = p_elf->getSymbolAddress(row);
216 qint64 address = p_elf->getSymbolAddress(row);
200 qint64 secAddress = p_elf->getSectionPaddr(section);
217 qint64 secAddress = p_elf->getSectionPaddr(section);
201 qint64 size = p_elf->getSymbolSize(row);
218 qint64 size = p_elf->getSymbolSize(row);
202 char* buff=NULL;
219 char* buff=NULL;
203 char* symBuff=NULL;
220 char* symBuff=NULL;
204 if(size && !p_elf->sectionIsNobits(section))
221 if(size && !p_elf->sectionIsNobits(section))
205 {
222 {
206 if(section!=-1)
223 if(section!=-1)
207 {
224 {
208 symBuff = (char*)malloc(size);
225 symBuff = (char*)malloc(size);
209 this->p_elf->getSectionData(section,&buff);
226 this->p_elf->getSectionData(section,&buff);
210 memcpy(symBuff,buff+(address-secAddress),size);
227 memcpy(symBuff,buff+(address-secAddress),size);
211 this->p_hexviewer->setData(QByteArray(symBuff,size));
228 this->p_hexviewer->setData(QByteArray(symBuff,size));
212 this->p_hexviewer->setAddressOffset(address);
229 this->p_hexviewer->setAddressOffset(address);
213 this->p_hexviewer->show();
230 this->p_hexviewer->show();
214 }
231 }
215 }
232 }
216 }
233 }
217
234
218 void elfFileWidget::filterSymbols(const QString &pattern)
235 void elfFileWidget::filterSymbols(const QString &pattern)
219 {
236 {
220 Qt::MatchFlags flag = Qt::MatchContains | Qt::MatchStartsWith | Qt::MatchEndsWith | Qt::MatchRegExp | Qt::MatchWildcard | Qt::MatchWrap |Qt::MatchRecursive;
237 Qt::MatchFlags flag = Qt::MatchContains | Qt::MatchStartsWith | Qt::MatchEndsWith | Qt::MatchRegExp | Qt::MatchWildcard | Qt::MatchWrap |Qt::MatchRecursive;
221 if(this->ui->caseSensitive->isChecked())
238 if(this->ui->caseSensitive->isChecked())
222 flag |= Qt::MatchCaseSensitive;
239 flag |= Qt::MatchCaseSensitive;
223 if(pattern.isEmpty())
240 if(pattern.isEmpty())
224 {
241 {
225 for(int i=0;i<this->ui->symbolsList->rowCount();i++)
242 for(int i=0;i<this->ui->symbolsList->rowCount();i++)
226 this->ui->symbolsList->setRowHidden(i,false);
243 this->ui->symbolsList->setRowHidden(i,false);
227 }
244 }
228 else
245 else
229 {
246 {
230 for(int i=0;i<this->ui->symbolsList->rowCount();i++)
247 for(int i=0;i<this->ui->symbolsList->rowCount();i++)
231 this->ui->symbolsList->setRowHidden(i,true);
248 this->ui->symbolsList->setRowHidden(i,true);
232 QList<QTableWidgetItem*> items = this->ui->symbolsList->findItems(pattern,flag);
249 QList<QTableWidgetItem*> items = this->ui->symbolsList->findItems(pattern,flag);
233 for(int i=0;i<items.count();i++)
250 for(int i=0;i<items.count();i++)
234 this->ui->symbolsList->setRowHidden(items.at(i)->row(),false);
251 this->ui->symbolsList->setRowHidden(items.at(i)->row(),false);
235 }
252 }
236 }
253 }
237
254
238 void elfFileWidget::filterSymbolsCaseUpdate(bool toggled)
255 void elfFileWidget::filterSymbolsCaseUpdate(bool toggled)
239 {
256 {
240 Q_UNUSED(toggled)
257 Q_UNUSED(toggled)
241 this->filterSymbols(this->ui->symbolsFilter->text());
258 this->filterSymbols(this->ui->symbolsFilter->text());
242 }
259 }
243
260
244
261
245
262
246 QStringList elfFileWidget::getSelectedSectionsNames()
263 QStringList elfFileWidget::getSelectedSectionsNames()
247 {
264 {
248 QStringList sectionList;
265 QStringList sectionList;
249 QList<QTableWidgetItem*> items = this->ui->sectionsList->selectedItems();
266 QList<QTableWidgetItem*> items = this->ui->sectionsList->selectedItems();
250 for(int i=0;i<items.count();i++)
267 for(int i=0;i<items.count();i++)
251 {
268 {
252 QString section = p_elf->getSectionName(items.at(i)->row());
269 QString section = p_elf->getSectionName(items.at(i)->row());
253 if(!sectionList.contains(section))
270 if(!sectionList.contains(section))
254 {
271 {
255 sectionList.append(section);
272 sectionList.append(section);
256 }
273 }
257 }
274 }
258 return sectionList;
275 return sectionList;
259 }
276 }
260
277
261
278
262
279
263
280
264
281
265
282
266
283
267
284
268
285
269
286
270
287
271
288
272
289
273
290
@@ -1,64 +1,65
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 ELFFILEWIDGET_H
22 #ifndef ELFFILEWIDGET_H
23 #define ELFFILEWIDGET_H
23 #define ELFFILEWIDGET_H
24
24
25 #include <QtWidgets/QWidget>
25 #include <QtWidgets/QWidget>
26 #include "elffile.h"
26 #include "elffile.h"
27 #include <QtWidgets/QAction>
27 #include <QtWidgets/QAction>
28 #include <qhexedit.h>
28 #include <qhexedit.h>
29
29
30 namespace Ui {
30 namespace Ui {
31 class elfFileWidget;
31 class elfFileWidget;
32 }
32 }
33
33
34 class elfFileWidget : public QWidget
34 class elfFileWidget : public abstractBinFileWidget
35 {
35 {
36 Q_OBJECT
36 Q_OBJECT
37
37
38 public:
38 public:
39 elfFileWidget(QWidget *parent = 0);
39 elfFileWidget(QWidget *parent = 0);
40 ~elfFileWidget();
40 ~elfFileWidget();
41
41
42 public slots:
42 public slots:
43 void updateElfFile(ElfFile* file);
43 void setFile(ElfFile* file);
44 void reloadFile();
44 void updateSymbols();
45 void updateSymbols();
45 void updateSections();
46 void updateSections();
46
47
47 private slots:
48 private slots:
48 void sectionCellActivated(int row, int column);
49 void sectionCellActivated(int row, int column);
49 void exportToSREC();
50 void exportToSREC();
50 void exportToBIN();
51 void exportToBIN();
51 void pointSymbol();
52 void pointSymbol();
52 void filterSymbols(const QString& pattern);
53 void filterSymbols(const QString& pattern);
53 void filterSymbolsCaseUpdate(bool toggled);
54 void filterSymbolsCaseUpdate(bool toggled);
54 private:
55 private:
55 Ui::elfFileWidget *ui;
56 Ui::elfFileWidget *ui;
56 QStringList getSelectedSectionsNames();
57 QStringList getSelectedSectionsNames();
57 ElfFile* p_elf;
58 ElfFile* p_elf;
58 QAction* exportToSREC_action;
59 QAction* exportToSREC_action;
59 QAction* exportToBIN_action;
60 QAction* exportToBIN_action;
60 QAction* pointInSections_action;
61 QAction* pointInSections_action;
61 QHexEdit* p_hexviewer;
62 QHexEdit* p_hexviewer;
62 };
63 };
63
64
64 #endif // ELFFILEWIDGET_H
65 #endif // ELFFILEWIDGET_H
This diff has been collapsed as it changes many lines, (4025 lines changed) Show them Hide them
@@ -1,9154 +1,7783
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 <binaryfile.h>
12 #include <elffile.h>
11 #include <elffile.h>
13 #include <elfparser.h>
12 #include <elfparser.h>
14 #include <qaction.h>
13 #include <qaction.h>
15 #include <qbitmap.h>
14 #include <qbitmap.h>
16 #include <qbytearray.h>
15 #include <qbytearray.h>
17 #include <qcolor.h>
16 #include <qcolor.h>
18 #include <qcoreevent.h>
17 #include <qcoreevent.h>
19 #include <qcursor.h>
18 #include <qcursor.h>
20 #include <qevent.h>
19 #include <qevent.h>
21 #include <qfile.h>
20 #include <qfile.h>
22 #include <qfont.h>
21 #include <qfont.h>
23 #include <qgraphicseffect.h>
22 #include <qgraphicseffect.h>
24 #include <qgraphicsproxywidget.h>
23 #include <qgraphicsproxywidget.h>
25 #include <qkeysequence.h>
24 #include <qkeysequence.h>
26 #include <qlayout.h>
25 #include <qlayout.h>
27 #include <qlineedit.h>
26 #include <qlineedit.h>
28 #include <qlist.h>
27 #include <qlist.h>
29 #include <qlocale.h>
28 #include <qlocale.h>
30 #include <qmargins.h>
29 #include <qmargins.h>
31 #include <qobject.h>
30 #include <qobject.h>
32 #include <qpaintdevice.h>
31 #include <qpaintdevice.h>
33 #include <qpaintengine.h>
32 #include <qpaintengine.h>
34 #include <qpainter.h>
33 #include <qpainter.h>
35 #include <qpalette.h>
34 #include <qpalette.h>
36 #include <qpen.h>
35 #include <qpen.h>
37 #include <qpixmap.h>
36 #include <qpixmap.h>
38 #include <qpoint.h>
37 #include <qpoint.h>
39 #include <qrect.h>
38 #include <qrect.h>
40 #include <qregion.h>
39 #include <qregion.h>
41 #include <qscrollarea.h>
40 #include <qscrollarea.h>
42 #include <qscrollbar.h>
41 #include <qscrollbar.h>
43 #include <qsize.h>
42 #include <qsize.h>
44 #include <qsizepolicy.h>
43 #include <qsizepolicy.h>
45 #include <qspinbox.h>
44 #include <qspinbox.h>
46 #include <qstringlist.h>
45 #include <qstringlist.h>
47 #include <qstyle.h>
46 #include <qstyle.h>
48 #include <qstyleoption.h>
47 #include <qstyleoption.h>
49 #include <qwidget.h>
48 #include <qwidget.h>
50 #include <srecfile.h>
51
49
52 PythonQtShell_ElfFile::~PythonQtShell_ElfFile() {
50 PythonQtShell_ElfFile::~PythonQtShell_ElfFile() {
53 PythonQtPrivate* priv = PythonQt::priv();
51 PythonQtPrivate* priv = PythonQt::priv();
54 if (priv) { priv->shellClassDeleted(this); }
52 if (priv) { priv->shellClassDeleted(this); }
55 }
53 }
56 int PythonQtShell_ElfFile::closeFile()
54 int PythonQtShell_ElfFile::closeFile()
57 {
55 {
58 if (_wrapper) {
56 if (_wrapper) {
59 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "closeFile");
57 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "closeFile");
60 PyErr_Clear();
58 PyErr_Clear();
61 if (obj && !PythonQtSlotFunction_Check(obj)) {
59 if (obj && !PythonQtSlotFunction_Check(obj)) {
62 static const char* argumentList[] ={"int"};
60 static const char* argumentList[] ={"int"};
63 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList);
61 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList);
64 int returnValue;
62 int returnValue;
65 void* args[1] = {NULL};
63 void* args[1] = {NULL};
66 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
64 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
67 if (result) {
65 if (result) {
68 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);
69 if (args[0]!=&returnValue) {
67 if (args[0]!=&returnValue) {
70 if (args[0]==NULL) {
68 if (args[0]==NULL) {
71 PythonQt::priv()->handleVirtualOverloadReturnError("closeFile", methodInfo, result);
69 PythonQt::priv()->handleVirtualOverloadReturnError("closeFile", methodInfo, result);
72 } else {
70 } else {
73 returnValue = *((int*)args[0]);
71 returnValue = *((int*)args[0]);
74 }
72 }
75 }
73 }
76 }
74 }
77 if (result) { Py_DECREF(result); }
75 if (result) { Py_DECREF(result); }
78 Py_DECREF(obj);
76 Py_DECREF(obj);
79 return returnValue;
77 return returnValue;
80 }
78 }
81 }
79 }
82 return ElfFile::closeFile();
80 return ElfFile::closeFile();
83 }
81 }
84 QList<codeFragment* > PythonQtShell_ElfFile::getFragments()
82 QList<codeFragment* > PythonQtShell_ElfFile::getFragments()
85 {
83 {
86 if (_wrapper) {
84 if (_wrapper) {
87 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "getFragments");
85 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "getFragments");
88 PyErr_Clear();
86 PyErr_Clear();
89 if (obj && !PythonQtSlotFunction_Check(obj)) {
87 if (obj && !PythonQtSlotFunction_Check(obj)) {
90 static const char* argumentList[] ={"QList<codeFragment* >"};
88 static const char* argumentList[] ={"QList<codeFragment* >"};
91 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList);
89 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList);
92 QList<codeFragment* > returnValue;
90 QList<codeFragment* > returnValue;
93 void* args[1] = {NULL};
91 void* args[1] = {NULL};
94 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
92 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
95 if (result) {
93 if (result) {
96 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);
97 if (args[0]!=&returnValue) {
95 if (args[0]!=&returnValue) {
98 if (args[0]==NULL) {
96 if (args[0]==NULL) {
99 PythonQt::priv()->handleVirtualOverloadReturnError("getFragments", methodInfo, result);
97 PythonQt::priv()->handleVirtualOverloadReturnError("getFragments", methodInfo, result);
100 } else {
98 } else {
101 returnValue = *((QList<codeFragment* >*)args[0]);
99 returnValue = *((QList<codeFragment* >*)args[0]);
102 }
100 }
103 }
101 }
104 }
102 }
105 if (result) { Py_DECREF(result); }
103 if (result) { Py_DECREF(result); }
106 Py_DECREF(obj);
104 Py_DECREF(obj);
107 return returnValue;
105 return returnValue;
108 }
106 }
109 }
107 }
110 return ElfFile::getFragments();
108 return ElfFile::getFragments();
111 }
109 }
112 bool PythonQtShell_ElfFile::isopened()
110 bool PythonQtShell_ElfFile::isopened()
113 {
111 {
114 if (_wrapper) {
112 if (_wrapper) {
115 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "isopened");
113 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "isopened");
116 PyErr_Clear();
114 PyErr_Clear();
117 if (obj && !PythonQtSlotFunction_Check(obj)) {
115 if (obj && !PythonQtSlotFunction_Check(obj)) {
118 static const char* argumentList[] ={"bool"};
116 static const char* argumentList[] ={"bool"};
119 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList);
117 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList);
120 bool returnValue;
118 bool returnValue;
121 void* args[1] = {NULL};
119 void* args[1] = {NULL};
122 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
120 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
123 if (result) {
121 if (result) {
124 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);
125 if (args[0]!=&returnValue) {
123 if (args[0]!=&returnValue) {
126 if (args[0]==NULL) {
124 if (args[0]==NULL) {
127 PythonQt::priv()->handleVirtualOverloadReturnError("isopened", methodInfo, result);
125 PythonQt::priv()->handleVirtualOverloadReturnError("isopened", methodInfo, result);
128 } else {
126 } else {
129 returnValue = *((bool*)args[0]);
127 returnValue = *((bool*)args[0]);
130 }
128 }
131 }
129 }
132 }
130 }
133 if (result) { Py_DECREF(result); }
131 if (result) { Py_DECREF(result); }
134 Py_DECREF(obj);
132 Py_DECREF(obj);
135 return returnValue;
133 return returnValue;
136 }
134 }
137 }
135 }
138 return ElfFile::isopened();
136 return ElfFile::isopened();
139 }
137 }
140 bool PythonQtShell_ElfFile::openFile(const QString& File)
138 bool PythonQtShell_ElfFile::openFile(const QString& File)
141 {
139 {
142 if (_wrapper) {
140 if (_wrapper) {
143 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "openFile");
141 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "openFile");
144 PyErr_Clear();
142 PyErr_Clear();
145 if (obj && !PythonQtSlotFunction_Check(obj)) {
143 if (obj && !PythonQtSlotFunction_Check(obj)) {
146 static const char* argumentList[] ={"bool" , "const QString&"};
144 static const char* argumentList[] ={"bool" , "const QString&"};
147 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
145 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
148 bool returnValue;
146 bool returnValue;
149 void* args[2] = {NULL, (void*)&File};
147 void* args[2] = {NULL, (void*)&File};
150 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
148 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
151 if (result) {
149 if (result) {
152 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);
153 if (args[0]!=&returnValue) {
151 if (args[0]!=&returnValue) {
154 if (args[0]==NULL) {
152 if (args[0]==NULL) {
155 PythonQt::priv()->handleVirtualOverloadReturnError("openFile", methodInfo, result);
153 PythonQt::priv()->handleVirtualOverloadReturnError("openFile", methodInfo, result);
156 } else {
154 } else {
157 returnValue = *((bool*)args[0]);
155 returnValue = *((bool*)args[0]);
158 }
156 }
159 }
157 }
160 }
158 }
161 if (result) { Py_DECREF(result); }
159 if (result) { Py_DECREF(result); }
162 Py_DECREF(obj);
160 Py_DECREF(obj);
163 return returnValue;
161 return returnValue;
164 }
162 }
165 }
163 }
166 return ElfFile::openFile(File);
164 return ElfFile::openFile(File);
167 }
165 }
166 bool PythonQtShell_ElfFile::toBinary(const QString& File)
167 {
168 if (_wrapper) {
169 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "toBinary");
170 PyErr_Clear();
171 if (obj && !PythonQtSlotFunction_Check(obj)) {
172 static const char* argumentList[] ={"bool" , "const QString&"};
173 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
174 bool returnValue;
175 void* args[2] = {NULL, (void*)&File};
176 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
177 if (result) {
178 args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue);
179 if (args[0]!=&returnValue) {
180 if (args[0]==NULL) {
181 PythonQt::priv()->handleVirtualOverloadReturnError("toBinary", methodInfo, result);
182 } else {
183 returnValue = *((bool*)args[0]);
184 }
185 }
186 }
187 if (result) { Py_DECREF(result); }
188 Py_DECREF(obj);
189 return returnValue;
190 }
191 }
192 return ElfFile::toBinary(File);
193 }
194 bool PythonQtShell_ElfFile::toSrec(const QString& File)
195 {
196 if (_wrapper) {
197 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "toSrec");
198 PyErr_Clear();
199 if (obj && !PythonQtSlotFunction_Check(obj)) {
200 static const char* argumentList[] ={"bool" , "const QString&"};
201 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
202 bool returnValue;
203 void* args[2] = {NULL, (void*)&File};
204 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
205 if (result) {
206 args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue);
207 if (args[0]!=&returnValue) {
208 if (args[0]==NULL) {
209 PythonQt::priv()->handleVirtualOverloadReturnError("toSrec", methodInfo, result);
210 } else {
211 returnValue = *((bool*)args[0]);
212 }
213 }
214 }
215 if (result) { Py_DECREF(result); }
216 Py_DECREF(obj);
217 return returnValue;
218 }
219 }
220 return ElfFile::toSrec(File);
221 }
168 ElfFile* PythonQtWrapper_ElfFile::new_ElfFile()
222 ElfFile* PythonQtWrapper_ElfFile::new_ElfFile()
169 {
223 {
170 return new PythonQtShell_ElfFile(); }
224 return new PythonQtShell_ElfFile(); }
171
225
172 ElfFile* PythonQtWrapper_ElfFile::new_ElfFile(const QString& File)
226 ElfFile* PythonQtWrapper_ElfFile::new_ElfFile(const QString& File)
173 {
227 {
174 return new PythonQtShell_ElfFile(File); }
228 return new PythonQtShell_ElfFile(File); }
175
229
176 int PythonQtWrapper_ElfFile::closeFile(ElfFile* theWrappedObject)
230 int PythonQtWrapper_ElfFile::closeFile(ElfFile* theWrappedObject)
177 {
231 {
178 return ( ((PythonQtPublicPromoter_ElfFile*)theWrappedObject)->promoted_closeFile());
232 return ( ((PythonQtPublicPromoter_ElfFile*)theWrappedObject)->promoted_closeFile());
179 }
233 }
180
234
181 QString PythonQtWrapper_ElfFile::getABI(ElfFile* theWrappedObject)
235 QString PythonQtWrapper_ElfFile::getABI(ElfFile* theWrappedObject)
182 {
236 {
183 return ( theWrappedObject->getABI());
237 return ( theWrappedObject->getABI());
184 }
238 }
185
239
186 QString PythonQtWrapper_ElfFile::getArchitecture(ElfFile* theWrappedObject)
240 QString PythonQtWrapper_ElfFile::getArchitecture(ElfFile* theWrappedObject)
187 {
241 {
188 return ( theWrappedObject->getArchitecture());
242 return ( theWrappedObject->getArchitecture());
189 }
243 }
190
244
191 QString PythonQtWrapper_ElfFile::getClass(ElfFile* theWrappedObject)
245 QString PythonQtWrapper_ElfFile::getClass(ElfFile* theWrappedObject)
192 {
246 {
193 return ( theWrappedObject->getClass());
247 return ( theWrappedObject->getClass());
194 }
248 }
195
249
196 QString PythonQtWrapper_ElfFile::getEndianness(ElfFile* theWrappedObject)
250 QString PythonQtWrapper_ElfFile::getEndianness(ElfFile* theWrappedObject)
197 {
251 {
198 return ( theWrappedObject->getEndianness());
252 return ( theWrappedObject->getEndianness());
199 }
253 }
200
254
201 qint64 PythonQtWrapper_ElfFile::getEntryPointAddress(ElfFile* theWrappedObject)
255 qint64 PythonQtWrapper_ElfFile::getEntryPointAddress(ElfFile* theWrappedObject)
202 {
256 {
203 return ( theWrappedObject->getEntryPointAddress());
257 return ( theWrappedObject->getEntryPointAddress());
204 }
258 }
205
259
206 QList<codeFragment* > PythonQtWrapper_ElfFile::getFragments(ElfFile* theWrappedObject)
260 QList<codeFragment* > PythonQtWrapper_ElfFile::getFragments(ElfFile* theWrappedObject)
207 {
261 {
208 return ( ((PythonQtPublicPromoter_ElfFile*)theWrappedObject)->promoted_getFragments());
262 return ( ((PythonQtPublicPromoter_ElfFile*)theWrappedObject)->promoted_getFragments());
209 }
263 }
210
264
211 QList<codeFragment* > PythonQtWrapper_ElfFile::getFragments(ElfFile* theWrappedObject, QStringList fragmentList)
265 QList<codeFragment* > PythonQtWrapper_ElfFile::getFragments(ElfFile* theWrappedObject, QStringList fragmentList)
212 {
266 {
213 return ( theWrappedObject->getFragments(fragmentList));
267 return ( theWrappedObject->getFragments(fragmentList));
214 }
268 }
215
269
216 int PythonQtWrapper_ElfFile::getSectionCount(ElfFile* theWrappedObject)
270 int PythonQtWrapper_ElfFile::getSectionCount(ElfFile* theWrappedObject)
217 {
271 {
218 return ( theWrappedObject->getSectionCount());
272 return ( theWrappedObject->getSectionCount());
219 }
273 }
220
274
221 bool PythonQtWrapper_ElfFile::getSectionData(ElfFile* theWrappedObject, int index, char** buffer)
275 bool PythonQtWrapper_ElfFile::getSectionData(ElfFile* theWrappedObject, int index, char** buffer)
222 {
276 {
223 return ( theWrappedObject->getSectionData(index, buffer));
277 return ( theWrappedObject->getSectionData(index, buffer));
224 }
278 }
225
279
226 qint64 PythonQtWrapper_ElfFile::getSectionDatasz(ElfFile* theWrappedObject, int index)
280 qint64 PythonQtWrapper_ElfFile::getSectionDatasz(ElfFile* theWrappedObject, int index)
227 {
281 {
228 return ( theWrappedObject->getSectionDatasz(index));
282 return ( theWrappedObject->getSectionDatasz(index));
229 }
283 }
230
284
231 int PythonQtWrapper_ElfFile::getSectionIndex(ElfFile* theWrappedObject, QString name)
285 int PythonQtWrapper_ElfFile::getSectionIndex(ElfFile* theWrappedObject, QString name)
232 {
286 {
233 return ( theWrappedObject->getSectionIndex(name));
287 return ( theWrappedObject->getSectionIndex(name));
234 }
288 }
235
289
236 qint64 PythonQtWrapper_ElfFile::getSectionMemsz(ElfFile* theWrappedObject, int index)
290 qint64 PythonQtWrapper_ElfFile::getSectionMemsz(ElfFile* theWrappedObject, int index)
237 {
291 {
238 return ( theWrappedObject->getSectionMemsz(index));
292 return ( theWrappedObject->getSectionMemsz(index));
239 }
293 }
240
294
241 QString PythonQtWrapper_ElfFile::getSectionName(ElfFile* theWrappedObject, int index)
295 QString PythonQtWrapper_ElfFile::getSectionName(ElfFile* theWrappedObject, int index)
242 {
296 {
243 return ( theWrappedObject->getSectionName(index));
297 return ( theWrappedObject->getSectionName(index));
244 }
298 }
245
299
246 qint64 PythonQtWrapper_ElfFile::getSectionPaddr(ElfFile* theWrappedObject, int index)
300 qint64 PythonQtWrapper_ElfFile::getSectionPaddr(ElfFile* theWrappedObject, int index)
247 {
301 {
248 return ( theWrappedObject->getSectionPaddr(index));
302 return ( theWrappedObject->getSectionPaddr(index));
249 }
303 }
250
304
251 QString PythonQtWrapper_ElfFile::getSectionType(ElfFile* theWrappedObject, int index)
305 QString PythonQtWrapper_ElfFile::getSectionType(ElfFile* theWrappedObject, int index)
252 {
306 {
253 return ( theWrappedObject->getSectionType(index));
307 return ( theWrappedObject->getSectionType(index));
254 }
308 }
255
309
256 int PythonQtWrapper_ElfFile::getSegmentCount(ElfFile* theWrappedObject)
310 int PythonQtWrapper_ElfFile::getSegmentCount(ElfFile* theWrappedObject)
257 {
311 {
258 return ( theWrappedObject->getSegmentCount());
312 return ( theWrappedObject->getSegmentCount());
259 }
313 }
260
314
261 qint64 PythonQtWrapper_ElfFile::getSegmentFilesz(ElfFile* theWrappedObject, int index)
315 qint64 PythonQtWrapper_ElfFile::getSegmentFilesz(ElfFile* theWrappedObject, int index)
262 {
316 {
263 return ( theWrappedObject->getSegmentFilesz(index));
317 return ( theWrappedObject->getSegmentFilesz(index));
264 }
318 }
265
319
266 QString PythonQtWrapper_ElfFile::getSegmentFlags(ElfFile* theWrappedObject, int index)
320 QString PythonQtWrapper_ElfFile::getSegmentFlags(ElfFile* theWrappedObject, int index)
267 {
321 {
268 return ( theWrappedObject->getSegmentFlags(index));
322 return ( theWrappedObject->getSegmentFlags(index));
269 }
323 }
270
324
271 qint64 PythonQtWrapper_ElfFile::getSegmentMemsz(ElfFile* theWrappedObject, int index)
325 qint64 PythonQtWrapper_ElfFile::getSegmentMemsz(ElfFile* theWrappedObject, int index)
272 {
326 {
273 return ( theWrappedObject->getSegmentMemsz(index));
327 return ( theWrappedObject->getSegmentMemsz(index));
274 }
328 }
275
329
276 qint64 PythonQtWrapper_ElfFile::getSegmentOffset(ElfFile* theWrappedObject, int index)
330 qint64 PythonQtWrapper_ElfFile::getSegmentOffset(ElfFile* theWrappedObject, int index)
277 {
331 {
278 return ( theWrappedObject->getSegmentOffset(index));
332 return ( theWrappedObject->getSegmentOffset(index));
279 }
333 }
280
334
281 qint64 PythonQtWrapper_ElfFile::getSegmentPaddr(ElfFile* theWrappedObject, int index)
335 qint64 PythonQtWrapper_ElfFile::getSegmentPaddr(ElfFile* theWrappedObject, int index)
282 {
336 {
283 return ( theWrappedObject->getSegmentPaddr(index));
337 return ( theWrappedObject->getSegmentPaddr(index));
284 }
338 }
285
339
286 QString PythonQtWrapper_ElfFile::getSegmentType(ElfFile* theWrappedObject, int index)
340 QString PythonQtWrapper_ElfFile::getSegmentType(ElfFile* theWrappedObject, int index)
287 {
341 {
288 return ( theWrappedObject->getSegmentType(index));
342 return ( theWrappedObject->getSegmentType(index));
289 }
343 }
290
344
291 qint64 PythonQtWrapper_ElfFile::getSegmentVaddr(ElfFile* theWrappedObject, int index)
345 qint64 PythonQtWrapper_ElfFile::getSegmentVaddr(ElfFile* theWrappedObject, int index)
292 {
346 {
293 return ( theWrappedObject->getSegmentVaddr(index));
347 return ( theWrappedObject->getSegmentVaddr(index));
294 }
348 }
295
349
296 quint64 PythonQtWrapper_ElfFile::getSymbolAddress(ElfFile* theWrappedObject, int index)
350 quint64 PythonQtWrapper_ElfFile::getSymbolAddress(ElfFile* theWrappedObject, int index)
297 {
351 {
298 return ( theWrappedObject->getSymbolAddress(index));
352 return ( theWrappedObject->getSymbolAddress(index));
299 }
353 }
300
354
301 int PythonQtWrapper_ElfFile::getSymbolCount(ElfFile* theWrappedObject)
355 int PythonQtWrapper_ElfFile::getSymbolCount(ElfFile* theWrappedObject)
302 {
356 {
303 return ( theWrappedObject->getSymbolCount());
357 return ( theWrappedObject->getSymbolCount());
304 }
358 }
305
359
306 QString PythonQtWrapper_ElfFile::getSymbolLinkType(ElfFile* theWrappedObject, int index)
360 QString PythonQtWrapper_ElfFile::getSymbolLinkType(ElfFile* theWrappedObject, int index)
307 {
361 {
308 return ( theWrappedObject->getSymbolLinkType(index));
362 return ( theWrappedObject->getSymbolLinkType(index));
309 }
363 }
310
364
311 QString PythonQtWrapper_ElfFile::getSymbolName(ElfFile* theWrappedObject, int index)
365 QString PythonQtWrapper_ElfFile::getSymbolName(ElfFile* theWrappedObject, int index)
312 {
366 {
313 return ( theWrappedObject->getSymbolName(index));
367 return ( theWrappedObject->getSymbolName(index));
314 }
368 }
315
369
316 int PythonQtWrapper_ElfFile::getSymbolSectionIndex(ElfFile* theWrappedObject, int index)
370 int PythonQtWrapper_ElfFile::getSymbolSectionIndex(ElfFile* theWrappedObject, int index)
317 {
371 {
318 return ( theWrappedObject->getSymbolSectionIndex(index));
372 return ( theWrappedObject->getSymbolSectionIndex(index));
319 }
373 }
320
374
321 QString PythonQtWrapper_ElfFile::getSymbolSectionName(ElfFile* theWrappedObject, int index)
375 QString PythonQtWrapper_ElfFile::getSymbolSectionName(ElfFile* theWrappedObject, int index)
322 {
376 {
323 return ( theWrappedObject->getSymbolSectionName(index));
377 return ( theWrappedObject->getSymbolSectionName(index));
324 }
378 }
325
379
326 quint64 PythonQtWrapper_ElfFile::getSymbolSize(ElfFile* theWrappedObject, int index)
380 quint64 PythonQtWrapper_ElfFile::getSymbolSize(ElfFile* theWrappedObject, int index)
327 {
381 {
328 return ( theWrappedObject->getSymbolSize(index));
382 return ( theWrappedObject->getSymbolSize(index));
329 }
383 }
330
384
331 QString PythonQtWrapper_ElfFile::getSymbolType(ElfFile* theWrappedObject, int index)
385 QString PythonQtWrapper_ElfFile::getSymbolType(ElfFile* theWrappedObject, int index)
332 {
386 {
333 return ( theWrappedObject->getSymbolType(index));
387 return ( theWrappedObject->getSymbolType(index));
334 }
388 }
335
389
336 QString PythonQtWrapper_ElfFile::getType(ElfFile* theWrappedObject)
390 QString PythonQtWrapper_ElfFile::getType(ElfFile* theWrappedObject)
337 {
391 {
338 return ( theWrappedObject->getType());
392 return ( theWrappedObject->getType());
339 }
393 }
340
394
341 qint64 PythonQtWrapper_ElfFile::getVersion(ElfFile* theWrappedObject)
395 qint64 PythonQtWrapper_ElfFile::getVersion(ElfFile* theWrappedObject)
342 {
396 {
343 return ( theWrappedObject->getVersion());
397 return ( theWrappedObject->getVersion());
344 }
398 }
345
399
346 bool PythonQtWrapper_ElfFile::static_ElfFile_isElf(const QString& File)
400 bool PythonQtWrapper_ElfFile::static_ElfFile_isElf(const QString& File)
347 {
401 {
348 return (ElfFile::isElf(File));
402 return (ElfFile::isElf(File));
349 }
403 }
350
404
351 bool PythonQtWrapper_ElfFile::iself(ElfFile* theWrappedObject)
405 bool PythonQtWrapper_ElfFile::iself(ElfFile* theWrappedObject)
352 {
406 {
353 return ( theWrappedObject->iself());
407 return ( theWrappedObject->iself());
354 }
408 }
355
409
356 bool PythonQtWrapper_ElfFile::isopened(ElfFile* theWrappedObject)
410 bool PythonQtWrapper_ElfFile::isopened(ElfFile* theWrappedObject)
357 {
411 {
358 return ( ((PythonQtPublicPromoter_ElfFile*)theWrappedObject)->promoted_isopened());
412 return ( ((PythonQtPublicPromoter_ElfFile*)theWrappedObject)->promoted_isopened());
359 }
413 }
360
414
361 bool PythonQtWrapper_ElfFile::openFile(ElfFile* theWrappedObject, const QString& File)
415 bool PythonQtWrapper_ElfFile::openFile(ElfFile* theWrappedObject, const QString& File)
362 {
416 {
363 return ( ((PythonQtPublicPromoter_ElfFile*)theWrappedObject)->promoted_openFile(File));
417 return ( ((PythonQtPublicPromoter_ElfFile*)theWrappedObject)->promoted_openFile(File));
364 }
418 }
365
419
366 bool PythonQtWrapper_ElfFile::sectionIsNobits(ElfFile* theWrappedObject, int index)
420 bool PythonQtWrapper_ElfFile::sectionIsNobits(ElfFile* theWrappedObject, int index)
367 {
421 {
368 return ( theWrappedObject->sectionIsNobits(index));
422 return ( theWrappedObject->sectionIsNobits(index));
369 }
423 }
370
424
425 bool PythonQtWrapper_ElfFile::toBinary(ElfFile* theWrappedObject, const QString& File)
426 {
427 return ( ((PythonQtPublicPromoter_ElfFile*)theWrappedObject)->promoted_toBinary(File));
428 }
429
371 bool PythonQtWrapper_ElfFile::toSrec(ElfFile* theWrappedObject, const QString& File)
430 bool PythonQtWrapper_ElfFile::toSrec(ElfFile* theWrappedObject, const QString& File)
372 {
431 {
373 return ( theWrappedObject->toSrec(File));
432 return ( ((PythonQtPublicPromoter_ElfFile*)theWrappedObject)->promoted_toSrec(File));
374 }
433 }
375
434
376
435
377
436
378 PythonQtShell_MemSizeWdgt::~PythonQtShell_MemSizeWdgt() {
437 PythonQtShell_MemSizeWdgt::~PythonQtShell_MemSizeWdgt() {
379 PythonQtPrivate* priv = PythonQt::priv();
438 PythonQtPrivate* priv = PythonQt::priv();
380 if (priv) { priv->shellClassDeleted(this); }
439 if (priv) { priv->shellClassDeleted(this); }
381 }
440 }
382 void PythonQtShell_MemSizeWdgt::actionEvent(QActionEvent* arg__1)
441 void PythonQtShell_MemSizeWdgt::actionEvent(QActionEvent* arg__1)
383 {
442 {
384 if (_wrapper) {
443 if (_wrapper) {
385 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "actionEvent");
444 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "actionEvent");
386 PyErr_Clear();
445 PyErr_Clear();
387 if (obj && !PythonQtSlotFunction_Check(obj)) {
446 if (obj && !PythonQtSlotFunction_Check(obj)) {
388 static const char* argumentList[] ={"" , "QActionEvent*"};
447 static const char* argumentList[] ={"" , "QActionEvent*"};
389 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
448 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
390 void* args[2] = {NULL, (void*)&arg__1};
449 void* args[2] = {NULL, (void*)&arg__1};
391 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
450 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
392 if (result) { Py_DECREF(result); }
451 if (result) { Py_DECREF(result); }
393 Py_DECREF(obj);
452 Py_DECREF(obj);
394 return;
453 return;
395 }
454 }
396 }
455 }
397 MemSizeWdgt::actionEvent(arg__1);
456 MemSizeWdgt::actionEvent(arg__1);
398 }
457 }
399 void PythonQtShell_MemSizeWdgt::changeEvent(QEvent* arg__1)
458 void PythonQtShell_MemSizeWdgt::changeEvent(QEvent* arg__1)
400 {
459 {
401 if (_wrapper) {
460 if (_wrapper) {
402 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "changeEvent");
461 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "changeEvent");
403 PyErr_Clear();
462 PyErr_Clear();
404 if (obj && !PythonQtSlotFunction_Check(obj)) {
463 if (obj && !PythonQtSlotFunction_Check(obj)) {
405 static const char* argumentList[] ={"" , "QEvent*"};
464 static const char* argumentList[] ={"" , "QEvent*"};
406 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
465 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
407 void* args[2] = {NULL, (void*)&arg__1};
466 void* args[2] = {NULL, (void*)&arg__1};
408 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
467 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
409 if (result) { Py_DECREF(result); }
468 if (result) { Py_DECREF(result); }
410 Py_DECREF(obj);
469 Py_DECREF(obj);
411 return;
470 return;
412 }
471 }
413 }
472 }
414 MemSizeWdgt::changeEvent(arg__1);
473 MemSizeWdgt::changeEvent(arg__1);
415 }
474 }
416 void PythonQtShell_MemSizeWdgt::childEvent(QChildEvent* arg__1)
475 void PythonQtShell_MemSizeWdgt::childEvent(QChildEvent* arg__1)
417 {
476 {
418 if (_wrapper) {
477 if (_wrapper) {
419 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "childEvent");
478 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "childEvent");
420 PyErr_Clear();
479 PyErr_Clear();
421 if (obj && !PythonQtSlotFunction_Check(obj)) {
480 if (obj && !PythonQtSlotFunction_Check(obj)) {
422 static const char* argumentList[] ={"" , "QChildEvent*"};
481 static const char* argumentList[] ={"" , "QChildEvent*"};
423 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
482 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
424 void* args[2] = {NULL, (void*)&arg__1};
483 void* args[2] = {NULL, (void*)&arg__1};
425 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
484 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
426 if (result) { Py_DECREF(result); }
485 if (result) { Py_DECREF(result); }
427 Py_DECREF(obj);
486 Py_DECREF(obj);
428 return;
487 return;
429 }
488 }
430 }
489 }
431 MemSizeWdgt::childEvent(arg__1);
490 MemSizeWdgt::childEvent(arg__1);
432 }
491 }
433 void PythonQtShell_MemSizeWdgt::closeEvent(QCloseEvent* arg__1)
492 void PythonQtShell_MemSizeWdgt::closeEvent(QCloseEvent* arg__1)
434 {
493 {
435 if (_wrapper) {
494 if (_wrapper) {
436 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "closeEvent");
495 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "closeEvent");
437 PyErr_Clear();
496 PyErr_Clear();
438 if (obj && !PythonQtSlotFunction_Check(obj)) {
497 if (obj && !PythonQtSlotFunction_Check(obj)) {
439 static const char* argumentList[] ={"" , "QCloseEvent*"};
498 static const char* argumentList[] ={"" , "QCloseEvent*"};
440 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
499 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
441 void* args[2] = {NULL, (void*)&arg__1};
500 void* args[2] = {NULL, (void*)&arg__1};
442 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
501 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
443 if (result) { Py_DECREF(result); }
502 if (result) { Py_DECREF(result); }
444 Py_DECREF(obj);
503 Py_DECREF(obj);
445 return;
504 return;
446 }
505 }
447 }
506 }
448 MemSizeWdgt::closeEvent(arg__1);
507 MemSizeWdgt::closeEvent(arg__1);
449 }
508 }
450 void PythonQtShell_MemSizeWdgt::contextMenuEvent(QContextMenuEvent* arg__1)
509 void PythonQtShell_MemSizeWdgt::contextMenuEvent(QContextMenuEvent* arg__1)
451 {
510 {
452 if (_wrapper) {
511 if (_wrapper) {
453 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "contextMenuEvent");
512 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "contextMenuEvent");
454 PyErr_Clear();
513 PyErr_Clear();
455 if (obj && !PythonQtSlotFunction_Check(obj)) {
514 if (obj && !PythonQtSlotFunction_Check(obj)) {
456 static const char* argumentList[] ={"" , "QContextMenuEvent*"};
515 static const char* argumentList[] ={"" , "QContextMenuEvent*"};
457 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
516 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
458 void* args[2] = {NULL, (void*)&arg__1};
517 void* args[2] = {NULL, (void*)&arg__1};
459 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
518 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
460 if (result) { Py_DECREF(result); }
519 if (result) { Py_DECREF(result); }
461 Py_DECREF(obj);
520 Py_DECREF(obj);
462 return;
521 return;
463 }
522 }
464 }
523 }
465 MemSizeWdgt::contextMenuEvent(arg__1);
524 MemSizeWdgt::contextMenuEvent(arg__1);
466 }
525 }
467 void PythonQtShell_MemSizeWdgt::customEvent(QEvent* arg__1)
526 void PythonQtShell_MemSizeWdgt::customEvent(QEvent* arg__1)
468 {
527 {
469 if (_wrapper) {
528 if (_wrapper) {
470 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "customEvent");
529 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "customEvent");
471 PyErr_Clear();
530 PyErr_Clear();
472 if (obj && !PythonQtSlotFunction_Check(obj)) {
531 if (obj && !PythonQtSlotFunction_Check(obj)) {
473 static const char* argumentList[] ={"" , "QEvent*"};
532 static const char* argumentList[] ={"" , "QEvent*"};
474 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
533 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
475 void* args[2] = {NULL, (void*)&arg__1};
534 void* args[2] = {NULL, (void*)&arg__1};
476 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
535 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
477 if (result) { Py_DECREF(result); }
536 if (result) { Py_DECREF(result); }
478 Py_DECREF(obj);
537 Py_DECREF(obj);
479 return;
538 return;
480 }
539 }
481 }
540 }
482 MemSizeWdgt::customEvent(arg__1);
541 MemSizeWdgt::customEvent(arg__1);
483 }
542 }
484 int PythonQtShell_MemSizeWdgt::devType() const
543 int PythonQtShell_MemSizeWdgt::devType() const
485 {
544 {
486 if (_wrapper) {
545 if (_wrapper) {
487 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "devType");
546 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "devType");
488 PyErr_Clear();
547 PyErr_Clear();
489 if (obj && !PythonQtSlotFunction_Check(obj)) {
548 if (obj && !PythonQtSlotFunction_Check(obj)) {
490 static const char* argumentList[] ={"int"};
549 static const char* argumentList[] ={"int"};
491 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList);
550 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList);
492 int returnValue;
551 int returnValue;
493 void* args[1] = {NULL};
552 void* args[1] = {NULL};
494 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
553 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
495 if (result) {
554 if (result) {
496 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);
497 if (args[0]!=&returnValue) {
556 if (args[0]!=&returnValue) {
498 if (args[0]==NULL) {
557 if (args[0]==NULL) {
499 PythonQt::priv()->handleVirtualOverloadReturnError("devType", methodInfo, result);
558 PythonQt::priv()->handleVirtualOverloadReturnError("devType", methodInfo, result);
500 } else {
559 } else {
501 returnValue = *((int*)args[0]);
560 returnValue = *((int*)args[0]);
502 }
561 }
503 }
562 }
504 }
563 }
505 if (result) { Py_DECREF(result); }
564 if (result) { Py_DECREF(result); }
506 Py_DECREF(obj);
565 Py_DECREF(obj);
507 return returnValue;
566 return returnValue;
508 }
567 }
509 }
568 }
510 return MemSizeWdgt::devType();
569 return MemSizeWdgt::devType();
511 }
570 }
512 void PythonQtShell_MemSizeWdgt::dragEnterEvent(QDragEnterEvent* arg__1)
571 void PythonQtShell_MemSizeWdgt::dragEnterEvent(QDragEnterEvent* arg__1)
513 {
572 {
514 if (_wrapper) {
573 if (_wrapper) {
515 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dragEnterEvent");
574 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dragEnterEvent");
516 PyErr_Clear();
575 PyErr_Clear();
517 if (obj && !PythonQtSlotFunction_Check(obj)) {
576 if (obj && !PythonQtSlotFunction_Check(obj)) {
518 static const char* argumentList[] ={"" , "QDragEnterEvent*"};
577 static const char* argumentList[] ={"" , "QDragEnterEvent*"};
519 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
578 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
520 void* args[2] = {NULL, (void*)&arg__1};
579 void* args[2] = {NULL, (void*)&arg__1};
521 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
580 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
522 if (result) { Py_DECREF(result); }
581 if (result) { Py_DECREF(result); }
523 Py_DECREF(obj);
582 Py_DECREF(obj);
524 return;
583 return;
525 }
584 }
526 }
585 }
527 MemSizeWdgt::dragEnterEvent(arg__1);
586 MemSizeWdgt::dragEnterEvent(arg__1);
528 }
587 }
529 void PythonQtShell_MemSizeWdgt::dragLeaveEvent(QDragLeaveEvent* arg__1)
588 void PythonQtShell_MemSizeWdgt::dragLeaveEvent(QDragLeaveEvent* arg__1)
530 {
589 {
531 if (_wrapper) {
590 if (_wrapper) {
532 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dragLeaveEvent");
591 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dragLeaveEvent");
533 PyErr_Clear();
592 PyErr_Clear();
534 if (obj && !PythonQtSlotFunction_Check(obj)) {
593 if (obj && !PythonQtSlotFunction_Check(obj)) {
535 static const char* argumentList[] ={"" , "QDragLeaveEvent*"};
594 static const char* argumentList[] ={"" , "QDragLeaveEvent*"};
536 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
595 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
537 void* args[2] = {NULL, (void*)&arg__1};
596 void* args[2] = {NULL, (void*)&arg__1};
538 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
597 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
539 if (result) { Py_DECREF(result); }
598 if (result) { Py_DECREF(result); }
540 Py_DECREF(obj);
599 Py_DECREF(obj);
541 return;
600 return;
542 }
601 }
543 }
602 }
544 MemSizeWdgt::dragLeaveEvent(arg__1);
603 MemSizeWdgt::dragLeaveEvent(arg__1);
545 }
604 }
546 void PythonQtShell_MemSizeWdgt::dragMoveEvent(QDragMoveEvent* arg__1)
605 void PythonQtShell_MemSizeWdgt::dragMoveEvent(QDragMoveEvent* arg__1)
547 {
606 {
548 if (_wrapper) {
607 if (_wrapper) {
549 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dragMoveEvent");
608 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dragMoveEvent");
550 PyErr_Clear();
609 PyErr_Clear();
551 if (obj && !PythonQtSlotFunction_Check(obj)) {
610 if (obj && !PythonQtSlotFunction_Check(obj)) {
552 static const char* argumentList[] ={"" , "QDragMoveEvent*"};
611 static const char* argumentList[] ={"" , "QDragMoveEvent*"};
553 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
612 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
554 void* args[2] = {NULL, (void*)&arg__1};
613 void* args[2] = {NULL, (void*)&arg__1};
555 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
614 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
556 if (result) { Py_DECREF(result); }
615 if (result) { Py_DECREF(result); }
557 Py_DECREF(obj);
616 Py_DECREF(obj);
558 return;
617 return;
559 }
618 }
560 }
619 }
561 MemSizeWdgt::dragMoveEvent(arg__1);
620 MemSizeWdgt::dragMoveEvent(arg__1);
562 }
621 }
563 void PythonQtShell_MemSizeWdgt::dropEvent(QDropEvent* arg__1)
622 void PythonQtShell_MemSizeWdgt::dropEvent(QDropEvent* arg__1)
564 {
623 {
565 if (_wrapper) {
624 if (_wrapper) {
566 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dropEvent");
625 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dropEvent");
567 PyErr_Clear();
626 PyErr_Clear();
568 if (obj && !PythonQtSlotFunction_Check(obj)) {
627 if (obj && !PythonQtSlotFunction_Check(obj)) {
569 static const char* argumentList[] ={"" , "QDropEvent*"};
628 static const char* argumentList[] ={"" , "QDropEvent*"};
570 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
629 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
571 void* args[2] = {NULL, (void*)&arg__1};
630 void* args[2] = {NULL, (void*)&arg__1};
572 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
631 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
573 if (result) { Py_DECREF(result); }
632 if (result) { Py_DECREF(result); }
574 Py_DECREF(obj);
633 Py_DECREF(obj);
575 return;
634 return;
576 }
635 }
577 }
636 }
578 MemSizeWdgt::dropEvent(arg__1);
637 MemSizeWdgt::dropEvent(arg__1);
579 }
638 }
580 void PythonQtShell_MemSizeWdgt::enterEvent(QEvent* arg__1)
639 void PythonQtShell_MemSizeWdgt::enterEvent(QEvent* arg__1)
581 {
640 {
582 if (_wrapper) {
641 if (_wrapper) {
583 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "enterEvent");
642 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "enterEvent");
584 PyErr_Clear();
643 PyErr_Clear();
585 if (obj && !PythonQtSlotFunction_Check(obj)) {
644 if (obj && !PythonQtSlotFunction_Check(obj)) {
586 static const char* argumentList[] ={"" , "QEvent*"};
645 static const char* argumentList[] ={"" , "QEvent*"};
587 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
646 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
588 void* args[2] = {NULL, (void*)&arg__1};
647 void* args[2] = {NULL, (void*)&arg__1};
589 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
648 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
590 if (result) { Py_DECREF(result); }
649 if (result) { Py_DECREF(result); }
591 Py_DECREF(obj);
650 Py_DECREF(obj);
592 return;
651 return;
593 }
652 }
594 }
653 }
595 MemSizeWdgt::enterEvent(arg__1);
654 MemSizeWdgt::enterEvent(arg__1);
596 }
655 }
597 bool PythonQtShell_MemSizeWdgt::event(QEvent* arg__1)
656 bool PythonQtShell_MemSizeWdgt::event(QEvent* arg__1)
598 {
657 {
599 if (_wrapper) {
658 if (_wrapper) {
600 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "event");
659 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "event");
601 PyErr_Clear();
660 PyErr_Clear();
602 if (obj && !PythonQtSlotFunction_Check(obj)) {
661 if (obj && !PythonQtSlotFunction_Check(obj)) {
603 static const char* argumentList[] ={"bool" , "QEvent*"};
662 static const char* argumentList[] ={"bool" , "QEvent*"};
604 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
663 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
605 bool returnValue;
664 bool returnValue;
606 void* args[2] = {NULL, (void*)&arg__1};
665 void* args[2] = {NULL, (void*)&arg__1};
607 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
666 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
608 if (result) {
667 if (result) {
609 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);
610 if (args[0]!=&returnValue) {
669 if (args[0]!=&returnValue) {
611 if (args[0]==NULL) {
670 if (args[0]==NULL) {
612 PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result);
671 PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result);
613 } else {
672 } else {
614 returnValue = *((bool*)args[0]);
673 returnValue = *((bool*)args[0]);
615 }
674 }
616 }
675 }
617 }
676 }
618 if (result) { Py_DECREF(result); }
677 if (result) { Py_DECREF(result); }
619 Py_DECREF(obj);
678 Py_DECREF(obj);
620 return returnValue;
679 return returnValue;
621 }
680 }
622 }
681 }
623 return MemSizeWdgt::event(arg__1);
682 return MemSizeWdgt::event(arg__1);
624 }
683 }
625 bool PythonQtShell_MemSizeWdgt::eventFilter(QObject* arg__1, QEvent* arg__2)
684 bool PythonQtShell_MemSizeWdgt::eventFilter(QObject* arg__1, QEvent* arg__2)
626 {
685 {
627 if (_wrapper) {
686 if (_wrapper) {
628 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "eventFilter");
687 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "eventFilter");
629 PyErr_Clear();
688 PyErr_Clear();
630 if (obj && !PythonQtSlotFunction_Check(obj)) {
689 if (obj && !PythonQtSlotFunction_Check(obj)) {
631 static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"};
690 static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"};
632 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList);
691 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList);
633 bool returnValue;
692 bool returnValue;
634 void* args[3] = {NULL, (void*)&arg__1, (void*)&arg__2};
693 void* args[3] = {NULL, (void*)&arg__1, (void*)&arg__2};
635 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
694 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
636 if (result) {
695 if (result) {
637 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);
638 if (args[0]!=&returnValue) {
697 if (args[0]!=&returnValue) {
639 if (args[0]==NULL) {
698 if (args[0]==NULL) {
640 PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result);
699 PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result);
641 } else {
700 } else {
642 returnValue = *((bool*)args[0]);
701 returnValue = *((bool*)args[0]);
643 }
702 }
644 }
703 }
645 }
704 }
646 if (result) { Py_DECREF(result); }
705 if (result) { Py_DECREF(result); }
647 Py_DECREF(obj);
706 Py_DECREF(obj);
648 return returnValue;
707 return returnValue;
649 }
708 }
650 }
709 }
651 return MemSizeWdgt::eventFilter(arg__1, arg__2);
710 return MemSizeWdgt::eventFilter(arg__1, arg__2);
652 }
711 }
653 void PythonQtShell_MemSizeWdgt::focusInEvent(QFocusEvent* arg__1)
712 void PythonQtShell_MemSizeWdgt::focusInEvent(QFocusEvent* arg__1)
654 {
713 {
655 if (_wrapper) {
714 if (_wrapper) {
656 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "focusInEvent");
715 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "focusInEvent");
657 PyErr_Clear();
716 PyErr_Clear();
658 if (obj && !PythonQtSlotFunction_Check(obj)) {
717 if (obj && !PythonQtSlotFunction_Check(obj)) {
659 static const char* argumentList[] ={"" , "QFocusEvent*"};
718 static const char* argumentList[] ={"" , "QFocusEvent*"};
660 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
719 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
661 void* args[2] = {NULL, (void*)&arg__1};
720 void* args[2] = {NULL, (void*)&arg__1};
662 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
721 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
663 if (result) { Py_DECREF(result); }
722 if (result) { Py_DECREF(result); }
664 Py_DECREF(obj);
723 Py_DECREF(obj);
665 return;
724 return;
666 }
725 }
667 }
726 }
668 MemSizeWdgt::focusInEvent(arg__1);
727 MemSizeWdgt::focusInEvent(arg__1);
669 }
728 }
670 bool PythonQtShell_MemSizeWdgt::focusNextPrevChild(bool next)
729 bool PythonQtShell_MemSizeWdgt::focusNextPrevChild(bool next)
671 {
730 {
672 if (_wrapper) {
731 if (_wrapper) {
673 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "focusNextPrevChild");
732 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "focusNextPrevChild");
674 PyErr_Clear();
733 PyErr_Clear();
675 if (obj && !PythonQtSlotFunction_Check(obj)) {
734 if (obj && !PythonQtSlotFunction_Check(obj)) {
676 static const char* argumentList[] ={"bool" , "bool"};
735 static const char* argumentList[] ={"bool" , "bool"};
677 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
736 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
678 bool returnValue;
737 bool returnValue;
679 void* args[2] = {NULL, (void*)&next};
738 void* args[2] = {NULL, (void*)&next};
680 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
739 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
681 if (result) {
740 if (result) {
682 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);
683 if (args[0]!=&returnValue) {
742 if (args[0]!=&returnValue) {
684 if (args[0]==NULL) {
743 if (args[0]==NULL) {
685 PythonQt::priv()->handleVirtualOverloadReturnError("focusNextPrevChild", methodInfo, result);
744 PythonQt::priv()->handleVirtualOverloadReturnError("focusNextPrevChild", methodInfo, result);
686 } else {
745 } else {
687 returnValue = *((bool*)args[0]);
746 returnValue = *((bool*)args[0]);
688 }
747 }
689 }
748 }
690 }
749 }
691 if (result) { Py_DECREF(result); }
750 if (result) { Py_DECREF(result); }
692 Py_DECREF(obj);
751 Py_DECREF(obj);
693 return returnValue;
752 return returnValue;
694 }
753 }
695 }
754 }
696 return MemSizeWdgt::focusNextPrevChild(next);
755 return MemSizeWdgt::focusNextPrevChild(next);
697 }
756 }
698 void PythonQtShell_MemSizeWdgt::focusOutEvent(QFocusEvent* arg__1)
757 void PythonQtShell_MemSizeWdgt::focusOutEvent(QFocusEvent* arg__1)
699 {
758 {
700 if (_wrapper) {
759 if (_wrapper) {
701 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "focusOutEvent");
760 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "focusOutEvent");
702 PyErr_Clear();
761 PyErr_Clear();
703 if (obj && !PythonQtSlotFunction_Check(obj)) {
762 if (obj && !PythonQtSlotFunction_Check(obj)) {
704 static const char* argumentList[] ={"" , "QFocusEvent*"};
763 static const char* argumentList[] ={"" , "QFocusEvent*"};
705 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
764 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
706 void* args[2] = {NULL, (void*)&arg__1};
765 void* args[2] = {NULL, (void*)&arg__1};
707 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
766 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
708 if (result) { Py_DECREF(result); }
767 if (result) { Py_DECREF(result); }
709 Py_DECREF(obj);
768 Py_DECREF(obj);
710 return;
769 return;
711 }
770 }
712 }
771 }
713 MemSizeWdgt::focusOutEvent(arg__1);
772 MemSizeWdgt::focusOutEvent(arg__1);
714 }
773 }
715 bool PythonQtShell_MemSizeWdgt::hasHeightForWidth() const
774 bool PythonQtShell_MemSizeWdgt::hasHeightForWidth() const
716 {
775 {
717 if (_wrapper) {
776 if (_wrapper) {
718 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "hasHeightForWidth");
777 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "hasHeightForWidth");
719 PyErr_Clear();
778 PyErr_Clear();
720 if (obj && !PythonQtSlotFunction_Check(obj)) {
779 if (obj && !PythonQtSlotFunction_Check(obj)) {
721 static const char* argumentList[] ={"bool"};
780 static const char* argumentList[] ={"bool"};
722 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList);
781 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList);
723 bool returnValue;
782 bool returnValue;
724 void* args[1] = {NULL};
783 void* args[1] = {NULL};
725 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
784 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
726 if (result) {
785 if (result) {
727 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);
728 if (args[0]!=&returnValue) {
787 if (args[0]!=&returnValue) {
729 if (args[0]==NULL) {
788 if (args[0]==NULL) {
730 PythonQt::priv()->handleVirtualOverloadReturnError("hasHeightForWidth", methodInfo, result);
789 PythonQt::priv()->handleVirtualOverloadReturnError("hasHeightForWidth", methodInfo, result);
731 } else {
790 } else {
732 returnValue = *((bool*)args[0]);
791 returnValue = *((bool*)args[0]);
733 }
792 }
734 }
793 }
735 }
794 }
736 if (result) { Py_DECREF(result); }
795 if (result) { Py_DECREF(result); }
737 Py_DECREF(obj);
796 Py_DECREF(obj);
738 return returnValue;
797 return returnValue;
739 }
798 }
740 }
799 }
741 return MemSizeWdgt::hasHeightForWidth();
800 return MemSizeWdgt::hasHeightForWidth();
742 }
801 }
743 int PythonQtShell_MemSizeWdgt::heightForWidth(int arg__1) const
802 int PythonQtShell_MemSizeWdgt::heightForWidth(int arg__1) const
744 {
803 {
745 if (_wrapper) {
804 if (_wrapper) {
746 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "heightForWidth");
805 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "heightForWidth");
747 PyErr_Clear();
806 PyErr_Clear();
748 if (obj && !PythonQtSlotFunction_Check(obj)) {
807 if (obj && !PythonQtSlotFunction_Check(obj)) {
749 static const char* argumentList[] ={"int" , "int"};
808 static const char* argumentList[] ={"int" , "int"};
750 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
809 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
751 int returnValue;
810 int returnValue;
752 void* args[2] = {NULL, (void*)&arg__1};
811 void* args[2] = {NULL, (void*)&arg__1};
753 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
812 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
754 if (result) {
813 if (result) {
755 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);
756 if (args[0]!=&returnValue) {
815 if (args[0]!=&returnValue) {
757 if (args[0]==NULL) {
816 if (args[0]==NULL) {
758 PythonQt::priv()->handleVirtualOverloadReturnError("heightForWidth", methodInfo, result);
817 PythonQt::priv()->handleVirtualOverloadReturnError("heightForWidth", methodInfo, result);
759 } else {
818 } else {
760 returnValue = *((int*)args[0]);
819 returnValue = *((int*)args[0]);
761 }
820 }
762 }
821 }
763 }
822 }
764 if (result) { Py_DECREF(result); }
823 if (result) { Py_DECREF(result); }
765 Py_DECREF(obj);
824 Py_DECREF(obj);
766 return returnValue;
825 return returnValue;
767 }
826 }
768 }
827 }
769 return MemSizeWdgt::heightForWidth(arg__1);
828 return MemSizeWdgt::heightForWidth(arg__1);
770 }
829 }
771 void PythonQtShell_MemSizeWdgt::hideEvent(QHideEvent* arg__1)
830 void PythonQtShell_MemSizeWdgt::hideEvent(QHideEvent* arg__1)
772 {
831 {
773 if (_wrapper) {
832 if (_wrapper) {
774 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "hideEvent");
833 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "hideEvent");
775 PyErr_Clear();
834 PyErr_Clear();
776 if (obj && !PythonQtSlotFunction_Check(obj)) {
835 if (obj && !PythonQtSlotFunction_Check(obj)) {
777 static const char* argumentList[] ={"" , "QHideEvent*"};
836 static const char* argumentList[] ={"" , "QHideEvent*"};
778 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
837 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
779 void* args[2] = {NULL, (void*)&arg__1};
838 void* args[2] = {NULL, (void*)&arg__1};
780 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
839 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
781 if (result) { Py_DECREF(result); }
840 if (result) { Py_DECREF(result); }
782 Py_DECREF(obj);
841 Py_DECREF(obj);
783 return;
842 return;
784 }
843 }
785 }
844 }
786 MemSizeWdgt::hideEvent(arg__1);
845 MemSizeWdgt::hideEvent(arg__1);
787 }
846 }
788 void PythonQtShell_MemSizeWdgt::initPainter(QPainter* painter) const
847 void PythonQtShell_MemSizeWdgt::initPainter(QPainter* painter) const
789 {
848 {
790 if (_wrapper) {
849 if (_wrapper) {
791 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "initPainter");
850 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "initPainter");
792 PyErr_Clear();
851 PyErr_Clear();
793 if (obj && !PythonQtSlotFunction_Check(obj)) {
852 if (obj && !PythonQtSlotFunction_Check(obj)) {
794 static const char* argumentList[] ={"" , "QPainter*"};
853 static const char* argumentList[] ={"" , "QPainter*"};
795 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
854 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
796 void* args[2] = {NULL, (void*)&painter};
855 void* args[2] = {NULL, (void*)&painter};
797 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
856 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
798 if (result) { Py_DECREF(result); }
857 if (result) { Py_DECREF(result); }
799 Py_DECREF(obj);
858 Py_DECREF(obj);
800 return;
859 return;
801 }
860 }
802 }
861 }
803 MemSizeWdgt::initPainter(painter);
862 MemSizeWdgt::initPainter(painter);
804 }
863 }
805 void PythonQtShell_MemSizeWdgt::inputMethodEvent(QInputMethodEvent* arg__1)
864 void PythonQtShell_MemSizeWdgt::inputMethodEvent(QInputMethodEvent* arg__1)
806 {
865 {
807 if (_wrapper) {
866 if (_wrapper) {
808 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "inputMethodEvent");
867 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "inputMethodEvent");
809 PyErr_Clear();
868 PyErr_Clear();
810 if (obj && !PythonQtSlotFunction_Check(obj)) {
869 if (obj && !PythonQtSlotFunction_Check(obj)) {
811 static const char* argumentList[] ={"" , "QInputMethodEvent*"};
870 static const char* argumentList[] ={"" , "QInputMethodEvent*"};
812 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
871 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
813 void* args[2] = {NULL, (void*)&arg__1};
872 void* args[2] = {NULL, (void*)&arg__1};
814 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
873 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
815 if (result) { Py_DECREF(result); }
874 if (result) { Py_DECREF(result); }
816 Py_DECREF(obj);
875 Py_DECREF(obj);
817 return;
876 return;
818 }
877 }
819 }
878 }
820 MemSizeWdgt::inputMethodEvent(arg__1);
879 MemSizeWdgt::inputMethodEvent(arg__1);
821 }
880 }
822 QVariant PythonQtShell_MemSizeWdgt::inputMethodQuery(Qt::InputMethodQuery arg__1) const
881 QVariant PythonQtShell_MemSizeWdgt::inputMethodQuery(Qt::InputMethodQuery arg__1) const
823 {
882 {
824 if (_wrapper) {
883 if (_wrapper) {
825 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "inputMethodQuery");
884 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "inputMethodQuery");
826 PyErr_Clear();
885 PyErr_Clear();
827 if (obj && !PythonQtSlotFunction_Check(obj)) {
886 if (obj && !PythonQtSlotFunction_Check(obj)) {
828 static const char* argumentList[] ={"QVariant" , "Qt::InputMethodQuery"};
887 static const char* argumentList[] ={"QVariant" , "Qt::InputMethodQuery"};
829 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
888 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
830 QVariant returnValue;
889 QVariant returnValue;
831 void* args[2] = {NULL, (void*)&arg__1};
890 void* args[2] = {NULL, (void*)&arg__1};
832 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
891 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
833 if (result) {
892 if (result) {
834 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);
835 if (args[0]!=&returnValue) {
894 if (args[0]!=&returnValue) {
836 if (args[0]==NULL) {
895 if (args[0]==NULL) {
837 PythonQt::priv()->handleVirtualOverloadReturnError("inputMethodQuery", methodInfo, result);
896 PythonQt::priv()->handleVirtualOverloadReturnError("inputMethodQuery", methodInfo, result);
838 } else {
897 } else {
839 returnValue = *((QVariant*)args[0]);
898 returnValue = *((QVariant*)args[0]);
840 }
899 }
841 }
900 }
842 }
901 }
843 if (result) { Py_DECREF(result); }
902 if (result) { Py_DECREF(result); }
844 Py_DECREF(obj);
903 Py_DECREF(obj);
845 return returnValue;
904 return returnValue;
846 }
905 }
847 }
906 }
848 return MemSizeWdgt::inputMethodQuery(arg__1);
907 return MemSizeWdgt::inputMethodQuery(arg__1);
849 }
908 }
850 void PythonQtShell_MemSizeWdgt::keyPressEvent(QKeyEvent* arg__1)
909 void PythonQtShell_MemSizeWdgt::keyPressEvent(QKeyEvent* arg__1)
851 {
910 {
852 if (_wrapper) {
911 if (_wrapper) {
853 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "keyPressEvent");
912 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "keyPressEvent");
854 PyErr_Clear();
913 PyErr_Clear();
855 if (obj && !PythonQtSlotFunction_Check(obj)) {
914 if (obj && !PythonQtSlotFunction_Check(obj)) {
856 static const char* argumentList[] ={"" , "QKeyEvent*"};
915 static const char* argumentList[] ={"" , "QKeyEvent*"};
857 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
916 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
858 void* args[2] = {NULL, (void*)&arg__1};
917 void* args[2] = {NULL, (void*)&arg__1};
859 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
918 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
860 if (result) { Py_DECREF(result); }
919 if (result) { Py_DECREF(result); }
861 Py_DECREF(obj);
920 Py_DECREF(obj);
862 return;
921 return;
863 }
922 }
864 }
923 }
865 MemSizeWdgt::keyPressEvent(arg__1);
924 MemSizeWdgt::keyPressEvent(arg__1);
866 }
925 }
867 void PythonQtShell_MemSizeWdgt::keyReleaseEvent(QKeyEvent* arg__1)
926 void PythonQtShell_MemSizeWdgt::keyReleaseEvent(QKeyEvent* arg__1)
868 {
927 {
869 if (_wrapper) {
928 if (_wrapper) {
870 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "keyReleaseEvent");
929 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "keyReleaseEvent");
871 PyErr_Clear();
930 PyErr_Clear();
872 if (obj && !PythonQtSlotFunction_Check(obj)) {
931 if (obj && !PythonQtSlotFunction_Check(obj)) {
873 static const char* argumentList[] ={"" , "QKeyEvent*"};
932 static const char* argumentList[] ={"" , "QKeyEvent*"};
874 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
933 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
875 void* args[2] = {NULL, (void*)&arg__1};
934 void* args[2] = {NULL, (void*)&arg__1};
876 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
935 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
877 if (result) { Py_DECREF(result); }
936 if (result) { Py_DECREF(result); }
878 Py_DECREF(obj);
937 Py_DECREF(obj);
879 return;
938 return;
880 }
939 }
881 }
940 }
882 MemSizeWdgt::keyReleaseEvent(arg__1);
941 MemSizeWdgt::keyReleaseEvent(arg__1);
883 }
942 }
884 void PythonQtShell_MemSizeWdgt::leaveEvent(QEvent* arg__1)
943 void PythonQtShell_MemSizeWdgt::leaveEvent(QEvent* arg__1)
885 {
944 {
886 if (_wrapper) {
945 if (_wrapper) {
887 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "leaveEvent");
946 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "leaveEvent");
888 PyErr_Clear();
947 PyErr_Clear();
889 if (obj && !PythonQtSlotFunction_Check(obj)) {
948 if (obj && !PythonQtSlotFunction_Check(obj)) {
890 static const char* argumentList[] ={"" , "QEvent*"};
949 static const char* argumentList[] ={"" , "QEvent*"};
891 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
950 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
892 void* args[2] = {NULL, (void*)&arg__1};
951 void* args[2] = {NULL, (void*)&arg__1};
893 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
952 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
894 if (result) { Py_DECREF(result); }
953 if (result) { Py_DECREF(result); }
895 Py_DECREF(obj);
954 Py_DECREF(obj);
896 return;
955 return;
897 }
956 }
898 }
957 }
899 MemSizeWdgt::leaveEvent(arg__1);
958 MemSizeWdgt::leaveEvent(arg__1);
900 }
959 }
901 int PythonQtShell_MemSizeWdgt::metric(QPaintDevice::PaintDeviceMetric arg__1) const
960 int PythonQtShell_MemSizeWdgt::metric(QPaintDevice::PaintDeviceMetric arg__1) const
902 {
961 {
903 if (_wrapper) {
962 if (_wrapper) {
904 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "metric");
963 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "metric");
905 PyErr_Clear();
964 PyErr_Clear();
906 if (obj && !PythonQtSlotFunction_Check(obj)) {
965 if (obj && !PythonQtSlotFunction_Check(obj)) {
907 static const char* argumentList[] ={"int" , "QPaintDevice::PaintDeviceMetric"};
966 static const char* argumentList[] ={"int" , "QPaintDevice::PaintDeviceMetric"};
908 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
967 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
909 int returnValue;
968 int returnValue;
910 void* args[2] = {NULL, (void*)&arg__1};
969 void* args[2] = {NULL, (void*)&arg__1};
911 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
970 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
912 if (result) {
971 if (result) {
913 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);
914 if (args[0]!=&returnValue) {
973 if (args[0]!=&returnValue) {
915 if (args[0]==NULL) {
974 if (args[0]==NULL) {
916 PythonQt::priv()->handleVirtualOverloadReturnError("metric", methodInfo, result);
975 PythonQt::priv()->handleVirtualOverloadReturnError("metric", methodInfo, result);
917 } else {
976 } else {
918 returnValue = *((int*)args[0]);
977 returnValue = *((int*)args[0]);
919 }
978 }
920 }
979 }
921 }
980 }
922 if (result) { Py_DECREF(result); }
981 if (result) { Py_DECREF(result); }
923 Py_DECREF(obj);
982 Py_DECREF(obj);
924 return returnValue;
983 return returnValue;
925 }
984 }
926 }
985 }
927 return MemSizeWdgt::metric(arg__1);
986 return MemSizeWdgt::metric(arg__1);
928 }
987 }
929 QSize PythonQtShell_MemSizeWdgt::minimumSizeHint() const
988 QSize PythonQtShell_MemSizeWdgt::minimumSizeHint() const
930 {
989 {
931 if (_wrapper) {
990 if (_wrapper) {
932 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "getMinimumSizeHint");
991 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "getMinimumSizeHint");
933 PyErr_Clear();
992 PyErr_Clear();
934 if (obj && !PythonQtSlotFunction_Check(obj)) {
993 if (obj && !PythonQtSlotFunction_Check(obj)) {
935 static const char* argumentList[] ={"QSize"};
994 static const char* argumentList[] ={"QSize"};
936 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList);
995 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList);
937 QSize returnValue;
996 QSize returnValue;
938 void* args[1] = {NULL};
997 void* args[1] = {NULL};
939 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
998 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
940 if (result) {
999 if (result) {
941 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);
942 if (args[0]!=&returnValue) {
1001 if (args[0]!=&returnValue) {
943 if (args[0]==NULL) {
1002 if (args[0]==NULL) {
944 PythonQt::priv()->handleVirtualOverloadReturnError("getMinimumSizeHint", methodInfo, result);
1003 PythonQt::priv()->handleVirtualOverloadReturnError("getMinimumSizeHint", methodInfo, result);
945 } else {
1004 } else {
946 returnValue = *((QSize*)args[0]);
1005 returnValue = *((QSize*)args[0]);
947 }
1006 }
948 }
1007 }
949 }
1008 }
950 if (result) { Py_DECREF(result); }
1009 if (result) { Py_DECREF(result); }
951 Py_DECREF(obj);
1010 Py_DECREF(obj);
952 return returnValue;
1011 return returnValue;
953 }
1012 }
954 }
1013 }
955 return MemSizeWdgt::minimumSizeHint();
1014 return MemSizeWdgt::minimumSizeHint();
956 }
1015 }
957 void PythonQtShell_MemSizeWdgt::mouseDoubleClickEvent(QMouseEvent* arg__1)
1016 void PythonQtShell_MemSizeWdgt::mouseDoubleClickEvent(QMouseEvent* arg__1)
958 {
1017 {
959 if (_wrapper) {
1018 if (_wrapper) {
960 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mouseDoubleClickEvent");
1019 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mouseDoubleClickEvent");
961 PyErr_Clear();
1020 PyErr_Clear();
962 if (obj && !PythonQtSlotFunction_Check(obj)) {
1021 if (obj && !PythonQtSlotFunction_Check(obj)) {
963 static const char* argumentList[] ={"" , "QMouseEvent*"};
1022 static const char* argumentList[] ={"" , "QMouseEvent*"};
964 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
1023 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
965 void* args[2] = {NULL, (void*)&arg__1};
1024 void* args[2] = {NULL, (void*)&arg__1};
966 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
1025 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
967 if (result) { Py_DECREF(result); }
1026 if (result) { Py_DECREF(result); }
968 Py_DECREF(obj);
1027 Py_DECREF(obj);
969 return;
1028 return;
970 }
1029 }
971 }
1030 }
972 MemSizeWdgt::mouseDoubleClickEvent(arg__1);
1031 MemSizeWdgt::mouseDoubleClickEvent(arg__1);
973 }
1032 }
974 void PythonQtShell_MemSizeWdgt::mouseMoveEvent(QMouseEvent* arg__1)
1033 void PythonQtShell_MemSizeWdgt::mouseMoveEvent(QMouseEvent* arg__1)
975 {
1034 {
976 if (_wrapper) {
1035 if (_wrapper) {
977 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mouseMoveEvent");
1036 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mouseMoveEvent");
978 PyErr_Clear();
1037 PyErr_Clear();
979 if (obj && !PythonQtSlotFunction_Check(obj)) {
1038 if (obj && !PythonQtSlotFunction_Check(obj)) {
980 static const char* argumentList[] ={"" , "QMouseEvent*"};
1039 static const char* argumentList[] ={"" , "QMouseEvent*"};
981 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
1040 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
982 void* args[2] = {NULL, (void*)&arg__1};
1041 void* args[2] = {NULL, (void*)&arg__1};
983 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
1042 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
984 if (result) { Py_DECREF(result); }
1043 if (result) { Py_DECREF(result); }
985 Py_DECREF(obj);
1044 Py_DECREF(obj);
986 return;
1045 return;
987 }
1046 }
988 }
1047 }
989 MemSizeWdgt::mouseMoveEvent(arg__1);
1048 MemSizeWdgt::mouseMoveEvent(arg__1);
990 }
1049 }
991 void PythonQtShell_MemSizeWdgt::mousePressEvent(QMouseEvent* arg__1)
1050 void PythonQtShell_MemSizeWdgt::mousePressEvent(QMouseEvent* arg__1)
992 {
1051 {
993 if (_wrapper) {
1052 if (_wrapper) {
994 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mousePressEvent");
1053 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mousePressEvent");
995 PyErr_Clear();
1054 PyErr_Clear();
996 if (obj && !PythonQtSlotFunction_Check(obj)) {
1055 if (obj && !PythonQtSlotFunction_Check(obj)) {
997 static const char* argumentList[] ={"" , "QMouseEvent*"};
1056 static const char* argumentList[] ={"" , "QMouseEvent*"};
998 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
1057 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
999 void* args[2] = {NULL, (void*)&arg__1};
1058 void* args[2] = {NULL, (void*)&arg__1};
1000 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
1059 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
1001 if (result) { Py_DECREF(result); }
1060 if (result) { Py_DECREF(result); }
1002 Py_DECREF(obj);
1061 Py_DECREF(obj);
1003 return;
1062 return;
1004 }
1063 }
1005 }
1064 }
1006 MemSizeWdgt::mousePressEvent(arg__1);
1065 MemSizeWdgt::mousePressEvent(arg__1);
1007 }
1066 }
1008 void PythonQtShell_MemSizeWdgt::mouseReleaseEvent(QMouseEvent* arg__1)
1067 void PythonQtShell_MemSizeWdgt::mouseReleaseEvent(QMouseEvent* arg__1)
1009 {
1068 {
1010 if (_wrapper) {
1069 if (_wrapper) {
1011 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mouseReleaseEvent");
1070 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mouseReleaseEvent");
1012 PyErr_Clear();
1071 PyErr_Clear();
1013 if (obj && !PythonQtSlotFunction_Check(obj)) {
1072 if (obj && !PythonQtSlotFunction_Check(obj)) {
1014 static const char* argumentList[] ={"" , "QMouseEvent*"};
1073 static const char* argumentList[] ={"" , "QMouseEvent*"};
1015 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
1074 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
1016 void* args[2] = {NULL, (void*)&arg__1};
1075 void* args[2] = {NULL, (void*)&arg__1};
1017 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
1076 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
1018 if (result) { Py_DECREF(result); }
1077 if (result) { Py_DECREF(result); }
1019 Py_DECREF(obj);
1078 Py_DECREF(obj);
1020 return;
1079 return;
1021 }
1080 }
1022 }
1081 }
1023 MemSizeWdgt::mouseReleaseEvent(arg__1);
1082 MemSizeWdgt::mouseReleaseEvent(arg__1);
1024 }
1083 }
1025 void PythonQtShell_MemSizeWdgt::moveEvent(QMoveEvent* arg__1)
1084 void PythonQtShell_MemSizeWdgt::moveEvent(QMoveEvent* arg__1)
1026 {
1085 {
1027 if (_wrapper) {
1086 if (_wrapper) {
1028 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "moveEvent");
1087 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "moveEvent");
1029 PyErr_Clear();
1088 PyErr_Clear();
1030 if (obj && !PythonQtSlotFunction_Check(obj)) {
1089 if (obj && !PythonQtSlotFunction_Check(obj)) {
1031 static const char* argumentList[] ={"" , "QMoveEvent*"};
1090 static const char* argumentList[] ={"" , "QMoveEvent*"};
1032 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
1091 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
1033 void* args[2] = {NULL, (void*)&arg__1};
1092 void* args[2] = {NULL, (void*)&arg__1};
1034 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
1093 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
1035 if (result) { Py_DECREF(result); }
1094 if (result) { Py_DECREF(result); }
1036 Py_DECREF(obj);
1095 Py_DECREF(obj);
1037 return;
1096 return;
1038 }
1097 }
1039 }
1098 }
1040 MemSizeWdgt::moveEvent(arg__1);
1099 MemSizeWdgt::moveEvent(arg__1);
1041 }
1100 }
1042 bool PythonQtShell_MemSizeWdgt::nativeEvent(const QByteArray& eventType, void* message, long* result)
1101 bool PythonQtShell_MemSizeWdgt::nativeEvent(const QByteArray& eventType, void* message, long* result)
1043 {
1102 {
1044 if (_wrapper) {
1103 if (_wrapper) {
1045 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "nativeEvent");
1104 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "nativeEvent");
1046 PyErr_Clear();
1105 PyErr_Clear();
1047 if (obj && !PythonQtSlotFunction_Check(obj)) {
1106 if (obj && !PythonQtSlotFunction_Check(obj)) {
1048 static const char* argumentList[] ={"bool" , "const QByteArray&" , "void*" , "long*"};
1107 static const char* argumentList[] ={"bool" , "const QByteArray&" , "void*" , "long*"};
1049 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList);
1108 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList);
1050 bool returnValue;
1109 bool returnValue;
1051 void* args[4] = {NULL, (void*)&eventType, (void*)&message, (void*)&result};
1110 void* args[4] = {NULL, (void*)&eventType, (void*)&message, (void*)&result};
1052 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
1111 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
1053 if (result) {
1112 if (result) {
1054 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);
1055 if (args[0]!=&returnValue) {
1114 if (args[0]!=&returnValue) {
1056 if (args[0]==NULL) {
1115 if (args[0]==NULL) {
1057 PythonQt::priv()->handleVirtualOverloadReturnError("nativeEvent", methodInfo, result);
1116 PythonQt::priv()->handleVirtualOverloadReturnError("nativeEvent", methodInfo, result);
1058 } else {
1117 } else {
1059 returnValue = *((bool*)args[0]);
1118 returnValue = *((bool*)args[0]);
1060 }
1119 }
1061 }
1120 }
1062 }
1121 }
1063 if (result) { Py_DECREF(result); }
1122 if (result) { Py_DECREF(result); }
1064 Py_DECREF(obj);
1123 Py_DECREF(obj);
1065 return returnValue;
1124 return returnValue;
1066 }
1125 }
1067 }
1126 }
1068 return MemSizeWdgt::nativeEvent(eventType, message, result);
1127 return MemSizeWdgt::nativeEvent(eventType, message, result);
1069 }
1128 }
1070 QPaintEngine* PythonQtShell_MemSizeWdgt::paintEngine() const
1129 QPaintEngine* PythonQtShell_MemSizeWdgt::paintEngine() const
1071 {
1130 {
1072 if (_wrapper) {
1131 if (_wrapper) {
1073 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "paintEngine");
1132 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "paintEngine");
1074 PyErr_Clear();
1133 PyErr_Clear();
1075 if (obj && !PythonQtSlotFunction_Check(obj)) {
1134 if (obj && !PythonQtSlotFunction_Check(obj)) {
1076 static const char* argumentList[] ={"QPaintEngine*"};
1135 static const char* argumentList[] ={"QPaintEngine*"};
1077 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList);
1136 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList);
1078 QPaintEngine* returnValue;
1137 QPaintEngine* returnValue;
1079 void* args[1] = {NULL};
1138 void* args[1] = {NULL};
1080 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
1139 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
1081 if (result) {
1140 if (result) {
1082 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);
1083 if (args[0]!=&returnValue) {
1142 if (args[0]!=&returnValue) {
1084 if (args[0]==NULL) {
1143 if (args[0]==NULL) {
1085 PythonQt::priv()->handleVirtualOverloadReturnError("paintEngine", methodInfo, result);
1144 PythonQt::priv()->handleVirtualOverloadReturnError("paintEngine", methodInfo, result);
1086 } else {
1145 } else {
1087 returnValue = *((QPaintEngine**)args[0]);
1146 returnValue = *((QPaintEngine**)args[0]);
1088 }
1147 }
1089 }
1148 }
1090 }
1149 }
1091 if (result) { Py_DECREF(result); }
1150 if (result) { Py_DECREF(result); }
1092 Py_DECREF(obj);
1151 Py_DECREF(obj);
1093 return returnValue;
1152 return returnValue;
1094 }
1153 }
1095 }
1154 }
1096 return MemSizeWdgt::paintEngine();
1155 return MemSizeWdgt::paintEngine();
1097 }
1156 }
1098 void PythonQtShell_MemSizeWdgt::paintEvent(QPaintEvent* arg__1)
1157 void PythonQtShell_MemSizeWdgt::paintEvent(QPaintEvent* arg__1)
1099 {
1158 {
1100 if (_wrapper) {
1159 if (_wrapper) {
1101 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "paintEvent");
1160 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "paintEvent");
1102 PyErr_Clear();
1161 PyErr_Clear();
1103 if (obj && !PythonQtSlotFunction_Check(obj)) {
1162 if (obj && !PythonQtSlotFunction_Check(obj)) {
1104 static const char* argumentList[] ={"" , "QPaintEvent*"};
1163 static const char* argumentList[] ={"" , "QPaintEvent*"};
1105 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
1164 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
1106 void* args[2] = {NULL, (void*)&arg__1};
1165 void* args[2] = {NULL, (void*)&arg__1};
1107 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
1166 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
1108 if (result) { Py_DECREF(result); }
1167 if (result) { Py_DECREF(result); }
1109 Py_DECREF(obj);
1168 Py_DECREF(obj);
1110 return;
1169 return;
1111 }
1170 }
1112 }
1171 }
1113 MemSizeWdgt::paintEvent(arg__1);
1172 MemSizeWdgt::paintEvent(arg__1);
1114 }
1173 }
1115 QPaintDevice* PythonQtShell_MemSizeWdgt::redirected(QPoint* offset) const
1174 QPaintDevice* PythonQtShell_MemSizeWdgt::redirected(QPoint* offset) const
1116 {
1175 {
1117 if (_wrapper) {
1176 if (_wrapper) {
1118 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "redirected");
1177 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "redirected");
1119 PyErr_Clear();
1178 PyErr_Clear();
1120 if (obj && !PythonQtSlotFunction_Check(obj)) {
1179 if (obj && !PythonQtSlotFunction_Check(obj)) {
1121 static const char* argumentList[] ={"QPaintDevice*" , "QPoint*"};
1180 static const char* argumentList[] ={"QPaintDevice*" , "QPoint*"};
1122 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
1181 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
1123 QPaintDevice* returnValue;
1182 QPaintDevice* returnValue;
1124 void* args[2] = {NULL, (void*)&offset};
1183 void* args[2] = {NULL, (void*)&offset};
1125 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
1184 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
1126 if (result) {
1185 if (result) {
1127 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);
1128 if (args[0]!=&returnValue) {
1187 if (args[0]!=&returnValue) {
1129 if (args[0]==NULL) {
1188 if (args[0]==NULL) {
1130 PythonQt::priv()->handleVirtualOverloadReturnError("redirected", methodInfo, result);
1189 PythonQt::priv()->handleVirtualOverloadReturnError("redirected", methodInfo, result);
1131 } else {
1190 } else {
1132 returnValue = *((QPaintDevice**)args[0]);
1191 returnValue = *((QPaintDevice**)args[0]);
1133 }
1192 }
1134 }
1193 }
1135 }
1194 }
1136 if (result) { Py_DECREF(result); }
1195 if (result) { Py_DECREF(result); }
1137 Py_DECREF(obj);
1196 Py_DECREF(obj);
1138 return returnValue;
1197 return returnValue;
1139 }
1198 }
1140 }
1199 }
1141 return MemSizeWdgt::redirected(offset);
1200 return MemSizeWdgt::redirected(offset);
1142 }
1201 }
1143 void PythonQtShell_MemSizeWdgt::resizeEvent(QResizeEvent* arg__1)
1202 void PythonQtShell_MemSizeWdgt::resizeEvent(QResizeEvent* arg__1)
1144 {
1203 {
1145 if (_wrapper) {
1204 if (_wrapper) {
1146 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "resizeEvent");
1205 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "resizeEvent");
1147 PyErr_Clear();
1206 PyErr_Clear();
1148 if (obj && !PythonQtSlotFunction_Check(obj)) {
1207 if (obj && !PythonQtSlotFunction_Check(obj)) {
1149 static const char* argumentList[] ={"" , "QResizeEvent*"};
1208 static const char* argumentList[] ={"" , "QResizeEvent*"};
1150 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
1209 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
1151 void* args[2] = {NULL, (void*)&arg__1};
1210 void* args[2] = {NULL, (void*)&arg__1};
1152 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
1211 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
1153 if (result) { Py_DECREF(result); }
1212 if (result) { Py_DECREF(result); }
1154 Py_DECREF(obj);
1213 Py_DECREF(obj);
1155 return;
1214 return;
1156 }
1215 }
1157 }
1216 }
1158 MemSizeWdgt::resizeEvent(arg__1);
1217 MemSizeWdgt::resizeEvent(arg__1);
1159 }
1218 }
1160 QPainter* PythonQtShell_MemSizeWdgt::sharedPainter() const
1219 QPainter* PythonQtShell_MemSizeWdgt::sharedPainter() const
1161 {
1220 {
1162 if (_wrapper) {
1221 if (_wrapper) {
1163 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "sharedPainter");
1222 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "sharedPainter");
1164 PyErr_Clear();
1223 PyErr_Clear();
1165 if (obj && !PythonQtSlotFunction_Check(obj)) {
1224 if (obj && !PythonQtSlotFunction_Check(obj)) {
1166 static const char* argumentList[] ={"QPainter*"};
1225 static const char* argumentList[] ={"QPainter*"};
1167 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList);
1226 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList);
1168 QPainter* returnValue;
1227 QPainter* returnValue;
1169 void* args[1] = {NULL};
1228 void* args[1] = {NULL};
1170 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
1229 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
1171 if (result) {
1230 if (result) {
1172 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);
1173 if (args[0]!=&returnValue) {
1232 if (args[0]!=&returnValue) {
1174 if (args[0]==NULL) {
1233 if (args[0]==NULL) {
1175 PythonQt::priv()->handleVirtualOverloadReturnError("sharedPainter", methodInfo, result);
1234 PythonQt::priv()->handleVirtualOverloadReturnError("sharedPainter", methodInfo, result);
1176 } else {
1235 } else {
1177 returnValue = *((QPainter**)args[0]);
1236 returnValue = *((QPainter**)args[0]);
1178 }
1237 }
1179 }
1238 }
1180 }
1239 }
1181 if (result) { Py_DECREF(result); }
1240 if (result) { Py_DECREF(result); }
1182 Py_DECREF(obj);
1241 Py_DECREF(obj);
1183 return returnValue;
1242 return returnValue;
1184 }
1243 }
1185 }
1244 }
1186 return MemSizeWdgt::sharedPainter();
1245 return MemSizeWdgt::sharedPainter();
1187 }
1246 }
1188 void PythonQtShell_MemSizeWdgt::showEvent(QShowEvent* arg__1)
1247 void PythonQtShell_MemSizeWdgt::showEvent(QShowEvent* arg__1)
1189 {
1248 {
1190 if (_wrapper) {
1249 if (_wrapper) {
1191 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "showEvent");
1250 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "showEvent");
1192 PyErr_Clear();
1251 PyErr_Clear();
1193 if (obj && !PythonQtSlotFunction_Check(obj)) {
1252 if (obj && !PythonQtSlotFunction_Check(obj)) {
1194 static const char* argumentList[] ={"" , "QShowEvent*"};
1253 static const char* argumentList[] ={"" , "QShowEvent*"};
1195 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
1254 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
1196 void* args[2] = {NULL, (void*)&arg__1};
1255 void* args[2] = {NULL, (void*)&arg__1};
1197 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
1256 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
1198 if (result) { Py_DECREF(result); }
1257 if (result) { Py_DECREF(result); }
1199 Py_DECREF(obj);
1258 Py_DECREF(obj);
1200 return;
1259 return;
1201 }
1260 }
1202 }
1261 }
1203 MemSizeWdgt::showEvent(arg__1);
1262 MemSizeWdgt::showEvent(arg__1);
1204 }
1263 }
1205 QSize PythonQtShell_MemSizeWdgt::sizeHint() const
1264 QSize PythonQtShell_MemSizeWdgt::sizeHint() const
1206 {
1265 {
1207 if (_wrapper) {
1266 if (_wrapper) {
1208 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "getSizeHint");
1267 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "getSizeHint");
1209 PyErr_Clear();
1268 PyErr_Clear();
1210 if (obj && !PythonQtSlotFunction_Check(obj)) {
1269 if (obj && !PythonQtSlotFunction_Check(obj)) {
1211 static const char* argumentList[] ={"QSize"};
1270 static const char* argumentList[] ={"QSize"};
1212 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList);
1271 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList);
1213 QSize returnValue;
1272 QSize returnValue;
1214 void* args[1] = {NULL};
1273 void* args[1] = {NULL};
1215 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
1274 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
1216 if (result) {
1275 if (result) {
1217 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);
1218 if (args[0]!=&returnValue) {
1277 if (args[0]!=&returnValue) {
1219 if (args[0]==NULL) {
1278 if (args[0]==NULL) {
1220 PythonQt::priv()->handleVirtualOverloadReturnError("getSizeHint", methodInfo, result);
1279 PythonQt::priv()->handleVirtualOverloadReturnError("getSizeHint", methodInfo, result);
1221 } else {
1280 } else {
1222 returnValue = *((QSize*)args[0]);
1281 returnValue = *((QSize*)args[0]);
1223 }
1282 }
1224 }
1283 }
1225 }
1284 }
1226 if (result) { Py_DECREF(result); }
1285 if (result) { Py_DECREF(result); }
1227 Py_DECREF(obj);
1286 Py_DECREF(obj);
1228 return returnValue;
1287 return returnValue;
1229 }
1288 }
1230 }
1289 }
1231 return MemSizeWdgt::sizeHint();
1290 return MemSizeWdgt::sizeHint();
1232 }
1291 }
1233 void PythonQtShell_MemSizeWdgt::tabletEvent(QTabletEvent* arg__1)
1292 void PythonQtShell_MemSizeWdgt::tabletEvent(QTabletEvent* arg__1)
1234 {
1293 {
1235 if (_wrapper) {
1294 if (_wrapper) {
1236 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "tabletEvent");
1295 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "tabletEvent");
1237 PyErr_Clear();
1296 PyErr_Clear();
1238 if (obj && !PythonQtSlotFunction_Check(obj)) {
1297 if (obj && !PythonQtSlotFunction_Check(obj)) {
1239 static const char* argumentList[] ={"" , "QTabletEvent*"};
1298 static const char* argumentList[] ={"" , "QTabletEvent*"};
1240 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
1299 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
1241 void* args[2] = {NULL, (void*)&arg__1};
1300 void* args[2] = {NULL, (void*)&arg__1};
1242 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
1301 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
1243 if (result) { Py_DECREF(result); }
1302 if (result) { Py_DECREF(result); }
1244 Py_DECREF(obj);
1303 Py_DECREF(obj);
1245 return;
1304 return;
1246 }
1305 }
1247 }
1306 }
1248 MemSizeWdgt::tabletEvent(arg__1);
1307 MemSizeWdgt::tabletEvent(arg__1);
1249 }
1308 }
1250 void PythonQtShell_MemSizeWdgt::timerEvent(QTimerEvent* arg__1)
1309 void PythonQtShell_MemSizeWdgt::timerEvent(QTimerEvent* arg__1)
1251 {
1310 {
1252 if (_wrapper) {
1311 if (_wrapper) {
1253 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "timerEvent");
1312 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "timerEvent");
1254 PyErr_Clear();
1313 PyErr_Clear();
1255 if (obj && !PythonQtSlotFunction_Check(obj)) {
1314 if (obj && !PythonQtSlotFunction_Check(obj)) {
1256 static const char* argumentList[] ={"" , "QTimerEvent*"};
1315 static const char* argumentList[] ={"" , "QTimerEvent*"};
1257 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
1316 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
1258 void* args[2] = {NULL, (void*)&arg__1};
1317 void* args[2] = {NULL, (void*)&arg__1};
1259 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
1318 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
1260 if (result) { Py_DECREF(result); }
1319 if (result) { Py_DECREF(result); }
1261 Py_DECREF(obj);
1320 Py_DECREF(obj);
1262 return;
1321 return;
1263 }
1322 }
1264 }
1323 }
1265 MemSizeWdgt::timerEvent(arg__1);
1324 MemSizeWdgt::timerEvent(arg__1);
1266 }
1325 }
1267 void PythonQtShell_MemSizeWdgt::wheelEvent(QWheelEvent* arg__1)
1326 void PythonQtShell_MemSizeWdgt::wheelEvent(QWheelEvent* arg__1)
1268 {
1327 {
1269 if (_wrapper) {
1328 if (_wrapper) {
1270 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "wheelEvent");
1329 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "wheelEvent");
1271 PyErr_Clear();
1330 PyErr_Clear();
1272 if (obj && !PythonQtSlotFunction_Check(obj)) {
1331 if (obj && !PythonQtSlotFunction_Check(obj)) {
1273 static const char* argumentList[] ={"" , "QWheelEvent*"};
1332 static const char* argumentList[] ={"" , "QWheelEvent*"};
1274 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
1333 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
1275 void* args[2] = {NULL, (void*)&arg__1};
1334 void* args[2] = {NULL, (void*)&arg__1};
1276 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
1335 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
1277 if (result) { Py_DECREF(result); }
1336 if (result) { Py_DECREF(result); }
1278 Py_DECREF(obj);
1337 Py_DECREF(obj);
1279 return;
1338 return;
1280 }
1339 }
1281 }
1340 }
1282 MemSizeWdgt::wheelEvent(arg__1);
1341 MemSizeWdgt::wheelEvent(arg__1);
1283 }
1342 }
1284 MemSizeWdgt* PythonQtWrapper_MemSizeWdgt::new_MemSizeWdgt(QWidget* parent)
1343 MemSizeWdgt* PythonQtWrapper_MemSizeWdgt::new_MemSizeWdgt(QWidget* parent)
1285 {
1344 {
1286 return new PythonQtShell_MemSizeWdgt(parent); }
1345 return new PythonQtShell_MemSizeWdgt(parent); }
1287
1346
1288 MemSizeWdgt* PythonQtWrapper_MemSizeWdgt::new_MemSizeWdgt(int defaultSize, QWidget* parent)
1347 MemSizeWdgt* PythonQtWrapper_MemSizeWdgt::new_MemSizeWdgt(int defaultSize, QWidget* parent)
1289 {
1348 {
1290 return new PythonQtShell_MemSizeWdgt(defaultSize, parent); }
1349 return new PythonQtShell_MemSizeWdgt(defaultSize, parent); }
1291
1350
1292 int PythonQtWrapper_MemSizeWdgt::getsize(MemSizeWdgt* theWrappedObject)
1351 int PythonQtWrapper_MemSizeWdgt::getsize(MemSizeWdgt* theWrappedObject)
1293 {
1352 {
1294 return ( theWrappedObject->getsize());
1353 return ( theWrappedObject->getsize());
1295 }
1354 }
1296
1355
1297 void PythonQtWrapper_MemSizeWdgt::setMaximum(MemSizeWdgt* theWrappedObject, unsigned int max)
1356 void PythonQtWrapper_MemSizeWdgt::setMaximum(MemSizeWdgt* theWrappedObject, unsigned int max)
1298 {
1357 {
1299 ( theWrappedObject->setMaximum(max));
1358 ( theWrappedObject->setMaximum(max));
1300 }
1359 }
1301
1360
1302 void PythonQtWrapper_MemSizeWdgt::show(MemSizeWdgt* theWrappedObject)
1361 void PythonQtWrapper_MemSizeWdgt::show(MemSizeWdgt* theWrappedObject)
1303 {
1362 {
1304 ( theWrappedObject->show());
1363 ( theWrappedObject->show());
1305 }
1364 }
1306
1365
1307 void PythonQtWrapper_MemSizeWdgt::updateSizeValue(MemSizeWdgt* theWrappedObject)
1366 void PythonQtWrapper_MemSizeWdgt::updateSizeValue(MemSizeWdgt* theWrappedObject)
1308 {
1367 {
1309 ( theWrappedObject->updateSizeValue());
1368 ( theWrappedObject->updateSizeValue());
1310 }
1369 }
1311
1370
1312
1371
1313
1372
1314 PythonQtShell_QHexEdit::~PythonQtShell_QHexEdit() {
1373 PythonQtShell_QHexEdit::~PythonQtShell_QHexEdit() {
1315 PythonQtPrivate* priv = PythonQt::priv();
1374 PythonQtPrivate* priv = PythonQt::priv();
1316 if (priv) { priv->shellClassDeleted(this); }
1375 if (priv) { priv->shellClassDeleted(this); }
1317 }
1376 }
1318 void PythonQtShell_QHexEdit::actionEvent(QActionEvent* arg__1)
1377 void PythonQtShell_QHexEdit::actionEvent(QActionEvent* arg__1)
1319 {
1378 {
1320 if (_wrapper) {
1379 if (_wrapper) {
1321 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "actionEvent");
1380 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "actionEvent");
1322 PyErr_Clear();
1381 PyErr_Clear();
1323 if (obj && !PythonQtSlotFunction_Check(obj)) {
1382 if (obj && !PythonQtSlotFunction_Check(obj)) {
1324 static const char* argumentList[] ={"" , "QActionEvent*"};
1383 static const char* argumentList[] ={"" , "QActionEvent*"};
1325 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
1384 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
1326 void* args[2] = {NULL, (void*)&arg__1};
1385 void* args[2] = {NULL, (void*)&arg__1};
1327 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
1386 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
1328 if (result) { Py_DECREF(result); }
1387 if (result) { Py_DECREF(result); }
1329 Py_DECREF(obj);
1388 Py_DECREF(obj);
1330 return;
1389 return;
1331 }
1390 }
1332 }
1391 }
1333 QHexEdit::actionEvent(arg__1);
1392 QHexEdit::actionEvent(arg__1);
1334 }
1393 }
1335 void PythonQtShell_QHexEdit::changeEvent(QEvent* arg__1)
1394 void PythonQtShell_QHexEdit::changeEvent(QEvent* arg__1)
1336 {
1395 {
1337 if (_wrapper) {
1396 if (_wrapper) {
1338 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "changeEvent");
1397 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "changeEvent");
1339 PyErr_Clear();
1398 PyErr_Clear();
1340 if (obj && !PythonQtSlotFunction_Check(obj)) {
1399 if (obj && !PythonQtSlotFunction_Check(obj)) {
1341 static const char* argumentList[] ={"" , "QEvent*"};
1400 static const char* argumentList[] ={"" , "QEvent*"};
1342 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
1401 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
1343 void* args[2] = {NULL, (void*)&arg__1};
1402 void* args[2] = {NULL, (void*)&arg__1};
1344 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
1403 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
1345 if (result) { Py_DECREF(result); }
1404 if (result) { Py_DECREF(result); }
1346 Py_DECREF(obj);
1405 Py_DECREF(obj);
1347 return;
1406 return;
1348 }
1407 }
1349 }
1408 }
1350 QHexEdit::changeEvent(arg__1);
1409 QHexEdit::changeEvent(arg__1);
1351 }
1410 }
1352 void PythonQtShell_QHexEdit::childEvent(QChildEvent* arg__1)
1411 void PythonQtShell_QHexEdit::childEvent(QChildEvent* arg__1)
1353 {
1412 {
1354 if (_wrapper) {
1413 if (_wrapper) {
1355 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "childEvent");
1414 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "childEvent");
1356 PyErr_Clear();
1415 PyErr_Clear();
1357 if (obj && !PythonQtSlotFunction_Check(obj)) {
1416 if (obj && !PythonQtSlotFunction_Check(obj)) {
1358 static const char* argumentList[] ={"" , "QChildEvent*"};
1417 static const char* argumentList[] ={"" , "QChildEvent*"};
1359 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
1418 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
1360 void* args[2] = {NULL, (void*)&arg__1};
1419 void* args[2] = {NULL, (void*)&arg__1};
1361 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
1420 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
1362 if (result) { Py_DECREF(result); }
1421 if (result) { Py_DECREF(result); }
1363 Py_DECREF(obj);
1422 Py_DECREF(obj);
1364 return;
1423 return;
1365 }
1424 }
1366 }
1425 }
1367 QHexEdit::childEvent(arg__1);
1426 QHexEdit::childEvent(arg__1);
1368 }
1427 }
1369 void PythonQtShell_QHexEdit::closeEvent(QCloseEvent* arg__1)
1428 void PythonQtShell_QHexEdit::closeEvent(QCloseEvent* arg__1)
1370 {
1429 {
1371 if (_wrapper) {
1430 if (_wrapper) {
1372 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "closeEvent");
1431 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "closeEvent");
1373 PyErr_Clear();
1432 PyErr_Clear();
1374 if (obj && !PythonQtSlotFunction_Check(obj)) {
1433 if (obj && !PythonQtSlotFunction_Check(obj)) {
1375 static const char* argumentList[] ={"" , "QCloseEvent*"};
1434 static const char* argumentList[] ={"" , "QCloseEvent*"};
1376 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
1435 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
1377 void* args[2] = {NULL, (void*)&arg__1};
1436 void* args[2] = {NULL, (void*)&arg__1};
1378 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
1437 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
1379 if (result) { Py_DECREF(result); }
1438 if (result) { Py_DECREF(result); }
1380 Py_DECREF(obj);
1439 Py_DECREF(obj);
1381 return;
1440 return;
1382 }
1441 }
1383 }
1442 }
1384 QHexEdit::closeEvent(arg__1);
1443 QHexEdit::closeEvent(arg__1);
1385 }
1444 }
1386 void PythonQtShell_QHexEdit::contextMenuEvent(QContextMenuEvent* arg__1)
1445 void PythonQtShell_QHexEdit::contextMenuEvent(QContextMenuEvent* arg__1)
1387 {
1446 {
1388 if (_wrapper) {
1447 if (_wrapper) {
1389 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "contextMenuEvent");
1448 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "contextMenuEvent");
1390 PyErr_Clear();
1449 PyErr_Clear();
1391 if (obj && !PythonQtSlotFunction_Check(obj)) {
1450 if (obj && !PythonQtSlotFunction_Check(obj)) {
1392 static const char* argumentList[] ={"" , "QContextMenuEvent*"};
1451 static const char* argumentList[] ={"" , "QContextMenuEvent*"};
1393 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
1452 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
1394 void* args[2] = {NULL, (void*)&arg__1};
1453 void* args[2] = {NULL, (void*)&arg__1};
1395 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
1454 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
1396 if (result) { Py_DECREF(result); }
1455 if (result) { Py_DECREF(result); }
1397 Py_DECREF(obj);
1456 Py_DECREF(obj);
1398 return;
1457 return;
1399 }
1458 }
1400 }
1459 }
1401 QHexEdit::contextMenuEvent(arg__1);
1460 QHexEdit::contextMenuEvent(arg__1);
1402 }
1461 }
1403 void PythonQtShell_QHexEdit::customEvent(QEvent* arg__1)
1462 void PythonQtShell_QHexEdit::customEvent(QEvent* arg__1)
1404 {
1463 {
1405 if (_wrapper) {
1464 if (_wrapper) {
1406 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "customEvent");
1465 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "customEvent");
1407 PyErr_Clear();
1466 PyErr_Clear();
1408 if (obj && !PythonQtSlotFunction_Check(obj)) {
1467 if (obj && !PythonQtSlotFunction_Check(obj)) {
1409 static const char* argumentList[] ={"" , "QEvent*"};
1468 static const char* argumentList[] ={"" , "QEvent*"};
1410 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
1469 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
1411 void* args[2] = {NULL, (void*)&arg__1};
1470 void* args[2] = {NULL, (void*)&arg__1};
1412 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
1471 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
1413 if (result) { Py_DECREF(result); }
1472 if (result) { Py_DECREF(result); }
1414 Py_DECREF(obj);
1473 Py_DECREF(obj);
1415 return;
1474 return;
1416 }
1475 }
1417 }
1476 }
1418 QHexEdit::customEvent(arg__1);
1477 QHexEdit::customEvent(arg__1);
1419 }
1478 }
1420 int PythonQtShell_QHexEdit::devType() const
1479 int PythonQtShell_QHexEdit::devType() const
1421 {
1480 {
1422 if (_wrapper) {
1481 if (_wrapper) {
1423 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "devType");
1482 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "devType");
1424 PyErr_Clear();
1483 PyErr_Clear();
1425 if (obj && !PythonQtSlotFunction_Check(obj)) {
1484 if (obj && !PythonQtSlotFunction_Check(obj)) {
1426 static const char* argumentList[] ={"int"};
1485 static const char* argumentList[] ={"int"};
1427 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList);
1486 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList);
1428 int returnValue;
1487 int returnValue;
1429 void* args[1] = {NULL};
1488 void* args[1] = {NULL};
1430 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
1489 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
1431 if (result) {
1490 if (result) {
1432 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);
1433 if (args[0]!=&returnValue) {
1492 if (args[0]!=&returnValue) {
1434 if (args[0]==NULL) {
1493 if (args[0]==NULL) {
1435 PythonQt::priv()->handleVirtualOverloadReturnError("devType", methodInfo, result);
1494 PythonQt::priv()->handleVirtualOverloadReturnError("devType", methodInfo, result);
1436 } else {
1495 } else {
1437 returnValue = *((int*)args[0]);
1496 returnValue = *((int*)args[0]);
1438 }
1497 }
1439 }
1498 }
1440 }
1499 }
1441 if (result) { Py_DECREF(result); }
1500 if (result) { Py_DECREF(result); }
1442 Py_DECREF(obj);
1501 Py_DECREF(obj);
1443 return returnValue;
1502 return returnValue;
1444 }
1503 }
1445 }
1504 }
1446 return QHexEdit::devType();
1505 return QHexEdit::devType();
1447 }
1506 }
1448 void PythonQtShell_QHexEdit::dragEnterEvent(QDragEnterEvent* arg__1)
1507 void PythonQtShell_QHexEdit::dragEnterEvent(QDragEnterEvent* arg__1)
1449 {
1508 {
1450 if (_wrapper) {
1509 if (_wrapper) {
1451 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dragEnterEvent");
1510 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dragEnterEvent");
1452 PyErr_Clear();
1511 PyErr_Clear();
1453 if (obj && !PythonQtSlotFunction_Check(obj)) {
1512 if (obj && !PythonQtSlotFunction_Check(obj)) {
1454 static const char* argumentList[] ={"" , "QDragEnterEvent*"};
1513 static const char* argumentList[] ={"" , "QDragEnterEvent*"};
1455 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
1514 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
1456 void* args[2] = {NULL, (void*)&arg__1};
1515 void* args[2] = {NULL, (void*)&arg__1};
1457 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
1516 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
1458 if (result) { Py_DECREF(result); }
1517 if (result) { Py_DECREF(result); }
1459 Py_DECREF(obj);
1518 Py_DECREF(obj);
1460 return;
1519 return;
1461 }
1520 }
1462 }
1521 }
1463 QHexEdit::dragEnterEvent(arg__1);
1522 QHexEdit::dragEnterEvent(arg__1);
1464 }
1523 }
1465 void PythonQtShell_QHexEdit::dragLeaveEvent(QDragLeaveEvent* arg__1)
1524 void PythonQtShell_QHexEdit::dragLeaveEvent(QDragLeaveEvent* arg__1)
1466 {
1525 {
1467 if (_wrapper) {
1526 if (_wrapper) {
1468 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dragLeaveEvent");
1527 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dragLeaveEvent");
1469 PyErr_Clear();
1528 PyErr_Clear();
1470 if (obj && !PythonQtSlotFunction_Check(obj)) {
1529 if (obj && !PythonQtSlotFunction_Check(obj)) {
1471 static const char* argumentList[] ={"" , "QDragLeaveEvent*"};
1530 static const char* argumentList[] ={"" , "QDragLeaveEvent*"};
1472 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
1531 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
1473 void* args[2] = {NULL, (void*)&arg__1};
1532 void* args[2] = {NULL, (void*)&arg__1};
1474 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
1533 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
1475 if (result) { Py_DECREF(result); }
1534 if (result) { Py_DECREF(result); }
1476 Py_DECREF(obj);
1535 Py_DECREF(obj);
1477 return;
1536 return;
1478 }
1537 }
1479 }
1538 }
1480 QHexEdit::dragLeaveEvent(arg__1);
1539 QHexEdit::dragLeaveEvent(arg__1);
1481 }
1540 }
1482 void PythonQtShell_QHexEdit::dragMoveEvent(QDragMoveEvent* arg__1)
1541 void PythonQtShell_QHexEdit::dragMoveEvent(QDragMoveEvent* arg__1)
1483 {
1542 {
1484 if (_wrapper) {
1543 if (_wrapper) {
1485 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dragMoveEvent");
1544 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dragMoveEvent");
1486 PyErr_Clear();
1545 PyErr_Clear();
1487 if (obj && !PythonQtSlotFunction_Check(obj)) {
1546 if (obj && !PythonQtSlotFunction_Check(obj)) {
1488 static const char* argumentList[] ={"" , "QDragMoveEvent*"};
1547 static const char* argumentList[] ={"" , "QDragMoveEvent*"};
1489 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
1548 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
1490 void* args[2] = {NULL, (void*)&arg__1};
1549 void* args[2] = {NULL, (void*)&arg__1};
1491 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
1550 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
1492 if (result) { Py_DECREF(result); }
1551 if (result) { Py_DECREF(result); }
1493 Py_DECREF(obj);
1552 Py_DECREF(obj);
1494 return;
1553 return;
1495 }
1554 }
1496 }
1555 }
1497 QHexEdit::dragMoveEvent(arg__1);
1556 QHexEdit::dragMoveEvent(arg__1);
1498 }
1557 }
1499 void PythonQtShell_QHexEdit::dropEvent(QDropEvent* arg__1)
1558 void PythonQtShell_QHexEdit::dropEvent(QDropEvent* arg__1)
1500 {
1559 {
1501 if (_wrapper) {
1560 if (_wrapper) {
1502 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dropEvent");
1561 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dropEvent");
1503 PyErr_Clear();
1562 PyErr_Clear();
1504 if (obj && !PythonQtSlotFunction_Check(obj)) {
1563 if (obj && !PythonQtSlotFunction_Check(obj)) {
1505 static const char* argumentList[] ={"" , "QDropEvent*"};
1564 static const char* argumentList[] ={"" , "QDropEvent*"};
1506 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
1565 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
1507 void* args[2] = {NULL, (void*)&arg__1};
1566 void* args[2] = {NULL, (void*)&arg__1};
1508 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
1567 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
1509 if (result) { Py_DECREF(result); }
1568 if (result) { Py_DECREF(result); }
1510 Py_DECREF(obj);
1569 Py_DECREF(obj);
1511 return;
1570 return;
1512 }
1571 }
1513 }
1572 }
1514 QHexEdit::dropEvent(arg__1);
1573 QHexEdit::dropEvent(arg__1);
1515 }
1574 }
1516 void PythonQtShell_QHexEdit::enterEvent(QEvent* arg__1)
1575 void PythonQtShell_QHexEdit::enterEvent(QEvent* arg__1)
1517 {
1576 {
1518 if (_wrapper) {
1577 if (_wrapper) {
1519 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "enterEvent");
1578 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "enterEvent");
1520 PyErr_Clear();
1579 PyErr_Clear();
1521 if (obj && !PythonQtSlotFunction_Check(obj)) {
1580 if (obj && !PythonQtSlotFunction_Check(obj)) {
1522 static const char* argumentList[] ={"" , "QEvent*"};
1581 static const char* argumentList[] ={"" , "QEvent*"};
1523 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
1582 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
1524 void* args[2] = {NULL, (void*)&arg__1};
1583 void* args[2] = {NULL, (void*)&arg__1};
1525 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
1584 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
1526 if (result) { Py_DECREF(result); }
1585 if (result) { Py_DECREF(result); }
1527 Py_DECREF(obj);
1586 Py_DECREF(obj);
1528 return;
1587 return;
1529 }
1588 }
1530 }
1589 }
1531 QHexEdit::enterEvent(arg__1);
1590 QHexEdit::enterEvent(arg__1);
1532 }
1591 }
1533 bool PythonQtShell_QHexEdit::event(QEvent* arg__1)
1592 bool PythonQtShell_QHexEdit::event(QEvent* arg__1)
1534 {
1593 {
1535 if (_wrapper) {
1594 if (_wrapper) {
1536 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "event");
1595 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "event");
1537 PyErr_Clear();
1596 PyErr_Clear();
1538 if (obj && !PythonQtSlotFunction_Check(obj)) {
1597 if (obj && !PythonQtSlotFunction_Check(obj)) {
1539 static const char* argumentList[] ={"bool" , "QEvent*"};
1598 static const char* argumentList[] ={"bool" , "QEvent*"};
1540 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
1599 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
1541 bool returnValue;
1600 bool returnValue;
1542 void* args[2] = {NULL, (void*)&arg__1};
1601 void* args[2] = {NULL, (void*)&arg__1};
1543 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
1602 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
1544 if (result) {
1603 if (result) {
1545 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);
1546 if (args[0]!=&returnValue) {
1605 if (args[0]!=&returnValue) {
1547 if (args[0]==NULL) {
1606 if (args[0]==NULL) {
1548 PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result);
1607 PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result);
1549 } else {
1608 } else {
1550 returnValue = *((bool*)args[0]);
1609 returnValue = *((bool*)args[0]);
1551 }
1610 }
1552 }
1611 }
1553 }
1612 }
1554 if (result) { Py_DECREF(result); }
1613 if (result) { Py_DECREF(result); }
1555 Py_DECREF(obj);
1614 Py_DECREF(obj);
1556 return returnValue;
1615 return returnValue;
1557 }
1616 }
1558 }
1617 }
1559 return QHexEdit::event(arg__1);
1618 return QHexEdit::event(arg__1);
1560 }
1619 }
1561 bool PythonQtShell_QHexEdit::eventFilter(QObject* arg__1, QEvent* arg__2)
1620 bool PythonQtShell_QHexEdit::eventFilter(QObject* arg__1, QEvent* arg__2)
1562 {
1621 {
1563 if (_wrapper) {
1622 if (_wrapper) {
1564 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "eventFilter");
1623 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "eventFilter");
1565 PyErr_Clear();
1624 PyErr_Clear();
1566 if (obj && !PythonQtSlotFunction_Check(obj)) {
1625 if (obj && !PythonQtSlotFunction_Check(obj)) {
1567 static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"};
1626 static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"};
1568 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList);
1627 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList);
1569 bool returnValue;
1628 bool returnValue;
1570 void* args[3] = {NULL, (void*)&arg__1, (void*)&arg__2};
1629 void* args[3] = {NULL, (void*)&arg__1, (void*)&arg__2};
1571 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
1630 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
1572 if (result) {
1631 if (result) {
1573 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);
1574 if (args[0]!=&returnValue) {
1633 if (args[0]!=&returnValue) {
1575 if (args[0]==NULL) {
1634 if (args[0]==NULL) {
1576 PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result);
1635 PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result);
1577 } else {
1636 } else {
1578 returnValue = *((bool*)args[0]);
1637 returnValue = *((bool*)args[0]);
1579 }
1638 }
1580 }
1639 }
1581 }
1640 }
1582 if (result) { Py_DECREF(result); }
1641 if (result) { Py_DECREF(result); }
1583 Py_DECREF(obj);
1642 Py_DECREF(obj);
1584 return returnValue;
1643 return returnValue;
1585 }
1644 }
1586 }
1645 }
1587 return QHexEdit::eventFilter(arg__1, arg__2);
1646 return QHexEdit::eventFilter(arg__1, arg__2);
1588 }
1647 }
1589 void PythonQtShell_QHexEdit::focusInEvent(QFocusEvent* arg__1)
1648 void PythonQtShell_QHexEdit::focusInEvent(QFocusEvent* arg__1)
1590 {
1649 {
1591 if (_wrapper) {
1650 if (_wrapper) {
1592 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "focusInEvent");
1651 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "focusInEvent");
1593 PyErr_Clear();
1652 PyErr_Clear();
1594 if (obj && !PythonQtSlotFunction_Check(obj)) {
1653 if (obj && !PythonQtSlotFunction_Check(obj)) {
1595 static const char* argumentList[] ={"" , "QFocusEvent*"};
1654 static const char* argumentList[] ={"" , "QFocusEvent*"};
1596 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
1655 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
1597 void* args[2] = {NULL, (void*)&arg__1};
1656 void* args[2] = {NULL, (void*)&arg__1};
1598 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
1657 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
1599 if (result) { Py_DECREF(result); }
1658 if (result) { Py_DECREF(result); }
1600 Py_DECREF(obj);
1659 Py_DECREF(obj);
1601 return;
1660 return;
1602 }
1661 }
1603 }
1662 }
1604 QHexEdit::focusInEvent(arg__1);
1663 QHexEdit::focusInEvent(arg__1);
1605 }
1664 }
1606 bool PythonQtShell_QHexEdit::focusNextPrevChild(bool next)
1665 bool PythonQtShell_QHexEdit::focusNextPrevChild(bool next)
1607 {
1666 {
1608 if (_wrapper) {
1667 if (_wrapper) {
1609 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "focusNextPrevChild");
1668 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "focusNextPrevChild");
1610 PyErr_Clear();
1669 PyErr_Clear();
1611 if (obj && !PythonQtSlotFunction_Check(obj)) {
1670 if (obj && !PythonQtSlotFunction_Check(obj)) {
1612 static const char* argumentList[] ={"bool" , "bool"};
1671 static const char* argumentList[] ={"bool" , "bool"};
1613 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
1672 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
1614 bool returnValue;
1673 bool returnValue;
1615 void* args[2] = {NULL, (void*)&next};
1674 void* args[2] = {NULL, (void*)&next};
1616 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
1675 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
1617 if (result) {
1676 if (result) {
1618 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);
1619 if (args[0]!=&returnValue) {
1678 if (args[0]!=&returnValue) {
1620 if (args[0]==NULL) {
1679 if (args[0]==NULL) {
1621 PythonQt::priv()->handleVirtualOverloadReturnError("focusNextPrevChild", methodInfo, result);
1680 PythonQt::priv()->handleVirtualOverloadReturnError("focusNextPrevChild", methodInfo, result);
1622 } else {
1681 } else {
1623 returnValue = *((bool*)args[0]);
1682 returnValue = *((bool*)args[0]);
1624 }
1683 }
1625 }
1684 }
1626 }
1685 }
1627 if (result) { Py_DECREF(result); }
1686 if (result) { Py_DECREF(result); }
1628 Py_DECREF(obj);
1687 Py_DECREF(obj);
1629 return returnValue;
1688 return returnValue;
1630 }
1689 }
1631 }
1690 }
1632 return QHexEdit::focusNextPrevChild(next);
1691 return QHexEdit::focusNextPrevChild(next);
1633 }
1692 }
1634 void PythonQtShell_QHexEdit::focusOutEvent(QFocusEvent* arg__1)
1693 void PythonQtShell_QHexEdit::focusOutEvent(QFocusEvent* arg__1)
1635 {
1694 {
1636 if (_wrapper) {
1695 if (_wrapper) {
1637 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "focusOutEvent");
1696 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "focusOutEvent");
1638 PyErr_Clear();
1697 PyErr_Clear();
1639 if (obj && !PythonQtSlotFunction_Check(obj)) {
1698 if (obj && !PythonQtSlotFunction_Check(obj)) {
1640 static const char* argumentList[] ={"" , "QFocusEvent*"};
1699 static const char* argumentList[] ={"" , "QFocusEvent*"};
1641 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
1700 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
1642 void* args[2] = {NULL, (void*)&arg__1};
1701 void* args[2] = {NULL, (void*)&arg__1};
1643 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
1702 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
1644 if (result) { Py_DECREF(result); }
1703 if (result) { Py_DECREF(result); }
1645 Py_DECREF(obj);
1704 Py_DECREF(obj);
1646 return;
1705 return;
1647 }
1706 }
1648 }
1707 }
1649 QHexEdit::focusOutEvent(arg__1);
1708 QHexEdit::focusOutEvent(arg__1);
1650 }
1709 }
1651 bool PythonQtShell_QHexEdit::hasHeightForWidth() const
1710 bool PythonQtShell_QHexEdit::hasHeightForWidth() const
1652 {
1711 {
1653 if (_wrapper) {
1712 if (_wrapper) {
1654 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "hasHeightForWidth");
1713 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "hasHeightForWidth");
1655 PyErr_Clear();
1714 PyErr_Clear();
1656 if (obj && !PythonQtSlotFunction_Check(obj)) {
1715 if (obj && !PythonQtSlotFunction_Check(obj)) {
1657 static const char* argumentList[] ={"bool"};
1716 static const char* argumentList[] ={"bool"};
1658 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList);
1717 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList);
1659 bool returnValue;
1718 bool returnValue;
1660 void* args[1] = {NULL};
1719 void* args[1] = {NULL};
1661 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
1720 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
1662 if (result) {
1721 if (result) {
1663 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);
1664 if (args[0]!=&returnValue) {
1723 if (args[0]!=&returnValue) {
1665 if (args[0]==NULL) {
1724 if (args[0]==NULL) {
1666 PythonQt::priv()->handleVirtualOverloadReturnError("hasHeightForWidth", methodInfo, result);
1725 PythonQt::priv()->handleVirtualOverloadReturnError("hasHeightForWidth", methodInfo, result);
1667 } else {
1726 } else {
1668 returnValue = *((bool*)args[0]);
1727 returnValue = *((bool*)args[0]);
1669 }
1728 }
1670 }
1729 }
1671 }
1730 }
1672 if (result) { Py_DECREF(result); }
1731 if (result) { Py_DECREF(result); }
1673 Py_DECREF(obj);
1732 Py_DECREF(obj);
1674 return returnValue;
1733 return returnValue;
1675 }
1734 }
1676 }
1735 }
1677 return QHexEdit::hasHeightForWidth();
1736 return QHexEdit::hasHeightForWidth();
1678 }
1737 }
1679 int PythonQtShell_QHexEdit::heightForWidth(int arg__1) const
1738 int PythonQtShell_QHexEdit::heightForWidth(int arg__1) const
1680 {
1739 {
1681 if (_wrapper) {
1740 if (_wrapper) {
1682 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "heightForWidth");
1741 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "heightForWidth");
1683 PyErr_Clear();
1742 PyErr_Clear();
1684 if (obj && !PythonQtSlotFunction_Check(obj)) {
1743 if (obj && !PythonQtSlotFunction_Check(obj)) {
1685 static const char* argumentList[] ={"int" , "int"};
1744 static const char* argumentList[] ={"int" , "int"};
1686 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
1745 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
1687 int returnValue;
1746 int returnValue;
1688 void* args[2] = {NULL, (void*)&arg__1};
1747 void* args[2] = {NULL, (void*)&arg__1};
1689 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
1748 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
1690 if (result) {
1749 if (result) {
1691 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);
1692 if (args[0]!=&returnValue) {
1751 if (args[0]!=&returnValue) {
1693 if (args[0]==NULL) {
1752 if (args[0]==NULL) {
1694 PythonQt::priv()->handleVirtualOverloadReturnError("heightForWidth", methodInfo, result);
1753 PythonQt::priv()->handleVirtualOverloadReturnError("heightForWidth", methodInfo, result);
1695 } else {
1754 } else {
1696 returnValue = *((int*)args[0]);
1755 returnValue = *((int*)args[0]);
1697 }
1756 }
1698 }
1757 }
1699 }
1758 }
1700 if (result) { Py_DECREF(result); }
1759 if (result) { Py_DECREF(result); }
1701 Py_DECREF(obj);
1760 Py_DECREF(obj);
1702 return returnValue;
1761 return returnValue;
1703 }
1762 }
1704 }
1763 }
1705 return QHexEdit::heightForWidth(arg__1);
1764 return QHexEdit::heightForWidth(arg__1);
1706 }
1765 }
1707 void PythonQtShell_QHexEdit::hideEvent(QHideEvent* arg__1)
1766 void PythonQtShell_QHexEdit::hideEvent(QHideEvent* arg__1)
1708 {
1767 {
1709 if (_wrapper) {
1768 if (_wrapper) {
1710 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "hideEvent");
1769 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "hideEvent");
1711 PyErr_Clear();
1770 PyErr_Clear();
1712 if (obj && !PythonQtSlotFunction_Check(obj)) {
1771 if (obj && !PythonQtSlotFunction_Check(obj)) {
1713 static const char* argumentList[] ={"" , "QHideEvent*"};
1772 static const char* argumentList[] ={"" , "QHideEvent*"};
1714 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
1773 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
1715 void* args[2] = {NULL, (void*)&arg__1};
1774 void* args[2] = {NULL, (void*)&arg__1};
1716 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
1775 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
1717 if (result) { Py_DECREF(result); }
1776 if (result) { Py_DECREF(result); }
1718 Py_DECREF(obj);
1777 Py_DECREF(obj);
1719 return;
1778 return;
1720 }
1779 }
1721 }
1780 }
1722 QHexEdit::hideEvent(arg__1);
1781 QHexEdit::hideEvent(arg__1);
1723 }
1782 }
1724 void PythonQtShell_QHexEdit::initPainter(QPainter* painter) const
1783 void PythonQtShell_QHexEdit::initPainter(QPainter* painter) const
1725 {
1784 {
1726 if (_wrapper) {
1785 if (_wrapper) {
1727 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "initPainter");
1786 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "initPainter");
1728 PyErr_Clear();
1787 PyErr_Clear();
1729 if (obj && !PythonQtSlotFunction_Check(obj)) {
1788 if (obj && !PythonQtSlotFunction_Check(obj)) {
1730 static const char* argumentList[] ={"" , "QPainter*"};
1789 static const char* argumentList[] ={"" , "QPainter*"};
1731 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
1790 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
1732 void* args[2] = {NULL, (void*)&painter};
1791 void* args[2] = {NULL, (void*)&painter};
1733 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
1792 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
1734 if (result) { Py_DECREF(result); }
1793 if (result) { Py_DECREF(result); }
1735 Py_DECREF(obj);
1794 Py_DECREF(obj);
1736 return;
1795 return;
1737 }
1796 }
1738 }
1797 }
1739 QHexEdit::initPainter(painter);
1798 QHexEdit::initPainter(painter);
1740 }
1799 }
1741 void PythonQtShell_QHexEdit::inputMethodEvent(QInputMethodEvent* arg__1)
1800 void PythonQtShell_QHexEdit::inputMethodEvent(QInputMethodEvent* arg__1)
1742 {
1801 {
1743 if (_wrapper) {
1802 if (_wrapper) {
1744 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "inputMethodEvent");
1803 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "inputMethodEvent");
1745 PyErr_Clear();
1804 PyErr_Clear();
1746 if (obj && !PythonQtSlotFunction_Check(obj)) {
1805 if (obj && !PythonQtSlotFunction_Check(obj)) {
1747 static const char* argumentList[] ={"" , "QInputMethodEvent*"};
1806 static const char* argumentList[] ={"" , "QInputMethodEvent*"};
1748 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
1807 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
1749 void* args[2] = {NULL, (void*)&arg__1};
1808 void* args[2] = {NULL, (void*)&arg__1};
1750 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
1809 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
1751 if (result) { Py_DECREF(result); }
1810 if (result) { Py_DECREF(result); }
1752 Py_DECREF(obj);
1811 Py_DECREF(obj);
1753 return;
1812 return;
1754 }
1813 }
1755 }
1814 }
1756 QHexEdit::inputMethodEvent(arg__1);
1815 QHexEdit::inputMethodEvent(arg__1);
1757 }
1816 }
1758 QVariant PythonQtShell_QHexEdit::inputMethodQuery(Qt::InputMethodQuery arg__1) const
1817 QVariant PythonQtShell_QHexEdit::inputMethodQuery(Qt::InputMethodQuery arg__1) const
1759 {
1818 {
1760 if (_wrapper) {
1819 if (_wrapper) {
1761 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "inputMethodQuery");
1820 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "inputMethodQuery");
1762 PyErr_Clear();
1821 PyErr_Clear();
1763 if (obj && !PythonQtSlotFunction_Check(obj)) {
1822 if (obj && !PythonQtSlotFunction_Check(obj)) {
1764 static const char* argumentList[] ={"QVariant" , "Qt::InputMethodQuery"};
1823 static const char* argumentList[] ={"QVariant" , "Qt::InputMethodQuery"};
1765 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
1824 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
1766 QVariant returnValue;
1825 QVariant returnValue;
1767 void* args[2] = {NULL, (void*)&arg__1};
1826 void* args[2] = {NULL, (void*)&arg__1};
1768 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
1827 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
1769 if (result) {
1828 if (result) {
1770 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);
1771 if (args[0]!=&returnValue) {
1830 if (args[0]!=&returnValue) {
1772 if (args[0]==NULL) {
1831 if (args[0]==NULL) {
1773 PythonQt::priv()->handleVirtualOverloadReturnError("inputMethodQuery", methodInfo, result);
1832 PythonQt::priv()->handleVirtualOverloadReturnError("inputMethodQuery", methodInfo, result);
1774 } else {
1833 } else {
1775 returnValue = *((QVariant*)args[0]);
1834 returnValue = *((QVariant*)args[0]);
1776 }
1835 }
1777 }
1836 }
1778 }
1837 }
1779 if (result) { Py_DECREF(result); }
1838 if (result) { Py_DECREF(result); }
1780 Py_DECREF(obj);
1839 Py_DECREF(obj);
1781 return returnValue;
1840 return returnValue;
1782 }
1841 }
1783 }
1842 }
1784 return QHexEdit::inputMethodQuery(arg__1);
1843 return QHexEdit::inputMethodQuery(arg__1);
1785 }
1844 }
1786 void PythonQtShell_QHexEdit::keyPressEvent(QKeyEvent* arg__1)
1845 void PythonQtShell_QHexEdit::keyPressEvent(QKeyEvent* arg__1)
1787 {
1846 {
1788 if (_wrapper) {
1847 if (_wrapper) {
1789 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "keyPressEvent");
1848 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "keyPressEvent");
1790 PyErr_Clear();
1849 PyErr_Clear();
1791 if (obj && !PythonQtSlotFunction_Check(obj)) {
1850 if (obj && !PythonQtSlotFunction_Check(obj)) {
1792 static const char* argumentList[] ={"" , "QKeyEvent*"};
1851 static const char* argumentList[] ={"" , "QKeyEvent*"};
1793 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
1852 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
1794 void* args[2] = {NULL, (void*)&arg__1};
1853 void* args[2] = {NULL, (void*)&arg__1};
1795 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
1854 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
1796 if (result) { Py_DECREF(result); }
1855 if (result) { Py_DECREF(result); }
1797 Py_DECREF(obj);
1856 Py_DECREF(obj);
1798 return;
1857 return;
1799 }
1858 }
1800 }
1859 }
1801 QHexEdit::keyPressEvent(arg__1);
1860 QHexEdit::keyPressEvent(arg__1);
1802 }
1861 }
1803 void PythonQtShell_QHexEdit::keyReleaseEvent(QKeyEvent* arg__1)
1862 void PythonQtShell_QHexEdit::keyReleaseEvent(QKeyEvent* arg__1)
1804 {
1863 {
1805 if (_wrapper) {
1864 if (_wrapper) {
1806 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "keyReleaseEvent");
1865 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "keyReleaseEvent");
1807 PyErr_Clear();
1866 PyErr_Clear();
1808 if (obj && !PythonQtSlotFunction_Check(obj)) {
1867 if (obj && !PythonQtSlotFunction_Check(obj)) {
1809 static const char* argumentList[] ={"" , "QKeyEvent*"};
1868 static const char* argumentList[] ={"" , "QKeyEvent*"};
1810 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
1869 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
1811 void* args[2] = {NULL, (void*)&arg__1};
1870 void* args[2] = {NULL, (void*)&arg__1};
1812 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
1871 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
1813 if (result) { Py_DECREF(result); }
1872 if (result) { Py_DECREF(result); }
1814 Py_DECREF(obj);
1873 Py_DECREF(obj);
1815 return;
1874 return;
1816 }
1875 }
1817 }
1876 }
1818 QHexEdit::keyReleaseEvent(arg__1);
1877 QHexEdit::keyReleaseEvent(arg__1);
1819 }
1878 }
1820 void PythonQtShell_QHexEdit::leaveEvent(QEvent* arg__1)
1879 void PythonQtShell_QHexEdit::leaveEvent(QEvent* arg__1)
1821 {
1880 {
1822 if (_wrapper) {
1881 if (_wrapper) {
1823 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "leaveEvent");
1882 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "leaveEvent");
1824 PyErr_Clear();
1883 PyErr_Clear();
1825 if (obj && !PythonQtSlotFunction_Check(obj)) {
1884 if (obj && !PythonQtSlotFunction_Check(obj)) {
1826 static const char* argumentList[] ={"" , "QEvent*"};
1885 static const char* argumentList[] ={"" , "QEvent*"};
1827 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
1886 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
1828 void* args[2] = {NULL, (void*)&arg__1};
1887 void* args[2] = {NULL, (void*)&arg__1};
1829 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
1888 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
1830 if (result) { Py_DECREF(result); }
1889 if (result) { Py_DECREF(result); }
1831 Py_DECREF(obj);
1890 Py_DECREF(obj);
1832 return;
1891 return;
1833 }
1892 }
1834 }
1893 }
1835 QHexEdit::leaveEvent(arg__1);
1894 QHexEdit::leaveEvent(arg__1);
1836 }
1895 }
1837 int PythonQtShell_QHexEdit::metric(QPaintDevice::PaintDeviceMetric arg__1) const
1896 int PythonQtShell_QHexEdit::metric(QPaintDevice::PaintDeviceMetric arg__1) const
1838 {
1897 {
1839 if (_wrapper) {
1898 if (_wrapper) {
1840 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "metric");
1899 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "metric");
1841 PyErr_Clear();
1900 PyErr_Clear();
1842 if (obj && !PythonQtSlotFunction_Check(obj)) {
1901 if (obj && !PythonQtSlotFunction_Check(obj)) {
1843 static const char* argumentList[] ={"int" , "QPaintDevice::PaintDeviceMetric"};
1902 static const char* argumentList[] ={"int" , "QPaintDevice::PaintDeviceMetric"};
1844 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
1903 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
1845 int returnValue;
1904 int returnValue;
1846 void* args[2] = {NULL, (void*)&arg__1};
1905 void* args[2] = {NULL, (void*)&arg__1};
1847 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
1906 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
1848 if (result) {
1907 if (result) {
1849 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);
1850 if (args[0]!=&returnValue) {
1909 if (args[0]!=&returnValue) {
1851 if (args[0]==NULL) {
1910 if (args[0]==NULL) {
1852 PythonQt::priv()->handleVirtualOverloadReturnError("metric", methodInfo, result);
1911 PythonQt::priv()->handleVirtualOverloadReturnError("metric", methodInfo, result);
1853 } else {
1912 } else {
1854 returnValue = *((int*)args[0]);
1913 returnValue = *((int*)args[0]);
1855 }
1914 }
1856 }
1915 }
1857 }
1916 }
1858 if (result) { Py_DECREF(result); }
1917 if (result) { Py_DECREF(result); }
1859 Py_DECREF(obj);
1918 Py_DECREF(obj);
1860 return returnValue;
1919 return returnValue;
1861 }
1920 }
1862 }
1921 }
1863 return QHexEdit::metric(arg__1);
1922 return QHexEdit::metric(arg__1);
1864 }
1923 }
1865 void PythonQtShell_QHexEdit::mouseDoubleClickEvent(QMouseEvent* arg__1)
1924 void PythonQtShell_QHexEdit::mouseDoubleClickEvent(QMouseEvent* arg__1)
1866 {
1925 {
1867 if (_wrapper) {
1926 if (_wrapper) {
1868 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mouseDoubleClickEvent");
1927 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mouseDoubleClickEvent");
1869 PyErr_Clear();
1928 PyErr_Clear();
1870 if (obj && !PythonQtSlotFunction_Check(obj)) {
1929 if (obj && !PythonQtSlotFunction_Check(obj)) {
1871 static const char* argumentList[] ={"" , "QMouseEvent*"};
1930 static const char* argumentList[] ={"" , "QMouseEvent*"};
1872 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
1931 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
1873 void* args[2] = {NULL, (void*)&arg__1};
1932 void* args[2] = {NULL, (void*)&arg__1};
1874 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
1933 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
1875 if (result) { Py_DECREF(result); }
1934 if (result) { Py_DECREF(result); }
1876 Py_DECREF(obj);
1935 Py_DECREF(obj);
1877 return;
1936 return;
1878 }
1937 }
1879 }
1938 }
1880 QHexEdit::mouseDoubleClickEvent(arg__1);
1939 QHexEdit::mouseDoubleClickEvent(arg__1);
1881 }
1940 }
1882 void PythonQtShell_QHexEdit::mouseMoveEvent(QMouseEvent* arg__1)
1941 void PythonQtShell_QHexEdit::mouseMoveEvent(QMouseEvent* arg__1)
1883 {
1942 {
1884 if (_wrapper) {
1943 if (_wrapper) {
1885 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mouseMoveEvent");
1944 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mouseMoveEvent");
1886 PyErr_Clear();
1945 PyErr_Clear();
1887 if (obj && !PythonQtSlotFunction_Check(obj)) {
1946 if (obj && !PythonQtSlotFunction_Check(obj)) {
1888 static const char* argumentList[] ={"" , "QMouseEvent*"};
1947 static const char* argumentList[] ={"" , "QMouseEvent*"};
1889 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
1948 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
1890 void* args[2] = {NULL, (void*)&arg__1};
1949 void* args[2] = {NULL, (void*)&arg__1};
1891 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
1950 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
1892 if (result) { Py_DECREF(result); }
1951 if (result) { Py_DECREF(result); }
1893 Py_DECREF(obj);
1952 Py_DECREF(obj);
1894 return;
1953 return;
1895 }
1954 }
1896 }
1955 }
1897 QHexEdit::mouseMoveEvent(arg__1);
1956 QHexEdit::mouseMoveEvent(arg__1);
1898 }
1957 }
1899 void PythonQtShell_QHexEdit::mousePressEvent(QMouseEvent* arg__1)
1958 void PythonQtShell_QHexEdit::mousePressEvent(QMouseEvent* arg__1)
1900 {
1959 {
1901 if (_wrapper) {
1960 if (_wrapper) {
1902 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mousePressEvent");
1961 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mousePressEvent");
1903 PyErr_Clear();
1962 PyErr_Clear();
1904 if (obj && !PythonQtSlotFunction_Check(obj)) {
1963 if (obj && !PythonQtSlotFunction_Check(obj)) {
1905 static const char* argumentList[] ={"" , "QMouseEvent*"};
1964 static const char* argumentList[] ={"" , "QMouseEvent*"};
1906 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
1965 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
1907 void* args[2] = {NULL, (void*)&arg__1};
1966 void* args[2] = {NULL, (void*)&arg__1};
1908 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
1967 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
1909 if (result) { Py_DECREF(result); }
1968 if (result) { Py_DECREF(result); }
1910 Py_DECREF(obj);
1969 Py_DECREF(obj);
1911 return;
1970 return;
1912 }
1971 }
1913 }
1972 }
1914 QHexEdit::mousePressEvent(arg__1);
1973 QHexEdit::mousePressEvent(arg__1);
1915 }
1974 }
1916 void PythonQtShell_QHexEdit::mouseReleaseEvent(QMouseEvent* arg__1)
1975 void PythonQtShell_QHexEdit::mouseReleaseEvent(QMouseEvent* arg__1)
1917 {
1976 {
1918 if (_wrapper) {
1977 if (_wrapper) {
1919 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mouseReleaseEvent");
1978 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mouseReleaseEvent");
1920 PyErr_Clear();
1979 PyErr_Clear();
1921 if (obj && !PythonQtSlotFunction_Check(obj)) {
1980 if (obj && !PythonQtSlotFunction_Check(obj)) {
1922 static const char* argumentList[] ={"" , "QMouseEvent*"};
1981 static const char* argumentList[] ={"" , "QMouseEvent*"};
1923 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
1982 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
1924 void* args[2] = {NULL, (void*)&arg__1};
1983 void* args[2] = {NULL, (void*)&arg__1};
1925 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
1984 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
1926 if (result) { Py_DECREF(result); }
1985 if (result) { Py_DECREF(result); }
1927 Py_DECREF(obj);
1986 Py_DECREF(obj);
1928 return;
1987 return;
1929 }
1988 }
1930 }
1989 }
1931 QHexEdit::mouseReleaseEvent(arg__1);
1990 QHexEdit::mouseReleaseEvent(arg__1);
1932 }
1991 }
1933 void PythonQtShell_QHexEdit::moveEvent(QMoveEvent* arg__1)
1992 void PythonQtShell_QHexEdit::moveEvent(QMoveEvent* arg__1)
1934 {
1993 {
1935 if (_wrapper) {
1994 if (_wrapper) {
1936 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "moveEvent");
1995 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "moveEvent");
1937 PyErr_Clear();
1996 PyErr_Clear();
1938 if (obj && !PythonQtSlotFunction_Check(obj)) {
1997 if (obj && !PythonQtSlotFunction_Check(obj)) {
1939 static const char* argumentList[] ={"" , "QMoveEvent*"};
1998 static const char* argumentList[] ={"" , "QMoveEvent*"};
1940 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
1999 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
1941 void* args[2] = {NULL, (void*)&arg__1};
2000 void* args[2] = {NULL, (void*)&arg__1};
1942 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
2001 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
1943 if (result) { Py_DECREF(result); }
2002 if (result) { Py_DECREF(result); }
1944 Py_DECREF(obj);
2003 Py_DECREF(obj);
1945 return;
2004 return;
1946 }
2005 }
1947 }
2006 }
1948 QHexEdit::moveEvent(arg__1);
2007 QHexEdit::moveEvent(arg__1);
1949 }
2008 }
1950 bool PythonQtShell_QHexEdit::nativeEvent(const QByteArray& eventType, void* message, long* result)
2009 bool PythonQtShell_QHexEdit::nativeEvent(const QByteArray& eventType, void* message, long* result)
1951 {
2010 {
1952 if (_wrapper) {
2011 if (_wrapper) {
1953 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "nativeEvent");
2012 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "nativeEvent");
1954 PyErr_Clear();
2013 PyErr_Clear();
1955 if (obj && !PythonQtSlotFunction_Check(obj)) {
2014 if (obj && !PythonQtSlotFunction_Check(obj)) {
1956 static const char* argumentList[] ={"bool" , "const QByteArray&" , "void*" , "long*"};
2015 static const char* argumentList[] ={"bool" , "const QByteArray&" , "void*" , "long*"};
1957 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList);
2016 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList);
1958 bool returnValue;
2017 bool returnValue;
1959 void* args[4] = {NULL, (void*)&eventType, (void*)&message, (void*)&result};
2018 void* args[4] = {NULL, (void*)&eventType, (void*)&message, (void*)&result};
1960 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
2019 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
1961 if (result) {
2020 if (result) {
1962 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);
1963 if (args[0]!=&returnValue) {
2022 if (args[0]!=&returnValue) {
1964 if (args[0]==NULL) {
2023 if (args[0]==NULL) {
1965 PythonQt::priv()->handleVirtualOverloadReturnError("nativeEvent", methodInfo, result);
2024 PythonQt::priv()->handleVirtualOverloadReturnError("nativeEvent", methodInfo, result);
1966 } else {
2025 } else {
1967 returnValue = *((bool*)args[0]);
2026 returnValue = *((bool*)args[0]);
1968 }
2027 }
1969 }
2028 }
1970 }
2029 }
1971 if (result) { Py_DECREF(result); }
2030 if (result) { Py_DECREF(result); }
1972 Py_DECREF(obj);
2031 Py_DECREF(obj);
1973 return returnValue;
2032 return returnValue;
1974 }
2033 }
1975 }
2034 }
1976 return QHexEdit::nativeEvent(eventType, message, result);
2035 return QHexEdit::nativeEvent(eventType, message, result);
1977 }
2036 }
1978 QPaintEngine* PythonQtShell_QHexEdit::paintEngine() const
2037 QPaintEngine* PythonQtShell_QHexEdit::paintEngine() const
1979 {
2038 {
1980 if (_wrapper) {
2039 if (_wrapper) {
1981 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "paintEngine");
2040 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "paintEngine");
1982 PyErr_Clear();
2041 PyErr_Clear();
1983 if (obj && !PythonQtSlotFunction_Check(obj)) {
2042 if (obj && !PythonQtSlotFunction_Check(obj)) {
1984 static const char* argumentList[] ={"QPaintEngine*"};
2043 static const char* argumentList[] ={"QPaintEngine*"};
1985 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList);
2044 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList);
1986 QPaintEngine* returnValue;
2045 QPaintEngine* returnValue;
1987 void* args[1] = {NULL};
2046 void* args[1] = {NULL};
1988 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
2047 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
1989 if (result) {
2048 if (result) {
1990 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);
1991 if (args[0]!=&returnValue) {
2050 if (args[0]!=&returnValue) {
1992 if (args[0]==NULL) {
2051 if (args[0]==NULL) {
1993 PythonQt::priv()->handleVirtualOverloadReturnError("paintEngine", methodInfo, result);
2052 PythonQt::priv()->handleVirtualOverloadReturnError("paintEngine", methodInfo, result);
1994 } else {
2053 } else {
1995 returnValue = *((QPaintEngine**)args[0]);
2054 returnValue = *((QPaintEngine**)args[0]);
1996 }
2055 }
1997 }
2056 }
1998 }
2057 }
1999 if (result) { Py_DECREF(result); }
2058 if (result) { Py_DECREF(result); }
2000 Py_DECREF(obj);
2059 Py_DECREF(obj);
2001 return returnValue;
2060 return returnValue;
2002 }
2061 }
2003 }
2062 }
2004 return QHexEdit::paintEngine();
2063 return QHexEdit::paintEngine();
2005 }
2064 }
2006 void PythonQtShell_QHexEdit::paintEvent(QPaintEvent* arg__1)
2065 void PythonQtShell_QHexEdit::paintEvent(QPaintEvent* arg__1)
2007 {
2066 {
2008 if (_wrapper) {
2067 if (_wrapper) {
2009 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "paintEvent");
2068 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "paintEvent");
2010 PyErr_Clear();
2069 PyErr_Clear();
2011 if (obj && !PythonQtSlotFunction_Check(obj)) {
2070 if (obj && !PythonQtSlotFunction_Check(obj)) {
2012 static const char* argumentList[] ={"" , "QPaintEvent*"};
2071 static const char* argumentList[] ={"" , "QPaintEvent*"};
2013 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
2072 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
2014 void* args[2] = {NULL, (void*)&arg__1};
2073 void* args[2] = {NULL, (void*)&arg__1};
2015 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
2074 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
2016 if (result) { Py_DECREF(result); }
2075 if (result) { Py_DECREF(result); }
2017 Py_DECREF(obj);
2076 Py_DECREF(obj);
2018 return;
2077 return;
2019 }
2078 }
2020 }
2079 }
2021 QHexEdit::paintEvent(arg__1);
2080 QHexEdit::paintEvent(arg__1);
2022 }
2081 }
2023 QPaintDevice* PythonQtShell_QHexEdit::redirected(QPoint* offset) const
2082 QPaintDevice* PythonQtShell_QHexEdit::redirected(QPoint* offset) const
2024 {
2083 {
2025 if (_wrapper) {
2084 if (_wrapper) {
2026 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "redirected");
2085 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "redirected");
2027 PyErr_Clear();
2086 PyErr_Clear();
2028 if (obj && !PythonQtSlotFunction_Check(obj)) {
2087 if (obj && !PythonQtSlotFunction_Check(obj)) {
2029 static const char* argumentList[] ={"QPaintDevice*" , "QPoint*"};
2088 static const char* argumentList[] ={"QPaintDevice*" , "QPoint*"};
2030 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
2089 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
2031 QPaintDevice* returnValue;
2090 QPaintDevice* returnValue;
2032 void* args[2] = {NULL, (void*)&offset};
2091 void* args[2] = {NULL, (void*)&offset};
2033 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
2092 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
2034 if (result) {
2093 if (result) {
2035 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);
2036 if (args[0]!=&returnValue) {
2095 if (args[0]!=&returnValue) {
2037 if (args[0]==NULL) {
2096 if (args[0]==NULL) {
2038 PythonQt::priv()->handleVirtualOverloadReturnError("redirected", methodInfo, result);
2097 PythonQt::priv()->handleVirtualOverloadReturnError("redirected", methodInfo, result);
2039 } else {
2098 } else {
2040 returnValue = *((QPaintDevice**)args[0]);
2099 returnValue = *((QPaintDevice**)args[0]);
2041 }
2100 }
2042 }
2101 }
2043 }
2102 }
2044 if (result) { Py_DECREF(result); }
2103 if (result) { Py_DECREF(result); }
2045 Py_DECREF(obj);
2104 Py_DECREF(obj);
2046 return returnValue;
2105 return returnValue;
2047 }
2106 }
2048 }
2107 }
2049 return QHexEdit::redirected(offset);
2108 return QHexEdit::redirected(offset);
2050 }
2109 }
2051 void PythonQtShell_QHexEdit::resizeEvent(QResizeEvent* arg__1)
2110 void PythonQtShell_QHexEdit::resizeEvent(QResizeEvent* arg__1)
2052 {
2111 {
2053 if (_wrapper) {
2112 if (_wrapper) {
2054 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "resizeEvent");
2113 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "resizeEvent");
2055 PyErr_Clear();
2114 PyErr_Clear();
2056 if (obj && !PythonQtSlotFunction_Check(obj)) {
2115 if (obj && !PythonQtSlotFunction_Check(obj)) {
2057 static const char* argumentList[] ={"" , "QResizeEvent*"};
2116 static const char* argumentList[] ={"" , "QResizeEvent*"};
2058 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
2117 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
2059 void* args[2] = {NULL, (void*)&arg__1};
2118 void* args[2] = {NULL, (void*)&arg__1};
2060 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
2119 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
2061 if (result) { Py_DECREF(result); }
2120 if (result) { Py_DECREF(result); }
2062 Py_DECREF(obj);
2121 Py_DECREF(obj);
2063 return;
2122 return;
2064 }
2123 }
2065 }
2124 }
2066 QHexEdit::resizeEvent(arg__1);
2125 QHexEdit::resizeEvent(arg__1);
2067 }
2126 }
2068 void PythonQtShell_QHexEdit::scrollContentsBy(int dx, int dy)
2127 void PythonQtShell_QHexEdit::scrollContentsBy(int dx, int dy)
2069 {
2128 {
2070 if (_wrapper) {
2129 if (_wrapper) {
2071 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "scrollContentsBy");
2130 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "scrollContentsBy");
2072 PyErr_Clear();
2131 PyErr_Clear();
2073 if (obj && !PythonQtSlotFunction_Check(obj)) {
2132 if (obj && !PythonQtSlotFunction_Check(obj)) {
2074 static const char* argumentList[] ={"" , "int" , "int"};
2133 static const char* argumentList[] ={"" , "int" , "int"};
2075 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList);
2134 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList);
2076 void* args[3] = {NULL, (void*)&dx, (void*)&dy};
2135 void* args[3] = {NULL, (void*)&dx, (void*)&dy};
2077 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
2136 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
2078 if (result) { Py_DECREF(result); }
2137 if (result) { Py_DECREF(result); }
2079 Py_DECREF(obj);
2138 Py_DECREF(obj);
2080 return;
2139 return;
2081 }
2140 }
2082 }
2141 }
2083 QHexEdit::scrollContentsBy(dx, dy);
2142 QHexEdit::scrollContentsBy(dx, dy);
2084 }
2143 }
2085 void PythonQtShell_QHexEdit::setupViewport(QWidget* viewport)
2144 void PythonQtShell_QHexEdit::setupViewport(QWidget* viewport)
2086 {
2145 {
2087 if (_wrapper) {
2146 if (_wrapper) {
2088 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "setupViewport");
2147 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "setupViewport");
2089 PyErr_Clear();
2148 PyErr_Clear();
2090 if (obj && !PythonQtSlotFunction_Check(obj)) {
2149 if (obj && !PythonQtSlotFunction_Check(obj)) {
2091 static const char* argumentList[] ={"" , "QWidget*"};
2150 static const char* argumentList[] ={"" , "QWidget*"};
2092 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
2151 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
2093 void* args[2] = {NULL, (void*)&viewport};
2152 void* args[2] = {NULL, (void*)&viewport};
2094 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
2153 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
2095 if (result) { Py_DECREF(result); }
2154 if (result) { Py_DECREF(result); }
2096 Py_DECREF(obj);
2155 Py_DECREF(obj);
2097 return;
2156 return;
2098 }
2157 }
2099 }
2158 }
2100 QHexEdit::setupViewport(viewport);
2159 QHexEdit::setupViewport(viewport);
2101 }
2160 }
2102 QPainter* PythonQtShell_QHexEdit::sharedPainter() const
2161 QPainter* PythonQtShell_QHexEdit::sharedPainter() const
2103 {
2162 {
2104 if (_wrapper) {
2163 if (_wrapper) {
2105 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "sharedPainter");
2164 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "sharedPainter");
2106 PyErr_Clear();
2165 PyErr_Clear();
2107 if (obj && !PythonQtSlotFunction_Check(obj)) {
2166 if (obj && !PythonQtSlotFunction_Check(obj)) {
2108 static const char* argumentList[] ={"QPainter*"};
2167 static const char* argumentList[] ={"QPainter*"};
2109 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList);
2168 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList);
2110 QPainter* returnValue;
2169 QPainter* returnValue;
2111 void* args[1] = {NULL};
2170 void* args[1] = {NULL};
2112 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
2171 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
2113 if (result) {
2172 if (result) {
2114 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);
2115 if (args[0]!=&returnValue) {
2174 if (args[0]!=&returnValue) {
2116 if (args[0]==NULL) {
2175 if (args[0]==NULL) {
2117 PythonQt::priv()->handleVirtualOverloadReturnError("sharedPainter", methodInfo, result);
2176 PythonQt::priv()->handleVirtualOverloadReturnError("sharedPainter", methodInfo, result);
2118 } else {
2177 } else {
2119 returnValue = *((QPainter**)args[0]);
2178 returnValue = *((QPainter**)args[0]);
2120 }
2179 }
2121 }
2180 }
2122 }
2181 }
2123 if (result) { Py_DECREF(result); }
2182 if (result) { Py_DECREF(result); }
2124 Py_DECREF(obj);
2183 Py_DECREF(obj);
2125 return returnValue;
2184 return returnValue;
2126 }
2185 }
2127 }
2186 }
2128 return QHexEdit::sharedPainter();
2187 return QHexEdit::sharedPainter();
2129 }
2188 }
2130 void PythonQtShell_QHexEdit::showEvent(QShowEvent* arg__1)
2189 void PythonQtShell_QHexEdit::showEvent(QShowEvent* arg__1)
2131 {
2190 {
2132 if (_wrapper) {
2191 if (_wrapper) {
2133 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "showEvent");
2192 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "showEvent");
2134 PyErr_Clear();
2193 PyErr_Clear();
2135 if (obj && !PythonQtSlotFunction_Check(obj)) {
2194 if (obj && !PythonQtSlotFunction_Check(obj)) {
2136 static const char* argumentList[] ={"" , "QShowEvent*"};
2195 static const char* argumentList[] ={"" , "QShowEvent*"};
2137 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
2196 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
2138 void* args[2] = {NULL, (void*)&arg__1};
2197 void* args[2] = {NULL, (void*)&arg__1};
2139 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
2198 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
2140 if (result) { Py_DECREF(result); }
2199 if (result) { Py_DECREF(result); }
2141 Py_DECREF(obj);
2200 Py_DECREF(obj);
2142 return;
2201 return;
2143 }
2202 }
2144 }
2203 }
2145 QHexEdit::showEvent(arg__1);
2204 QHexEdit::showEvent(arg__1);
2146 }
2205 }
2147 void PythonQtShell_QHexEdit::tabletEvent(QTabletEvent* arg__1)
2206 void PythonQtShell_QHexEdit::tabletEvent(QTabletEvent* arg__1)
2148 {
2207 {
2149 if (_wrapper) {
2208 if (_wrapper) {
2150 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "tabletEvent");
2209 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "tabletEvent");
2151 PyErr_Clear();
2210 PyErr_Clear();
2152 if (obj && !PythonQtSlotFunction_Check(obj)) {
2211 if (obj && !PythonQtSlotFunction_Check(obj)) {
2153 static const char* argumentList[] ={"" , "QTabletEvent*"};
2212 static const char* argumentList[] ={"" , "QTabletEvent*"};
2154 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
2213 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
2155 void* args[2] = {NULL, (void*)&arg__1};
2214 void* args[2] = {NULL, (void*)&arg__1};
2156 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
2215 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
2157 if (result) { Py_DECREF(result); }
2216 if (result) { Py_DECREF(result); }
2158 Py_DECREF(obj);
2217 Py_DECREF(obj);
2159 return;
2218 return;
2160 }
2219 }
2161 }
2220 }
2162 QHexEdit::tabletEvent(arg__1);
2221 QHexEdit::tabletEvent(arg__1);
2163 }
2222 }
2164 void PythonQtShell_QHexEdit::timerEvent(QTimerEvent* arg__1)
2223 void PythonQtShell_QHexEdit::timerEvent(QTimerEvent* arg__1)
2165 {
2224 {
2166 if (_wrapper) {
2225 if (_wrapper) {
2167 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "timerEvent");
2226 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "timerEvent");
2168 PyErr_Clear();
2227 PyErr_Clear();
2169 if (obj && !PythonQtSlotFunction_Check(obj)) {
2228 if (obj && !PythonQtSlotFunction_Check(obj)) {
2170 static const char* argumentList[] ={"" , "QTimerEvent*"};
2229 static const char* argumentList[] ={"" , "QTimerEvent*"};
2171 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
2230 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
2172 void* args[2] = {NULL, (void*)&arg__1};
2231 void* args[2] = {NULL, (void*)&arg__1};
2173 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
2232 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
2174 if (result) { Py_DECREF(result); }
2233 if (result) { Py_DECREF(result); }
2175 Py_DECREF(obj);
2234 Py_DECREF(obj);
2176 return;
2235 return;
2177 }
2236 }
2178 }
2237 }
2179 QHexEdit::timerEvent(arg__1);
2238 QHexEdit::timerEvent(arg__1);
2180 }
2239 }
2181 bool PythonQtShell_QHexEdit::viewportEvent(QEvent* arg__1)
2240 bool PythonQtShell_QHexEdit::viewportEvent(QEvent* arg__1)
2182 {
2241 {
2183 if (_wrapper) {
2242 if (_wrapper) {
2184 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "viewportEvent");
2243 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "viewportEvent");
2185 PyErr_Clear();
2244 PyErr_Clear();
2186 if (obj && !PythonQtSlotFunction_Check(obj)) {
2245 if (obj && !PythonQtSlotFunction_Check(obj)) {
2187 static const char* argumentList[] ={"bool" , "QEvent*"};
2246 static const char* argumentList[] ={"bool" , "QEvent*"};
2188 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
2247 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
2189 bool returnValue;
2248 bool returnValue;
2190 void* args[2] = {NULL, (void*)&arg__1};
2249 void* args[2] = {NULL, (void*)&arg__1};
2191 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
2250 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
2192 if (result) {
2251 if (result) {
2193 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);
2194 if (args[0]!=&returnValue) {
2253 if (args[0]!=&returnValue) {
2195 if (args[0]==NULL) {
2254 if (args[0]==NULL) {
2196 PythonQt::priv()->handleVirtualOverloadReturnError("viewportEvent", methodInfo, result);
2255 PythonQt::priv()->handleVirtualOverloadReturnError("viewportEvent", methodInfo, result);
2197 } else {
2256 } else {
2198 returnValue = *((bool*)args[0]);
2257 returnValue = *((bool*)args[0]);
2199 }
2258 }
2200 }
2259 }
2201 }
2260 }
2202 if (result) { Py_DECREF(result); }
2261 if (result) { Py_DECREF(result); }
2203 Py_DECREF(obj);
2262 Py_DECREF(obj);
2204 return returnValue;
2263 return returnValue;
2205 }
2264 }
2206 }
2265 }
2207 return QHexEdit::viewportEvent(arg__1);
2266 return QHexEdit::viewportEvent(arg__1);
2208 }
2267 }
2209 QSize PythonQtShell_QHexEdit::viewportSizeHint() const
2268 QSize PythonQtShell_QHexEdit::viewportSizeHint() const
2210 {
2269 {
2211 if (_wrapper) {
2270 if (_wrapper) {
2212 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "viewportSizeHint");
2271 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "viewportSizeHint");
2213 PyErr_Clear();
2272 PyErr_Clear();
2214 if (obj && !PythonQtSlotFunction_Check(obj)) {
2273 if (obj && !PythonQtSlotFunction_Check(obj)) {
2215 static const char* argumentList[] ={"QSize"};
2274 static const char* argumentList[] ={"QSize"};
2216 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList);
2275 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList);
2217 QSize returnValue;
2276 QSize returnValue;
2218 void* args[1] = {NULL};
2277 void* args[1] = {NULL};
2219 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
2278 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
2220 if (result) {
2279 if (result) {
2221 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);
2222 if (args[0]!=&returnValue) {
2281 if (args[0]!=&returnValue) {
2223 if (args[0]==NULL) {
2282 if (args[0]==NULL) {
2224 PythonQt::priv()->handleVirtualOverloadReturnError("viewportSizeHint", methodInfo, result);
2283 PythonQt::priv()->handleVirtualOverloadReturnError("viewportSizeHint", methodInfo, result);
2225 } else {
2284 } else {
2226 returnValue = *((QSize*)args[0]);
2285 returnValue = *((QSize*)args[0]);
2227 }
2286 }
2228 }
2287 }
2229 }
2288 }
2230 if (result) { Py_DECREF(result); }
2289 if (result) { Py_DECREF(result); }
2231 Py_DECREF(obj);
2290 Py_DECREF(obj);
2232 return returnValue;
2291 return returnValue;
2233 }
2292 }
2234 }
2293 }
2235 return QHexEdit::viewportSizeHint();
2294 return QHexEdit::viewportSizeHint();
2236 }
2295 }
2237 void PythonQtShell_QHexEdit::wheelEvent(QWheelEvent* arg__1)
2296 void PythonQtShell_QHexEdit::wheelEvent(QWheelEvent* arg__1)
2238 {
2297 {
2239 if (_wrapper) {
2298 if (_wrapper) {
2240 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "wheelEvent");
2299 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "wheelEvent");
2241 PyErr_Clear();
2300 PyErr_Clear();
2242 if (obj && !PythonQtSlotFunction_Check(obj)) {
2301 if (obj && !PythonQtSlotFunction_Check(obj)) {
2243 static const char* argumentList[] ={"" , "QWheelEvent*"};
2302 static const char* argumentList[] ={"" , "QWheelEvent*"};
2244 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
2303 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
2245 void* args[2] = {NULL, (void*)&arg__1};
2304 void* args[2] = {NULL, (void*)&arg__1};
2246 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
2305 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
2247 if (result) { Py_DECREF(result); }
2306 if (result) { Py_DECREF(result); }
2248 Py_DECREF(obj);
2307 Py_DECREF(obj);
2249 return;
2308 return;
2250 }
2309 }
2251 }
2310 }
2252 QHexEdit::wheelEvent(arg__1);
2311 QHexEdit::wheelEvent(arg__1);
2253 }
2312 }
2254 QHexEdit* PythonQtWrapper_QHexEdit::new_QHexEdit(QWidget* parent)
2313 QHexEdit* PythonQtWrapper_QHexEdit::new_QHexEdit(QWidget* parent)
2255 {
2314 {
2256 return new PythonQtShell_QHexEdit(parent); }
2315 return new PythonQtShell_QHexEdit(parent); }
2257
2316
2258 QColor PythonQtWrapper_QHexEdit::addressAreaColor(QHexEdit* theWrappedObject)
2317 QColor PythonQtWrapper_QHexEdit::addressAreaColor(QHexEdit* theWrappedObject)
2259 {
2318 {
2260 return ( theWrappedObject->addressAreaColor());
2319 return ( theWrappedObject->addressAreaColor());
2261 }
2320 }
2262
2321
2263 int PythonQtWrapper_QHexEdit::addressOffset(QHexEdit* theWrappedObject)
2322 int PythonQtWrapper_QHexEdit::addressOffset(QHexEdit* theWrappedObject)
2264 {
2323 {
2265 return ( theWrappedObject->addressOffset());
2324 return ( theWrappedObject->addressOffset());
2266 }
2325 }
2267
2326
2268 int PythonQtWrapper_QHexEdit::cursorPosition(QHexEdit* theWrappedObject)
2327 int PythonQtWrapper_QHexEdit::cursorPosition(QHexEdit* theWrappedObject)
2269 {
2328 {
2270 return ( theWrappedObject->cursorPosition());
2329 return ( theWrappedObject->cursorPosition());
2271 }
2330 }
2272
2331
2273 QByteArray PythonQtWrapper_QHexEdit::data(QHexEdit* theWrappedObject)
2332 QByteArray PythonQtWrapper_QHexEdit::data(QHexEdit* theWrappedObject)
2274 {
2333 {
2275 return ( theWrappedObject->data());
2334 return ( theWrappedObject->data());
2276 }
2335 }
2277
2336
2278 const QFont* PythonQtWrapper_QHexEdit::font(QHexEdit* theWrappedObject) const
2337 const QFont* PythonQtWrapper_QHexEdit::font(QHexEdit* theWrappedObject) const
2279 {
2338 {
2280 return &( theWrappedObject->font());
2339 return &( theWrappedObject->font());
2281 }
2340 }
2282
2341
2283 int PythonQtWrapper_QHexEdit::getSelectionBegin(QHexEdit* theWrappedObject)
2342 int PythonQtWrapper_QHexEdit::getSelectionBegin(QHexEdit* theWrappedObject)
2284 {
2343 {
2285 return ( theWrappedObject->getSelectionBegin());
2344 return ( theWrappedObject->getSelectionBegin());
2286 }
2345 }
2287
2346
2288 int PythonQtWrapper_QHexEdit::getSelectionEnd(QHexEdit* theWrappedObject)
2347 int PythonQtWrapper_QHexEdit::getSelectionEnd(QHexEdit* theWrappedObject)
2289 {
2348 {
2290 return ( theWrappedObject->getSelectionEnd());
2349 return ( theWrappedObject->getSelectionEnd());
2291 }
2350 }
2292
2351
2293 QColor PythonQtWrapper_QHexEdit::highlightingColor(QHexEdit* theWrappedObject)
2352 QColor PythonQtWrapper_QHexEdit::highlightingColor(QHexEdit* theWrappedObject)
2294 {
2353 {
2295 return ( theWrappedObject->highlightingColor());
2354 return ( theWrappedObject->highlightingColor());
2296 }
2355 }
2297
2356
2298 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
2299 {
2358 {
2300 return ( theWrappedObject->indexOf(ba, from));
2359 return ( theWrappedObject->indexOf(ba, from));
2301 }
2360 }
2302
2361
2303 void PythonQtWrapper_QHexEdit::insert(QHexEdit* theWrappedObject, int i, char ch)
2362 void PythonQtWrapper_QHexEdit::insert(QHexEdit* theWrappedObject, int i, char ch)
2304 {
2363 {
2305 ( theWrappedObject->insert(i, ch));
2364 ( theWrappedObject->insert(i, ch));
2306 }
2365 }
2307
2366
2308 void PythonQtWrapper_QHexEdit::insert(QHexEdit* theWrappedObject, int i, const QByteArray& ba)
2367 void PythonQtWrapper_QHexEdit::insert(QHexEdit* theWrappedObject, int i, const QByteArray& ba)
2309 {
2368 {
2310 ( theWrappedObject->insert(i, ba));
2369 ( theWrappedObject->insert(i, ba));
2311 }
2370 }
2312
2371
2313 bool PythonQtWrapper_QHexEdit::isReadOnly(QHexEdit* theWrappedObject)
2372 bool PythonQtWrapper_QHexEdit::isReadOnly(QHexEdit* theWrappedObject)
2314 {
2373 {
2315 return ( theWrappedObject->isReadOnly());
2374 return ( theWrappedObject->isReadOnly());
2316 }
2375 }
2317
2376
2318 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
2319 {
2378 {
2320 return ( theWrappedObject->lastIndexOf(ba, from));
2379 return ( theWrappedObject->lastIndexOf(ba, from));
2321 }
2380 }
2322
2381
2323 bool PythonQtWrapper_QHexEdit::overwriteMode(QHexEdit* theWrappedObject)
2382 bool PythonQtWrapper_QHexEdit::overwriteMode(QHexEdit* theWrappedObject)
2324 {
2383 {
2325 return ( theWrappedObject->overwriteMode());
2384 return ( theWrappedObject->overwriteMode());
2326 }
2385 }
2327
2386
2328 void PythonQtWrapper_QHexEdit::remove(QHexEdit* theWrappedObject, int pos, int len)
2387 void PythonQtWrapper_QHexEdit::remove(QHexEdit* theWrappedObject, int pos, int len)
2329 {
2388 {
2330 ( theWrappedObject->remove(pos, len));
2389 ( theWrappedObject->remove(pos, len));
2331 }
2390 }
2332
2391
2333 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)
2334 {
2393 {
2335 ( theWrappedObject->replace(pos, len, after));
2394 ( theWrappedObject->replace(pos, len, after));
2336 }
2395 }
2337
2396
2338 void PythonQtWrapper_QHexEdit::resetSelection(QHexEdit* theWrappedObject)
2397 void PythonQtWrapper_QHexEdit::resetSelection(QHexEdit* theWrappedObject)
2339 {
2398 {
2340 ( theWrappedObject->resetSelection());
2399 ( theWrappedObject->resetSelection());
2341 }
2400 }
2342
2401
2343 void PythonQtWrapper_QHexEdit::resetSelection(QHexEdit* theWrappedObject, int pos)
2402 void PythonQtWrapper_QHexEdit::resetSelection(QHexEdit* theWrappedObject, int pos)
2344 {
2403 {
2345 ( theWrappedObject->resetSelection(pos));
2404 ( theWrappedObject->resetSelection(pos));
2346 }
2405 }
2347
2406
2348 QColor PythonQtWrapper_QHexEdit::selectionColor(QHexEdit* theWrappedObject)
2407 QColor PythonQtWrapper_QHexEdit::selectionColor(QHexEdit* theWrappedObject)
2349 {
2408 {
2350 return ( theWrappedObject->selectionColor());
2409 return ( theWrappedObject->selectionColor());
2351 }
2410 }
2352
2411
2353 QString PythonQtWrapper_QHexEdit::selectionToReadableString(QHexEdit* theWrappedObject)
2412 QString PythonQtWrapper_QHexEdit::selectionToReadableString(QHexEdit* theWrappedObject)
2354 {
2413 {
2355 return ( theWrappedObject->selectionToReadableString());
2414 return ( theWrappedObject->selectionToReadableString());
2356 }
2415 }
2357
2416
2358 void PythonQtWrapper_QHexEdit::setAddressAreaColor(QHexEdit* theWrappedObject, const QColor& color)
2417 void PythonQtWrapper_QHexEdit::setAddressAreaColor(QHexEdit* theWrappedObject, const QColor& color)
2359 {
2418 {
2360 ( theWrappedObject->setAddressAreaColor(color));
2419 ( theWrappedObject->setAddressAreaColor(color));
2361 }
2420 }
2362
2421
2363 void PythonQtWrapper_QHexEdit::setAddressOffset(QHexEdit* theWrappedObject, int offset)
2422 void PythonQtWrapper_QHexEdit::setAddressOffset(QHexEdit* theWrappedObject, int offset)
2364 {
2423 {
2365 ( theWrappedObject->setAddressOffset(offset));
2424 ( theWrappedObject->setAddressOffset(offset));
2366 }
2425 }
2367
2426
2368 void PythonQtWrapper_QHexEdit::setCursorPosition(QHexEdit* theWrappedObject, int cusorPos)
2427 void PythonQtWrapper_QHexEdit::setCursorPosition(QHexEdit* theWrappedObject, int cusorPos)
2369 {
2428 {
2370 ( theWrappedObject->setCursorPosition(cusorPos));
2429 ( theWrappedObject->setCursorPosition(cusorPos));
2371 }
2430 }
2372
2431
2373 void PythonQtWrapper_QHexEdit::setData(QHexEdit* theWrappedObject, const QByteArray& data)
2432 void PythonQtWrapper_QHexEdit::setData(QHexEdit* theWrappedObject, const QByteArray& data)
2374 {
2433 {
2375 ( theWrappedObject->setData(data));
2434 ( theWrappedObject->setData(data));
2376 }
2435 }
2377
2436
2378 void PythonQtWrapper_QHexEdit::setFont(QHexEdit* theWrappedObject, const QFont& arg__1)
2437 void PythonQtWrapper_QHexEdit::setFont(QHexEdit* theWrappedObject, const QFont& arg__1)
2379 {
2438 {
2380 ( theWrappedObject->setFont(arg__1));
2439 ( theWrappedObject->setFont(arg__1));
2381 }
2440 }
2382
2441
2383 void PythonQtWrapper_QHexEdit::setHighlightingColor(QHexEdit* theWrappedObject, const QColor& color)
2442 void PythonQtWrapper_QHexEdit::setHighlightingColor(QHexEdit* theWrappedObject, const QColor& color)
2384 {
2443 {
2385 ( theWrappedObject->setHighlightingColor(color));
2444 ( theWrappedObject->setHighlightingColor(color));
2386 }
2445 }
2387
2446
2388 void PythonQtWrapper_QHexEdit::setOverwriteMode(QHexEdit* theWrappedObject, bool arg__1)
2447 void PythonQtWrapper_QHexEdit::setOverwriteMode(QHexEdit* theWrappedObject, bool arg__1)
2389 {
2448 {
2390 ( theWrappedObject->setOverwriteMode(arg__1));
2449 ( theWrappedObject->setOverwriteMode(arg__1));
2391 }
2450 }
2392
2451
2393 void PythonQtWrapper_QHexEdit::setReadOnly(QHexEdit* theWrappedObject, bool arg__1)
2452 void PythonQtWrapper_QHexEdit::setReadOnly(QHexEdit* theWrappedObject, bool arg__1)
2394 {
2453 {
2395 ( theWrappedObject->setReadOnly(arg__1));
2454 ( theWrappedObject->setReadOnly(arg__1));
2396 }
2455 }
2397
2456
2398 void PythonQtWrapper_QHexEdit::setSelection(QHexEdit* theWrappedObject, int pos)
2457 void PythonQtWrapper_QHexEdit::setSelection(QHexEdit* theWrappedObject, int pos)
2399 {
2458 {
2400 ( theWrappedObject->setSelection(pos));
2459 ( theWrappedObject->setSelection(pos));
2401 }
2460 }
2402
2461
2403 void PythonQtWrapper_QHexEdit::setSelectionColor(QHexEdit* theWrappedObject, const QColor& color)
2462 void PythonQtWrapper_QHexEdit::setSelectionColor(QHexEdit* theWrappedObject, const QColor& color)
2404 {
2463 {
2405 ( theWrappedObject->setSelectionColor(color));
2464 ( theWrappedObject->setSelectionColor(color));
2406 }
2465 }
2407
2466
2408 QString PythonQtWrapper_QHexEdit::toReadableString(QHexEdit* theWrappedObject)
2467 QString PythonQtWrapper_QHexEdit::toReadableString(QHexEdit* theWrappedObject)
2409 {
2468 {
2410 return ( theWrappedObject->toReadableString());
2469 return ( theWrappedObject->toReadableString());
2411 }
2470 }
2412
2471
2413
2472
2414
2473
2415 PythonQtShell_QHexSpinBox::~PythonQtShell_QHexSpinBox() {
2474 PythonQtShell_QHexSpinBox::~PythonQtShell_QHexSpinBox() {
2416 PythonQtPrivate* priv = PythonQt::priv();
2475 PythonQtPrivate* priv = PythonQt::priv();
2417 if (priv) { priv->shellClassDeleted(this); }
2476 if (priv) { priv->shellClassDeleted(this); }
2418 }
2477 }
2419 void PythonQtShell_QHexSpinBox::actionEvent(QActionEvent* arg__1)
2478 void PythonQtShell_QHexSpinBox::actionEvent(QActionEvent* arg__1)
2420 {
2479 {
2421 if (_wrapper) {
2480 if (_wrapper) {
2422 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "actionEvent");
2481 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "actionEvent");
2423 PyErr_Clear();
2482 PyErr_Clear();
2424 if (obj && !PythonQtSlotFunction_Check(obj)) {
2483 if (obj && !PythonQtSlotFunction_Check(obj)) {
2425 static const char* argumentList[] ={"" , "QActionEvent*"};
2484 static const char* argumentList[] ={"" , "QActionEvent*"};
2426 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
2485 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
2427 void* args[2] = {NULL, (void*)&arg__1};
2486 void* args[2] = {NULL, (void*)&arg__1};
2428 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
2487 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
2429 if (result) { Py_DECREF(result); }
2488 if (result) { Py_DECREF(result); }
2430 Py_DECREF(obj);
2489 Py_DECREF(obj);
2431 return;
2490 return;
2432 }
2491 }
2433 }
2492 }
2434 QHexSpinBox::actionEvent(arg__1);
2493 QHexSpinBox::actionEvent(arg__1);
2435 }
2494 }
2436 void PythonQtShell_QHexSpinBox::changeEvent(QEvent* event)
2495 void PythonQtShell_QHexSpinBox::changeEvent(QEvent* event)
2437 {
2496 {
2438 if (_wrapper) {
2497 if (_wrapper) {
2439 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "changeEvent");
2498 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "changeEvent");
2440 PyErr_Clear();
2499 PyErr_Clear();
2441 if (obj && !PythonQtSlotFunction_Check(obj)) {
2500 if (obj && !PythonQtSlotFunction_Check(obj)) {
2442 static const char* argumentList[] ={"" , "QEvent*"};
2501 static const char* argumentList[] ={"" , "QEvent*"};
2443 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
2502 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
2444 void* args[2] = {NULL, (void*)&event};
2503 void* args[2] = {NULL, (void*)&event};
2445 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
2504 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
2446 if (result) { Py_DECREF(result); }
2505 if (result) { Py_DECREF(result); }
2447 Py_DECREF(obj);
2506 Py_DECREF(obj);
2448 return;
2507 return;
2449 }
2508 }
2450 }
2509 }
2451 QHexSpinBox::changeEvent(event);
2510 QHexSpinBox::changeEvent(event);
2452 }
2511 }
2453 void PythonQtShell_QHexSpinBox::childEvent(QChildEvent* arg__1)
2512 void PythonQtShell_QHexSpinBox::childEvent(QChildEvent* arg__1)
2454 {
2513 {
2455 if (_wrapper) {
2514 if (_wrapper) {
2456 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "childEvent");
2515 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "childEvent");
2457 PyErr_Clear();
2516 PyErr_Clear();
2458 if (obj && !PythonQtSlotFunction_Check(obj)) {
2517 if (obj && !PythonQtSlotFunction_Check(obj)) {
2459 static const char* argumentList[] ={"" , "QChildEvent*"};
2518 static const char* argumentList[] ={"" , "QChildEvent*"};
2460 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
2519 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
2461 void* args[2] = {NULL, (void*)&arg__1};
2520 void* args[2] = {NULL, (void*)&arg__1};
2462 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
2521 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
2463 if (result) { Py_DECREF(result); }
2522 if (result) { Py_DECREF(result); }
2464 Py_DECREF(obj);
2523 Py_DECREF(obj);
2465 return;
2524 return;
2466 }
2525 }
2467 }
2526 }
2468 QHexSpinBox::childEvent(arg__1);
2527 QHexSpinBox::childEvent(arg__1);
2469 }
2528 }
2470 void PythonQtShell_QHexSpinBox::clear()
2529 void PythonQtShell_QHexSpinBox::clear()
2471 {
2530 {
2472 if (_wrapper) {
2531 if (_wrapper) {
2473 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "clear");
2532 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "clear");
2474 PyErr_Clear();
2533 PyErr_Clear();
2475 if (obj && !PythonQtSlotFunction_Check(obj)) {
2534 if (obj && !PythonQtSlotFunction_Check(obj)) {
2476 static const char* argumentList[] ={""};
2535 static const char* argumentList[] ={""};
2477 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList);
2536 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList);
2478 void* args[1] = {NULL};
2537 void* args[1] = {NULL};
2479 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
2538 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
2480 if (result) { Py_DECREF(result); }
2539 if (result) { Py_DECREF(result); }
2481 Py_DECREF(obj);
2540 Py_DECREF(obj);
2482 return;
2541 return;
2483 }
2542 }
2484 }
2543 }
2485 QHexSpinBox::clear();
2544 QHexSpinBox::clear();
2486 }
2545 }
2487 void PythonQtShell_QHexSpinBox::closeEvent(QCloseEvent* event)
2546 void PythonQtShell_QHexSpinBox::closeEvent(QCloseEvent* event)
2488 {
2547 {
2489 if (_wrapper) {
2548 if (_wrapper) {
2490 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "closeEvent");
2549 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "closeEvent");
2491 PyErr_Clear();
2550 PyErr_Clear();
2492 if (obj && !PythonQtSlotFunction_Check(obj)) {
2551 if (obj && !PythonQtSlotFunction_Check(obj)) {
2493 static const char* argumentList[] ={"" , "QCloseEvent*"};
2552 static const char* argumentList[] ={"" , "QCloseEvent*"};
2494 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
2553 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
2495 void* args[2] = {NULL, (void*)&event};
2554 void* args[2] = {NULL, (void*)&event};
2496 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
2555 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
2497 if (result) { Py_DECREF(result); }
2556 if (result) { Py_DECREF(result); }
2498 Py_DECREF(obj);
2557 Py_DECREF(obj);
2499 return;
2558 return;
2500 }
2559 }
2501 }
2560 }
2502 QHexSpinBox::closeEvent(event);
2561 QHexSpinBox::closeEvent(event);
2503 }
2562 }
2504 void PythonQtShell_QHexSpinBox::contextMenuEvent(QContextMenuEvent* event)
2563 void PythonQtShell_QHexSpinBox::contextMenuEvent(QContextMenuEvent* event)
2505 {
2564 {
2506 if (_wrapper) {
2565 if (_wrapper) {
2507 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "contextMenuEvent");
2566 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "contextMenuEvent");
2508 PyErr_Clear();
2567 PyErr_Clear();
2509 if (obj && !PythonQtSlotFunction_Check(obj)) {
2568 if (obj && !PythonQtSlotFunction_Check(obj)) {
2510 static const char* argumentList[] ={"" , "QContextMenuEvent*"};
2569 static const char* argumentList[] ={"" , "QContextMenuEvent*"};
2511 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
2570 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
2512 void* args[2] = {NULL, (void*)&event};
2571 void* args[2] = {NULL, (void*)&event};
2513 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
2572 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
2514 if (result) { Py_DECREF(result); }
2573 if (result) { Py_DECREF(result); }
2515 Py_DECREF(obj);
2574 Py_DECREF(obj);
2516 return;
2575 return;
2517 }
2576 }
2518 }
2577 }
2519 QHexSpinBox::contextMenuEvent(event);
2578 QHexSpinBox::contextMenuEvent(event);
2520 }
2579 }
2521 void PythonQtShell_QHexSpinBox::customEvent(QEvent* arg__1)
2580 void PythonQtShell_QHexSpinBox::customEvent(QEvent* arg__1)
2522 {
2581 {
2523 if (_wrapper) {
2582 if (_wrapper) {
2524 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "customEvent");
2583 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "customEvent");
2525 PyErr_Clear();
2584 PyErr_Clear();
2526 if (obj && !PythonQtSlotFunction_Check(obj)) {
2585 if (obj && !PythonQtSlotFunction_Check(obj)) {
2527 static const char* argumentList[] ={"" , "QEvent*"};
2586 static const char* argumentList[] ={"" , "QEvent*"};
2528 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
2587 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
2529 void* args[2] = {NULL, (void*)&arg__1};
2588 void* args[2] = {NULL, (void*)&arg__1};
2530 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
2589 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
2531 if (result) { Py_DECREF(result); }
2590 if (result) { Py_DECREF(result); }
2532 Py_DECREF(obj);
2591 Py_DECREF(obj);
2533 return;
2592 return;
2534 }
2593 }
2535 }
2594 }
2536 QHexSpinBox::customEvent(arg__1);
2595 QHexSpinBox::customEvent(arg__1);
2537 }
2596 }
2538 int PythonQtShell_QHexSpinBox::devType() const
2597 int PythonQtShell_QHexSpinBox::devType() const
2539 {
2598 {
2540 if (_wrapper) {
2599 if (_wrapper) {
2541 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "devType");
2600 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "devType");
2542 PyErr_Clear();
2601 PyErr_Clear();
2543 if (obj && !PythonQtSlotFunction_Check(obj)) {
2602 if (obj && !PythonQtSlotFunction_Check(obj)) {
2544 static const char* argumentList[] ={"int"};
2603 static const char* argumentList[] ={"int"};
2545 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList);
2604 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList);
2546 int returnValue;
2605 int returnValue;
2547 void* args[1] = {NULL};
2606 void* args[1] = {NULL};
2548 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
2607 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
2549 if (result) {
2608 if (result) {
2550 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);
2551 if (args[0]!=&returnValue) {
2610 if (args[0]!=&returnValue) {
2552 if (args[0]==NULL) {
2611 if (args[0]==NULL) {
2553 PythonQt::priv()->handleVirtualOverloadReturnError("devType", methodInfo, result);
2612 PythonQt::priv()->handleVirtualOverloadReturnError("devType", methodInfo, result);
2554 } else {
2613 } else {
2555 returnValue = *((int*)args[0]);
2614 returnValue = *((int*)args[0]);
2556 }
2615 }
2557 }
2616 }
2558 }
2617 }
2559 if (result) { Py_DECREF(result); }
2618 if (result) { Py_DECREF(result); }
2560 Py_DECREF(obj);
2619 Py_DECREF(obj);
2561 return returnValue;
2620 return returnValue;
2562 }
2621 }
2563 }
2622 }
2564 return QHexSpinBox::devType();
2623 return QHexSpinBox::devType();
2565 }
2624 }
2566 void PythonQtShell_QHexSpinBox::dragEnterEvent(QDragEnterEvent* arg__1)
2625 void PythonQtShell_QHexSpinBox::dragEnterEvent(QDragEnterEvent* arg__1)
2567 {
2626 {
2568 if (_wrapper) {
2627 if (_wrapper) {
2569 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dragEnterEvent");
2628 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dragEnterEvent");
2570 PyErr_Clear();
2629 PyErr_Clear();
2571 if (obj && !PythonQtSlotFunction_Check(obj)) {
2630 if (obj && !PythonQtSlotFunction_Check(obj)) {
2572 static const char* argumentList[] ={"" , "QDragEnterEvent*"};
2631 static const char* argumentList[] ={"" , "QDragEnterEvent*"};
2573 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
2632 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
2574 void* args[2] = {NULL, (void*)&arg__1};
2633 void* args[2] = {NULL, (void*)&arg__1};
2575 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
2634 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
2576 if (result) { Py_DECREF(result); }
2635 if (result) { Py_DECREF(result); }
2577 Py_DECREF(obj);
2636 Py_DECREF(obj);
2578 return;
2637 return;
2579 }
2638 }
2580 }
2639 }
2581 QHexSpinBox::dragEnterEvent(arg__1);
2640 QHexSpinBox::dragEnterEvent(arg__1);
2582 }
2641 }
2583 void PythonQtShell_QHexSpinBox::dragLeaveEvent(QDragLeaveEvent* arg__1)
2642 void PythonQtShell_QHexSpinBox::dragLeaveEvent(QDragLeaveEvent* arg__1)
2584 {
2643 {
2585 if (_wrapper) {
2644 if (_wrapper) {
2586 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dragLeaveEvent");
2645 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dragLeaveEvent");
2587 PyErr_Clear();
2646 PyErr_Clear();
2588 if (obj && !PythonQtSlotFunction_Check(obj)) {
2647 if (obj && !PythonQtSlotFunction_Check(obj)) {
2589 static const char* argumentList[] ={"" , "QDragLeaveEvent*"};
2648 static const char* argumentList[] ={"" , "QDragLeaveEvent*"};
2590 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
2649 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
2591 void* args[2] = {NULL, (void*)&arg__1};
2650 void* args[2] = {NULL, (void*)&arg__1};
2592 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
2651 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
2593 if (result) { Py_DECREF(result); }
2652 if (result) { Py_DECREF(result); }
2594 Py_DECREF(obj);
2653 Py_DECREF(obj);
2595 return;
2654 return;
2596 }
2655 }
2597 }
2656 }
2598 QHexSpinBox::dragLeaveEvent(arg__1);
2657 QHexSpinBox::dragLeaveEvent(arg__1);
2599 }
2658 }
2600 void PythonQtShell_QHexSpinBox::dragMoveEvent(QDragMoveEvent* arg__1)
2659 void PythonQtShell_QHexSpinBox::dragMoveEvent(QDragMoveEvent* arg__1)
2601 {
2660 {
2602 if (_wrapper) {
2661 if (_wrapper) {
2603 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dragMoveEvent");
2662 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dragMoveEvent");
2604 PyErr_Clear();
2663 PyErr_Clear();
2605 if (obj && !PythonQtSlotFunction_Check(obj)) {
2664 if (obj && !PythonQtSlotFunction_Check(obj)) {
2606 static const char* argumentList[] ={"" , "QDragMoveEvent*"};
2665 static const char* argumentList[] ={"" , "QDragMoveEvent*"};
2607 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
2666 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
2608 void* args[2] = {NULL, (void*)&arg__1};
2667 void* args[2] = {NULL, (void*)&arg__1};
2609 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
2668 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
2610 if (result) { Py_DECREF(result); }
2669 if (result) { Py_DECREF(result); }
2611 Py_DECREF(obj);
2670 Py_DECREF(obj);
2612 return;
2671 return;
2613 }
2672 }
2614 }
2673 }
2615 QHexSpinBox::dragMoveEvent(arg__1);
2674 QHexSpinBox::dragMoveEvent(arg__1);
2616 }
2675 }
2617 void PythonQtShell_QHexSpinBox::dropEvent(QDropEvent* arg__1)
2676 void PythonQtShell_QHexSpinBox::dropEvent(QDropEvent* arg__1)
2618 {
2677 {
2619 if (_wrapper) {
2678 if (_wrapper) {
2620 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dropEvent");
2679 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dropEvent");
2621 PyErr_Clear();
2680 PyErr_Clear();
2622 if (obj && !PythonQtSlotFunction_Check(obj)) {
2681 if (obj && !PythonQtSlotFunction_Check(obj)) {
2623 static const char* argumentList[] ={"" , "QDropEvent*"};
2682 static const char* argumentList[] ={"" , "QDropEvent*"};
2624 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
2683 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
2625 void* args[2] = {NULL, (void*)&arg__1};
2684 void* args[2] = {NULL, (void*)&arg__1};
2626 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
2685 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
2627 if (result) { Py_DECREF(result); }
2686 if (result) { Py_DECREF(result); }
2628 Py_DECREF(obj);
2687 Py_DECREF(obj);
2629 return;
2688 return;
2630 }
2689 }
2631 }
2690 }
2632 QHexSpinBox::dropEvent(arg__1);
2691 QHexSpinBox::dropEvent(arg__1);
2633 }
2692 }
2634 void PythonQtShell_QHexSpinBox::enterEvent(QEvent* arg__1)
2693 void PythonQtShell_QHexSpinBox::enterEvent(QEvent* arg__1)
2635 {
2694 {
2636 if (_wrapper) {
2695 if (_wrapper) {
2637 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "enterEvent");
2696 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "enterEvent");
2638 PyErr_Clear();
2697 PyErr_Clear();
2639 if (obj && !PythonQtSlotFunction_Check(obj)) {
2698 if (obj && !PythonQtSlotFunction_Check(obj)) {
2640 static const char* argumentList[] ={"" , "QEvent*"};
2699 static const char* argumentList[] ={"" , "QEvent*"};
2641 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
2700 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
2642 void* args[2] = {NULL, (void*)&arg__1};
2701 void* args[2] = {NULL, (void*)&arg__1};
2643 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
2702 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
2644 if (result) { Py_DECREF(result); }
2703 if (result) { Py_DECREF(result); }
2645 Py_DECREF(obj);
2704 Py_DECREF(obj);
2646 return;
2705 return;
2647 }
2706 }
2648 }
2707 }
2649 QHexSpinBox::enterEvent(arg__1);
2708 QHexSpinBox::enterEvent(arg__1);
2650 }
2709 }
2651 bool PythonQtShell_QHexSpinBox::event(QEvent* event)
2710 bool PythonQtShell_QHexSpinBox::event(QEvent* event)
2652 {
2711 {
2653 if (_wrapper) {
2712 if (_wrapper) {
2654 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "event");
2713 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "event");
2655 PyErr_Clear();
2714 PyErr_Clear();
2656 if (obj && !PythonQtSlotFunction_Check(obj)) {
2715 if (obj && !PythonQtSlotFunction_Check(obj)) {
2657 static const char* argumentList[] ={"bool" , "QEvent*"};
2716 static const char* argumentList[] ={"bool" , "QEvent*"};
2658 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
2717 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
2659 bool returnValue;
2718 bool returnValue;
2660 void* args[2] = {NULL, (void*)&event};
2719 void* args[2] = {NULL, (void*)&event};
2661 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
2720 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
2662 if (result) {
2721 if (result) {
2663 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);
2664 if (args[0]!=&returnValue) {
2723 if (args[0]!=&returnValue) {
2665 if (args[0]==NULL) {
2724 if (args[0]==NULL) {
2666 PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result);
2725 PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result);
2667 } else {
2726 } else {
2668 returnValue = *((bool*)args[0]);
2727 returnValue = *((bool*)args[0]);
2669 }
2728 }
2670 }
2729 }
2671 }
2730 }
2672 if (result) { Py_DECREF(result); }
2731 if (result) { Py_DECREF(result); }
2673 Py_DECREF(obj);
2732 Py_DECREF(obj);
2674 return returnValue;
2733 return returnValue;
2675 }
2734 }
2676 }
2735 }
2677 return QHexSpinBox::event(event);
2736 return QHexSpinBox::event(event);
2678 }
2737 }
2679 bool PythonQtShell_QHexSpinBox::eventFilter(QObject* arg__1, QEvent* arg__2)
2738 bool PythonQtShell_QHexSpinBox::eventFilter(QObject* arg__1, QEvent* arg__2)
2680 {
2739 {
2681 if (_wrapper) {
2740 if (_wrapper) {
2682 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "eventFilter");
2741 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "eventFilter");
2683 PyErr_Clear();
2742 PyErr_Clear();
2684 if (obj && !PythonQtSlotFunction_Check(obj)) {
2743 if (obj && !PythonQtSlotFunction_Check(obj)) {
2685 static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"};
2744 static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"};
2686 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList);
2745 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList);
2687 bool returnValue;
2746 bool returnValue;
2688 void* args[3] = {NULL, (void*)&arg__1, (void*)&arg__2};
2747 void* args[3] = {NULL, (void*)&arg__1, (void*)&arg__2};
2689 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
2748 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
2690 if (result) {
2749 if (result) {
2691 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);
2692 if (args[0]!=&returnValue) {
2751 if (args[0]!=&returnValue) {
2693 if (args[0]==NULL) {
2752 if (args[0]==NULL) {
2694 PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result);
2753 PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result);
2695 } else {
2754 } else {
2696 returnValue = *((bool*)args[0]);
2755 returnValue = *((bool*)args[0]);
2697 }
2756 }
2698 }
2757 }
2699 }
2758 }
2700 if (result) { Py_DECREF(result); }
2759 if (result) { Py_DECREF(result); }
2701 Py_DECREF(obj);
2760 Py_DECREF(obj);
2702 return returnValue;
2761 return returnValue;
2703 }
2762 }
2704 }
2763 }
2705 return QHexSpinBox::eventFilter(arg__1, arg__2);
2764 return QHexSpinBox::eventFilter(arg__1, arg__2);
2706 }
2765 }
2707 void PythonQtShell_QHexSpinBox::fixup(QString& str) const
2766 void PythonQtShell_QHexSpinBox::fixup(QString& str) const
2708 {
2767 {
2709 if (_wrapper) {
2768 if (_wrapper) {
2710 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "fixup");
2769 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "fixup");
2711 PyErr_Clear();
2770 PyErr_Clear();
2712 if (obj && !PythonQtSlotFunction_Check(obj)) {
2771 if (obj && !PythonQtSlotFunction_Check(obj)) {
2713 static const char* argumentList[] ={"" , "QString&"};
2772 static const char* argumentList[] ={"" , "QString&"};
2714 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
2773 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
2715 void* args[2] = {NULL, (void*)&str};
2774 void* args[2] = {NULL, (void*)&str};
2716 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
2775 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
2717 if (result) { Py_DECREF(result); }
2776 if (result) { Py_DECREF(result); }
2718 Py_DECREF(obj);
2777 Py_DECREF(obj);
2719 return;
2778 return;
2720 }
2779 }
2721 }
2780 }
2722 QHexSpinBox::fixup(str);
2781 QHexSpinBox::fixup(str);
2723 }
2782 }
2724 void PythonQtShell_QHexSpinBox::focusInEvent(QFocusEvent* event)
2783 void PythonQtShell_QHexSpinBox::focusInEvent(QFocusEvent* event)
2725 {
2784 {
2726 if (_wrapper) {
2785 if (_wrapper) {
2727 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "focusInEvent");
2786 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "focusInEvent");
2728 PyErr_Clear();
2787 PyErr_Clear();
2729 if (obj && !PythonQtSlotFunction_Check(obj)) {
2788 if (obj && !PythonQtSlotFunction_Check(obj)) {
2730 static const char* argumentList[] ={"" , "QFocusEvent*"};
2789 static const char* argumentList[] ={"" , "QFocusEvent*"};
2731 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
2790 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
2732 void* args[2] = {NULL, (void*)&event};
2791 void* args[2] = {NULL, (void*)&event};
2733 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
2792 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
2734 if (result) { Py_DECREF(result); }
2793 if (result) { Py_DECREF(result); }
2735 Py_DECREF(obj);
2794 Py_DECREF(obj);
2736 return;
2795 return;
2737 }
2796 }
2738 }
2797 }
2739 QHexSpinBox::focusInEvent(event);
2798 QHexSpinBox::focusInEvent(event);
2740 }
2799 }
2741 bool PythonQtShell_QHexSpinBox::focusNextPrevChild(bool next)
2800 bool PythonQtShell_QHexSpinBox::focusNextPrevChild(bool next)
2742 {
2801 {
2743 if (_wrapper) {
2802 if (_wrapper) {
2744 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "focusNextPrevChild");
2803 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "focusNextPrevChild");
2745 PyErr_Clear();
2804 PyErr_Clear();
2746 if (obj && !PythonQtSlotFunction_Check(obj)) {
2805 if (obj && !PythonQtSlotFunction_Check(obj)) {
2747 static const char* argumentList[] ={"bool" , "bool"};
2806 static const char* argumentList[] ={"bool" , "bool"};
2748 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
2807 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
2749 bool returnValue;
2808 bool returnValue;
2750 void* args[2] = {NULL, (void*)&next};
2809 void* args[2] = {NULL, (void*)&next};
2751 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
2810 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
2752 if (result) {
2811 if (result) {
2753 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);
2754 if (args[0]!=&returnValue) {
2813 if (args[0]!=&returnValue) {
2755 if (args[0]==NULL) {
2814 if (args[0]==NULL) {
2756 PythonQt::priv()->handleVirtualOverloadReturnError("focusNextPrevChild", methodInfo, result);
2815 PythonQt::priv()->handleVirtualOverloadReturnError("focusNextPrevChild", methodInfo, result);
2757 } else {
2816 } else {
2758 returnValue = *((bool*)args[0]);
2817 returnValue = *((bool*)args[0]);
2759 }
2818 }
2760 }
2819 }
2761 }
2820 }
2762 if (result) { Py_DECREF(result); }
2821 if (result) { Py_DECREF(result); }
2763 Py_DECREF(obj);
2822 Py_DECREF(obj);
2764 return returnValue;
2823 return returnValue;
2765 }
2824 }
2766 }
2825 }
2767 return QHexSpinBox::focusNextPrevChild(next);
2826 return QHexSpinBox::focusNextPrevChild(next);
2768 }
2827 }
2769 void PythonQtShell_QHexSpinBox::focusOutEvent(QFocusEvent* event)
2828 void PythonQtShell_QHexSpinBox::focusOutEvent(QFocusEvent* event)
2770 {
2829 {
2771 if (_wrapper) {
2830 if (_wrapper) {
2772 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "focusOutEvent");
2831 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "focusOutEvent");
2773 PyErr_Clear();
2832 PyErr_Clear();
2774 if (obj && !PythonQtSlotFunction_Check(obj)) {
2833 if (obj && !PythonQtSlotFunction_Check(obj)) {
2775 static const char* argumentList[] ={"" , "QFocusEvent*"};
2834 static const char* argumentList[] ={"" , "QFocusEvent*"};
2776 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
2835 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
2777 void* args[2] = {NULL, (void*)&event};
2836 void* args[2] = {NULL, (void*)&event};
2778 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
2837 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
2779 if (result) { Py_DECREF(result); }
2838 if (result) { Py_DECREF(result); }
2780 Py_DECREF(obj);
2839 Py_DECREF(obj);
2781 return;
2840 return;
2782 }
2841 }
2783 }
2842 }
2784 QHexSpinBox::focusOutEvent(event);
2843 QHexSpinBox::focusOutEvent(event);
2785 }
2844 }
2786 bool PythonQtShell_QHexSpinBox::hasHeightForWidth() const
2845 bool PythonQtShell_QHexSpinBox::hasHeightForWidth() const
2787 {
2846 {
2788 if (_wrapper) {
2847 if (_wrapper) {
2789 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "hasHeightForWidth");
2848 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "hasHeightForWidth");
2790 PyErr_Clear();
2849 PyErr_Clear();
2791 if (obj && !PythonQtSlotFunction_Check(obj)) {
2850 if (obj && !PythonQtSlotFunction_Check(obj)) {
2792 static const char* argumentList[] ={"bool"};
2851 static const char* argumentList[] ={"bool"};
2793 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList);
2852 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList);
2794 bool returnValue;
2853 bool returnValue;
2795 void* args[1] = {NULL};
2854 void* args[1] = {NULL};
2796 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
2855 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
2797 if (result) {
2856 if (result) {
2798 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);
2799 if (args[0]!=&returnValue) {
2858 if (args[0]!=&returnValue) {
2800 if (args[0]==NULL) {
2859 if (args[0]==NULL) {
2801 PythonQt::priv()->handleVirtualOverloadReturnError("hasHeightForWidth", methodInfo, result);
2860 PythonQt::priv()->handleVirtualOverloadReturnError("hasHeightForWidth", methodInfo, result);
2802 } else {
2861 } else {
2803 returnValue = *((bool*)args[0]);
2862 returnValue = *((bool*)args[0]);
2804 }
2863 }
2805 }
2864 }
2806 }
2865 }
2807 if (result) { Py_DECREF(result); }
2866 if (result) { Py_DECREF(result); }
2808 Py_DECREF(obj);
2867 Py_DECREF(obj);
2809 return returnValue;
2868 return returnValue;
2810 }
2869 }
2811 }
2870 }
2812 return QHexSpinBox::hasHeightForWidth();
2871 return QHexSpinBox::hasHeightForWidth();
2813 }
2872 }
2814 int PythonQtShell_QHexSpinBox::heightForWidth(int arg__1) const
2873 int PythonQtShell_QHexSpinBox::heightForWidth(int arg__1) const
2815 {
2874 {
2816 if (_wrapper) {
2875 if (_wrapper) {
2817 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "heightForWidth");
2876 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "heightForWidth");
2818 PyErr_Clear();
2877 PyErr_Clear();
2819 if (obj && !PythonQtSlotFunction_Check(obj)) {
2878 if (obj && !PythonQtSlotFunction_Check(obj)) {
2820 static const char* argumentList[] ={"int" , "int"};
2879 static const char* argumentList[] ={"int" , "int"};
2821 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
2880 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
2822 int returnValue;
2881 int returnValue;
2823 void* args[2] = {NULL, (void*)&arg__1};
2882 void* args[2] = {NULL, (void*)&arg__1};
2824 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
2883 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
2825 if (result) {
2884 if (result) {
2826 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);
2827 if (args[0]!=&returnValue) {
2886 if (args[0]!=&returnValue) {
2828 if (args[0]==NULL) {
2887 if (args[0]==NULL) {
2829 PythonQt::priv()->handleVirtualOverloadReturnError("heightForWidth", methodInfo, result);
2888 PythonQt::priv()->handleVirtualOverloadReturnError("heightForWidth", methodInfo, result);
2830 } else {
2889 } else {
2831 returnValue = *((int*)args[0]);
2890 returnValue = *((int*)args[0]);
2832 }
2891 }
2833 }
2892 }
2834 }
2893 }
2835 if (result) { Py_DECREF(result); }
2894 if (result) { Py_DECREF(result); }
2836 Py_DECREF(obj);
2895 Py_DECREF(obj);
2837 return returnValue;
2896 return returnValue;
2838 }
2897 }
2839 }
2898 }
2840 return QHexSpinBox::heightForWidth(arg__1);
2899 return QHexSpinBox::heightForWidth(arg__1);
2841 }
2900 }
2842 void PythonQtShell_QHexSpinBox::hideEvent(QHideEvent* event)
2901 void PythonQtShell_QHexSpinBox::hideEvent(QHideEvent* event)
2843 {
2902 {
2844 if (_wrapper) {
2903 if (_wrapper) {
2845 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "hideEvent");
2904 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "hideEvent");
2846 PyErr_Clear();
2905 PyErr_Clear();
2847 if (obj && !PythonQtSlotFunction_Check(obj)) {
2906 if (obj && !PythonQtSlotFunction_Check(obj)) {
2848 static const char* argumentList[] ={"" , "QHideEvent*"};
2907 static const char* argumentList[] ={"" , "QHideEvent*"};
2849 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
2908 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
2850 void* args[2] = {NULL, (void*)&event};
2909 void* args[2] = {NULL, (void*)&event};
2851 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
2910 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
2852 if (result) { Py_DECREF(result); }
2911 if (result) { Py_DECREF(result); }
2853 Py_DECREF(obj);
2912 Py_DECREF(obj);
2854 return;
2913 return;
2855 }
2914 }
2856 }
2915 }
2857 QHexSpinBox::hideEvent(event);
2916 QHexSpinBox::hideEvent(event);
2858 }
2917 }
2859 void PythonQtShell_QHexSpinBox::initPainter(QPainter* painter) const
2918 void PythonQtShell_QHexSpinBox::initPainter(QPainter* painter) const
2860 {
2919 {
2861 if (_wrapper) {
2920 if (_wrapper) {
2862 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "initPainter");
2921 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "initPainter");
2863 PyErr_Clear();
2922 PyErr_Clear();
2864 if (obj && !PythonQtSlotFunction_Check(obj)) {
2923 if (obj && !PythonQtSlotFunction_Check(obj)) {
2865 static const char* argumentList[] ={"" , "QPainter*"};
2924 static const char* argumentList[] ={"" , "QPainter*"};
2866 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
2925 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
2867 void* args[2] = {NULL, (void*)&painter};
2926 void* args[2] = {NULL, (void*)&painter};
2868 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
2927 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
2869 if (result) { Py_DECREF(result); }
2928 if (result) { Py_DECREF(result); }
2870 Py_DECREF(obj);
2929 Py_DECREF(obj);
2871 return;
2930 return;
2872 }
2931 }
2873 }
2932 }
2874 QHexSpinBox::initPainter(painter);
2933 QHexSpinBox::initPainter(painter);
2875 }
2934 }
2876 void PythonQtShell_QHexSpinBox::inputMethodEvent(QInputMethodEvent* arg__1)
2935 void PythonQtShell_QHexSpinBox::inputMethodEvent(QInputMethodEvent* arg__1)
2877 {
2936 {
2878 if (_wrapper) {
2937 if (_wrapper) {
2879 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "inputMethodEvent");
2938 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "inputMethodEvent");
2880 PyErr_Clear();
2939 PyErr_Clear();
2881 if (obj && !PythonQtSlotFunction_Check(obj)) {
2940 if (obj && !PythonQtSlotFunction_Check(obj)) {
2882 static const char* argumentList[] ={"" , "QInputMethodEvent*"};
2941 static const char* argumentList[] ={"" , "QInputMethodEvent*"};
2883 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
2942 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
2884 void* args[2] = {NULL, (void*)&arg__1};
2943 void* args[2] = {NULL, (void*)&arg__1};
2885 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
2944 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
2886 if (result) { Py_DECREF(result); }
2945 if (result) { Py_DECREF(result); }
2887 Py_DECREF(obj);
2946 Py_DECREF(obj);
2888 return;
2947 return;
2889 }
2948 }
2890 }
2949 }
2891 QHexSpinBox::inputMethodEvent(arg__1);
2950 QHexSpinBox::inputMethodEvent(arg__1);
2892 }
2951 }
2893 QVariant PythonQtShell_QHexSpinBox::inputMethodQuery(Qt::InputMethodQuery arg__1) const
2952 QVariant PythonQtShell_QHexSpinBox::inputMethodQuery(Qt::InputMethodQuery arg__1) const
2894 {
2953 {
2895 if (_wrapper) {
2954 if (_wrapper) {
2896 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "inputMethodQuery");
2955 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "inputMethodQuery");
2897 PyErr_Clear();
2956 PyErr_Clear();
2898 if (obj && !PythonQtSlotFunction_Check(obj)) {
2957 if (obj && !PythonQtSlotFunction_Check(obj)) {
2899 static const char* argumentList[] ={"QVariant" , "Qt::InputMethodQuery"};
2958 static const char* argumentList[] ={"QVariant" , "Qt::InputMethodQuery"};
2900 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
2959 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
2901 QVariant returnValue;
2960 QVariant returnValue;
2902 void* args[2] = {NULL, (void*)&arg__1};
2961 void* args[2] = {NULL, (void*)&arg__1};
2903 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
2962 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
2904 if (result) {
2963 if (result) {
2905 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);
2906 if (args[0]!=&returnValue) {
2965 if (args[0]!=&returnValue) {
2907 if (args[0]==NULL) {
2966 if (args[0]==NULL) {
2908 PythonQt::priv()->handleVirtualOverloadReturnError("inputMethodQuery", methodInfo, result);
2967 PythonQt::priv()->handleVirtualOverloadReturnError("inputMethodQuery", methodInfo, result);
2909 } else {
2968 } else {
2910 returnValue = *((QVariant*)args[0]);
2969 returnValue = *((QVariant*)args[0]);
2911 }
2970 }
2912 }
2971 }
2913 }
2972 }
2914 if (result) { Py_DECREF(result); }
2973 if (result) { Py_DECREF(result); }
2915 Py_DECREF(obj);
2974 Py_DECREF(obj);
2916 return returnValue;
2975 return returnValue;
2917 }
2976 }
2918 }
2977 }
2919 return QHexSpinBox::inputMethodQuery(arg__1);
2978 return QHexSpinBox::inputMethodQuery(arg__1);
2920 }
2979 }
2921 void PythonQtShell_QHexSpinBox::keyPressEvent(QKeyEvent* event)
2980 void PythonQtShell_QHexSpinBox::keyPressEvent(QKeyEvent* event)
2922 {
2981 {
2923 if (_wrapper) {
2982 if (_wrapper) {
2924 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "keyPressEvent");
2983 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "keyPressEvent");
2925 PyErr_Clear();
2984 PyErr_Clear();
2926 if (obj && !PythonQtSlotFunction_Check(obj)) {
2985 if (obj && !PythonQtSlotFunction_Check(obj)) {
2927 static const char* argumentList[] ={"" , "QKeyEvent*"};
2986 static const char* argumentList[] ={"" , "QKeyEvent*"};
2928 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
2987 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
2929 void* args[2] = {NULL, (void*)&event};
2988 void* args[2] = {NULL, (void*)&event};
2930 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
2989 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
2931 if (result) { Py_DECREF(result); }
2990 if (result) { Py_DECREF(result); }
2932 Py_DECREF(obj);
2991 Py_DECREF(obj);
2933 return;
2992 return;
2934 }
2993 }
2935 }
2994 }
2936 QHexSpinBox::keyPressEvent(event);
2995 QHexSpinBox::keyPressEvent(event);
2937 }
2996 }
2938 void PythonQtShell_QHexSpinBox::keyReleaseEvent(QKeyEvent* event)
2997 void PythonQtShell_QHexSpinBox::keyReleaseEvent(QKeyEvent* event)
2939 {
2998 {
2940 if (_wrapper) {
2999 if (_wrapper) {
2941 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "keyReleaseEvent");
3000 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "keyReleaseEvent");
2942 PyErr_Clear();
3001 PyErr_Clear();
2943 if (obj && !PythonQtSlotFunction_Check(obj)) {
3002 if (obj && !PythonQtSlotFunction_Check(obj)) {
2944 static const char* argumentList[] ={"" , "QKeyEvent*"};
3003 static const char* argumentList[] ={"" , "QKeyEvent*"};
2945 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
3004 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
2946 void* args[2] = {NULL, (void*)&event};
3005 void* args[2] = {NULL, (void*)&event};
2947 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
3006 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
2948 if (result) { Py_DECREF(result); }
3007 if (result) { Py_DECREF(result); }
2949 Py_DECREF(obj);
3008 Py_DECREF(obj);
2950 return;
3009 return;
2951 }
3010 }
2952 }
3011 }
2953 QHexSpinBox::keyReleaseEvent(event);
3012 QHexSpinBox::keyReleaseEvent(event);
2954 }
3013 }
2955 void PythonQtShell_QHexSpinBox::leaveEvent(QEvent* arg__1)
3014 void PythonQtShell_QHexSpinBox::leaveEvent(QEvent* arg__1)
2956 {
3015 {
2957 if (_wrapper) {
3016 if (_wrapper) {
2958 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "leaveEvent");
3017 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "leaveEvent");
2959 PyErr_Clear();
3018 PyErr_Clear();
2960 if (obj && !PythonQtSlotFunction_Check(obj)) {
3019 if (obj && !PythonQtSlotFunction_Check(obj)) {
2961 static const char* argumentList[] ={"" , "QEvent*"};
3020 static const char* argumentList[] ={"" , "QEvent*"};
2962 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
3021 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
2963 void* args[2] = {NULL, (void*)&arg__1};
3022 void* args[2] = {NULL, (void*)&arg__1};
2964 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
3023 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
2965 if (result) { Py_DECREF(result); }
3024 if (result) { Py_DECREF(result); }
2966 Py_DECREF(obj);
3025 Py_DECREF(obj);
2967 return;
3026 return;
2968 }
3027 }
2969 }
3028 }
2970 QHexSpinBox::leaveEvent(arg__1);
3029 QHexSpinBox::leaveEvent(arg__1);
2971 }
3030 }
2972 int PythonQtShell_QHexSpinBox::metric(QPaintDevice::PaintDeviceMetric arg__1) const
3031 int PythonQtShell_QHexSpinBox::metric(QPaintDevice::PaintDeviceMetric arg__1) const
2973 {
3032 {
2974 if (_wrapper) {
3033 if (_wrapper) {
2975 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "metric");
3034 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "metric");
2976 PyErr_Clear();
3035 PyErr_Clear();
2977 if (obj && !PythonQtSlotFunction_Check(obj)) {
3036 if (obj && !PythonQtSlotFunction_Check(obj)) {
2978 static const char* argumentList[] ={"int" , "QPaintDevice::PaintDeviceMetric"};
3037 static const char* argumentList[] ={"int" , "QPaintDevice::PaintDeviceMetric"};
2979 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
3038 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
2980 int returnValue;
3039 int returnValue;
2981 void* args[2] = {NULL, (void*)&arg__1};
3040 void* args[2] = {NULL, (void*)&arg__1};
2982 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
3041 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
2983 if (result) {
3042 if (result) {
2984 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);
2985 if (args[0]!=&returnValue) {
3044 if (args[0]!=&returnValue) {
2986 if (args[0]==NULL) {
3045 if (args[0]==NULL) {
2987 PythonQt::priv()->handleVirtualOverloadReturnError("metric", methodInfo, result);
3046 PythonQt::priv()->handleVirtualOverloadReturnError("metric", methodInfo, result);
2988 } else {
3047 } else {
2989 returnValue = *((int*)args[0]);
3048 returnValue = *((int*)args[0]);
2990 }
3049 }
2991 }
3050 }
2992 }
3051 }
2993 if (result) { Py_DECREF(result); }
3052 if (result) { Py_DECREF(result); }
2994 Py_DECREF(obj);
3053 Py_DECREF(obj);
2995 return returnValue;
3054 return returnValue;
2996 }
3055 }
2997 }
3056 }
2998 return QHexSpinBox::metric(arg__1);
3057 return QHexSpinBox::metric(arg__1);
2999 }
3058 }
3000 void PythonQtShell_QHexSpinBox::mouseDoubleClickEvent(QMouseEvent* arg__1)
3059 void PythonQtShell_QHexSpinBox::mouseDoubleClickEvent(QMouseEvent* arg__1)
3001 {
3060 {
3002 if (_wrapper) {
3061 if (_wrapper) {
3003 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mouseDoubleClickEvent");
3062 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mouseDoubleClickEvent");
3004 PyErr_Clear();
3063 PyErr_Clear();
3005 if (obj && !PythonQtSlotFunction_Check(obj)) {
3064 if (obj && !PythonQtSlotFunction_Check(obj)) {
3006 static const char* argumentList[] ={"" , "QMouseEvent*"};
3065 static const char* argumentList[] ={"" , "QMouseEvent*"};
3007 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
3066 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
3008 void* args[2] = {NULL, (void*)&arg__1};
3067 void* args[2] = {NULL, (void*)&arg__1};
3009 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
3068 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
3010 if (result) { Py_DECREF(result); }
3069 if (result) { Py_DECREF(result); }
3011 Py_DECREF(obj);
3070 Py_DECREF(obj);
3012 return;
3071 return;
3013 }
3072 }
3014 }
3073 }
3015 QHexSpinBox::mouseDoubleClickEvent(arg__1);
3074 QHexSpinBox::mouseDoubleClickEvent(arg__1);
3016 }
3075 }
3017 void PythonQtShell_QHexSpinBox::mouseMoveEvent(QMouseEvent* event)
3076 void PythonQtShell_QHexSpinBox::mouseMoveEvent(QMouseEvent* event)
3018 {
3077 {
3019 if (_wrapper) {
3078 if (_wrapper) {
3020 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mouseMoveEvent");
3079 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mouseMoveEvent");
3021 PyErr_Clear();
3080 PyErr_Clear();
3022 if (obj && !PythonQtSlotFunction_Check(obj)) {
3081 if (obj && !PythonQtSlotFunction_Check(obj)) {
3023 static const char* argumentList[] ={"" , "QMouseEvent*"};
3082 static const char* argumentList[] ={"" , "QMouseEvent*"};
3024 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
3083 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
3025 void* args[2] = {NULL, (void*)&event};
3084 void* args[2] = {NULL, (void*)&event};
3026 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
3085 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
3027 if (result) { Py_DECREF(result); }
3086 if (result) { Py_DECREF(result); }
3028 Py_DECREF(obj);
3087 Py_DECREF(obj);
3029 return;
3088 return;
3030 }
3089 }
3031 }
3090 }
3032 QHexSpinBox::mouseMoveEvent(event);
3091 QHexSpinBox::mouseMoveEvent(event);
3033 }
3092 }
3034 void PythonQtShell_QHexSpinBox::mousePressEvent(QMouseEvent* event)
3093 void PythonQtShell_QHexSpinBox::mousePressEvent(QMouseEvent* event)
3035 {
3094 {
3036 if (_wrapper) {
3095 if (_wrapper) {
3037 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mousePressEvent");
3096 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mousePressEvent");
3038 PyErr_Clear();
3097 PyErr_Clear();
3039 if (obj && !PythonQtSlotFunction_Check(obj)) {
3098 if (obj && !PythonQtSlotFunction_Check(obj)) {
3040 static const char* argumentList[] ={"" , "QMouseEvent*"};
3099 static const char* argumentList[] ={"" , "QMouseEvent*"};
3041 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
3100 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
3042 void* args[2] = {NULL, (void*)&event};
3101 void* args[2] = {NULL, (void*)&event};
3043 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
3102 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
3044 if (result) { Py_DECREF(result); }
3103 if (result) { Py_DECREF(result); }
3045 Py_DECREF(obj);
3104 Py_DECREF(obj);
3046 return;
3105 return;
3047 }
3106 }
3048 }
3107 }
3049 QHexSpinBox::mousePressEvent(event);
3108 QHexSpinBox::mousePressEvent(event);
3050 }
3109 }
3051 void PythonQtShell_QHexSpinBox::mouseReleaseEvent(QMouseEvent* event)
3110 void PythonQtShell_QHexSpinBox::mouseReleaseEvent(QMouseEvent* event)
3052 {
3111 {
3053 if (_wrapper) {
3112 if (_wrapper) {
3054 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mouseReleaseEvent");
3113 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mouseReleaseEvent");
3055 PyErr_Clear();
3114 PyErr_Clear();
3056 if (obj && !PythonQtSlotFunction_Check(obj)) {
3115 if (obj && !PythonQtSlotFunction_Check(obj)) {
3057 static const char* argumentList[] ={"" , "QMouseEvent*"};
3116 static const char* argumentList[] ={"" , "QMouseEvent*"};
3058 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
3117 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
3059 void* args[2] = {NULL, (void*)&event};
3118 void* args[2] = {NULL, (void*)&event};
3060 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
3119 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
3061 if (result) { Py_DECREF(result); }
3120 if (result) { Py_DECREF(result); }
3062 Py_DECREF(obj);
3121 Py_DECREF(obj);
3063 return;
3122 return;
3064 }
3123 }
3065 }
3124 }
3066 QHexSpinBox::mouseReleaseEvent(event);
3125 QHexSpinBox::mouseReleaseEvent(event);
3067 }
3126 }
3068 void PythonQtShell_QHexSpinBox::moveEvent(QMoveEvent* arg__1)
3127 void PythonQtShell_QHexSpinBox::moveEvent(QMoveEvent* arg__1)
3069 {
3128 {
3070 if (_wrapper) {
3129 if (_wrapper) {
3071 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "moveEvent");
3130 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "moveEvent");
3072 PyErr_Clear();
3131 PyErr_Clear();
3073 if (obj && !PythonQtSlotFunction_Check(obj)) {
3132 if (obj && !PythonQtSlotFunction_Check(obj)) {
3074 static const char* argumentList[] ={"" , "QMoveEvent*"};
3133 static const char* argumentList[] ={"" , "QMoveEvent*"};
3075 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
3134 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
3076 void* args[2] = {NULL, (void*)&arg__1};
3135 void* args[2] = {NULL, (void*)&arg__1};
3077 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
3136 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
3078 if (result) { Py_DECREF(result); }
3137 if (result) { Py_DECREF(result); }
3079 Py_DECREF(obj);
3138 Py_DECREF(obj);
3080 return;
3139 return;
3081 }
3140 }
3082 }
3141 }
3083 QHexSpinBox::moveEvent(arg__1);
3142 QHexSpinBox::moveEvent(arg__1);
3084 }
3143 }
3085 bool PythonQtShell_QHexSpinBox::nativeEvent(const QByteArray& eventType, void* message, long* result)
3144 bool PythonQtShell_QHexSpinBox::nativeEvent(const QByteArray& eventType, void* message, long* result)
3086 {
3145 {
3087 if (_wrapper) {
3146 if (_wrapper) {
3088 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "nativeEvent");
3147 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "nativeEvent");
3089 PyErr_Clear();
3148 PyErr_Clear();
3090 if (obj && !PythonQtSlotFunction_Check(obj)) {
3149 if (obj && !PythonQtSlotFunction_Check(obj)) {
3091 static const char* argumentList[] ={"bool" , "const QByteArray&" , "void*" , "long*"};
3150 static const char* argumentList[] ={"bool" , "const QByteArray&" , "void*" , "long*"};
3092 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList);
3151 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList);
3093 bool returnValue;
3152 bool returnValue;
3094 void* args[4] = {NULL, (void*)&eventType, (void*)&message, (void*)&result};
3153 void* args[4] = {NULL, (void*)&eventType, (void*)&message, (void*)&result};
3095 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
3154 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
3096 if (result) {
3155 if (result) {
3097 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);
3098 if (args[0]!=&returnValue) {
3157 if (args[0]!=&returnValue) {
3099 if (args[0]==NULL) {
3158 if (args[0]==NULL) {
3100 PythonQt::priv()->handleVirtualOverloadReturnError("nativeEvent", methodInfo, result);
3159 PythonQt::priv()->handleVirtualOverloadReturnError("nativeEvent", methodInfo, result);
3101 } else {
3160 } else {
3102 returnValue = *((bool*)args[0]);
3161 returnValue = *((bool*)args[0]);
3103 }
3162 }
3104 }
3163 }
3105 }
3164 }
3106 if (result) { Py_DECREF(result); }
3165 if (result) { Py_DECREF(result); }
3107 Py_DECREF(obj);
3166 Py_DECREF(obj);
3108 return returnValue;
3167 return returnValue;
3109 }
3168 }
3110 }
3169 }
3111 return QHexSpinBox::nativeEvent(eventType, message, result);
3170 return QHexSpinBox::nativeEvent(eventType, message, result);
3112 }
3171 }
3113 QPaintEngine* PythonQtShell_QHexSpinBox::paintEngine() const
3172 QPaintEngine* PythonQtShell_QHexSpinBox::paintEngine() const
3114 {
3173 {
3115 if (_wrapper) {
3174 if (_wrapper) {
3116 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "paintEngine");
3175 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "paintEngine");
3117 PyErr_Clear();
3176 PyErr_Clear();
3118 if (obj && !PythonQtSlotFunction_Check(obj)) {
3177 if (obj && !PythonQtSlotFunction_Check(obj)) {
3119 static const char* argumentList[] ={"QPaintEngine*"};
3178 static const char* argumentList[] ={"QPaintEngine*"};
3120 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList);
3179 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList);
3121 QPaintEngine* returnValue;
3180 QPaintEngine* returnValue;
3122 void* args[1] = {NULL};
3181 void* args[1] = {NULL};
3123 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
3182 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
3124 if (result) {
3183 if (result) {
3125 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);
3126 if (args[0]!=&returnValue) {
3185 if (args[0]!=&returnValue) {
3127 if (args[0]==NULL) {
3186 if (args[0]==NULL) {
3128 PythonQt::priv()->handleVirtualOverloadReturnError("paintEngine", methodInfo, result);
3187 PythonQt::priv()->handleVirtualOverloadReturnError("paintEngine", methodInfo, result);
3129 } else {
3188 } else {
3130 returnValue = *((QPaintEngine**)args[0]);
3189 returnValue = *((QPaintEngine**)args[0]);
3131 }
3190 }
3132 }
3191 }
3133 }
3192 }
3134 if (result) { Py_DECREF(result); }
3193 if (result) { Py_DECREF(result); }
3135 Py_DECREF(obj);
3194 Py_DECREF(obj);
3136 return returnValue;
3195 return returnValue;
3137 }
3196 }
3138 }
3197 }
3139 return QHexSpinBox::paintEngine();
3198 return QHexSpinBox::paintEngine();
3140 }
3199 }
3141 void PythonQtShell_QHexSpinBox::paintEvent(QPaintEvent* event)
3200 void PythonQtShell_QHexSpinBox::paintEvent(QPaintEvent* event)
3142 {
3201 {
3143 if (_wrapper) {
3202 if (_wrapper) {
3144 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "paintEvent");
3203 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "paintEvent");
3145 PyErr_Clear();
3204 PyErr_Clear();
3146 if (obj && !PythonQtSlotFunction_Check(obj)) {
3205 if (obj && !PythonQtSlotFunction_Check(obj)) {
3147 static const char* argumentList[] ={"" , "QPaintEvent*"};
3206 static const char* argumentList[] ={"" , "QPaintEvent*"};
3148 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
3207 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
3149 void* args[2] = {NULL, (void*)&event};
3208 void* args[2] = {NULL, (void*)&event};
3150 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
3209 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
3151 if (result) { Py_DECREF(result); }
3210 if (result) { Py_DECREF(result); }
3152 Py_DECREF(obj);
3211 Py_DECREF(obj);
3153 return;
3212 return;
3154 }
3213 }
3155 }
3214 }
3156 QHexSpinBox::paintEvent(event);
3215 QHexSpinBox::paintEvent(event);
3157 }
3216 }
3158 QPaintDevice* PythonQtShell_QHexSpinBox::redirected(QPoint* offset) const
3217 QPaintDevice* PythonQtShell_QHexSpinBox::redirected(QPoint* offset) const
3159 {
3218 {
3160 if (_wrapper) {
3219 if (_wrapper) {
3161 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "redirected");
3220 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "redirected");
3162 PyErr_Clear();
3221 PyErr_Clear();
3163 if (obj && !PythonQtSlotFunction_Check(obj)) {
3222 if (obj && !PythonQtSlotFunction_Check(obj)) {
3164 static const char* argumentList[] ={"QPaintDevice*" , "QPoint*"};
3223 static const char* argumentList[] ={"QPaintDevice*" , "QPoint*"};
3165 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
3224 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
3166 QPaintDevice* returnValue;
3225 QPaintDevice* returnValue;
3167 void* args[2] = {NULL, (void*)&offset};
3226 void* args[2] = {NULL, (void*)&offset};
3168 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
3227 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
3169 if (result) {
3228 if (result) {
3170 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);
3171 if (args[0]!=&returnValue) {
3230 if (args[0]!=&returnValue) {
3172 if (args[0]==NULL) {
3231 if (args[0]==NULL) {
3173 PythonQt::priv()->handleVirtualOverloadReturnError("redirected", methodInfo, result);
3232 PythonQt::priv()->handleVirtualOverloadReturnError("redirected", methodInfo, result);
3174 } else {
3233 } else {
3175 returnValue = *((QPaintDevice**)args[0]);
3234 returnValue = *((QPaintDevice**)args[0]);
3176 }
3235 }
3177 }
3236 }
3178 }
3237 }
3179 if (result) { Py_DECREF(result); }
3238 if (result) { Py_DECREF(result); }
3180 Py_DECREF(obj);
3239 Py_DECREF(obj);
3181 return returnValue;
3240 return returnValue;
3182 }
3241 }
3183 }
3242 }
3184 return QHexSpinBox::redirected(offset);
3243 return QHexSpinBox::redirected(offset);
3185 }
3244 }
3186 void PythonQtShell_QHexSpinBox::resizeEvent(QResizeEvent* event)
3245 void PythonQtShell_QHexSpinBox::resizeEvent(QResizeEvent* event)
3187 {
3246 {
3188 if (_wrapper) {
3247 if (_wrapper) {
3189 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "resizeEvent");
3248 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "resizeEvent");
3190 PyErr_Clear();
3249 PyErr_Clear();
3191 if (obj && !PythonQtSlotFunction_Check(obj)) {
3250 if (obj && !PythonQtSlotFunction_Check(obj)) {
3192 static const char* argumentList[] ={"" , "QResizeEvent*"};
3251 static const char* argumentList[] ={"" , "QResizeEvent*"};
3193 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
3252 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
3194 void* args[2] = {NULL, (void*)&event};
3253 void* args[2] = {NULL, (void*)&event};
3195 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
3254 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
3196 if (result) { Py_DECREF(result); }
3255 if (result) { Py_DECREF(result); }
3197 Py_DECREF(obj);
3256 Py_DECREF(obj);
3198 return;
3257 return;
3199 }
3258 }
3200 }
3259 }
3201 QHexSpinBox::resizeEvent(event);
3260 QHexSpinBox::resizeEvent(event);
3202 }
3261 }
3203 QPainter* PythonQtShell_QHexSpinBox::sharedPainter() const
3262 QPainter* PythonQtShell_QHexSpinBox::sharedPainter() const
3204 {
3263 {
3205 if (_wrapper) {
3264 if (_wrapper) {
3206 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "sharedPainter");
3265 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "sharedPainter");
3207 PyErr_Clear();
3266 PyErr_Clear();
3208 if (obj && !PythonQtSlotFunction_Check(obj)) {
3267 if (obj && !PythonQtSlotFunction_Check(obj)) {
3209 static const char* argumentList[] ={"QPainter*"};
3268 static const char* argumentList[] ={"QPainter*"};
3210 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList);
3269 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList);
3211 QPainter* returnValue;
3270 QPainter* returnValue;
3212 void* args[1] = {NULL};
3271 void* args[1] = {NULL};
3213 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
3272 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
3214 if (result) {
3273 if (result) {
3215 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);
3216 if (args[0]!=&returnValue) {
3275 if (args[0]!=&returnValue) {
3217 if (args[0]==NULL) {
3276 if (args[0]==NULL) {
3218 PythonQt::priv()->handleVirtualOverloadReturnError("sharedPainter", methodInfo, result);
3277 PythonQt::priv()->handleVirtualOverloadReturnError("sharedPainter", methodInfo, result);
3219 } else {
3278 } else {
3220 returnValue = *((QPainter**)args[0]);
3279 returnValue = *((QPainter**)args[0]);
3221 }
3280 }
3222 }
3281 }
3223 }
3282 }
3224 if (result) { Py_DECREF(result); }
3283 if (result) { Py_DECREF(result); }
3225 Py_DECREF(obj);
3284 Py_DECREF(obj);
3226 return returnValue;
3285 return returnValue;
3227 }
3286 }
3228 }
3287 }
3229 return QHexSpinBox::sharedPainter();
3288 return QHexSpinBox::sharedPainter();
3230 }
3289 }
3231 void PythonQtShell_QHexSpinBox::showEvent(QShowEvent* event)
3290 void PythonQtShell_QHexSpinBox::showEvent(QShowEvent* event)
3232 {
3291 {
3233 if (_wrapper) {
3292 if (_wrapper) {
3234 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "showEvent");
3293 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "showEvent");
3235 PyErr_Clear();
3294 PyErr_Clear();
3236 if (obj && !PythonQtSlotFunction_Check(obj)) {
3295 if (obj && !PythonQtSlotFunction_Check(obj)) {
3237 static const char* argumentList[] ={"" , "QShowEvent*"};
3296 static const char* argumentList[] ={"" , "QShowEvent*"};
3238 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
3297 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
3239 void* args[2] = {NULL, (void*)&event};
3298 void* args[2] = {NULL, (void*)&event};
3240 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
3299 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
3241 if (result) { Py_DECREF(result); }
3300 if (result) { Py_DECREF(result); }
3242 Py_DECREF(obj);
3301 Py_DECREF(obj);
3243 return;
3302 return;
3244 }
3303 }
3245 }
3304 }
3246 QHexSpinBox::showEvent(event);
3305 QHexSpinBox::showEvent(event);
3247 }
3306 }
3248 void PythonQtShell_QHexSpinBox::stepBy(int steps)
3307 void PythonQtShell_QHexSpinBox::stepBy(int steps)
3249 {
3308 {
3250 if (_wrapper) {
3309 if (_wrapper) {
3251 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "stepBy");
3310 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "stepBy");
3252 PyErr_Clear();
3311 PyErr_Clear();
3253 if (obj && !PythonQtSlotFunction_Check(obj)) {
3312 if (obj && !PythonQtSlotFunction_Check(obj)) {
3254 static const char* argumentList[] ={"" , "int"};
3313 static const char* argumentList[] ={"" , "int"};
3255 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
3314 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
3256 void* args[2] = {NULL, (void*)&steps};
3315 void* args[2] = {NULL, (void*)&steps};
3257 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
3316 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
3258 if (result) { Py_DECREF(result); }
3317 if (result) { Py_DECREF(result); }
3259 Py_DECREF(obj);
3318 Py_DECREF(obj);
3260 return;
3319 return;
3261 }
3320 }
3262 }
3321 }
3263 QHexSpinBox::stepBy(steps);
3322 QHexSpinBox::stepBy(steps);
3264 }
3323 }
3265 QAbstractSpinBox::StepEnabled PythonQtShell_QHexSpinBox::stepEnabled() const
3324 QAbstractSpinBox::StepEnabled PythonQtShell_QHexSpinBox::stepEnabled() const
3266 {
3325 {
3267 if (_wrapper) {
3326 if (_wrapper) {
3268 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "stepEnabled");
3327 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "stepEnabled");
3269 PyErr_Clear();
3328 PyErr_Clear();
3270 if (obj && !PythonQtSlotFunction_Check(obj)) {
3329 if (obj && !PythonQtSlotFunction_Check(obj)) {
3271 static const char* argumentList[] ={"QAbstractSpinBox::StepEnabled"};
3330 static const char* argumentList[] ={"QAbstractSpinBox::StepEnabled"};
3272 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList);
3331 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList);
3273 QAbstractSpinBox::StepEnabled returnValue;
3332 QAbstractSpinBox::StepEnabled returnValue;
3274 void* args[1] = {NULL};
3333 void* args[1] = {NULL};
3275 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
3334 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
3276 if (result) {
3335 if (result) {
3277 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);
3278 if (args[0]!=&returnValue) {
3337 if (args[0]!=&returnValue) {
3279 if (args[0]==NULL) {
3338 if (args[0]==NULL) {
3280 PythonQt::priv()->handleVirtualOverloadReturnError("stepEnabled", methodInfo, result);
3339 PythonQt::priv()->handleVirtualOverloadReturnError("stepEnabled", methodInfo, result);
3281 } else {
3340 } else {
3282 returnValue = *((QAbstractSpinBox::StepEnabled*)args[0]);
3341 returnValue = *((QAbstractSpinBox::StepEnabled*)args[0]);
3283 }
3342 }
3284 }
3343 }
3285 }
3344 }
3286 if (result) { Py_DECREF(result); }
3345 if (result) { Py_DECREF(result); }
3287 Py_DECREF(obj);
3346 Py_DECREF(obj);
3288 return returnValue;
3347 return returnValue;
3289 }
3348 }
3290 }
3349 }
3291 return QHexSpinBox::stepEnabled();
3350 return QHexSpinBox::stepEnabled();
3292 }
3351 }
3293 void PythonQtShell_QHexSpinBox::tabletEvent(QTabletEvent* arg__1)
3352 void PythonQtShell_QHexSpinBox::tabletEvent(QTabletEvent* arg__1)
3294 {
3353 {
3295 if (_wrapper) {
3354 if (_wrapper) {
3296 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "tabletEvent");
3355 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "tabletEvent");
3297 PyErr_Clear();
3356 PyErr_Clear();
3298 if (obj && !PythonQtSlotFunction_Check(obj)) {
3357 if (obj && !PythonQtSlotFunction_Check(obj)) {
3299 static const char* argumentList[] ={"" , "QTabletEvent*"};
3358 static const char* argumentList[] ={"" , "QTabletEvent*"};
3300 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
3359 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
3301 void* args[2] = {NULL, (void*)&arg__1};
3360 void* args[2] = {NULL, (void*)&arg__1};
3302 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
3361 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
3303 if (result) { Py_DECREF(result); }
3362 if (result) { Py_DECREF(result); }
3304 Py_DECREF(obj);
3363 Py_DECREF(obj);
3305 return;
3364 return;
3306 }
3365 }
3307 }
3366 }
3308 QHexSpinBox::tabletEvent(arg__1);
3367 QHexSpinBox::tabletEvent(arg__1);
3309 }
3368 }
3310 QString PythonQtShell_QHexSpinBox::textFromValue(int value) const
3369 QString PythonQtShell_QHexSpinBox::textFromValue(int value) const
3311 {
3370 {
3312 if (_wrapper) {
3371 if (_wrapper) {
3313 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "textFromValue");
3372 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "textFromValue");
3314 PyErr_Clear();
3373 PyErr_Clear();
3315 if (obj && !PythonQtSlotFunction_Check(obj)) {
3374 if (obj && !PythonQtSlotFunction_Check(obj)) {
3316 static const char* argumentList[] ={"QString" , "int"};
3375 static const char* argumentList[] ={"QString" , "int"};
3317 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
3376 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
3318 QString returnValue;
3377 QString returnValue;
3319 void* args[2] = {NULL, (void*)&value};
3378 void* args[2] = {NULL, (void*)&value};
3320 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
3379 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
3321 if (result) {
3380 if (result) {
3322 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);
3323 if (args[0]!=&returnValue) {
3382 if (args[0]!=&returnValue) {
3324 if (args[0]==NULL) {
3383 if (args[0]==NULL) {
3325 PythonQt::priv()->handleVirtualOverloadReturnError("textFromValue", methodInfo, result);
3384 PythonQt::priv()->handleVirtualOverloadReturnError("textFromValue", methodInfo, result);
3326 } else {
3385 } else {
3327 returnValue = *((QString*)args[0]);
3386 returnValue = *((QString*)args[0]);
3328 }
3387 }
3329 }
3388 }
3330 }
3389 }
3331 if (result) { Py_DECREF(result); }
3390 if (result) { Py_DECREF(result); }
3332 Py_DECREF(obj);
3391 Py_DECREF(obj);
3333 return returnValue;
3392 return returnValue;
3334 }
3393 }
3335 }
3394 }
3336 return QHexSpinBox::textFromValue(value);
3395 return QHexSpinBox::textFromValue(value);
3337 }
3396 }
3338 void PythonQtShell_QHexSpinBox::timerEvent(QTimerEvent* event)
3397 void PythonQtShell_QHexSpinBox::timerEvent(QTimerEvent* event)
3339 {
3398 {
3340 if (_wrapper) {
3399 if (_wrapper) {
3341 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "timerEvent");
3400 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "timerEvent");
3342 PyErr_Clear();
3401 PyErr_Clear();
3343 if (obj && !PythonQtSlotFunction_Check(obj)) {
3402 if (obj && !PythonQtSlotFunction_Check(obj)) {
3344 static const char* argumentList[] ={"" , "QTimerEvent*"};
3403 static const char* argumentList[] ={"" , "QTimerEvent*"};
3345 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
3404 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
3346 void* args[2] = {NULL, (void*)&event};
3405 void* args[2] = {NULL, (void*)&event};
3347 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
3406 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
3348 if (result) { Py_DECREF(result); }
3407 if (result) { Py_DECREF(result); }
3349 Py_DECREF(obj);
3408 Py_DECREF(obj);
3350 return;
3409 return;
3351 }
3410 }
3352 }
3411 }
3353 QHexSpinBox::timerEvent(event);
3412 QHexSpinBox::timerEvent(event);
3354 }
3413 }
3355 QValidator::State PythonQtShell_QHexSpinBox::validate(QString& input, int& pos) const
3414 QValidator::State PythonQtShell_QHexSpinBox::validate(QString& input, int& pos) const
3356 {
3415 {
3357 if (_wrapper) {
3416 if (_wrapper) {
3358 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "validate");
3417 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "validate");
3359 PyErr_Clear();
3418 PyErr_Clear();
3360 if (obj && !PythonQtSlotFunction_Check(obj)) {
3419 if (obj && !PythonQtSlotFunction_Check(obj)) {
3361 static const char* argumentList[] ={"QValidator::State" , "QString&" , "int&"};
3420 static const char* argumentList[] ={"QValidator::State" , "QString&" , "int&"};
3362 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList);
3421 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList);
3363 QValidator::State returnValue;
3422 QValidator::State returnValue;
3364 void* args[3] = {NULL, (void*)&input, (void*)&pos};
3423 void* args[3] = {NULL, (void*)&input, (void*)&pos};
3365 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
3424 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
3366 if (result) {
3425 if (result) {
3367 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);
3368 if (args[0]!=&returnValue) {
3427 if (args[0]!=&returnValue) {
3369 if (args[0]==NULL) {
3428 if (args[0]==NULL) {
3370 PythonQt::priv()->handleVirtualOverloadReturnError("validate", methodInfo, result);
3429 PythonQt::priv()->handleVirtualOverloadReturnError("validate", methodInfo, result);
3371 } else {
3430 } else {
3372 returnValue = *((QValidator::State*)args[0]);
3431 returnValue = *((QValidator::State*)args[0]);
3373 }
3432 }
3374 }
3433 }
3375 }
3434 }
3376 if (result) { Py_DECREF(result); }
3435 if (result) { Py_DECREF(result); }
3377 Py_DECREF(obj);
3436 Py_DECREF(obj);
3378 return returnValue;
3437 return returnValue;
3379 }
3438 }
3380 }
3439 }
3381 return QHexSpinBox::validate(input, pos);
3440 return QHexSpinBox::validate(input, pos);
3382 }
3441 }
3383 int PythonQtShell_QHexSpinBox::valueFromText(const QString& text) const
3442 int PythonQtShell_QHexSpinBox::valueFromText(const QString& text) const
3384 {
3443 {
3385 if (_wrapper) {
3444 if (_wrapper) {
3386 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "valueFromText");
3445 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "valueFromText");
3387 PyErr_Clear();
3446 PyErr_Clear();
3388 if (obj && !PythonQtSlotFunction_Check(obj)) {
3447 if (obj && !PythonQtSlotFunction_Check(obj)) {
3389 static const char* argumentList[] ={"int" , "const QString&"};
3448 static const char* argumentList[] ={"int" , "const QString&"};
3390 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
3449 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
3391 int returnValue;
3450 int returnValue;
3392 void* args[2] = {NULL, (void*)&text};
3451 void* args[2] = {NULL, (void*)&text};
3393 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
3452 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
3394 if (result) {
3453 if (result) {
3395 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);
3396 if (args[0]!=&returnValue) {
3455 if (args[0]!=&returnValue) {
3397 if (args[0]==NULL) {
3456 if (args[0]==NULL) {
3398 PythonQt::priv()->handleVirtualOverloadReturnError("valueFromText", methodInfo, result);
3457 PythonQt::priv()->handleVirtualOverloadReturnError("valueFromText", methodInfo, result);
3399 } else {
3458 } else {
3400 returnValue = *((int*)args[0]);
3459 returnValue = *((int*)args[0]);
3401 }
3460 }
3402 }
3461 }
3403 }
3462 }
3404 if (result) { Py_DECREF(result); }
3463 if (result) { Py_DECREF(result); }
3405 Py_DECREF(obj);
3464 Py_DECREF(obj);
3406 return returnValue;
3465 return returnValue;
3407 }
3466 }
3408 }
3467 }
3409 return QHexSpinBox::valueFromText(text);
3468 return QHexSpinBox::valueFromText(text);
3410 }
3469 }
3411 void PythonQtShell_QHexSpinBox::wheelEvent(QWheelEvent* event)
3470 void PythonQtShell_QHexSpinBox::wheelEvent(QWheelEvent* event)
3412 {
3471 {
3413 if (_wrapper) {
3472 if (_wrapper) {
3414 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "wheelEvent");
3473 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "wheelEvent");
3415 PyErr_Clear();
3474 PyErr_Clear();
3416 if (obj && !PythonQtSlotFunction_Check(obj)) {
3475 if (obj && !PythonQtSlotFunction_Check(obj)) {
3417 static const char* argumentList[] ={"" , "QWheelEvent*"};
3476 static const char* argumentList[] ={"" , "QWheelEvent*"};
3418 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
3477 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
3419 void* args[2] = {NULL, (void*)&event};
3478 void* args[2] = {NULL, (void*)&event};
3420 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
3479 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
3421 if (result) { Py_DECREF(result); }
3480 if (result) { Py_DECREF(result); }
3422 Py_DECREF(obj);
3481 Py_DECREF(obj);
3423 return;
3482 return;
3424 }
3483 }
3425 }
3484 }
3426 QHexSpinBox::wheelEvent(event);
3485 QHexSpinBox::wheelEvent(event);
3427 }
3486 }
3428 QHexSpinBox* PythonQtWrapper_QHexSpinBox::new_QHexSpinBox(QWidget* parent)
3487 QHexSpinBox* PythonQtWrapper_QHexSpinBox::new_QHexSpinBox(QWidget* parent)
3429 {
3488 {
3430 return new PythonQtShell_QHexSpinBox(parent); }
3489 return new PythonQtShell_QHexSpinBox(parent); }
3431
3490
3432 void PythonQtWrapper_QHexSpinBox::show(QHexSpinBox* theWrappedObject)
3491 void PythonQtWrapper_QHexSpinBox::show(QHexSpinBox* theWrappedObject)
3433 {
3492 {
3434 ( theWrappedObject->show());
3493 ( theWrappedObject->show());
3435 }
3494 }
3436
3495
3437 QString PythonQtWrapper_QHexSpinBox::textFromValue(QHexSpinBox* theWrappedObject, int value) const
3496 QString PythonQtWrapper_QHexSpinBox::textFromValue(QHexSpinBox* theWrappedObject, int value) const
3438 {
3497 {
3439 return ( ((PythonQtPublicPromoter_QHexSpinBox*)theWrappedObject)->promoted_textFromValue(value));
3498 return ( ((PythonQtPublicPromoter_QHexSpinBox*)theWrappedObject)->promoted_textFromValue(value));
3440 }
3499 }
3441
3500
3442 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
3443 {
3502 {
3444 return ( ((PythonQtPublicPromoter_QHexSpinBox*)theWrappedObject)->promoted_validate(input, pos));
3503 return ( ((PythonQtPublicPromoter_QHexSpinBox*)theWrappedObject)->promoted_validate(input, pos));
3445 }
3504 }
3446
3505
3447 int PythonQtWrapper_QHexSpinBox::valueFromText(QHexSpinBox* theWrappedObject, const QString& text) const
3506 int PythonQtWrapper_QHexSpinBox::valueFromText(QHexSpinBox* theWrappedObject, const QString& text) const
3448 {
3507 {
3449 return ( ((PythonQtPublicPromoter_QHexSpinBox*)theWrappedObject)->promoted_valueFromText(text));
3508 return ( ((PythonQtPublicPromoter_QHexSpinBox*)theWrappedObject)->promoted_valueFromText(text));
3450 }
3509 }
3451
3510
3452
3511
3453
3512
3454 PythonQtShell_SocExplorerPlot::~PythonQtShell_SocExplorerPlot() {
3513 PythonQtShell_SocExplorerPlot::~PythonQtShell_SocExplorerPlot() {
3455 PythonQtPrivate* priv = PythonQt::priv();
3514 PythonQtPrivate* priv = PythonQt::priv();
3456 if (priv) { priv->shellClassDeleted(this); }
3515 if (priv) { priv->shellClassDeleted(this); }
3457 }
3516 }
3458 void PythonQtShell_SocExplorerPlot::actionEvent(QActionEvent* arg__1)
3517 void PythonQtShell_SocExplorerPlot::actionEvent(QActionEvent* arg__1)
3459 {
3518 {
3460 if (_wrapper) {
3519 if (_wrapper) {
3461 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "actionEvent");
3520 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "actionEvent");
3462 PyErr_Clear();
3521 PyErr_Clear();
3463 if (obj && !PythonQtSlotFunction_Check(obj)) {
3522 if (obj && !PythonQtSlotFunction_Check(obj)) {
3464 static const char* argumentList[] ={"" , "QActionEvent*"};
3523 static const char* argumentList[] ={"" , "QActionEvent*"};
3465 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
3524 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
3466 void* args[2] = {NULL, (void*)&arg__1};
3525 void* args[2] = {NULL, (void*)&arg__1};
3467 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
3526 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
3468 if (result) { Py_DECREF(result); }
3527 if (result) { Py_DECREF(result); }
3469 Py_DECREF(obj);
3528 Py_DECREF(obj);
3470 return;
3529 return;
3471 }
3530 }
3472 }
3531 }
3473 SocExplorerPlot::actionEvent(arg__1);
3532 SocExplorerPlot::actionEvent(arg__1);
3474 }
3533 }
3475 void PythonQtShell_SocExplorerPlot::changeEvent(QEvent* arg__1)
3534 void PythonQtShell_SocExplorerPlot::changeEvent(QEvent* arg__1)
3476 {
3535 {
3477 if (_wrapper) {
3536 if (_wrapper) {
3478 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "changeEvent");
3537 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "changeEvent");
3479 PyErr_Clear();
3538 PyErr_Clear();
3480 if (obj && !PythonQtSlotFunction_Check(obj)) {
3539 if (obj && !PythonQtSlotFunction_Check(obj)) {
3481 static const char* argumentList[] ={"" , "QEvent*"};
3540 static const char* argumentList[] ={"" , "QEvent*"};
3482 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
3541 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
3483 void* args[2] = {NULL, (void*)&arg__1};
3542 void* args[2] = {NULL, (void*)&arg__1};
3484 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
3543 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
3485 if (result) { Py_DECREF(result); }
3544 if (result) { Py_DECREF(result); }
3486 Py_DECREF(obj);
3545 Py_DECREF(obj);
3487 return;
3546 return;
3488 }
3547 }
3489 }
3548 }
3490 SocExplorerPlot::changeEvent(arg__1);
3549 SocExplorerPlot::changeEvent(arg__1);
3491 }
3550 }
3492 void PythonQtShell_SocExplorerPlot::childEvent(QChildEvent* arg__1)
3551 void PythonQtShell_SocExplorerPlot::childEvent(QChildEvent* arg__1)
3493 {
3552 {
3494 if (_wrapper) {
3553 if (_wrapper) {
3495 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "childEvent");
3554 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "childEvent");
3496 PyErr_Clear();
3555 PyErr_Clear();
3497 if (obj && !PythonQtSlotFunction_Check(obj)) {
3556 if (obj && !PythonQtSlotFunction_Check(obj)) {
3498 static const char* argumentList[] ={"" , "QChildEvent*"};
3557 static const char* argumentList[] ={"" , "QChildEvent*"};
3499 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
3558 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
3500 void* args[2] = {NULL, (void*)&arg__1};
3559 void* args[2] = {NULL, (void*)&arg__1};
3501 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
3560 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
3502 if (result) { Py_DECREF(result); }
3561 if (result) { Py_DECREF(result); }
3503 Py_DECREF(obj);
3562 Py_DECREF(obj);
3504 return;
3563 return;
3505 }
3564 }
3506 }
3565 }
3507 SocExplorerPlot::childEvent(arg__1);
3566 SocExplorerPlot::childEvent(arg__1);
3508 }
3567 }
3509 void PythonQtShell_SocExplorerPlot::closeEvent(QCloseEvent* arg__1)
3568 void PythonQtShell_SocExplorerPlot::closeEvent(QCloseEvent* arg__1)
3510 {
3569 {
3511 if (_wrapper) {
3570 if (_wrapper) {
3512 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "closeEvent");
3571 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "closeEvent");
3513 PyErr_Clear();
3572 PyErr_Clear();
3514 if (obj && !PythonQtSlotFunction_Check(obj)) {
3573 if (obj && !PythonQtSlotFunction_Check(obj)) {
3515 static const char* argumentList[] ={"" , "QCloseEvent*"};
3574 static const char* argumentList[] ={"" , "QCloseEvent*"};
3516 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
3575 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
3517 void* args[2] = {NULL, (void*)&arg__1};
3576 void* args[2] = {NULL, (void*)&arg__1};
3518 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
3577 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
3519 if (result) { Py_DECREF(result); }
3578 if (result) { Py_DECREF(result); }
3520 Py_DECREF(obj);
3579 Py_DECREF(obj);
3521 return;
3580 return;
3522 }
3581 }
3523 }
3582 }
3524 SocExplorerPlot::closeEvent(arg__1);
3583 SocExplorerPlot::closeEvent(arg__1);
3525 }
3584 }
3526 void PythonQtShell_SocExplorerPlot::contextMenuEvent(QContextMenuEvent* arg__1)
3585 void PythonQtShell_SocExplorerPlot::contextMenuEvent(QContextMenuEvent* arg__1)
3527 {
3586 {
3528 if (_wrapper) {
3587 if (_wrapper) {
3529 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "contextMenuEvent");
3588 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "contextMenuEvent");
3530 PyErr_Clear();
3589 PyErr_Clear();
3531 if (obj && !PythonQtSlotFunction_Check(obj)) {
3590 if (obj && !PythonQtSlotFunction_Check(obj)) {
3532 static const char* argumentList[] ={"" , "QContextMenuEvent*"};
3591 static const char* argumentList[] ={"" , "QContextMenuEvent*"};
3533 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
3592 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
3534 void* args[2] = {NULL, (void*)&arg__1};
3593 void* args[2] = {NULL, (void*)&arg__1};
3535 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
3594 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
3536 if (result) { Py_DECREF(result); }
3595 if (result) { Py_DECREF(result); }
3537 Py_DECREF(obj);
3596 Py_DECREF(obj);
3538 return;
3597 return;
3539 }
3598 }
3540 }
3599 }
3541 SocExplorerPlot::contextMenuEvent(arg__1);
3600 SocExplorerPlot::contextMenuEvent(arg__1);
3542 }
3601 }
3543 void PythonQtShell_SocExplorerPlot::customEvent(QEvent* arg__1)
3602 void PythonQtShell_SocExplorerPlot::customEvent(QEvent* arg__1)
3544 {
3603 {
3545 if (_wrapper) {
3604 if (_wrapper) {
3546 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "customEvent");
3605 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "customEvent");
3547 PyErr_Clear();
3606 PyErr_Clear();
3548 if (obj && !PythonQtSlotFunction_Check(obj)) {
3607 if (obj && !PythonQtSlotFunction_Check(obj)) {
3549 static const char* argumentList[] ={"" , "QEvent*"};
3608 static const char* argumentList[] ={"" , "QEvent*"};
3550 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
3609 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
3551 void* args[2] = {NULL, (void*)&arg__1};
3610 void* args[2] = {NULL, (void*)&arg__1};
3552 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
3611 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
3553 if (result) { Py_DECREF(result); }
3612 if (result) { Py_DECREF(result); }
3554 Py_DECREF(obj);
3613 Py_DECREF(obj);
3555 return;
3614 return;
3556 }
3615 }
3557 }
3616 }
3558 SocExplorerPlot::customEvent(arg__1);
3617 SocExplorerPlot::customEvent(arg__1);
3559 }
3618 }
3560 int PythonQtShell_SocExplorerPlot::devType() const
3619 int PythonQtShell_SocExplorerPlot::devType() const
3561 {
3620 {
3562 if (_wrapper) {
3621 if (_wrapper) {
3563 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "devType");
3622 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "devType");
3564 PyErr_Clear();
3623 PyErr_Clear();
3565 if (obj && !PythonQtSlotFunction_Check(obj)) {
3624 if (obj && !PythonQtSlotFunction_Check(obj)) {
3566 static const char* argumentList[] ={"int"};
3625 static const char* argumentList[] ={"int"};
3567 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList);
3626 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList);
3568 int returnValue;
3627 int returnValue;
3569 void* args[1] = {NULL};
3628 void* args[1] = {NULL};
3570 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
3629 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
3571 if (result) {
3630 if (result) {
3572 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);
3573 if (args[0]!=&returnValue) {
3632 if (args[0]!=&returnValue) {
3574 if (args[0]==NULL) {
3633 if (args[0]==NULL) {
3575 PythonQt::priv()->handleVirtualOverloadReturnError("devType", methodInfo, result);
3634 PythonQt::priv()->handleVirtualOverloadReturnError("devType", methodInfo, result);
3576 } else {
3635 } else {
3577 returnValue = *((int*)args[0]);
3636 returnValue = *((int*)args[0]);
3578 }
3637 }
3579 }
3638 }
3580 }
3639 }
3581 if (result) { Py_DECREF(result); }
3640 if (result) { Py_DECREF(result); }
3582 Py_DECREF(obj);
3641 Py_DECREF(obj);
3583 return returnValue;
3642 return returnValue;
3584 }
3643 }
3585 }
3644 }
3586 return SocExplorerPlot::devType();
3645 return SocExplorerPlot::devType();
3587 }
3646 }
3588 void PythonQtShell_SocExplorerPlot::dragEnterEvent(QDragEnterEvent* arg__1)
3647 void PythonQtShell_SocExplorerPlot::dragEnterEvent(QDragEnterEvent* arg__1)
3589 {
3648 {
3590 if (_wrapper) {
3649 if (_wrapper) {
3591 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dragEnterEvent");
3650 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dragEnterEvent");
3592 PyErr_Clear();
3651 PyErr_Clear();
3593 if (obj && !PythonQtSlotFunction_Check(obj)) {
3652 if (obj && !PythonQtSlotFunction_Check(obj)) {
3594 static const char* argumentList[] ={"" , "QDragEnterEvent*"};
3653 static const char* argumentList[] ={"" , "QDragEnterEvent*"};
3595 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
3654 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
3596 void* args[2] = {NULL, (void*)&arg__1};
3655 void* args[2] = {NULL, (void*)&arg__1};
3597 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
3656 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
3598 if (result) { Py_DECREF(result); }
3657 if (result) { Py_DECREF(result); }
3599 Py_DECREF(obj);
3658 Py_DECREF(obj);
3600 return;
3659 return;
3601 }
3660 }
3602 }
3661 }
3603 SocExplorerPlot::dragEnterEvent(arg__1);
3662 SocExplorerPlot::dragEnterEvent(arg__1);
3604 }
3663 }
3605 void PythonQtShell_SocExplorerPlot::dragLeaveEvent(QDragLeaveEvent* arg__1)
3664 void PythonQtShell_SocExplorerPlot::dragLeaveEvent(QDragLeaveEvent* arg__1)
3606 {
3665 {
3607 if (_wrapper) {
3666 if (_wrapper) {
3608 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dragLeaveEvent");
3667 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dragLeaveEvent");
3609 PyErr_Clear();
3668 PyErr_Clear();
3610 if (obj && !PythonQtSlotFunction_Check(obj)) {
3669 if (obj && !PythonQtSlotFunction_Check(obj)) {
3611 static const char* argumentList[] ={"" , "QDragLeaveEvent*"};
3670 static const char* argumentList[] ={"" , "QDragLeaveEvent*"};
3612 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
3671 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
3613 void* args[2] = {NULL, (void*)&arg__1};
3672 void* args[2] = {NULL, (void*)&arg__1};
3614 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
3673 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
3615 if (result) { Py_DECREF(result); }
3674 if (result) { Py_DECREF(result); }
3616 Py_DECREF(obj);
3675 Py_DECREF(obj);
3617 return;
3676 return;
3618 }
3677 }
3619 }
3678 }
3620 SocExplorerPlot::dragLeaveEvent(arg__1);
3679 SocExplorerPlot::dragLeaveEvent(arg__1);
3621 }
3680 }
3622 void PythonQtShell_SocExplorerPlot::dragMoveEvent(QDragMoveEvent* arg__1)
3681 void PythonQtShell_SocExplorerPlot::dragMoveEvent(QDragMoveEvent* arg__1)
3623 {
3682 {
3624 if (_wrapper) {
3683 if (_wrapper) {
3625 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dragMoveEvent");
3684 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dragMoveEvent");
3626 PyErr_Clear();
3685 PyErr_Clear();
3627 if (obj && !PythonQtSlotFunction_Check(obj)) {
3686 if (obj && !PythonQtSlotFunction_Check(obj)) {
3628 static const char* argumentList[] ={"" , "QDragMoveEvent*"};
3687 static const char* argumentList[] ={"" , "QDragMoveEvent*"};
3629 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
3688 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
3630 void* args[2] = {NULL, (void*)&arg__1};
3689 void* args[2] = {NULL, (void*)&arg__1};
3631 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
3690 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
3632 if (result) { Py_DECREF(result); }
3691 if (result) { Py_DECREF(result); }
3633 Py_DECREF(obj);
3692 Py_DECREF(obj);
3634 return;
3693 return;
3635 }
3694 }
3636 }
3695 }
3637 SocExplorerPlot::dragMoveEvent(arg__1);
3696 SocExplorerPlot::dragMoveEvent(arg__1);
3638 }
3697 }
3639 void PythonQtShell_SocExplorerPlot::dropEvent(QDropEvent* arg__1)
3698 void PythonQtShell_SocExplorerPlot::dropEvent(QDropEvent* arg__1)
3640 {
3699 {
3641 if (_wrapper) {
3700 if (_wrapper) {
3642 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dropEvent");
3701 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dropEvent");
3643 PyErr_Clear();
3702 PyErr_Clear();
3644 if (obj && !PythonQtSlotFunction_Check(obj)) {
3703 if (obj && !PythonQtSlotFunction_Check(obj)) {
3645 static const char* argumentList[] ={"" , "QDropEvent*"};
3704 static const char* argumentList[] ={"" , "QDropEvent*"};
3646 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
3705 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
3647 void* args[2] = {NULL, (void*)&arg__1};
3706 void* args[2] = {NULL, (void*)&arg__1};
3648 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
3707 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
3649 if (result) { Py_DECREF(result); }
3708 if (result) { Py_DECREF(result); }
3650 Py_DECREF(obj);
3709 Py_DECREF(obj);
3651 return;
3710 return;
3652 }
3711 }
3653 }
3712 }
3654 SocExplorerPlot::dropEvent(arg__1);
3713 SocExplorerPlot::dropEvent(arg__1);
3655 }
3714 }
3656 void PythonQtShell_SocExplorerPlot::enterEvent(QEvent* arg__1)
3715 void PythonQtShell_SocExplorerPlot::enterEvent(QEvent* arg__1)
3657 {
3716 {
3658 if (_wrapper) {
3717 if (_wrapper) {
3659 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "enterEvent");
3718 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "enterEvent");
3660 PyErr_Clear();
3719 PyErr_Clear();
3661 if (obj && !PythonQtSlotFunction_Check(obj)) {
3720 if (obj && !PythonQtSlotFunction_Check(obj)) {
3662 static const char* argumentList[] ={"" , "QEvent*"};
3721 static const char* argumentList[] ={"" , "QEvent*"};
3663 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
3722 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
3664 void* args[2] = {NULL, (void*)&arg__1};
3723 void* args[2] = {NULL, (void*)&arg__1};
3665 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
3724 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
3666 if (result) { Py_DECREF(result); }
3725 if (result) { Py_DECREF(result); }
3667 Py_DECREF(obj);
3726 Py_DECREF(obj);
3668 return;
3727 return;
3669 }
3728 }
3670 }
3729 }
3671 SocExplorerPlot::enterEvent(arg__1);
3730 SocExplorerPlot::enterEvent(arg__1);
3672 }
3731 }
3673 bool PythonQtShell_SocExplorerPlot::event(QEvent* arg__1)
3732 bool PythonQtShell_SocExplorerPlot::event(QEvent* arg__1)
3674 {
3733 {
3675 if (_wrapper) {
3734 if (_wrapper) {
3676 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "event");
3735 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "event");
3677 PyErr_Clear();
3736 PyErr_Clear();
3678 if (obj && !PythonQtSlotFunction_Check(obj)) {
3737 if (obj && !PythonQtSlotFunction_Check(obj)) {
3679 static const char* argumentList[] ={"bool" , "QEvent*"};
3738 static const char* argumentList[] ={"bool" , "QEvent*"};
3680 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
3739 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
3681 bool returnValue;
3740 bool returnValue;
3682 void* args[2] = {NULL, (void*)&arg__1};
3741 void* args[2] = {NULL, (void*)&arg__1};
3683 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
3742 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
3684 if (result) {
3743 if (result) {
3685 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);
3686 if (args[0]!=&returnValue) {
3745 if (args[0]!=&returnValue) {
3687 if (args[0]==NULL) {
3746 if (args[0]==NULL) {
3688 PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result);
3747 PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result);
3689 } else {
3748 } else {
3690 returnValue = *((bool*)args[0]);
3749 returnValue = *((bool*)args[0]);
3691 }
3750 }
3692 }
3751 }
3693 }
3752 }
3694 if (result) { Py_DECREF(result); }
3753 if (result) { Py_DECREF(result); }
3695 Py_DECREF(obj);
3754 Py_DECREF(obj);
3696 return returnValue;
3755 return returnValue;
3697 }
3756 }
3698 }
3757 }
3699 return SocExplorerPlot::event(arg__1);
3758 return SocExplorerPlot::event(arg__1);
3700 }
3759 }
3701 bool PythonQtShell_SocExplorerPlot::eventFilter(QObject* arg__1, QEvent* arg__2)
3760 bool PythonQtShell_SocExplorerPlot::eventFilter(QObject* arg__1, QEvent* arg__2)
3702 {
3761 {
3703 if (_wrapper) {
3762 if (_wrapper) {
3704 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "eventFilter");
3763 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "eventFilter");
3705 PyErr_Clear();
3764 PyErr_Clear();
3706 if (obj && !PythonQtSlotFunction_Check(obj)) {
3765 if (obj && !PythonQtSlotFunction_Check(obj)) {
3707 static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"};
3766 static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"};
3708 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList);
3767 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList);
3709 bool returnValue;
3768 bool returnValue;
3710 void* args[3] = {NULL, (void*)&arg__1, (void*)&arg__2};
3769 void* args[3] = {NULL, (void*)&arg__1, (void*)&arg__2};
3711 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
3770 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
3712 if (result) {
3771 if (result) {
3713 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);
3714 if (args[0]!=&returnValue) {
3773 if (args[0]!=&returnValue) {
3715 if (args[0]==NULL) {
3774 if (args[0]==NULL) {
3716 PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result);
3775 PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result);
3717 } else {
3776 } else {
3718 returnValue = *((bool*)args[0]);
3777 returnValue = *((bool*)args[0]);
3719 }
3778 }
3720 }
3779 }
3721 }
3780 }
3722 if (result) { Py_DECREF(result); }
3781 if (result) { Py_DECREF(result); }
3723 Py_DECREF(obj);
3782 Py_DECREF(obj);
3724 return returnValue;
3783 return returnValue;
3725 }
3784 }
3726 }
3785 }
3727 return SocExplorerPlot::eventFilter(arg__1, arg__2);
3786 return SocExplorerPlot::eventFilter(arg__1, arg__2);
3728 }
3787 }
3729 void PythonQtShell_SocExplorerPlot::focusInEvent(QFocusEvent* arg__1)
3788 void PythonQtShell_SocExplorerPlot::focusInEvent(QFocusEvent* arg__1)
3730 {
3789 {
3731 if (_wrapper) {
3790 if (_wrapper) {
3732 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "focusInEvent");
3791 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "focusInEvent");
3733 PyErr_Clear();
3792 PyErr_Clear();
3734 if (obj && !PythonQtSlotFunction_Check(obj)) {
3793 if (obj && !PythonQtSlotFunction_Check(obj)) {
3735 static const char* argumentList[] ={"" , "QFocusEvent*"};
3794 static const char* argumentList[] ={"" , "QFocusEvent*"};
3736 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
3795 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
3737 void* args[2] = {NULL, (void*)&arg__1};
3796 void* args[2] = {NULL, (void*)&arg__1};
3738 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
3797 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
3739 if (result) { Py_DECREF(result); }
3798 if (result) { Py_DECREF(result); }
3740 Py_DECREF(obj);
3799 Py_DECREF(obj);
3741 return;
3800 return;
3742 }
3801 }
3743 }
3802 }
3744 SocExplorerPlot::focusInEvent(arg__1);
3803 SocExplorerPlot::focusInEvent(arg__1);
3745 }
3804 }
3746 bool PythonQtShell_SocExplorerPlot::focusNextPrevChild(bool next)
3805 bool PythonQtShell_SocExplorerPlot::focusNextPrevChild(bool next)
3747 {
3806 {
3748 if (_wrapper) {
3807 if (_wrapper) {
3749 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "focusNextPrevChild");
3808 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "focusNextPrevChild");
3750 PyErr_Clear();
3809 PyErr_Clear();
3751 if (obj && !PythonQtSlotFunction_Check(obj)) {
3810 if (obj && !PythonQtSlotFunction_Check(obj)) {
3752 static const char* argumentList[] ={"bool" , "bool"};
3811 static const char* argumentList[] ={"bool" , "bool"};
3753 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
3812 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
3754 bool returnValue;
3813 bool returnValue;
3755 void* args[2] = {NULL, (void*)&next};
3814 void* args[2] = {NULL, (void*)&next};
3756 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
3815 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
3757 if (result) {
3816 if (result) {
3758 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);
3759 if (args[0]!=&returnValue) {
3818 if (args[0]!=&returnValue) {
3760 if (args[0]==NULL) {
3819 if (args[0]==NULL) {
3761 PythonQt::priv()->handleVirtualOverloadReturnError("focusNextPrevChild", methodInfo, result);
3820 PythonQt::priv()->handleVirtualOverloadReturnError("focusNextPrevChild", methodInfo, result);
3762 } else {
3821 } else {
3763 returnValue = *((bool*)args[0]);
3822 returnValue = *((bool*)args[0]);
3764 }
3823 }
3765 }
3824 }
3766 }
3825 }
3767 if (result) { Py_DECREF(result); }
3826 if (result) { Py_DECREF(result); }
3768 Py_DECREF(obj);
3827 Py_DECREF(obj);
3769 return returnValue;
3828 return returnValue;
3770 }
3829 }
3771 }
3830 }
3772 return SocExplorerPlot::focusNextPrevChild(next);
3831 return SocExplorerPlot::focusNextPrevChild(next);
3773 }
3832 }
3774 void PythonQtShell_SocExplorerPlot::focusOutEvent(QFocusEvent* arg__1)
3833 void PythonQtShell_SocExplorerPlot::focusOutEvent(QFocusEvent* arg__1)
3775 {
3834 {
3776 if (_wrapper) {
3835 if (_wrapper) {
3777 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "focusOutEvent");
3836 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "focusOutEvent");
3778 PyErr_Clear();
3837 PyErr_Clear();
3779 if (obj && !PythonQtSlotFunction_Check(obj)) {
3838 if (obj && !PythonQtSlotFunction_Check(obj)) {
3780 static const char* argumentList[] ={"" , "QFocusEvent*"};
3839 static const char* argumentList[] ={"" , "QFocusEvent*"};
3781 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
3840 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
3782 void* args[2] = {NULL, (void*)&arg__1};
3841 void* args[2] = {NULL, (void*)&arg__1};
3783 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
3842 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
3784 if (result) { Py_DECREF(result); }
3843 if (result) { Py_DECREF(result); }
3785 Py_DECREF(obj);
3844 Py_DECREF(obj);
3786 return;
3845 return;
3787 }
3846 }
3788 }
3847 }
3789 SocExplorerPlot::focusOutEvent(arg__1);
3848 SocExplorerPlot::focusOutEvent(arg__1);
3790 }
3849 }
3791 bool PythonQtShell_SocExplorerPlot::hasHeightForWidth() const
3850 bool PythonQtShell_SocExplorerPlot::hasHeightForWidth() const
3792 {
3851 {
3793 if (_wrapper) {
3852 if (_wrapper) {
3794 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "hasHeightForWidth");
3853 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "hasHeightForWidth");
3795 PyErr_Clear();
3854 PyErr_Clear();
3796 if (obj && !PythonQtSlotFunction_Check(obj)) {
3855 if (obj && !PythonQtSlotFunction_Check(obj)) {
3797 static const char* argumentList[] ={"bool"};
3856 static const char* argumentList[] ={"bool"};
3798 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList);
3857 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList);
3799 bool returnValue;
3858 bool returnValue;
3800 void* args[1] = {NULL};
3859 void* args[1] = {NULL};
3801 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
3860 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
3802 if (result) {
3861 if (result) {
3803 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);
3804 if (args[0]!=&returnValue) {
3863 if (args[0]!=&returnValue) {
3805 if (args[0]==NULL) {
3864 if (args[0]==NULL) {
3806 PythonQt::priv()->handleVirtualOverloadReturnError("hasHeightForWidth", methodInfo, result);
3865 PythonQt::priv()->handleVirtualOverloadReturnError("hasHeightForWidth", methodInfo, result);
3807 } else {
3866 } else {
3808 returnValue = *((bool*)args[0]);
3867 returnValue = *((bool*)args[0]);
3809 }
3868 }
3810 }
3869 }
3811 }
3870 }
3812 if (result) { Py_DECREF(result); }
3871 if (result) { Py_DECREF(result); }
3813 Py_DECREF(obj);
3872 Py_DECREF(obj);
3814 return returnValue;
3873 return returnValue;
3815 }
3874 }
3816 }
3875 }
3817 return SocExplorerPlot::hasHeightForWidth();
3876 return SocExplorerPlot::hasHeightForWidth();
3818 }
3877 }
3819 int PythonQtShell_SocExplorerPlot::heightForWidth(int arg__1) const
3878 int PythonQtShell_SocExplorerPlot::heightForWidth(int arg__1) const
3820 {
3879 {
3821 if (_wrapper) {
3880 if (_wrapper) {
3822 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "heightForWidth");
3881 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "heightForWidth");
3823 PyErr_Clear();
3882 PyErr_Clear();
3824 if (obj && !PythonQtSlotFunction_Check(obj)) {
3883 if (obj && !PythonQtSlotFunction_Check(obj)) {
3825 static const char* argumentList[] ={"int" , "int"};
3884 static const char* argumentList[] ={"int" , "int"};
3826 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
3885 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
3827 int returnValue;
3886 int returnValue;
3828 void* args[2] = {NULL, (void*)&arg__1};
3887 void* args[2] = {NULL, (void*)&arg__1};
3829 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
3888 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
3830 if (result) {
3889 if (result) {
3831 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);
3832 if (args[0]!=&returnValue) {
3891 if (args[0]!=&returnValue) {
3833 if (args[0]==NULL) {
3892 if (args[0]==NULL) {
3834 PythonQt::priv()->handleVirtualOverloadReturnError("heightForWidth", methodInfo, result);
3893 PythonQt::priv()->handleVirtualOverloadReturnError("heightForWidth", methodInfo, result);
3835 } else {
3894 } else {
3836 returnValue = *((int*)args[0]);
3895 returnValue = *((int*)args[0]);
3837 }
3896 }
3838 }
3897 }
3839 }
3898 }
3840 if (result) { Py_DECREF(result); }
3899 if (result) { Py_DECREF(result); }
3841 Py_DECREF(obj);
3900 Py_DECREF(obj);
3842 return returnValue;
3901 return returnValue;
3843 }
3902 }
3844 }
3903 }
3845 return SocExplorerPlot::heightForWidth(arg__1);
3904 return SocExplorerPlot::heightForWidth(arg__1);
3846 }
3905 }
3847 void PythonQtShell_SocExplorerPlot::hideEvent(QHideEvent* arg__1)
3906 void PythonQtShell_SocExplorerPlot::hideEvent(QHideEvent* arg__1)
3848 {
3907 {
3849 if (_wrapper) {
3908 if (_wrapper) {
3850 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "hideEvent");
3909 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "hideEvent");
3851 PyErr_Clear();
3910 PyErr_Clear();
3852 if (obj && !PythonQtSlotFunction_Check(obj)) {
3911 if (obj && !PythonQtSlotFunction_Check(obj)) {
3853 static const char* argumentList[] ={"" , "QHideEvent*"};
3912 static const char* argumentList[] ={"" , "QHideEvent*"};
3854 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
3913 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
3855 void* args[2] = {NULL, (void*)&arg__1};
3914 void* args[2] = {NULL, (void*)&arg__1};
3856 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
3915 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
3857 if (result) { Py_DECREF(result); }
3916 if (result) { Py_DECREF(result); }
3858 Py_DECREF(obj);
3917 Py_DECREF(obj);
3859 return;
3918 return;
3860 }
3919 }
3861 }
3920 }
3862 SocExplorerPlot::hideEvent(arg__1);
3921 SocExplorerPlot::hideEvent(arg__1);
3863 }
3922 }
3864 void PythonQtShell_SocExplorerPlot::initPainter(QPainter* painter) const
3923 void PythonQtShell_SocExplorerPlot::initPainter(QPainter* painter) const
3865 {
3924 {
3866 if (_wrapper) {
3925 if (_wrapper) {
3867 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "initPainter");
3926 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "initPainter");
3868 PyErr_Clear();
3927 PyErr_Clear();
3869 if (obj && !PythonQtSlotFunction_Check(obj)) {
3928 if (obj && !PythonQtSlotFunction_Check(obj)) {
3870 static const char* argumentList[] ={"" , "QPainter*"};
3929 static const char* argumentList[] ={"" , "QPainter*"};
3871 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
3930 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
3872 void* args[2] = {NULL, (void*)&painter};
3931 void* args[2] = {NULL, (void*)&painter};
3873 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
3932 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
3874 if (result) { Py_DECREF(result); }
3933 if (result) { Py_DECREF(result); }
3875 Py_DECREF(obj);
3934 Py_DECREF(obj);
3876 return;
3935 return;
3877 }
3936 }
3878 }
3937 }
3879 SocExplorerPlot::initPainter(painter);
3938 SocExplorerPlot::initPainter(painter);
3880 }
3939 }
3881 void PythonQtShell_SocExplorerPlot::inputMethodEvent(QInputMethodEvent* arg__1)
3940 void PythonQtShell_SocExplorerPlot::inputMethodEvent(QInputMethodEvent* arg__1)
3882 {
3941 {
3883 if (_wrapper) {
3942 if (_wrapper) {
3884 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "inputMethodEvent");
3943 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "inputMethodEvent");
3885 PyErr_Clear();
3944 PyErr_Clear();
3886 if (obj && !PythonQtSlotFunction_Check(obj)) {
3945 if (obj && !PythonQtSlotFunction_Check(obj)) {
3887 static const char* argumentList[] ={"" , "QInputMethodEvent*"};
3946 static const char* argumentList[] ={"" , "QInputMethodEvent*"};
3888 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
3947 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
3889 void* args[2] = {NULL, (void*)&arg__1};
3948 void* args[2] = {NULL, (void*)&arg__1};
3890 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
3949 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
3891 if (result) { Py_DECREF(result); }
3950 if (result) { Py_DECREF(result); }
3892 Py_DECREF(obj);
3951 Py_DECREF(obj);
3893 return;
3952 return;
3894 }
3953 }
3895 }
3954 }
3896 SocExplorerPlot::inputMethodEvent(arg__1);
3955 SocExplorerPlot::inputMethodEvent(arg__1);
3897 }
3956 }
3898 QVariant PythonQtShell_SocExplorerPlot::inputMethodQuery(Qt::InputMethodQuery arg__1) const
3957 QVariant PythonQtShell_SocExplorerPlot::inputMethodQuery(Qt::InputMethodQuery arg__1) const
3899 {
3958 {
3900 if (_wrapper) {
3959 if (_wrapper) {
3901 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "inputMethodQuery");
3960 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "inputMethodQuery");
3902 PyErr_Clear();
3961 PyErr_Clear();
3903 if (obj && !PythonQtSlotFunction_Check(obj)) {
3962 if (obj && !PythonQtSlotFunction_Check(obj)) {
3904 static const char* argumentList[] ={"QVariant" , "Qt::InputMethodQuery"};
3963 static const char* argumentList[] ={"QVariant" , "Qt::InputMethodQuery"};
3905 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
3964 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
3906 QVariant returnValue;
3965 QVariant returnValue;
3907 void* args[2] = {NULL, (void*)&arg__1};
3966 void* args[2] = {NULL, (void*)&arg__1};
3908 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
3967 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
3909 if (result) {
3968 if (result) {
3910 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);
3911 if (args[0]!=&returnValue) {
3970 if (args[0]!=&returnValue) {
3912 if (args[0]==NULL) {
3971 if (args[0]==NULL) {
3913 PythonQt::priv()->handleVirtualOverloadReturnError("inputMethodQuery", methodInfo, result);
3972 PythonQt::priv()->handleVirtualOverloadReturnError("inputMethodQuery", methodInfo, result);
3914 } else {
3973 } else {
3915 returnValue = *((QVariant*)args[0]);
3974 returnValue = *((QVariant*)args[0]);
3916 }
3975 }
3917 }
3976 }
3918 }
3977 }
3919 if (result) { Py_DECREF(result); }
3978 if (result) { Py_DECREF(result); }
3920 Py_DECREF(obj);
3979 Py_DECREF(obj);
3921 return returnValue;
3980 return returnValue;
3922 }
3981 }
3923 }
3982 }
3924 return SocExplorerPlot::inputMethodQuery(arg__1);
3983 return SocExplorerPlot::inputMethodQuery(arg__1);
3925 }
3984 }
3926 void PythonQtShell_SocExplorerPlot::keyPressEvent(QKeyEvent* arg__1)
3985 void PythonQtShell_SocExplorerPlot::keyPressEvent(QKeyEvent* arg__1)
3927 {
3986 {
3928 if (_wrapper) {
3987 if (_wrapper) {
3929 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "keyPressEvent");
3988 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "keyPressEvent");
3930 PyErr_Clear();
3989 PyErr_Clear();
3931 if (obj && !PythonQtSlotFunction_Check(obj)) {
3990 if (obj && !PythonQtSlotFunction_Check(obj)) {
3932 static const char* argumentList[] ={"" , "QKeyEvent*"};
3991 static const char* argumentList[] ={"" , "QKeyEvent*"};
3933 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
3992 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
3934 void* args[2] = {NULL, (void*)&arg__1};
3993 void* args[2] = {NULL, (void*)&arg__1};
3935 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
3994 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
3936 if (result) { Py_DECREF(result); }
3995 if (result) { Py_DECREF(result); }
3937 Py_DECREF(obj);
3996 Py_DECREF(obj);
3938 return;
3997 return;
3939 }
3998 }
3940 }
3999 }
3941 SocExplorerPlot::keyPressEvent(arg__1);
4000 SocExplorerPlot::keyPressEvent(arg__1);
3942 }
4001 }
3943 void PythonQtShell_SocExplorerPlot::keyReleaseEvent(QKeyEvent* arg__1)
4002 void PythonQtShell_SocExplorerPlot::keyReleaseEvent(QKeyEvent* arg__1)
3944 {
4003 {
3945 if (_wrapper) {
4004 if (_wrapper) {
3946 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "keyReleaseEvent");
4005 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "keyReleaseEvent");
3947 PyErr_Clear();
4006 PyErr_Clear();
3948 if (obj && !PythonQtSlotFunction_Check(obj)) {
4007 if (obj && !PythonQtSlotFunction_Check(obj)) {
3949 static const char* argumentList[] ={"" , "QKeyEvent*"};
4008 static const char* argumentList[] ={"" , "QKeyEvent*"};
3950 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
4009 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
3951 void* args[2] = {NULL, (void*)&arg__1};
4010 void* args[2] = {NULL, (void*)&arg__1};
3952 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
4011 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
3953 if (result) { Py_DECREF(result); }
4012 if (result) { Py_DECREF(result); }
3954 Py_DECREF(obj);
4013 Py_DECREF(obj);
3955 return;
4014 return;
3956 }
4015 }
3957 }
4016 }
3958 SocExplorerPlot::keyReleaseEvent(arg__1);
4017 SocExplorerPlot::keyReleaseEvent(arg__1);
3959 }
4018 }
3960 void PythonQtShell_SocExplorerPlot::leaveEvent(QEvent* arg__1)
4019 void PythonQtShell_SocExplorerPlot::leaveEvent(QEvent* arg__1)
3961 {
4020 {
3962 if (_wrapper) {
4021 if (_wrapper) {
3963 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "leaveEvent");
4022 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "leaveEvent");
3964 PyErr_Clear();
4023 PyErr_Clear();
3965 if (obj && !PythonQtSlotFunction_Check(obj)) {
4024 if (obj && !PythonQtSlotFunction_Check(obj)) {
3966 static const char* argumentList[] ={"" , "QEvent*"};
4025 static const char* argumentList[] ={"" , "QEvent*"};
3967 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
4026 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
3968 void* args[2] = {NULL, (void*)&arg__1};
4027 void* args[2] = {NULL, (void*)&arg__1};
3969 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
4028 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
3970 if (result) { Py_DECREF(result); }
4029 if (result) { Py_DECREF(result); }
3971 Py_DECREF(obj);
4030 Py_DECREF(obj);
3972 return;
4031 return;
3973 }
4032 }
3974 }
4033 }
3975 SocExplorerPlot::leaveEvent(arg__1);
4034 SocExplorerPlot::leaveEvent(arg__1);
3976 }
4035 }
3977 int PythonQtShell_SocExplorerPlot::metric(QPaintDevice::PaintDeviceMetric arg__1) const
4036 int PythonQtShell_SocExplorerPlot::metric(QPaintDevice::PaintDeviceMetric arg__1) const
3978 {
4037 {
3979 if (_wrapper) {
4038 if (_wrapper) {
3980 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "metric");
4039 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "metric");
3981 PyErr_Clear();
4040 PyErr_Clear();
3982 if (obj && !PythonQtSlotFunction_Check(obj)) {
4041 if (obj && !PythonQtSlotFunction_Check(obj)) {
3983 static const char* argumentList[] ={"int" , "QPaintDevice::PaintDeviceMetric"};
4042 static const char* argumentList[] ={"int" , "QPaintDevice::PaintDeviceMetric"};
3984 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
4043 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
3985 int returnValue;
4044 int returnValue;
3986 void* args[2] = {NULL, (void*)&arg__1};
4045 void* args[2] = {NULL, (void*)&arg__1};
3987 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
4046 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
3988 if (result) {
4047 if (result) {
3989 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);
3990 if (args[0]!=&returnValue) {
4049 if (args[0]!=&returnValue) {
3991 if (args[0]==NULL) {
4050 if (args[0]==NULL) {
3992 PythonQt::priv()->handleVirtualOverloadReturnError("metric", methodInfo, result);
4051 PythonQt::priv()->handleVirtualOverloadReturnError("metric", methodInfo, result);
3993 } else {
4052 } else {
3994 returnValue = *((int*)args[0]);
4053 returnValue = *((int*)args[0]);
3995 }
4054 }
3996 }
4055 }
3997 }
4056 }
3998 if (result) { Py_DECREF(result); }
4057 if (result) { Py_DECREF(result); }
3999 Py_DECREF(obj);
4058 Py_DECREF(obj);
4000 return returnValue;
4059 return returnValue;
4001 }
4060 }
4002 }
4061 }
4003 return SocExplorerPlot::metric(arg__1);
4062 return SocExplorerPlot::metric(arg__1);
4004 }
4063 }
4005 QSize PythonQtShell_SocExplorerPlot::minimumSizeHint() const
4064 QSize PythonQtShell_SocExplorerPlot::minimumSizeHint() const
4006 {
4065 {
4007 if (_wrapper) {
4066 if (_wrapper) {
4008 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "getMinimumSizeHint");
4067 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "getMinimumSizeHint");
4009 PyErr_Clear();
4068 PyErr_Clear();
4010 if (obj && !PythonQtSlotFunction_Check(obj)) {
4069 if (obj && !PythonQtSlotFunction_Check(obj)) {
4011 static const char* argumentList[] ={"QSize"};
4070 static const char* argumentList[] ={"QSize"};
4012 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList);
4071 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList);
4013 QSize returnValue;
4072 QSize returnValue;
4014 void* args[1] = {NULL};
4073 void* args[1] = {NULL};
4015 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
4074 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
4016 if (result) {
4075 if (result) {
4017 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);
4018 if (args[0]!=&returnValue) {
4077 if (args[0]!=&returnValue) {
4019 if (args[0]==NULL) {
4078 if (args[0]==NULL) {
4020 PythonQt::priv()->handleVirtualOverloadReturnError("getMinimumSizeHint", methodInfo, result);
4079 PythonQt::priv()->handleVirtualOverloadReturnError("getMinimumSizeHint", methodInfo, result);
4021 } else {
4080 } else {
4022 returnValue = *((QSize*)args[0]);
4081 returnValue = *((QSize*)args[0]);
4023 }
4082 }
4024 }
4083 }
4025 }
4084 }
4026 if (result) { Py_DECREF(result); }
4085 if (result) { Py_DECREF(result); }
4027 Py_DECREF(obj);
4086 Py_DECREF(obj);
4028 return returnValue;
4087 return returnValue;
4029 }
4088 }
4030 }
4089 }
4031 return SocExplorerPlot::minimumSizeHint();
4090 return SocExplorerPlot::minimumSizeHint();
4032 }
4091 }
4033 void PythonQtShell_SocExplorerPlot::mouseDoubleClickEvent(QMouseEvent* arg__1)
4092 void PythonQtShell_SocExplorerPlot::mouseDoubleClickEvent(QMouseEvent* arg__1)
4034 {
4093 {
4035 if (_wrapper) {
4094 if (_wrapper) {
4036 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mouseDoubleClickEvent");
4095 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mouseDoubleClickEvent");
4037 PyErr_Clear();
4096 PyErr_Clear();
4038 if (obj && !PythonQtSlotFunction_Check(obj)) {
4097 if (obj && !PythonQtSlotFunction_Check(obj)) {
4039 static const char* argumentList[] ={"" , "QMouseEvent*"};
4098 static const char* argumentList[] ={"" , "QMouseEvent*"};
4040 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
4099 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
4041 void* args[2] = {NULL, (void*)&arg__1};
4100 void* args[2] = {NULL, (void*)&arg__1};
4042 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
4101 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
4043 if (result) { Py_DECREF(result); }
4102 if (result) { Py_DECREF(result); }
4044 Py_DECREF(obj);
4103 Py_DECREF(obj);
4045 return;
4104 return;
4046 }
4105 }
4047 }
4106 }
4048 SocExplorerPlot::mouseDoubleClickEvent(arg__1);
4107 SocExplorerPlot::mouseDoubleClickEvent(arg__1);
4049 }
4108 }
4050 void PythonQtShell_SocExplorerPlot::mouseMoveEvent(QMouseEvent* arg__1)
4109 void PythonQtShell_SocExplorerPlot::mouseMoveEvent(QMouseEvent* arg__1)
4051 {
4110 {
4052 if (_wrapper) {
4111 if (_wrapper) {
4053 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mouseMoveEvent");
4112 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mouseMoveEvent");
4054 PyErr_Clear();
4113 PyErr_Clear();
4055 if (obj && !PythonQtSlotFunction_Check(obj)) {
4114 if (obj && !PythonQtSlotFunction_Check(obj)) {
4056 static const char* argumentList[] ={"" , "QMouseEvent*"};
4115 static const char* argumentList[] ={"" , "QMouseEvent*"};
4057 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
4116 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
4058 void* args[2] = {NULL, (void*)&arg__1};
4117 void* args[2] = {NULL, (void*)&arg__1};
4059 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
4118 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
4060 if (result) { Py_DECREF(result); }
4119 if (result) { Py_DECREF(result); }
4061 Py_DECREF(obj);
4120 Py_DECREF(obj);
4062 return;
4121 return;
4063 }
4122 }
4064 }
4123 }
4065 SocExplorerPlot::mouseMoveEvent(arg__1);
4124 SocExplorerPlot::mouseMoveEvent(arg__1);
4066 }
4125 }
4067 void PythonQtShell_SocExplorerPlot::mousePressEvent(QMouseEvent* arg__1)
4126 void PythonQtShell_SocExplorerPlot::mousePressEvent(QMouseEvent* arg__1)
4068 {
4127 {
4069 if (_wrapper) {
4128 if (_wrapper) {
4070 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mousePressEvent");
4129 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mousePressEvent");
4071 PyErr_Clear();
4130 PyErr_Clear();
4072 if (obj && !PythonQtSlotFunction_Check(obj)) {
4131 if (obj && !PythonQtSlotFunction_Check(obj)) {
4073 static const char* argumentList[] ={"" , "QMouseEvent*"};
4132 static const char* argumentList[] ={"" , "QMouseEvent*"};
4074 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
4133 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
4075 void* args[2] = {NULL, (void*)&arg__1};
4134 void* args[2] = {NULL, (void*)&arg__1};
4076 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
4135 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
4077 if (result) { Py_DECREF(result); }
4136 if (result) { Py_DECREF(result); }
4078 Py_DECREF(obj);
4137 Py_DECREF(obj);
4079 return;
4138 return;
4080 }
4139 }
4081 }
4140 }
4082 SocExplorerPlot::mousePressEvent(arg__1);
4141 SocExplorerPlot::mousePressEvent(arg__1);
4083 }
4142 }
4084 void PythonQtShell_SocExplorerPlot::mouseReleaseEvent(QMouseEvent* arg__1)
4143 void PythonQtShell_SocExplorerPlot::mouseReleaseEvent(QMouseEvent* arg__1)
4085 {
4144 {
4086 if (_wrapper) {
4145 if (_wrapper) {
4087 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mouseReleaseEvent");
4146 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mouseReleaseEvent");
4088 PyErr_Clear();
4147 PyErr_Clear();
4089 if (obj && !PythonQtSlotFunction_Check(obj)) {
4148 if (obj && !PythonQtSlotFunction_Check(obj)) {
4090 static const char* argumentList[] ={"" , "QMouseEvent*"};
4149 static const char* argumentList[] ={"" , "QMouseEvent*"};
4091 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
4150 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
4092 void* args[2] = {NULL, (void*)&arg__1};
4151 void* args[2] = {NULL, (void*)&arg__1};
4093 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
4152 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
4094 if (result) { Py_DECREF(result); }
4153 if (result) { Py_DECREF(result); }
4095 Py_DECREF(obj);
4154 Py_DECREF(obj);
4096 return;
4155 return;
4097 }
4156 }
4098 }
4157 }
4099 SocExplorerPlot::mouseReleaseEvent(arg__1);
4158 SocExplorerPlot::mouseReleaseEvent(arg__1);
4100 }
4159 }
4101 void PythonQtShell_SocExplorerPlot::moveEvent(QMoveEvent* arg__1)
4160 void PythonQtShell_SocExplorerPlot::moveEvent(QMoveEvent* arg__1)
4102 {
4161 {
4103 if (_wrapper) {
4162 if (_wrapper) {
4104 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "moveEvent");
4163 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "moveEvent");
4105 PyErr_Clear();
4164 PyErr_Clear();
4106 if (obj && !PythonQtSlotFunction_Check(obj)) {
4165 if (obj && !PythonQtSlotFunction_Check(obj)) {
4107 static const char* argumentList[] ={"" , "QMoveEvent*"};
4166 static const char* argumentList[] ={"" , "QMoveEvent*"};
4108 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
4167 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
4109 void* args[2] = {NULL, (void*)&arg__1};
4168 void* args[2] = {NULL, (void*)&arg__1};
4110 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
4169 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
4111 if (result) { Py_DECREF(result); }
4170 if (result) { Py_DECREF(result); }
4112 Py_DECREF(obj);
4171 Py_DECREF(obj);
4113 return;
4172 return;
4114 }
4173 }
4115 }
4174 }
4116 SocExplorerPlot::moveEvent(arg__1);
4175 SocExplorerPlot::moveEvent(arg__1);
4117 }
4176 }
4118 bool PythonQtShell_SocExplorerPlot::nativeEvent(const QByteArray& eventType, void* message, long* result)
4177 bool PythonQtShell_SocExplorerPlot::nativeEvent(const QByteArray& eventType, void* message, long* result)
4119 {
4178 {
4120 if (_wrapper) {
4179 if (_wrapper) {
4121 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "nativeEvent");
4180 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "nativeEvent");
4122 PyErr_Clear();
4181 PyErr_Clear();
4123 if (obj && !PythonQtSlotFunction_Check(obj)) {
4182 if (obj && !PythonQtSlotFunction_Check(obj)) {
4124 static const char* argumentList[] ={"bool" , "const QByteArray&" , "void*" , "long*"};
4183 static const char* argumentList[] ={"bool" , "const QByteArray&" , "void*" , "long*"};
4125 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList);
4184 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList);
4126 bool returnValue;
4185 bool returnValue;
4127 void* args[4] = {NULL, (void*)&eventType, (void*)&message, (void*)&result};
4186 void* args[4] = {NULL, (void*)&eventType, (void*)&message, (void*)&result};
4128 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
4187 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
4129 if (result) {
4188 if (result) {
4130 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);
4131 if (args[0]!=&returnValue) {
4190 if (args[0]!=&returnValue) {
4132 if (args[0]==NULL) {
4191 if (args[0]==NULL) {
4133 PythonQt::priv()->handleVirtualOverloadReturnError("nativeEvent", methodInfo, result);
4192 PythonQt::priv()->handleVirtualOverloadReturnError("nativeEvent", methodInfo, result);
4134 } else {
4193 } else {
4135 returnValue = *((bool*)args[0]);
4194 returnValue = *((bool*)args[0]);
4136 }
4195 }
4137 }
4196 }
4138 }
4197 }
4139 if (result) { Py_DECREF(result); }
4198 if (result) { Py_DECREF(result); }
4140 Py_DECREF(obj);
4199 Py_DECREF(obj);
4141 return returnValue;
4200 return returnValue;
4142 }
4201 }
4143 }
4202 }
4144 return SocExplorerPlot::nativeEvent(eventType, message, result);
4203 return SocExplorerPlot::nativeEvent(eventType, message, result);
4145 }
4204 }
4146 QPaintEngine* PythonQtShell_SocExplorerPlot::paintEngine() const
4205 QPaintEngine* PythonQtShell_SocExplorerPlot::paintEngine() const
4147 {
4206 {
4148 if (_wrapper) {
4207 if (_wrapper) {
4149 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "paintEngine");
4208 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "paintEngine");
4150 PyErr_Clear();
4209 PyErr_Clear();
4151 if (obj && !PythonQtSlotFunction_Check(obj)) {
4210 if (obj && !PythonQtSlotFunction_Check(obj)) {
4152 static const char* argumentList[] ={"QPaintEngine*"};
4211 static const char* argumentList[] ={"QPaintEngine*"};
4153 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList);
4212 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList);
4154 QPaintEngine* returnValue;
4213 QPaintEngine* returnValue;
4155 void* args[1] = {NULL};
4214 void* args[1] = {NULL};
4156 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
4215 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
4157 if (result) {
4216 if (result) {
4158 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);
4159 if (args[0]!=&returnValue) {
4218 if (args[0]!=&returnValue) {
4160 if (args[0]==NULL) {
4219 if (args[0]==NULL) {
4161 PythonQt::priv()->handleVirtualOverloadReturnError("paintEngine", methodInfo, result);
4220 PythonQt::priv()->handleVirtualOverloadReturnError("paintEngine", methodInfo, result);
4162 } else {
4221 } else {
4163 returnValue = *((QPaintEngine**)args[0]);
4222 returnValue = *((QPaintEngine**)args[0]);
4164 }
4223 }
4165 }
4224 }
4166 }
4225 }
4167 if (result) { Py_DECREF(result); }
4226 if (result) { Py_DECREF(result); }
4168 Py_DECREF(obj);
4227 Py_DECREF(obj);
4169 return returnValue;
4228 return returnValue;
4170 }
4229 }
4171 }
4230 }
4172 return SocExplorerPlot::paintEngine();
4231 return SocExplorerPlot::paintEngine();
4173 }
4232 }
4174 void PythonQtShell_SocExplorerPlot::paintEvent(QPaintEvent* arg__1)
4233 void PythonQtShell_SocExplorerPlot::paintEvent(QPaintEvent* arg__1)
4175 {
4234 {
4176 if (_wrapper) {
4235 if (_wrapper) {
4177 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "paintEvent");
4236 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "paintEvent");
4178 PyErr_Clear();
4237 PyErr_Clear();
4179 if (obj && !PythonQtSlotFunction_Check(obj)) {
4238 if (obj && !PythonQtSlotFunction_Check(obj)) {
4180 static const char* argumentList[] ={"" , "QPaintEvent*"};
4239 static const char* argumentList[] ={"" , "QPaintEvent*"};
4181 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
4240 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
4182 void* args[2] = {NULL, (void*)&arg__1};
4241 void* args[2] = {NULL, (void*)&arg__1};
4183 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
4242 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
4184 if (result) { Py_DECREF(result); }
4243 if (result) { Py_DECREF(result); }
4185 Py_DECREF(obj);
4244 Py_DECREF(obj);
4186 return;
4245 return;
4187 }
4246 }
4188 }
4247 }
4189 SocExplorerPlot::paintEvent(arg__1);
4248 SocExplorerPlot::paintEvent(arg__1);
4190 }
4249 }
4191 QPaintDevice* PythonQtShell_SocExplorerPlot::redirected(QPoint* offset) const
4250 QPaintDevice* PythonQtShell_SocExplorerPlot::redirected(QPoint* offset) const
4192 {
4251 {
4193 if (_wrapper) {
4252 if (_wrapper) {
4194 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "redirected");
4253 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "redirected");
4195 PyErr_Clear();
4254 PyErr_Clear();
4196 if (obj && !PythonQtSlotFunction_Check(obj)) {
4255 if (obj && !PythonQtSlotFunction_Check(obj)) {
4197 static const char* argumentList[] ={"QPaintDevice*" , "QPoint*"};
4256 static const char* argumentList[] ={"QPaintDevice*" , "QPoint*"};
4198 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
4257 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
4199 QPaintDevice* returnValue;
4258 QPaintDevice* returnValue;
4200 void* args[2] = {NULL, (void*)&offset};
4259 void* args[2] = {NULL, (void*)&offset};
4201 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
4260 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
4202 if (result) {
4261 if (result) {
4203 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);
4204 if (args[0]!=&returnValue) {
4263 if (args[0]!=&returnValue) {
4205 if (args[0]==NULL) {
4264 if (args[0]==NULL) {
4206 PythonQt::priv()->handleVirtualOverloadReturnError("redirected", methodInfo, result);
4265 PythonQt::priv()->handleVirtualOverloadReturnError("redirected", methodInfo, result);
4207 } else {
4266 } else {
4208 returnValue = *((QPaintDevice**)args[0]);
4267 returnValue = *((QPaintDevice**)args[0]);
4209 }
4268 }
4210 }
4269 }
4211 }
4270 }
4212 if (result) { Py_DECREF(result); }
4271 if (result) { Py_DECREF(result); }
4213 Py_DECREF(obj);
4272 Py_DECREF(obj);
4214 return returnValue;
4273 return returnValue;
4215 }
4274 }
4216 }
4275 }
4217 return SocExplorerPlot::redirected(offset);
4276 return SocExplorerPlot::redirected(offset);
4218 }
4277 }
4219 void PythonQtShell_SocExplorerPlot::resizeEvent(QResizeEvent* arg__1)
4278 void PythonQtShell_SocExplorerPlot::resizeEvent(QResizeEvent* arg__1)
4220 {
4279 {
4221 if (_wrapper) {
4280 if (_wrapper) {
4222 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "resizeEvent");
4281 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "resizeEvent");
4223 PyErr_Clear();
4282 PyErr_Clear();
4224 if (obj && !PythonQtSlotFunction_Check(obj)) {
4283 if (obj && !PythonQtSlotFunction_Check(obj)) {
4225 static const char* argumentList[] ={"" , "QResizeEvent*"};
4284 static const char* argumentList[] ={"" , "QResizeEvent*"};
4226 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
4285 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
4227 void* args[2] = {NULL, (void*)&arg__1};
4286 void* args[2] = {NULL, (void*)&arg__1};
4228 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
4287 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
4229 if (result) { Py_DECREF(result); }
4288 if (result) { Py_DECREF(result); }
4230 Py_DECREF(obj);
4289 Py_DECREF(obj);
4231 return;
4290 return;
4232 }
4291 }
4233 }
4292 }
4234 SocExplorerPlot::resizeEvent(arg__1);
4293 SocExplorerPlot::resizeEvent(arg__1);
4235 }
4294 }
4236 QPainter* PythonQtShell_SocExplorerPlot::sharedPainter() const
4295 QPainter* PythonQtShell_SocExplorerPlot::sharedPainter() const
4237 {
4296 {
4238 if (_wrapper) {
4297 if (_wrapper) {
4239 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "sharedPainter");
4298 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "sharedPainter");
4240 PyErr_Clear();
4299 PyErr_Clear();
4241 if (obj && !PythonQtSlotFunction_Check(obj)) {
4300 if (obj && !PythonQtSlotFunction_Check(obj)) {
4242 static const char* argumentList[] ={"QPainter*"};
4301 static const char* argumentList[] ={"QPainter*"};
4243 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList);
4302 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList);
4244 QPainter* returnValue;
4303 QPainter* returnValue;
4245 void* args[1] = {NULL};
4304 void* args[1] = {NULL};
4246 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
4305 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
4247 if (result) {
4306 if (result) {
4248 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);
4249 if (args[0]!=&returnValue) {
4308 if (args[0]!=&returnValue) {
4250 if (args[0]==NULL) {
4309 if (args[0]==NULL) {
4251 PythonQt::priv()->handleVirtualOverloadReturnError("sharedPainter", methodInfo, result);
4310 PythonQt::priv()->handleVirtualOverloadReturnError("sharedPainter", methodInfo, result);
4252 } else {
4311 } else {
4253 returnValue = *((QPainter**)args[0]);
4312 returnValue = *((QPainter**)args[0]);
4254 }
4313 }
4255 }
4314 }
4256 }
4315 }
4257 if (result) { Py_DECREF(result); }
4316 if (result) { Py_DECREF(result); }
4258 Py_DECREF(obj);
4317 Py_DECREF(obj);
4259 return returnValue;
4318 return returnValue;
4260 }
4319 }
4261 }
4320 }
4262 return SocExplorerPlot::sharedPainter();
4321 return SocExplorerPlot::sharedPainter();
4263 }
4322 }
4264 void PythonQtShell_SocExplorerPlot::showEvent(QShowEvent* arg__1)
4323 void PythonQtShell_SocExplorerPlot::showEvent(QShowEvent* arg__1)
4265 {
4324 {
4266 if (_wrapper) {
4325 if (_wrapper) {
4267 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "showEvent");
4326 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "showEvent");
4268 PyErr_Clear();
4327 PyErr_Clear();
4269 if (obj && !PythonQtSlotFunction_Check(obj)) {
4328 if (obj && !PythonQtSlotFunction_Check(obj)) {
4270 static const char* argumentList[] ={"" , "QShowEvent*"};
4329 static const char* argumentList[] ={"" , "QShowEvent*"};
4271 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
4330 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
4272 void* args[2] = {NULL, (void*)&arg__1};
4331 void* args[2] = {NULL, (void*)&arg__1};
4273 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
4332 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
4274 if (result) { Py_DECREF(result); }
4333 if (result) { Py_DECREF(result); }
4275 Py_DECREF(obj);
4334 Py_DECREF(obj);
4276 return;
4335 return;
4277 }
4336 }
4278 }
4337 }
4279 SocExplorerPlot::showEvent(arg__1);
4338 SocExplorerPlot::showEvent(arg__1);
4280 }
4339 }
4281 QSize PythonQtShell_SocExplorerPlot::sizeHint() const
4340 QSize PythonQtShell_SocExplorerPlot::sizeHint() const
4282 {
4341 {
4283 if (_wrapper) {
4342 if (_wrapper) {
4284 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "getSizeHint");
4343 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "getSizeHint");
4285 PyErr_Clear();
4344 PyErr_Clear();
4286 if (obj && !PythonQtSlotFunction_Check(obj)) {
4345 if (obj && !PythonQtSlotFunction_Check(obj)) {
4287 static const char* argumentList[] ={"QSize"};
4346 static const char* argumentList[] ={"QSize"};
4288 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList);
4347 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList);
4289 QSize returnValue;
4348 QSize returnValue;
4290 void* args[1] = {NULL};
4349 void* args[1] = {NULL};
4291 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
4350 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
4292 if (result) {
4351 if (result) {
4293 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);
4294 if (args[0]!=&returnValue) {
4353 if (args[0]!=&returnValue) {
4295 if (args[0]==NULL) {
4354 if (args[0]==NULL) {
4296 PythonQt::priv()->handleVirtualOverloadReturnError("getSizeHint", methodInfo, result);
4355 PythonQt::priv()->handleVirtualOverloadReturnError("getSizeHint", methodInfo, result);
4297 } else {
4356 } else {
4298 returnValue = *((QSize*)args[0]);
4357 returnValue = *((QSize*)args[0]);
4299 }
4358 }
4300 }
4359 }
4301 }
4360 }
4302 if (result) { Py_DECREF(result); }
4361 if (result) { Py_DECREF(result); }
4303 Py_DECREF(obj);
4362 Py_DECREF(obj);
4304 return returnValue;
4363 return returnValue;
4305 }
4364 }
4306 }
4365 }
4307 return SocExplorerPlot::sizeHint();
4366 return SocExplorerPlot::sizeHint();
4308 }
4367 }
4309 void PythonQtShell_SocExplorerPlot::tabletEvent(QTabletEvent* arg__1)
4368 void PythonQtShell_SocExplorerPlot::tabletEvent(QTabletEvent* arg__1)
4310 {
4369 {
4311 if (_wrapper) {
4370 if (_wrapper) {
4312 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "tabletEvent");
4371 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "tabletEvent");
4313 PyErr_Clear();
4372 PyErr_Clear();
4314 if (obj && !PythonQtSlotFunction_Check(obj)) {
4373 if (obj && !PythonQtSlotFunction_Check(obj)) {
4315 static const char* argumentList[] ={"" , "QTabletEvent*"};
4374 static const char* argumentList[] ={"" , "QTabletEvent*"};
4316 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
4375 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
4317 void* args[2] = {NULL, (void*)&arg__1};
4376 void* args[2] = {NULL, (void*)&arg__1};
4318 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
4377 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
4319 if (result) { Py_DECREF(result); }
4378 if (result) { Py_DECREF(result); }
4320 Py_DECREF(obj);
4379 Py_DECREF(obj);
4321 return;
4380 return;
4322 }
4381 }
4323 }
4382 }
4324 SocExplorerPlot::tabletEvent(arg__1);
4383 SocExplorerPlot::tabletEvent(arg__1);
4325 }
4384 }
4326 void PythonQtShell_SocExplorerPlot::timerEvent(QTimerEvent* arg__1)
4385 void PythonQtShell_SocExplorerPlot::timerEvent(QTimerEvent* arg__1)
4327 {
4386 {
4328 if (_wrapper) {
4387 if (_wrapper) {
4329 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "timerEvent");
4388 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "timerEvent");
4330 PyErr_Clear();
4389 PyErr_Clear();
4331 if (obj && !PythonQtSlotFunction_Check(obj)) {
4390 if (obj && !PythonQtSlotFunction_Check(obj)) {
4332 static const char* argumentList[] ={"" , "QTimerEvent*"};
4391 static const char* argumentList[] ={"" , "QTimerEvent*"};
4333 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
4392 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
4334 void* args[2] = {NULL, (void*)&arg__1};
4393 void* args[2] = {NULL, (void*)&arg__1};
4335 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
4394 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
4336 if (result) { Py_DECREF(result); }
4395 if (result) { Py_DECREF(result); }
4337 Py_DECREF(obj);
4396 Py_DECREF(obj);
4338 return;
4397 return;
4339 }
4398 }
4340 }
4399 }
4341 SocExplorerPlot::timerEvent(arg__1);
4400 SocExplorerPlot::timerEvent(arg__1);
4342 }
4401 }
4343 void PythonQtShell_SocExplorerPlot::wheelEvent(QWheelEvent* arg__1)
4402 void PythonQtShell_SocExplorerPlot::wheelEvent(QWheelEvent* arg__1)
4344 {
4403 {
4345 if (_wrapper) {
4404 if (_wrapper) {
4346 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "wheelEvent");
4405 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "wheelEvent");
4347 PyErr_Clear();
4406 PyErr_Clear();
4348 if (obj && !PythonQtSlotFunction_Check(obj)) {
4407 if (obj && !PythonQtSlotFunction_Check(obj)) {
4349 static const char* argumentList[] ={"" , "QWheelEvent*"};
4408 static const char* argumentList[] ={"" , "QWheelEvent*"};
4350 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
4409 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
4351 void* args[2] = {NULL, (void*)&arg__1};
4410 void* args[2] = {NULL, (void*)&arg__1};
4352 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
4411 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
4353 if (result) { Py_DECREF(result); }
4412 if (result) { Py_DECREF(result); }
4354 Py_DECREF(obj);
4413 Py_DECREF(obj);
4355 return;
4414 return;
4356 }
4415 }
4357 }
4416 }
4358 SocExplorerPlot::wheelEvent(arg__1);
4417 SocExplorerPlot::wheelEvent(arg__1);
4359 }
4418 }
4360 SocExplorerPlot* PythonQtWrapper_SocExplorerPlot::new_SocExplorerPlot(QWidget* parent)
4419 SocExplorerPlot* PythonQtWrapper_SocExplorerPlot::new_SocExplorerPlot(QWidget* parent)
4361 {
4420 {
4362 return new PythonQtShell_SocExplorerPlot(parent); }
4421 return new PythonQtShell_SocExplorerPlot(parent); }
4363
4422
4364 int PythonQtWrapper_SocExplorerPlot::addGraph(SocExplorerPlot* theWrappedObject)
4423 int PythonQtWrapper_SocExplorerPlot::addGraph(SocExplorerPlot* theWrappedObject)
4365 {
4424 {
4366 return ( theWrappedObject->addGraph());
4425 return ( theWrappedObject->addGraph());
4367 }
4426 }
4368
4427
4369 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)
4370 {
4429 {
4371 ( theWrappedObject->addGraphData(graphIndex, x, y));
4430 ( theWrappedObject->addGraphData(graphIndex, x, y));
4372 }
4431 }
4373
4432
4374 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)
4375 {
4434 {
4376 ( theWrappedObject->addGraphData(graphIndex, x, y));
4435 ( theWrappedObject->addGraphData(graphIndex, x, y));
4377 }
4436 }
4378
4437
4379 QPen PythonQtWrapper_SocExplorerPlot::getGraphPen(SocExplorerPlot* theWrappedObject, int graphIndex)
4438 QPen PythonQtWrapper_SocExplorerPlot::getGraphPen(SocExplorerPlot* theWrappedObject, int graphIndex)
4380 {
4439 {
4381 return ( theWrappedObject->getGraphPen(graphIndex));
4440 return ( theWrappedObject->getGraphPen(graphIndex));
4382 }
4441 }
4383
4442
4384 void PythonQtWrapper_SocExplorerPlot::keyPressEvent(SocExplorerPlot* theWrappedObject, QKeyEvent* arg__1)
4443 void PythonQtWrapper_SocExplorerPlot::keyPressEvent(SocExplorerPlot* theWrappedObject, QKeyEvent* arg__1)
4385 {
4444 {
4386 ( ((PythonQtPublicPromoter_SocExplorerPlot*)theWrappedObject)->promoted_keyPressEvent(arg__1));
4445 ( ((PythonQtPublicPromoter_SocExplorerPlot*)theWrappedObject)->promoted_keyPressEvent(arg__1));
4387 }
4446 }
4388
4447
4389 void PythonQtWrapper_SocExplorerPlot::keyReleaseEvent(SocExplorerPlot* theWrappedObject, QKeyEvent* arg__1)
4448 void PythonQtWrapper_SocExplorerPlot::keyReleaseEvent(SocExplorerPlot* theWrappedObject, QKeyEvent* arg__1)
4390 {
4449 {
4391 ( ((PythonQtPublicPromoter_SocExplorerPlot*)theWrappedObject)->promoted_keyReleaseEvent(arg__1));
4450 ( ((PythonQtPublicPromoter_SocExplorerPlot*)theWrappedObject)->promoted_keyReleaseEvent(arg__1));
4392 }
4451 }
4393
4452
4394 void PythonQtWrapper_SocExplorerPlot::mouseMoveEvent(SocExplorerPlot* theWrappedObject, QMouseEvent* arg__1)
4453 void PythonQtWrapper_SocExplorerPlot::mouseMoveEvent(SocExplorerPlot* theWrappedObject, QMouseEvent* arg__1)
4395 {
4454 {
4396 ( ((PythonQtPublicPromoter_SocExplorerPlot*)theWrappedObject)->promoted_mouseMoveEvent(arg__1));
4455 ( ((PythonQtPublicPromoter_SocExplorerPlot*)theWrappedObject)->promoted_mouseMoveEvent(arg__1));
4397 }
4456 }
4398
4457
4399 void PythonQtWrapper_SocExplorerPlot::mousePressEvent(SocExplorerPlot* theWrappedObject, QMouseEvent* arg__1)
4458 void PythonQtWrapper_SocExplorerPlot::mousePressEvent(SocExplorerPlot* theWrappedObject, QMouseEvent* arg__1)
4400 {
4459 {
4401 ( ((PythonQtPublicPromoter_SocExplorerPlot*)theWrappedObject)->promoted_mousePressEvent(arg__1));
4460 ( ((PythonQtPublicPromoter_SocExplorerPlot*)theWrappedObject)->promoted_mousePressEvent(arg__1));
4402 }
4461 }
4403
4462
4404 void PythonQtWrapper_SocExplorerPlot::mouseReleaseEvent(SocExplorerPlot* theWrappedObject, QMouseEvent* arg__1)
4463 void PythonQtWrapper_SocExplorerPlot::mouseReleaseEvent(SocExplorerPlot* theWrappedObject, QMouseEvent* arg__1)
4405 {
4464 {
4406 ( ((PythonQtPublicPromoter_SocExplorerPlot*)theWrappedObject)->promoted_mouseReleaseEvent(arg__1));
4465 ( ((PythonQtPublicPromoter_SocExplorerPlot*)theWrappedObject)->promoted_mouseReleaseEvent(arg__1));
4407 }
4466 }
4408
4467
4409 void PythonQtWrapper_SocExplorerPlot::rescaleAxis(SocExplorerPlot* theWrappedObject)
4468 void PythonQtWrapper_SocExplorerPlot::rescaleAxis(SocExplorerPlot* theWrappedObject)
4410 {
4469 {
4411 ( theWrappedObject->rescaleAxis());
4470 ( theWrappedObject->rescaleAxis());
4412 }
4471 }
4413
4472
4414 void PythonQtWrapper_SocExplorerPlot::setAdaptativeSampling(SocExplorerPlot* theWrappedObject, int graphIndex, bool enable)
4473 void PythonQtWrapper_SocExplorerPlot::setAdaptativeSampling(SocExplorerPlot* theWrappedObject, int graphIndex, bool enable)
4415 {
4474 {
4416 ( theWrappedObject->setAdaptativeSampling(graphIndex, enable));
4475 ( theWrappedObject->setAdaptativeSampling(graphIndex, enable));
4417 }
4476 }
4418
4477
4419 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)
4420 {
4479 {
4421 ( theWrappedObject->setGraphData(graphIndex, x, y));
4480 ( theWrappedObject->setGraphData(graphIndex, x, y));
4422 }
4481 }
4423
4482
4424 void PythonQtWrapper_SocExplorerPlot::setGraphLineStyle(SocExplorerPlot* theWrappedObject, int graphIndex, QString lineStyle)
4483 void PythonQtWrapper_SocExplorerPlot::setGraphLineStyle(SocExplorerPlot* theWrappedObject, int graphIndex, QString lineStyle)
4425 {
4484 {
4426 ( theWrappedObject->setGraphLineStyle(graphIndex, lineStyle));
4485 ( theWrappedObject->setGraphLineStyle(graphIndex, lineStyle));
4427 }
4486 }
4428
4487
4429 void PythonQtWrapper_SocExplorerPlot::setGraphName(SocExplorerPlot* theWrappedObject, int graphIndex, QString name)
4488 void PythonQtWrapper_SocExplorerPlot::setGraphName(SocExplorerPlot* theWrappedObject, int graphIndex, QString name)
4430 {
4489 {
4431 ( theWrappedObject->setGraphName(graphIndex, name));
4490 ( theWrappedObject->setGraphName(graphIndex, name));
4432 }
4491 }
4433
4492
4434 void PythonQtWrapper_SocExplorerPlot::setGraphPen(SocExplorerPlot* theWrappedObject, int graphIndex, QPen pen)
4493 void PythonQtWrapper_SocExplorerPlot::setGraphPen(SocExplorerPlot* theWrappedObject, int graphIndex, QPen pen)
4435 {
4494 {
4436 ( theWrappedObject->setGraphPen(graphIndex, pen));
4495 ( theWrappedObject->setGraphPen(graphIndex, pen));
4437 }
4496 }
4438
4497
4439 void PythonQtWrapper_SocExplorerPlot::setGraphScatterStyle(SocExplorerPlot* theWrappedObject, int graphIndex, QString scatterStyle)
4498 void PythonQtWrapper_SocExplorerPlot::setGraphScatterStyle(SocExplorerPlot* theWrappedObject, int graphIndex, QString scatterStyle)
4440 {
4499 {
4441 ( theWrappedObject->setGraphScatterStyle(graphIndex, scatterStyle));
4500 ( theWrappedObject->setGraphScatterStyle(graphIndex, scatterStyle));
4442 }
4501 }
4443
4502
4444 void PythonQtWrapper_SocExplorerPlot::setLegendFont(SocExplorerPlot* theWrappedObject, QFont font)
4503 void PythonQtWrapper_SocExplorerPlot::setLegendFont(SocExplorerPlot* theWrappedObject, QFont font)
4445 {
4504 {
4446 ( theWrappedObject->setLegendFont(font));
4505 ( theWrappedObject->setLegendFont(font));
4447 }
4506 }
4448
4507
4449 void PythonQtWrapper_SocExplorerPlot::setLegendSelectedFont(SocExplorerPlot* theWrappedObject, QFont font)
4508 void PythonQtWrapper_SocExplorerPlot::setLegendSelectedFont(SocExplorerPlot* theWrappedObject, QFont font)
4450 {
4509 {
4451 ( theWrappedObject->setLegendSelectedFont(font));
4510 ( theWrappedObject->setLegendSelectedFont(font));
4452 }
4511 }
4453
4512
4454 void PythonQtWrapper_SocExplorerPlot::setTitle(SocExplorerPlot* theWrappedObject, QString title)
4513 void PythonQtWrapper_SocExplorerPlot::setTitle(SocExplorerPlot* theWrappedObject, QString title)
4455 {
4514 {
4456 ( theWrappedObject->setTitle(title));
4515 ( theWrappedObject->setTitle(title));
4457 }
4516 }
4458
4517
4459 void PythonQtWrapper_SocExplorerPlot::setXaxisLabel(SocExplorerPlot* theWrappedObject, QString label)
4518 void PythonQtWrapper_SocExplorerPlot::setXaxisLabel(SocExplorerPlot* theWrappedObject, QString label)
4460 {
4519 {
4461 ( theWrappedObject->setXaxisLabel(label));
4520 ( theWrappedObject->setXaxisLabel(label));
4462 }
4521 }
4463
4522
4464 void PythonQtWrapper_SocExplorerPlot::setXaxisRange(SocExplorerPlot* theWrappedObject, double lower, double upper)
4523 void PythonQtWrapper_SocExplorerPlot::setXaxisRange(SocExplorerPlot* theWrappedObject, double lower, double upper)
4465 {
4524 {
4466 ( theWrappedObject->setXaxisRange(lower, upper));
4525 ( theWrappedObject->setXaxisRange(lower, upper));
4467 }
4526 }
4468
4527
4469 void PythonQtWrapper_SocExplorerPlot::setYaxisLabel(SocExplorerPlot* theWrappedObject, QString label)
4528 void PythonQtWrapper_SocExplorerPlot::setYaxisLabel(SocExplorerPlot* theWrappedObject, QString label)
4470 {
4529 {
4471 ( theWrappedObject->setYaxisLabel(label));
4530 ( theWrappedObject->setYaxisLabel(label));
4472 }
4531 }
4473
4532
4474 void PythonQtWrapper_SocExplorerPlot::setYaxisRange(SocExplorerPlot* theWrappedObject, double lower, double upper)
4533 void PythonQtWrapper_SocExplorerPlot::setYaxisRange(SocExplorerPlot* theWrappedObject, double lower, double upper)
4475 {
4534 {
4476 ( theWrappedObject->setYaxisRange(lower, upper));
4535 ( theWrappedObject->setYaxisRange(lower, upper));
4477 }
4536 }
4478
4537
4479 void PythonQtWrapper_SocExplorerPlot::show(SocExplorerPlot* theWrappedObject)
4538 void PythonQtWrapper_SocExplorerPlot::show(SocExplorerPlot* theWrappedObject)
4480 {
4539 {
4481 ( theWrappedObject->show());
4540 ( theWrappedObject->show());
4482 }
4541 }
4483
4542
4484 void PythonQtWrapper_SocExplorerPlot::wheelEvent(SocExplorerPlot* theWrappedObject, QWheelEvent* arg__1)
4543 void PythonQtWrapper_SocExplorerPlot::wheelEvent(SocExplorerPlot* theWrappedObject, QWheelEvent* arg__1)
4485 {
4544 {
4486 ( ((PythonQtPublicPromoter_SocExplorerPlot*)theWrappedObject)->promoted_wheelEvent(arg__1));
4545 ( ((PythonQtPublicPromoter_SocExplorerPlot*)theWrappedObject)->promoted_wheelEvent(arg__1));
4487 }
4546 }
4488
4547
4489
4548
4490
4549
4491 PythonQtShell_TCP_Terminal_Client::~PythonQtShell_TCP_Terminal_Client() {
4550 PythonQtShell_TCP_Terminal_Client::~PythonQtShell_TCP_Terminal_Client() {
4492 PythonQtPrivate* priv = PythonQt::priv();
4551 PythonQtPrivate* priv = PythonQt::priv();
4493 if (priv) { priv->shellClassDeleted(this); }
4552 if (priv) { priv->shellClassDeleted(this); }
4494 }
4553 }
4495 void PythonQtShell_TCP_Terminal_Client::childEvent(QChildEvent* arg__1)
4554 void PythonQtShell_TCP_Terminal_Client::childEvent(QChildEvent* arg__1)
4496 {
4555 {
4497 if (_wrapper) {
4556 if (_wrapper) {
4498 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "childEvent");
4557 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "childEvent");
4499 PyErr_Clear();
4558 PyErr_Clear();
4500 if (obj && !PythonQtSlotFunction_Check(obj)) {
4559 if (obj && !PythonQtSlotFunction_Check(obj)) {
4501 static const char* argumentList[] ={"" , "QChildEvent*"};
4560 static const char* argumentList[] ={"" , "QChildEvent*"};
4502 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
4561 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
4503 void* args[2] = {NULL, (void*)&arg__1};
4562 void* args[2] = {NULL, (void*)&arg__1};
4504 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
4563 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
4505 if (result) { Py_DECREF(result); }
4564 if (result) { Py_DECREF(result); }
4506 Py_DECREF(obj);
4565 Py_DECREF(obj);
4507 return;
4566 return;
4508 }
4567 }
4509 }
4568 }
4510 TCP_Terminal_Client::childEvent(arg__1);
4569 TCP_Terminal_Client::childEvent(arg__1);
4511 }
4570 }
4512 void PythonQtShell_TCP_Terminal_Client::customEvent(QEvent* arg__1)
4571 void PythonQtShell_TCP_Terminal_Client::customEvent(QEvent* arg__1)
4513 {
4572 {
4514 if (_wrapper) {
4573 if (_wrapper) {
4515 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "customEvent");
4574 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "customEvent");
4516 PyErr_Clear();
4575 PyErr_Clear();
4517 if (obj && !PythonQtSlotFunction_Check(obj)) {
4576 if (obj && !PythonQtSlotFunction_Check(obj)) {
4518 static const char* argumentList[] ={"" , "QEvent*"};
4577 static const char* argumentList[] ={"" , "QEvent*"};
4519 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
4578 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
4520 void* args[2] = {NULL, (void*)&arg__1};
4579 void* args[2] = {NULL, (void*)&arg__1};
4521 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
4580 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
4522 if (result) { Py_DECREF(result); }
4581 if (result) { Py_DECREF(result); }
4523 Py_DECREF(obj);
4582 Py_DECREF(obj);
4524 return;
4583 return;
4525 }
4584 }
4526 }
4585 }
4527 TCP_Terminal_Client::customEvent(arg__1);
4586 TCP_Terminal_Client::customEvent(arg__1);
4528 }
4587 }
4529 bool PythonQtShell_TCP_Terminal_Client::event(QEvent* arg__1)
4588 bool PythonQtShell_TCP_Terminal_Client::event(QEvent* arg__1)
4530 {
4589 {
4531 if (_wrapper) {
4590 if (_wrapper) {
4532 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "event");
4591 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "event");
4533 PyErr_Clear();
4592 PyErr_Clear();
4534 if (obj && !PythonQtSlotFunction_Check(obj)) {
4593 if (obj && !PythonQtSlotFunction_Check(obj)) {
4535 static const char* argumentList[] ={"bool" , "QEvent*"};
4594 static const char* argumentList[] ={"bool" , "QEvent*"};
4536 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
4595 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
4537 bool returnValue;
4596 bool returnValue;
4538 void* args[2] = {NULL, (void*)&arg__1};
4597 void* args[2] = {NULL, (void*)&arg__1};
4539 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
4598 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
4540 if (result) {
4599 if (result) {
4541 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);
4542 if (args[0]!=&returnValue) {
4601 if (args[0]!=&returnValue) {
4543 if (args[0]==NULL) {
4602 if (args[0]==NULL) {
4544 PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result);
4603 PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result);
4545 } else {
4604 } else {
4546 returnValue = *((bool*)args[0]);
4605 returnValue = *((bool*)args[0]);
4547 }
4606 }
4548 }
4607 }
4549 }
4608 }
4550 if (result) { Py_DECREF(result); }
4609 if (result) { Py_DECREF(result); }
4551 Py_DECREF(obj);
4610 Py_DECREF(obj);
4552 return returnValue;
4611 return returnValue;
4553 }
4612 }
4554 }
4613 }
4555 return TCP_Terminal_Client::event(arg__1);
4614 return TCP_Terminal_Client::event(arg__1);
4556 }
4615 }
4557 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)
4558 {
4617 {
4559 if (_wrapper) {
4618 if (_wrapper) {
4560 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "eventFilter");
4619 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "eventFilter");
4561 PyErr_Clear();
4620 PyErr_Clear();
4562 if (obj && !PythonQtSlotFunction_Check(obj)) {
4621 if (obj && !PythonQtSlotFunction_Check(obj)) {
4563 static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"};
4622 static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"};
4564 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList);
4623 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList);
4565 bool returnValue;
4624 bool returnValue;
4566 void* args[3] = {NULL, (void*)&arg__1, (void*)&arg__2};
4625 void* args[3] = {NULL, (void*)&arg__1, (void*)&arg__2};
4567 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
4626 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
4568 if (result) {
4627 if (result) {
4569 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);
4570 if (args[0]!=&returnValue) {
4629 if (args[0]!=&returnValue) {
4571 if (args[0]==NULL) {
4630 if (args[0]==NULL) {
4572 PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result);
4631 PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result);
4573 } else {
4632 } else {
4574 returnValue = *((bool*)args[0]);
4633 returnValue = *((bool*)args[0]);
4575 }
4634 }
4576 }
4635 }
4577 }
4636 }
4578 if (result) { Py_DECREF(result); }
4637 if (result) { Py_DECREF(result); }
4579 Py_DECREF(obj);
4638 Py_DECREF(obj);
4580 return returnValue;
4639 return returnValue;
4581 }
4640 }
4582 }
4641 }
4583 return TCP_Terminal_Client::eventFilter(arg__1, arg__2);
4642 return TCP_Terminal_Client::eventFilter(arg__1, arg__2);
4584 }
4643 }
4585 void PythonQtShell_TCP_Terminal_Client::timerEvent(QTimerEvent* arg__1)
4644 void PythonQtShell_TCP_Terminal_Client::timerEvent(QTimerEvent* arg__1)
4586 {
4645 {
4587 if (_wrapper) {
4646 if (_wrapper) {
4588 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "timerEvent");
4647 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "timerEvent");
4589 PyErr_Clear();
4648 PyErr_Clear();
4590 if (obj && !PythonQtSlotFunction_Check(obj)) {
4649 if (obj && !PythonQtSlotFunction_Check(obj)) {
4591 static const char* argumentList[] ={"" , "QTimerEvent*"};
4650 static const char* argumentList[] ={"" , "QTimerEvent*"};
4592 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
4651 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
4593 void* args[2] = {NULL, (void*)&arg__1};
4652 void* args[2] = {NULL, (void*)&arg__1};
4594 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
4653 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
4595 if (result) { Py_DECREF(result); }
4654 if (result) { Py_DECREF(result); }
4596 Py_DECREF(obj);
4655 Py_DECREF(obj);
4597 return;
4656 return;
4598 }
4657 }
4599 }
4658 }
4600 TCP_Terminal_Client::timerEvent(arg__1);
4659 TCP_Terminal_Client::timerEvent(arg__1);
4601 }
4660 }
4602 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)
4603 {
4662 {
4604 return new PythonQtShell_TCP_Terminal_Client(parent); }
4663 return new PythonQtShell_TCP_Terminal_Client(parent); }
4605
4664
4606 void PythonQtWrapper_TCP_Terminal_Client::connectToServer(TCP_Terminal_Client* theWrappedObject)
4665 void PythonQtWrapper_TCP_Terminal_Client::connectToServer(TCP_Terminal_Client* theWrappedObject)
4607 {
4666 {
4608 ( theWrappedObject->connectToServer());
4667 ( theWrappedObject->connectToServer());
4609 }
4668 }
4610
4669
4611 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)
4612 {
4671 {
4613 ( theWrappedObject->connectToServer(IP, port));
4672 ( theWrappedObject->connectToServer(IP, port));
4614 }
4673 }
4615
4674
4616 bool PythonQtWrapper_TCP_Terminal_Client::isConnected(TCP_Terminal_Client* theWrappedObject)
4675 bool PythonQtWrapper_TCP_Terminal_Client::isConnected(TCP_Terminal_Client* theWrappedObject)
4617 {
4676 {
4618 return ( theWrappedObject->isConnected());
4677 return ( theWrappedObject->isConnected());
4619 }
4678 }
4620
4679
4621 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)
4622 {
4681 {
4623 ( theWrappedObject->sendText(text));
4682 ( theWrappedObject->sendText(text));
4624 }
4683 }
4625
4684
4626 void PythonQtWrapper_TCP_Terminal_Client::startServer(TCP_Terminal_Client* theWrappedObject)
4685 void PythonQtWrapper_TCP_Terminal_Client::startServer(TCP_Terminal_Client* theWrappedObject)
4627 {
4686 {
4628 ( theWrappedObject->startServer());
4687 ( theWrappedObject->startServer());
4629 }
4688 }
4630
4689
4631 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)
4632 {
4691 {
4633 ( theWrappedObject->startServer(port));
4692 ( theWrappedObject->startServer(port));
4634 }
4693 }
4635
4694
4636
4695
4637
4696
4638 XByteArray* PythonQtWrapper_XByteArray::new_XByteArray()
4697 XByteArray* PythonQtWrapper_XByteArray::new_XByteArray()
4639 {
4698 {
4640 return new XByteArray(); }
4699 return new XByteArray(); }
4641
4700
4642 int PythonQtWrapper_XByteArray::addressOffset(XByteArray* theWrappedObject)
4701 int PythonQtWrapper_XByteArray::addressOffset(XByteArray* theWrappedObject)
4643 {
4702 {
4644 return ( theWrappedObject->addressOffset());
4703 return ( theWrappedObject->addressOffset());
4645 }
4704 }
4646
4705
4647 int PythonQtWrapper_XByteArray::addressWidth(XByteArray* theWrappedObject)
4706 int PythonQtWrapper_XByteArray::addressWidth(XByteArray* theWrappedObject)
4648 {
4707 {
4649 return ( theWrappedObject->addressWidth());
4708 return ( theWrappedObject->addressWidth());
4650 }
4709 }
4651
4710
4652 QChar PythonQtWrapper_XByteArray::asciiChar(XByteArray* theWrappedObject, int index)
4711 QChar PythonQtWrapper_XByteArray::asciiChar(XByteArray* theWrappedObject, int index)
4653 {
4712 {
4654 return ( theWrappedObject->asciiChar(index));
4713 return ( theWrappedObject->asciiChar(index));
4655 }
4714 }
4656
4715
4657 QByteArray* PythonQtWrapper_XByteArray::data(XByteArray* theWrappedObject)
4716 QByteArray* PythonQtWrapper_XByteArray::data(XByteArray* theWrappedObject)
4658 {
4717 {
4659 return &( theWrappedObject->data());
4718 return &( theWrappedObject->data());
4660 }
4719 }
4661
4720
4662 bool PythonQtWrapper_XByteArray::dataChanged(XByteArray* theWrappedObject, int i)
4721 bool PythonQtWrapper_XByteArray::dataChanged(XByteArray* theWrappedObject, int i)
4663 {
4722 {
4664 return ( theWrappedObject->dataChanged(i));
4723 return ( theWrappedObject->dataChanged(i));
4665 }
4724 }
4666
4725
4667 QByteArray PythonQtWrapper_XByteArray::dataChanged(XByteArray* theWrappedObject, int i, int len)
4726 QByteArray PythonQtWrapper_XByteArray::dataChanged(XByteArray* theWrappedObject, int i, int len)
4668 {
4727 {
4669 return ( theWrappedObject->dataChanged(i, len));
4728 return ( theWrappedObject->dataChanged(i, len));
4670 }
4729 }
4671
4730
4672 QByteArray* PythonQtWrapper_XByteArray::insert(XByteArray* theWrappedObject, int i, char ch)
4731 QByteArray* PythonQtWrapper_XByteArray::insert(XByteArray* theWrappedObject, int i, char ch)
4673 {
4732 {
4674 return &( theWrappedObject->insert(i, ch));
4733 return &( theWrappedObject->insert(i, ch));
4675 }
4734 }
4676
4735
4677 QByteArray* PythonQtWrapper_XByteArray::insert(XByteArray* theWrappedObject, int i, const QByteArray& ba)
4736 QByteArray* PythonQtWrapper_XByteArray::insert(XByteArray* theWrappedObject, int i, const QByteArray& ba)
4678 {
4737 {
4679 return &( theWrappedObject->insert(i, ba));
4738 return &( theWrappedObject->insert(i, ba));
4680 }
4739 }
4681
4740
4682 int PythonQtWrapper_XByteArray::realAddressNumbers(XByteArray* theWrappedObject)
4741 int PythonQtWrapper_XByteArray::realAddressNumbers(XByteArray* theWrappedObject)
4683 {
4742 {
4684 return ( theWrappedObject->realAddressNumbers());
4743 return ( theWrappedObject->realAddressNumbers());
4685 }
4744 }
4686
4745
4687 QByteArray* PythonQtWrapper_XByteArray::remove(XByteArray* theWrappedObject, int pos, int len)
4746 QByteArray* PythonQtWrapper_XByteArray::remove(XByteArray* theWrappedObject, int pos, int len)
4688 {
4747 {
4689 return &( theWrappedObject->remove(pos, len));
4748 return &( theWrappedObject->remove(pos, len));
4690 }
4749 }
4691
4750
4692 QByteArray* PythonQtWrapper_XByteArray::replace(XByteArray* theWrappedObject, int index, char ch)
4751 QByteArray* PythonQtWrapper_XByteArray::replace(XByteArray* theWrappedObject, int index, char ch)
4693 {
4752 {
4694 return &( theWrappedObject->replace(index, ch));
4753 return &( theWrappedObject->replace(index, ch));
4695 }
4754 }
4696
4755
4697 QByteArray* PythonQtWrapper_XByteArray::replace(XByteArray* theWrappedObject, int index, const QByteArray& ba)
4756 QByteArray* PythonQtWrapper_XByteArray::replace(XByteArray* theWrappedObject, int index, const QByteArray& ba)
4698 {
4757 {
4699 return &( theWrappedObject->replace(index, ba));
4758 return &( theWrappedObject->replace(index, ba));
4700 }
4759 }
4701
4760
4702 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)
4703 {
4762 {
4704 return &( theWrappedObject->replace(index, length, ba));
4763 return &( theWrappedObject->replace(index, length, ba));
4705 }
4764 }
4706
4765
4707 void PythonQtWrapper_XByteArray::setAddressOffset(XByteArray* theWrappedObject, int offset)
4766 void PythonQtWrapper_XByteArray::setAddressOffset(XByteArray* theWrappedObject, int offset)
4708 {
4767 {
4709 ( theWrappedObject->setAddressOffset(offset));
4768 ( theWrappedObject->setAddressOffset(offset));
4710 }
4769 }
4711
4770
4712 void PythonQtWrapper_XByteArray::setAddressWidth(XByteArray* theWrappedObject, int width)
4771 void PythonQtWrapper_XByteArray::setAddressWidth(XByteArray* theWrappedObject, int width)
4713 {
4772 {
4714 ( theWrappedObject->setAddressWidth(width));
4773 ( theWrappedObject->setAddressWidth(width));
4715 }
4774 }
4716
4775
4717 void PythonQtWrapper_XByteArray::setData(XByteArray* theWrappedObject, QByteArray data)
4776 void PythonQtWrapper_XByteArray::setData(XByteArray* theWrappedObject, QByteArray data)
4718 {
4777 {
4719 ( theWrappedObject->setData(data));
4778 ( theWrappedObject->setData(data));
4720 }
4779 }
4721
4780
4722 void PythonQtWrapper_XByteArray::setDataChanged(XByteArray* theWrappedObject, int i, bool state)
4781 void PythonQtWrapper_XByteArray::setDataChanged(XByteArray* theWrappedObject, int i, bool state)
4723 {
4782 {
4724 ( theWrappedObject->setDataChanged(i, state));
4783 ( theWrappedObject->setDataChanged(i, state));
4725 }
4784 }
4726
4785
4727 void PythonQtWrapper_XByteArray::setDataChanged(XByteArray* theWrappedObject, int i, const QByteArray& state)
4786 void PythonQtWrapper_XByteArray::setDataChanged(XByteArray* theWrappedObject, int i, const QByteArray& state)
4728 {
4787 {
4729 ( theWrappedObject->setDataChanged(i, state));
4788 ( theWrappedObject->setDataChanged(i, state));
4730 }
4789 }
4731
4790
4732 int PythonQtWrapper_XByteArray::size(XByteArray* theWrappedObject)
4791 int PythonQtWrapper_XByteArray::size(XByteArray* theWrappedObject)
4733 {
4792 {
4734 return ( theWrappedObject->size());
4793 return ( theWrappedObject->size());
4735 }
4794 }
4736
4795
4737 QString PythonQtWrapper_XByteArray::toRedableString(XByteArray* theWrappedObject, int start, int end)
4796 QString PythonQtWrapper_XByteArray::toRedableString(XByteArray* theWrappedObject, int start, int end)
4738 {
4797 {
4739 return ( theWrappedObject->toRedableString(start, end));
4798 return ( theWrappedObject->toRedableString(start, end));
4740 }
4799 }
4741
4800
4742
4801
4743
4802
4744 PythonQtShell_abstractBinFile::~PythonQtShell_abstractBinFile() {
4803 PythonQtShell_abstractBinFile::~PythonQtShell_abstractBinFile() {
4745 PythonQtPrivate* priv = PythonQt::priv();
4804 PythonQtPrivate* priv = PythonQt::priv();
4746 if (priv) { priv->shellClassDeleted(this); }
4805 if (priv) { priv->shellClassDeleted(this); }
4747 }
4806 }
4748 void PythonQtShell_abstractBinFile::childEvent(QChildEvent* arg__1)
4807 void PythonQtShell_abstractBinFile::childEvent(QChildEvent* arg__1)
4749 {
4808 {
4750 if (_wrapper) {
4809 if (_wrapper) {
4751 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "childEvent");
4810 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "childEvent");
4752 PyErr_Clear();
4811 PyErr_Clear();
4753 if (obj && !PythonQtSlotFunction_Check(obj)) {
4812 if (obj && !PythonQtSlotFunction_Check(obj)) {
4754 static const char* argumentList[] ={"" , "QChildEvent*"};
4813 static const char* argumentList[] ={"" , "QChildEvent*"};
4755 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
4814 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
4756 void* args[2] = {NULL, (void*)&arg__1};
4815 void* args[2] = {NULL, (void*)&arg__1};
4757 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
4816 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
4758 if (result) { Py_DECREF(result); }
4817 if (result) { Py_DECREF(result); }
4759 Py_DECREF(obj);
4818 Py_DECREF(obj);
4760 return;
4819 return;
4761 }
4820 }
4762 }
4821 }
4763 abstractBinFile::childEvent(arg__1);
4822 abstractBinFile::childEvent(arg__1);
4764 }
4823 }
4765 int PythonQtShell_abstractBinFile::closeFile()
4824 int PythonQtShell_abstractBinFile::closeFile()
4766 {
4825 {
4767 if (_wrapper) {
4826 if (_wrapper) {
4768 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "closeFile");
4827 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "closeFile");
4769 PyErr_Clear();
4828 PyErr_Clear();
4770 if (obj && !PythonQtSlotFunction_Check(obj)) {
4829 if (obj && !PythonQtSlotFunction_Check(obj)) {
4771 static const char* argumentList[] ={"int"};
4830 static const char* argumentList[] ={"int"};
4772 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList);
4831 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList);
4773 int returnValue;
4832 int returnValue;
4774 void* args[1] = {NULL};
4833 void* args[1] = {NULL};
4775 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
4834 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
4776 if (result) {
4835 if (result) {
4777 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);
4778 if (args[0]!=&returnValue) {
4837 if (args[0]!=&returnValue) {
4779 if (args[0]==NULL) {
4838 if (args[0]==NULL) {
4780 PythonQt::priv()->handleVirtualOverloadReturnError("closeFile", methodInfo, result);
4839 PythonQt::priv()->handleVirtualOverloadReturnError("closeFile", methodInfo, result);
4781 } else {
4840 } else {
4782 returnValue = *((int*)args[0]);
4841 returnValue = *((int*)args[0]);
4783 }
4842 }
4784 }
4843 }
4785 }
4844 }
4786 if (result) { Py_DECREF(result); }
4845 if (result) { Py_DECREF(result); }
4787 Py_DECREF(obj);
4846 Py_DECREF(obj);
4788 return returnValue;
4847 return returnValue;
4789 }
4848 }
4790 }
4849 }
4791 return int();
4850 return int();
4792 }
4851 }
4793 void PythonQtShell_abstractBinFile::customEvent(QEvent* arg__1)
4852 void PythonQtShell_abstractBinFile::customEvent(QEvent* arg__1)
4794 {
4853 {
4795 if (_wrapper) {
4854 if (_wrapper) {
4796 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "customEvent");
4855 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "customEvent");
4797 PyErr_Clear();
4856 PyErr_Clear();
4798 if (obj && !PythonQtSlotFunction_Check(obj)) {
4857 if (obj && !PythonQtSlotFunction_Check(obj)) {
4799 static const char* argumentList[] ={"" , "QEvent*"};
4858 static const char* argumentList[] ={"" , "QEvent*"};
4800 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
4859 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
4801 void* args[2] = {NULL, (void*)&arg__1};
4860 void* args[2] = {NULL, (void*)&arg__1};
4802 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
4861 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
4803 if (result) { Py_DECREF(result); }
4862 if (result) { Py_DECREF(result); }
4804 Py_DECREF(obj);
4863 Py_DECREF(obj);
4805 return;
4864 return;
4806 }
4865 }
4807 }
4866 }
4808 abstractBinFile::customEvent(arg__1);
4867 abstractBinFile::customEvent(arg__1);
4809 }
4868 }
4810 bool PythonQtShell_abstractBinFile::event(QEvent* arg__1)
4869 bool PythonQtShell_abstractBinFile::event(QEvent* arg__1)
4811 {
4870 {
4812 if (_wrapper) {
4871 if (_wrapper) {
4813 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "event");
4872 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "event");
4814 PyErr_Clear();
4873 PyErr_Clear();
4815 if (obj && !PythonQtSlotFunction_Check(obj)) {
4874 if (obj && !PythonQtSlotFunction_Check(obj)) {
4816 static const char* argumentList[] ={"bool" , "QEvent*"};
4875 static const char* argumentList[] ={"bool" , "QEvent*"};
4817 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
4876 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
4818 bool returnValue;
4877 bool returnValue;
4819 void* args[2] = {NULL, (void*)&arg__1};
4878 void* args[2] = {NULL, (void*)&arg__1};
4820 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
4879 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
4821 if (result) {
4880 if (result) {
4822 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);
4823 if (args[0]!=&returnValue) {
4882 if (args[0]!=&returnValue) {
4824 if (args[0]==NULL) {
4883 if (args[0]==NULL) {
4825 PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result);
4884 PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result);
4826 } else {
4885 } else {
4827 returnValue = *((bool*)args[0]);
4886 returnValue = *((bool*)args[0]);
4828 }
4887 }
4829 }
4888 }
4830 }
4889 }
4831 if (result) { Py_DECREF(result); }
4890 if (result) { Py_DECREF(result); }
4832 Py_DECREF(obj);
4891 Py_DECREF(obj);
4833 return returnValue;
4892 return returnValue;
4834 }
4893 }
4835 }
4894 }
4836 return abstractBinFile::event(arg__1);
4895 return abstractBinFile::event(arg__1);
4837 }
4896 }
4838 bool PythonQtShell_abstractBinFile::eventFilter(QObject* arg__1, QEvent* arg__2)
4897 bool PythonQtShell_abstractBinFile::eventFilter(QObject* arg__1, QEvent* arg__2)
4839 {
4898 {
4840 if (_wrapper) {
4899 if (_wrapper) {
4841 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "eventFilter");
4900 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "eventFilter");
4842 PyErr_Clear();
4901 PyErr_Clear();
4843 if (obj && !PythonQtSlotFunction_Check(obj)) {
4902 if (obj && !PythonQtSlotFunction_Check(obj)) {
4844 static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"};
4903 static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"};
4845 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList);
4904 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList);
4846 bool returnValue;
4905 bool returnValue;
4847 void* args[3] = {NULL, (void*)&arg__1, (void*)&arg__2};
4906 void* args[3] = {NULL, (void*)&arg__1, (void*)&arg__2};
4848 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
4907 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
4849 if (result) {
4908 if (result) {
4850 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);
4851 if (args[0]!=&returnValue) {
4910 if (args[0]!=&returnValue) {
4852 if (args[0]==NULL) {
4911 if (args[0]==NULL) {
4853 PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result);
4912 PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result);
4854 } else {
4913 } else {
4855 returnValue = *((bool*)args[0]);
4914 returnValue = *((bool*)args[0]);
4856 }
4915 }
4857 }
4916 }
4858 }
4917 }
4859 if (result) { Py_DECREF(result); }
4918 if (result) { Py_DECREF(result); }
4860 Py_DECREF(obj);
4919 Py_DECREF(obj);
4861 return returnValue;
4920 return returnValue;
4862 }
4921 }
4863 }
4922 }
4864 return abstractBinFile::eventFilter(arg__1, arg__2);
4923 return abstractBinFile::eventFilter(arg__1, arg__2);
4865 }
4924 }
4866 QList<codeFragment* > PythonQtShell_abstractBinFile::getFragments()
4925 QList<codeFragment* > PythonQtShell_abstractBinFile::getFragments()
4867 {
4926 {
4868 if (_wrapper) {
4927 if (_wrapper) {
4869 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "getFragments");
4928 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "getFragments");
4870 PyErr_Clear();
4929 PyErr_Clear();
4871 if (obj && !PythonQtSlotFunction_Check(obj)) {
4930 if (obj && !PythonQtSlotFunction_Check(obj)) {
4872 static const char* argumentList[] ={"QList<codeFragment* >"};
4931 static const char* argumentList[] ={"QList<codeFragment* >"};
4873 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList);
4932 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList);
4874 QList<codeFragment* > returnValue;
4933 QList<codeFragment* > returnValue;
4875 void* args[1] = {NULL};
4934 void* args[1] = {NULL};
4876 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
4935 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
4877 if (result) {
4936 if (result) {
4878 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);
4879 if (args[0]!=&returnValue) {
4938 if (args[0]!=&returnValue) {
4880 if (args[0]==NULL) {
4939 if (args[0]==NULL) {
4881 PythonQt::priv()->handleVirtualOverloadReturnError("getFragments", methodInfo, result);
4940 PythonQt::priv()->handleVirtualOverloadReturnError("getFragments", methodInfo, result);
4882 } else {
4941 } else {
4883 returnValue = *((QList<codeFragment* >*)args[0]);
4942 returnValue = *((QList<codeFragment* >*)args[0]);
4884 }
4943 }
4885 }
4944 }
4886 }
4945 }
4887 if (result) { Py_DECREF(result); }
4946 if (result) { Py_DECREF(result); }
4888 Py_DECREF(obj);
4947 Py_DECREF(obj);
4889 return returnValue;
4948 return returnValue;
4890 }
4949 }
4891 }
4950 }
4892 return QList<codeFragment* >();
4951 return QList<codeFragment* >();
4893 }
4952 }
4894 bool PythonQtShell_abstractBinFile::isopened()
4953 bool PythonQtShell_abstractBinFile::isopened()
4895 {
4954 {
4896 if (_wrapper) {
4955 if (_wrapper) {
4897 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "isopened");
4956 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "isopened");
4898 PyErr_Clear();
4957 PyErr_Clear();
4899 if (obj && !PythonQtSlotFunction_Check(obj)) {
4958 if (obj && !PythonQtSlotFunction_Check(obj)) {
4900 static const char* argumentList[] ={"bool"};
4959 static const char* argumentList[] ={"bool"};
4901 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList);
4960 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList);
4902 bool returnValue;
4961 bool returnValue;
4903 void* args[1] = {NULL};
4962 void* args[1] = {NULL};
4904 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
4963 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
4905 if (result) {
4964 if (result) {
4906 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);
4907 if (args[0]!=&returnValue) {
4966 if (args[0]!=&returnValue) {
4908 if (args[0]==NULL) {
4967 if (args[0]==NULL) {
4909 PythonQt::priv()->handleVirtualOverloadReturnError("isopened", methodInfo, result);
4968 PythonQt::priv()->handleVirtualOverloadReturnError("isopened", methodInfo, result);
4910 } else {
4969 } else {
4911 returnValue = *((bool*)args[0]);
4970 returnValue = *((bool*)args[0]);
4912 }
4971 }
4913 }
4972 }
4914 }
4973 }
4915 if (result) { Py_DECREF(result); }
4974 if (result) { Py_DECREF(result); }
4916 Py_DECREF(obj);
4975 Py_DECREF(obj);
4917 return returnValue;
4976 return returnValue;
4918 }
4977 }
4919 }
4978 }
4920 return bool();
4979 return bool();
4921 }
4980 }
4922 bool PythonQtShell_abstractBinFile::openFile(const QString& File)
4981 bool PythonQtShell_abstractBinFile::openFile(const QString& File)
4923 {
4982 {
4924 if (_wrapper) {
4983 if (_wrapper) {
4925 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "openFile");
4984 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "openFile");
4926 PyErr_Clear();
4985 PyErr_Clear();
4927 if (obj && !PythonQtSlotFunction_Check(obj)) {
4986 if (obj && !PythonQtSlotFunction_Check(obj)) {
4928 static const char* argumentList[] ={"bool" , "const QString&"};
4987 static const char* argumentList[] ={"bool" , "const QString&"};
4929 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
4988 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
4930 bool returnValue;
4989 bool returnValue;
4931 void* args[2] = {NULL, (void*)&File};
4990 void* args[2] = {NULL, (void*)&File};
4932 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
4991 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
4933 if (result) {
4992 if (result) {
4934 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);
4935 if (args[0]!=&returnValue) {
4994 if (args[0]!=&returnValue) {
4936 if (args[0]==NULL) {
4995 if (args[0]==NULL) {
4937 PythonQt::priv()->handleVirtualOverloadReturnError("openFile", methodInfo, result);
4996 PythonQt::priv()->handleVirtualOverloadReturnError("openFile", methodInfo, result);
4938 } else {
4997 } else {
4939 returnValue = *((bool*)args[0]);
4998 returnValue = *((bool*)args[0]);
4940 }
4999 }
4941 }
5000 }
4942 }
5001 }
4943 if (result) { Py_DECREF(result); }
5002 if (result) { Py_DECREF(result); }
4944 Py_DECREF(obj);
5003 Py_DECREF(obj);
4945 return returnValue;
5004 return returnValue;
4946 }
5005 }
4947 }
5006 }
4948 return bool();
5007 return bool();
4949 }
5008 }
4950 void PythonQtShell_abstractBinFile::timerEvent(QTimerEvent* arg__1)
5009 void PythonQtShell_abstractBinFile::timerEvent(QTimerEvent* arg__1)
4951 {
5010 {
4952 if (_wrapper) {
5011 if (_wrapper) {
4953 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "timerEvent");
5012 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "timerEvent");
4954 PyErr_Clear();
5013 PyErr_Clear();
4955 if (obj && !PythonQtSlotFunction_Check(obj)) {
5014 if (obj && !PythonQtSlotFunction_Check(obj)) {
4956 static const char* argumentList[] ={"" , "QTimerEvent*"};
5015 static const char* argumentList[] ={"" , "QTimerEvent*"};
4957 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
5016 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
4958 void* args[2] = {NULL, (void*)&arg__1};
5017 void* args[2] = {NULL, (void*)&arg__1};
4959 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
5018 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
4960 if (result) { Py_DECREF(result); }
5019 if (result) { Py_DECREF(result); }
4961 Py_DECREF(obj);
5020 Py_DECREF(obj);
4962 return;
5021 return;
4963 }
5022 }
4964 }
5023 }
4965 abstractBinFile::timerEvent(arg__1);
5024 abstractBinFile::timerEvent(arg__1);
4966 }
5025 }
5026 bool PythonQtShell_abstractBinFile::toBinary(const QString& File)
5027 {
5028 if (_wrapper) {
5029 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "toBinary");
5030 PyErr_Clear();
5031 if (obj && !PythonQtSlotFunction_Check(obj)) {
5032 static const char* argumentList[] ={"bool" , "const QString&"};
5033 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
5034 bool returnValue;
5035 void* args[2] = {NULL, (void*)&File};
5036 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
5037 if (result) {
5038 args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue);
5039 if (args[0]!=&returnValue) {
5040 if (args[0]==NULL) {
5041 PythonQt::priv()->handleVirtualOverloadReturnError("toBinary", methodInfo, result);
5042 } else {
5043 returnValue = *((bool*)args[0]);
5044 }
5045 }
5046 }
5047 if (result) { Py_DECREF(result); }
5048 Py_DECREF(obj);
5049 return returnValue;
5050 }
5051 }
5052 return bool();
5053 }
5054 bool PythonQtShell_abstractBinFile::toSrec(const QString& File)
5055 {
5056 if (_wrapper) {
5057 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "toSrec");
5058 PyErr_Clear();
5059 if (obj && !PythonQtSlotFunction_Check(obj)) {
5060 static const char* argumentList[] ={"bool" , "const QString&"};
5061 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
5062 bool returnValue;
5063 void* args[2] = {NULL, (void*)&File};
5064 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
5065 if (result) {
5066 args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue);
5067 if (args[0]!=&returnValue) {
5068 if (args[0]==NULL) {
5069 PythonQt::priv()->handleVirtualOverloadReturnError("toSrec", methodInfo, result);
5070 } else {
5071 returnValue = *((bool*)args[0]);
5072 }
5073 }
5074 }
5075 if (result) { Py_DECREF(result); }
5076 Py_DECREF(obj);
5077 return returnValue;
5078 }
5079 }
5080 return bool();
5081 }
4967 abstractBinFile* PythonQtWrapper_abstractBinFile::new_abstractBinFile()
5082 abstractBinFile* PythonQtWrapper_abstractBinFile::new_abstractBinFile()
4968 {
5083 {
4969 return new PythonQtShell_abstractBinFile(); }
5084 return new PythonQtShell_abstractBinFile(); }
4970
5085
4971
5086
4972
5087
5088 PythonQtShell_abstractBinFileWidget::~PythonQtShell_abstractBinFileWidget() {
5089 PythonQtPrivate* priv = PythonQt::priv();
5090 if (priv) { priv->shellClassDeleted(this); }
5091 }
5092 void PythonQtShell_abstractBinFileWidget::actionEvent(QActionEvent* arg__1)
5093 {
5094 if (_wrapper) {
5095 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "actionEvent");
5096 PyErr_Clear();
5097 if (obj && !PythonQtSlotFunction_Check(obj)) {
5098 static const char* argumentList[] ={"" , "QActionEvent*"};
5099 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
5100 void* args[2] = {NULL, (void*)&arg__1};
5101 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
5102 if (result) { Py_DECREF(result); }
5103 Py_DECREF(obj);
5104 return;
5105 }
5106 }
5107 abstractBinFileWidget::actionEvent(arg__1);
5108 }
5109 void PythonQtShell_abstractBinFileWidget::changeEvent(QEvent* arg__1)
5110 {
5111 if (_wrapper) {
5112 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "changeEvent");
5113 PyErr_Clear();
5114 if (obj && !PythonQtSlotFunction_Check(obj)) {
5115 static const char* argumentList[] ={"" , "QEvent*"};
5116 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
5117 void* args[2] = {NULL, (void*)&arg__1};
5118 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
5119 if (result) { Py_DECREF(result); }
5120 Py_DECREF(obj);
5121 return;
5122 }
5123 }
5124 abstractBinFileWidget::changeEvent(arg__1);
5125 }
5126 void PythonQtShell_abstractBinFileWidget::childEvent(QChildEvent* arg__1)
5127 {
5128 if (_wrapper) {
5129 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "childEvent");
5130 PyErr_Clear();
5131 if (obj && !PythonQtSlotFunction_Check(obj)) {
5132 static const char* argumentList[] ={"" , "QChildEvent*"};
5133 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
5134 void* args[2] = {NULL, (void*)&arg__1};
5135 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
5136 if (result) { Py_DECREF(result); }
5137 Py_DECREF(obj);
5138 return;
5139 }
5140 }
5141 abstractBinFileWidget::childEvent(arg__1);
5142 }
5143 void PythonQtShell_abstractBinFileWidget::closeEvent(QCloseEvent* arg__1)
5144 {
5145 if (_wrapper) {
5146 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "closeEvent");
5147 PyErr_Clear();
5148 if (obj && !PythonQtSlotFunction_Check(obj)) {
5149 static const char* argumentList[] ={"" , "QCloseEvent*"};
5150 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
5151 void* args[2] = {NULL, (void*)&arg__1};
5152 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
5153 if (result) { Py_DECREF(result); }
5154 Py_DECREF(obj);
5155 return;
5156 }
5157 }
5158 abstractBinFileWidget::closeEvent(arg__1);
5159 }
5160 void PythonQtShell_abstractBinFileWidget::contextMenuEvent(QContextMenuEvent* arg__1)
5161 {
5162 if (_wrapper) {
5163 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "contextMenuEvent");
5164 PyErr_Clear();
5165 if (obj && !PythonQtSlotFunction_Check(obj)) {
5166 static const char* argumentList[] ={"" , "QContextMenuEvent*"};
5167 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
5168 void* args[2] = {NULL, (void*)&arg__1};
5169 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
5170 if (result) { Py_DECREF(result); }
5171 Py_DECREF(obj);
5172 return;
5173 }
5174 }
5175 abstractBinFileWidget::contextMenuEvent(arg__1);
5176 }
5177 void PythonQtShell_abstractBinFileWidget::customEvent(QEvent* arg__1)
5178 {
5179 if (_wrapper) {
5180 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "customEvent");
5181 PyErr_Clear();
5182 if (obj && !PythonQtSlotFunction_Check(obj)) {
5183 static const char* argumentList[] ={"" , "QEvent*"};
5184 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
5185 void* args[2] = {NULL, (void*)&arg__1};
5186 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
5187 if (result) { Py_DECREF(result); }
5188 Py_DECREF(obj);
5189 return;
5190 }
5191 }
5192 abstractBinFileWidget::customEvent(arg__1);
5193 }
5194 int PythonQtShell_abstractBinFileWidget::devType() const
5195 {
5196 if (_wrapper) {
5197 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "devType");
5198 PyErr_Clear();
5199 if (obj && !PythonQtSlotFunction_Check(obj)) {
5200 static const char* argumentList[] ={"int"};
5201 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList);
5202 int returnValue;
5203 void* args[1] = {NULL};
5204 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
5205 if (result) {
5206 args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue);
5207 if (args[0]!=&returnValue) {
5208 if (args[0]==NULL) {
5209 PythonQt::priv()->handleVirtualOverloadReturnError("devType", methodInfo, result);
5210 } else {
5211 returnValue = *((int*)args[0]);
5212 }
5213 }
5214 }
5215 if (result) { Py_DECREF(result); }
5216 Py_DECREF(obj);
5217 return returnValue;
5218 }
5219 }
5220 return abstractBinFileWidget::devType();
5221 }
5222 void PythonQtShell_abstractBinFileWidget::dragEnterEvent(QDragEnterEvent* arg__1)
5223 {
5224 if (_wrapper) {
5225 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dragEnterEvent");
5226 PyErr_Clear();
5227 if (obj && !PythonQtSlotFunction_Check(obj)) {
5228 static const char* argumentList[] ={"" , "QDragEnterEvent*"};
5229 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
5230 void* args[2] = {NULL, (void*)&arg__1};
5231 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
5232 if (result) { Py_DECREF(result); }
5233 Py_DECREF(obj);
5234 return;
5235 }
5236 }
5237 abstractBinFileWidget::dragEnterEvent(arg__1);
5238 }
5239 void PythonQtShell_abstractBinFileWidget::dragLeaveEvent(QDragLeaveEvent* arg__1)
5240 {
5241 if (_wrapper) {
5242 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dragLeaveEvent");
5243 PyErr_Clear();
5244 if (obj && !PythonQtSlotFunction_Check(obj)) {
5245 static const char* argumentList[] ={"" , "QDragLeaveEvent*"};
5246 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
5247 void* args[2] = {NULL, (void*)&arg__1};
5248 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
5249 if (result) { Py_DECREF(result); }
5250 Py_DECREF(obj);
5251 return;
5252 }
5253 }
5254 abstractBinFileWidget::dragLeaveEvent(arg__1);
5255 }
5256 void PythonQtShell_abstractBinFileWidget::dragMoveEvent(QDragMoveEvent* arg__1)
5257 {
5258 if (_wrapper) {
5259 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dragMoveEvent");
5260 PyErr_Clear();
5261 if (obj && !PythonQtSlotFunction_Check(obj)) {
5262 static const char* argumentList[] ={"" , "QDragMoveEvent*"};
5263 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
5264 void* args[2] = {NULL, (void*)&arg__1};
5265 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
5266 if (result) { Py_DECREF(result); }
5267 Py_DECREF(obj);
5268 return;
5269 }
5270 }
5271 abstractBinFileWidget::dragMoveEvent(arg__1);
5272 }
5273 void PythonQtShell_abstractBinFileWidget::dropEvent(QDropEvent* arg__1)
5274 {
5275 if (_wrapper) {
5276 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dropEvent");
5277 PyErr_Clear();
5278 if (obj && !PythonQtSlotFunction_Check(obj)) {
5279 static const char* argumentList[] ={"" , "QDropEvent*"};
5280 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
5281 void* args[2] = {NULL, (void*)&arg__1};
5282 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
5283 if (result) { Py_DECREF(result); }
5284 Py_DECREF(obj);
5285 return;
5286 }
5287 }
5288 abstractBinFileWidget::dropEvent(arg__1);
5289 }
5290 void PythonQtShell_abstractBinFileWidget::enterEvent(QEvent* arg__1)
5291 {
5292 if (_wrapper) {
5293 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "enterEvent");
5294 PyErr_Clear();
5295 if (obj && !PythonQtSlotFunction_Check(obj)) {
5296 static const char* argumentList[] ={"" , "QEvent*"};
5297 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
5298 void* args[2] = {NULL, (void*)&arg__1};
5299 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
5300 if (result) { Py_DECREF(result); }
5301 Py_DECREF(obj);
5302 return;
5303 }
5304 }
5305 abstractBinFileWidget::enterEvent(arg__1);
5306 }
5307 bool PythonQtShell_abstractBinFileWidget::event(QEvent* arg__1)
5308 {
5309 if (_wrapper) {
5310 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "event");
5311 PyErr_Clear();
5312 if (obj && !PythonQtSlotFunction_Check(obj)) {
5313 static const char* argumentList[] ={"bool" , "QEvent*"};
5314 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
5315 bool returnValue;
5316 void* args[2] = {NULL, (void*)&arg__1};
5317 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
5318 if (result) {
5319 args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue);
5320 if (args[0]!=&returnValue) {
5321 if (args[0]==NULL) {
5322 PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result);
5323 } else {
5324 returnValue = *((bool*)args[0]);
5325 }
5326 }
5327 }
5328 if (result) { Py_DECREF(result); }
5329 Py_DECREF(obj);
5330 return returnValue;
5331 }
5332 }
5333 return abstractBinFileWidget::event(arg__1);
5334 }
5335 bool PythonQtShell_abstractBinFileWidget::eventFilter(QObject* arg__1, QEvent* arg__2)
5336 {
5337 if (_wrapper) {
5338 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "eventFilter");
5339 PyErr_Clear();
5340 if (obj && !PythonQtSlotFunction_Check(obj)) {
5341 static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"};
5342 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList);
5343 bool returnValue;
5344 void* args[3] = {NULL, (void*)&arg__1, (void*)&arg__2};
5345 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
5346 if (result) {
5347 args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue);
5348 if (args[0]!=&returnValue) {
5349 if (args[0]==NULL) {
5350 PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result);
5351 } else {
5352 returnValue = *((bool*)args[0]);
5353 }
5354 }
5355 }
5356 if (result) { Py_DECREF(result); }
5357 Py_DECREF(obj);
5358 return returnValue;
5359 }
5360 }
5361 return abstractBinFileWidget::eventFilter(arg__1, arg__2);
5362 }
5363 void PythonQtShell_abstractBinFileWidget::focusInEvent(QFocusEvent* arg__1)
5364 {
5365 if (_wrapper) {
5366 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "focusInEvent");
5367 PyErr_Clear();
5368 if (obj && !PythonQtSlotFunction_Check(obj)) {
5369 static const char* argumentList[] ={"" , "QFocusEvent*"};
5370 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
5371 void* args[2] = {NULL, (void*)&arg__1};
5372 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
5373 if (result) { Py_DECREF(result); }
5374 Py_DECREF(obj);
5375 return;
5376 }
5377 }
5378 abstractBinFileWidget::focusInEvent(arg__1);
5379 }
5380 bool PythonQtShell_abstractBinFileWidget::focusNextPrevChild(bool next)
5381 {
5382 if (_wrapper) {
5383 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "focusNextPrevChild");
5384 PyErr_Clear();
5385 if (obj && !PythonQtSlotFunction_Check(obj)) {
5386 static const char* argumentList[] ={"bool" , "bool"};
5387 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
5388 bool returnValue;
5389 void* args[2] = {NULL, (void*)&next};
5390 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
5391 if (result) {
5392 args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue);
5393 if (args[0]!=&returnValue) {
5394 if (args[0]==NULL) {
5395 PythonQt::priv()->handleVirtualOverloadReturnError("focusNextPrevChild", methodInfo, result);
5396 } else {
5397 returnValue = *((bool*)args[0]);
5398 }
5399 }
5400 }
5401 if (result) { Py_DECREF(result); }
5402 Py_DECREF(obj);
5403 return returnValue;
5404 }
5405 }
5406 return abstractBinFileWidget::focusNextPrevChild(next);
5407 }
5408 void PythonQtShell_abstractBinFileWidget::focusOutEvent(QFocusEvent* arg__1)
5409 {
5410 if (_wrapper) {
5411 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "focusOutEvent");
5412 PyErr_Clear();
5413 if (obj && !PythonQtSlotFunction_Check(obj)) {
5414 static const char* argumentList[] ={"" , "QFocusEvent*"};
5415 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
5416 void* args[2] = {NULL, (void*)&arg__1};
5417 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
5418 if (result) { Py_DECREF(result); }
5419 Py_DECREF(obj);
5420 return;
5421 }
5422 }
5423 abstractBinFileWidget::focusOutEvent(arg__1);
5424 }
5425 bool PythonQtShell_abstractBinFileWidget::hasHeightForWidth() const
5426 {
5427 if (_wrapper) {
5428 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "hasHeightForWidth");
5429 PyErr_Clear();
5430 if (obj && !PythonQtSlotFunction_Check(obj)) {
5431 static const char* argumentList[] ={"bool"};
5432 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList);
5433 bool returnValue;
5434 void* args[1] = {NULL};
5435 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
5436 if (result) {
5437 args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue);
5438 if (args[0]!=&returnValue) {
5439 if (args[0]==NULL) {
5440 PythonQt::priv()->handleVirtualOverloadReturnError("hasHeightForWidth", methodInfo, result);
5441 } else {
5442 returnValue = *((bool*)args[0]);
5443 }
5444 }
5445 }
5446 if (result) { Py_DECREF(result); }
5447 Py_DECREF(obj);
5448 return returnValue;
5449 }
5450 }
5451 return abstractBinFileWidget::hasHeightForWidth();
5452 }
5453 int PythonQtShell_abstractBinFileWidget::heightForWidth(int arg__1) const
5454 {
5455 if (_wrapper) {
5456 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "heightForWidth");
5457 PyErr_Clear();
5458 if (obj && !PythonQtSlotFunction_Check(obj)) {
5459 static const char* argumentList[] ={"int" , "int"};
5460 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
5461 int returnValue;
5462 void* args[2] = {NULL, (void*)&arg__1};
5463 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
5464 if (result) {
5465 args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue);
5466 if (args[0]!=&returnValue) {
5467 if (args[0]==NULL) {
5468 PythonQt::priv()->handleVirtualOverloadReturnError("heightForWidth", methodInfo, result);
5469 } else {
5470 returnValue = *((int*)args[0]);
5471 }
5472 }
5473 }
5474 if (result) { Py_DECREF(result); }
5475 Py_DECREF(obj);
5476 return returnValue;
5477 }
5478 }
5479 return abstractBinFileWidget::heightForWidth(arg__1);
5480 }
5481 void PythonQtShell_abstractBinFileWidget::hideEvent(QHideEvent* arg__1)
5482 {
5483 if (_wrapper) {
5484 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "hideEvent");
5485 PyErr_Clear();
5486 if (obj && !PythonQtSlotFunction_Check(obj)) {
5487 static const char* argumentList[] ={"" , "QHideEvent*"};
5488 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
5489 void* args[2] = {NULL, (void*)&arg__1};
5490 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
5491 if (result) { Py_DECREF(result); }
5492 Py_DECREF(obj);
5493 return;
5494 }
5495 }
5496 abstractBinFileWidget::hideEvent(arg__1);
5497 }
5498 void PythonQtShell_abstractBinFileWidget::initPainter(QPainter* painter) const
5499 {
5500 if (_wrapper) {
5501 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "initPainter");
5502 PyErr_Clear();
5503 if (obj && !PythonQtSlotFunction_Check(obj)) {
5504 static const char* argumentList[] ={"" , "QPainter*"};
5505 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
5506 void* args[2] = {NULL, (void*)&painter};
5507 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
5508 if (result) { Py_DECREF(result); }
5509 Py_DECREF(obj);
5510 return;
5511 }
5512 }
5513 abstractBinFileWidget::initPainter(painter);
5514 }
5515 void PythonQtShell_abstractBinFileWidget::inputMethodEvent(QInputMethodEvent* arg__1)
5516 {
5517 if (_wrapper) {
5518 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "inputMethodEvent");
5519 PyErr_Clear();
5520 if (obj && !PythonQtSlotFunction_Check(obj)) {
5521 static const char* argumentList[] ={"" , "QInputMethodEvent*"};
5522 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
5523 void* args[2] = {NULL, (void*)&arg__1};
5524 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
5525 if (result) { Py_DECREF(result); }
5526 Py_DECREF(obj);
5527 return;
5528 }
5529 }
5530 abstractBinFileWidget::inputMethodEvent(arg__1);
5531 }
5532 QVariant PythonQtShell_abstractBinFileWidget::inputMethodQuery(Qt::InputMethodQuery arg__1) const
5533 {
5534 if (_wrapper) {
5535 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "inputMethodQuery");
5536 PyErr_Clear();
5537 if (obj && !PythonQtSlotFunction_Check(obj)) {
5538 static const char* argumentList[] ={"QVariant" , "Qt::InputMethodQuery"};
5539 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
5540 QVariant returnValue;
5541 void* args[2] = {NULL, (void*)&arg__1};
5542 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
5543 if (result) {
5544 args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue);
5545 if (args[0]!=&returnValue) {
5546 if (args[0]==NULL) {
5547 PythonQt::priv()->handleVirtualOverloadReturnError("inputMethodQuery", methodInfo, result);
5548 } else {
5549 returnValue = *((QVariant*)args[0]);
5550 }
5551 }
5552 }
5553 if (result) { Py_DECREF(result); }
5554 Py_DECREF(obj);
5555 return returnValue;
5556 }
5557 }
5558 return abstractBinFileWidget::inputMethodQuery(arg__1);
5559 }
5560 void PythonQtShell_abstractBinFileWidget::keyPressEvent(QKeyEvent* arg__1)
5561 {
5562 if (_wrapper) {
5563 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "keyPressEvent");
5564 PyErr_Clear();
5565 if (obj && !PythonQtSlotFunction_Check(obj)) {
5566 static const char* argumentList[] ={"" , "QKeyEvent*"};
5567 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
5568 void* args[2] = {NULL, (void*)&arg__1};
5569 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
5570 if (result) { Py_DECREF(result); }
5571 Py_DECREF(obj);
5572 return;
5573 }
5574 }
5575 abstractBinFileWidget::keyPressEvent(arg__1);
5576 }
5577 void PythonQtShell_abstractBinFileWidget::keyReleaseEvent(QKeyEvent* arg__1)
5578 {
5579 if (_wrapper) {
5580 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "keyReleaseEvent");
5581 PyErr_Clear();
5582 if (obj && !PythonQtSlotFunction_Check(obj)) {
5583 static const char* argumentList[] ={"" , "QKeyEvent*"};
5584 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
5585 void* args[2] = {NULL, (void*)&arg__1};
5586 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
5587 if (result) { Py_DECREF(result); }
5588 Py_DECREF(obj);
5589 return;
5590 }
5591 }
5592 abstractBinFileWidget::keyReleaseEvent(arg__1);
5593 }
5594 void PythonQtShell_abstractBinFileWidget::leaveEvent(QEvent* arg__1)
5595 {
5596 if (_wrapper) {
5597 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "leaveEvent");
5598 PyErr_Clear();
5599 if (obj && !PythonQtSlotFunction_Check(obj)) {
5600 static const char* argumentList[] ={"" , "QEvent*"};
5601 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
5602 void* args[2] = {NULL, (void*)&arg__1};
5603 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
5604 if (result) { Py_DECREF(result); }
5605 Py_DECREF(obj);
5606 return;
5607 }
5608 }
5609 abstractBinFileWidget::leaveEvent(arg__1);
5610 }
5611 int PythonQtShell_abstractBinFileWidget::metric(QPaintDevice::PaintDeviceMetric arg__1) const
5612 {
5613 if (_wrapper) {
5614 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "metric");
5615 PyErr_Clear();
5616 if (obj && !PythonQtSlotFunction_Check(obj)) {
5617 static const char* argumentList[] ={"int" , "QPaintDevice::PaintDeviceMetric"};
5618 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
5619 int returnValue;
5620 void* args[2] = {NULL, (void*)&arg__1};
5621 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
5622 if (result) {
5623 args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue);
5624 if (args[0]!=&returnValue) {
5625 if (args[0]==NULL) {
5626 PythonQt::priv()->handleVirtualOverloadReturnError("metric", methodInfo, result);
5627 } else {
5628 returnValue = *((int*)args[0]);
5629 }
5630 }
5631 }
5632 if (result) { Py_DECREF(result); }
5633 Py_DECREF(obj);
5634 return returnValue;
5635 }
5636 }
5637 return abstractBinFileWidget::metric(arg__1);
5638 }
5639 QSize PythonQtShell_abstractBinFileWidget::minimumSizeHint() const
5640 {
5641 if (_wrapper) {
5642 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "getMinimumSizeHint");
5643 PyErr_Clear();
5644 if (obj && !PythonQtSlotFunction_Check(obj)) {
5645 static const char* argumentList[] ={"QSize"};
5646 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList);
5647 QSize returnValue;
5648 void* args[1] = {NULL};
5649 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
5650 if (result) {
5651 args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue);
5652 if (args[0]!=&returnValue) {
5653 if (args[0]==NULL) {
5654 PythonQt::priv()->handleVirtualOverloadReturnError("getMinimumSizeHint", methodInfo, result);
5655 } else {
5656 returnValue = *((QSize*)args[0]);
5657 }
5658 }
5659 }
5660 if (result) { Py_DECREF(result); }
5661 Py_DECREF(obj);
5662 return returnValue;
5663 }
5664 }
5665 return abstractBinFileWidget::minimumSizeHint();
5666 }
5667 void PythonQtShell_abstractBinFileWidget::mouseDoubleClickEvent(QMouseEvent* arg__1)
5668 {
5669 if (_wrapper) {
5670 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mouseDoubleClickEvent");
5671 PyErr_Clear();
5672 if (obj && !PythonQtSlotFunction_Check(obj)) {
5673 static const char* argumentList[] ={"" , "QMouseEvent*"};
5674 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
5675 void* args[2] = {NULL, (void*)&arg__1};
5676 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
5677 if (result) { Py_DECREF(result); }
5678 Py_DECREF(obj);
5679 return;
5680 }
5681 }
5682 abstractBinFileWidget::mouseDoubleClickEvent(arg__1);
5683 }
5684 void PythonQtShell_abstractBinFileWidget::mouseMoveEvent(QMouseEvent* arg__1)
5685 {
5686 if (_wrapper) {
5687 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mouseMoveEvent");
5688 PyErr_Clear();
5689 if (obj && !PythonQtSlotFunction_Check(obj)) {
5690 static const char* argumentList[] ={"" , "QMouseEvent*"};
5691 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
5692 void* args[2] = {NULL, (void*)&arg__1};
5693 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
5694 if (result) { Py_DECREF(result); }
5695 Py_DECREF(obj);
5696 return;
5697 }
5698 }
5699 abstractBinFileWidget::mouseMoveEvent(arg__1);
5700 }
5701 void PythonQtShell_abstractBinFileWidget::mousePressEvent(QMouseEvent* arg__1)
5702 {
5703 if (_wrapper) {
5704 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mousePressEvent");
5705 PyErr_Clear();
5706 if (obj && !PythonQtSlotFunction_Check(obj)) {
5707 static const char* argumentList[] ={"" , "QMouseEvent*"};
5708 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
5709 void* args[2] = {NULL, (void*)&arg__1};
5710 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
5711 if (result) { Py_DECREF(result); }
5712 Py_DECREF(obj);
5713 return;
5714 }
5715 }
5716 abstractBinFileWidget::mousePressEvent(arg__1);
5717 }
5718 void PythonQtShell_abstractBinFileWidget::mouseReleaseEvent(QMouseEvent* arg__1)
5719 {
5720 if (_wrapper) {
5721 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mouseReleaseEvent");
5722 PyErr_Clear();
5723 if (obj && !PythonQtSlotFunction_Check(obj)) {
5724 static const char* argumentList[] ={"" , "QMouseEvent*"};
5725 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
5726 void* args[2] = {NULL, (void*)&arg__1};
5727 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
5728 if (result) { Py_DECREF(result); }
5729 Py_DECREF(obj);
5730 return;
5731 }
5732 }
5733 abstractBinFileWidget::mouseReleaseEvent(arg__1);
5734 }
5735 void PythonQtShell_abstractBinFileWidget::moveEvent(QMoveEvent* arg__1)
5736 {
5737 if (_wrapper) {
5738 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "moveEvent");
5739 PyErr_Clear();
5740 if (obj && !PythonQtSlotFunction_Check(obj)) {
5741 static const char* argumentList[] ={"" , "QMoveEvent*"};
5742 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
5743 void* args[2] = {NULL, (void*)&arg__1};
5744 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
5745 if (result) { Py_DECREF(result); }
5746 Py_DECREF(obj);
5747 return;
5748 }
5749 }
5750 abstractBinFileWidget::moveEvent(arg__1);
5751 }
5752 bool PythonQtShell_abstractBinFileWidget::nativeEvent(const QByteArray& eventType, void* message, long* result)
5753 {
5754 if (_wrapper) {
5755 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "nativeEvent");
5756 PyErr_Clear();
5757 if (obj && !PythonQtSlotFunction_Check(obj)) {
5758 static const char* argumentList[] ={"bool" , "const QByteArray&" , "void*" , "long*"};
5759 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList);
5760 bool returnValue;
5761 void* args[4] = {NULL, (void*)&eventType, (void*)&message, (void*)&result};
5762 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
5763 if (result) {
5764 args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue);
5765 if (args[0]!=&returnValue) {
5766 if (args[0]==NULL) {
5767 PythonQt::priv()->handleVirtualOverloadReturnError("nativeEvent", methodInfo, result);
5768 } else {
5769 returnValue = *((bool*)args[0]);
5770 }
5771 }
5772 }
5773 if (result) { Py_DECREF(result); }
5774 Py_DECREF(obj);
5775 return returnValue;
5776 }
5777 }
5778 return abstractBinFileWidget::nativeEvent(eventType, message, result);
5779 }
5780 QPaintEngine* PythonQtShell_abstractBinFileWidget::paintEngine() const
5781 {
5782 if (_wrapper) {
5783 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "paintEngine");
5784 PyErr_Clear();
5785 if (obj && !PythonQtSlotFunction_Check(obj)) {
5786 static const char* argumentList[] ={"QPaintEngine*"};
5787 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList);
5788 QPaintEngine* returnValue;
5789 void* args[1] = {NULL};
5790 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
5791 if (result) {
5792 args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue);
5793 if (args[0]!=&returnValue) {
5794 if (args[0]==NULL) {
5795 PythonQt::priv()->handleVirtualOverloadReturnError("paintEngine", methodInfo, result);
5796 } else {
5797 returnValue = *((QPaintEngine**)args[0]);
5798 }
5799 }
5800 }
5801 if (result) { Py_DECREF(result); }
5802 Py_DECREF(obj);
5803 return returnValue;
5804 }
5805 }
5806 return abstractBinFileWidget::paintEngine();
5807 }
5808 void PythonQtShell_abstractBinFileWidget::paintEvent(QPaintEvent* arg__1)
5809 {
5810 if (_wrapper) {
5811 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "paintEvent");
5812 PyErr_Clear();
5813 if (obj && !PythonQtSlotFunction_Check(obj)) {
5814 static const char* argumentList[] ={"" , "QPaintEvent*"};
5815 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
5816 void* args[2] = {NULL, (void*)&arg__1};
5817 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
5818 if (result) { Py_DECREF(result); }
5819 Py_DECREF(obj);
5820 return;
5821 }
5822 }
5823 abstractBinFileWidget::paintEvent(arg__1);
5824 }
5825 QPaintDevice* PythonQtShell_abstractBinFileWidget::redirected(QPoint* offset) const
5826 {
5827 if (_wrapper) {
5828 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "redirected");
5829 PyErr_Clear();
5830 if (obj && !PythonQtSlotFunction_Check(obj)) {
5831 static const char* argumentList[] ={"QPaintDevice*" , "QPoint*"};
5832 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
5833 QPaintDevice* returnValue;
5834 void* args[2] = {NULL, (void*)&offset};
5835 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
5836 if (result) {
5837 args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue);
5838 if (args[0]!=&returnValue) {
5839 if (args[0]==NULL) {
5840 PythonQt::priv()->handleVirtualOverloadReturnError("redirected", methodInfo, result);
5841 } else {
5842 returnValue = *((QPaintDevice**)args[0]);
5843 }
5844 }
5845 }
5846 if (result) { Py_DECREF(result); }
5847 Py_DECREF(obj);
5848 return returnValue;
5849 }
5850 }
5851 return abstractBinFileWidget::redirected(offset);
5852 }
5853 void PythonQtShell_abstractBinFileWidget::reloadFile()
5854 {
5855 if (_wrapper) {
5856 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "reloadFile");
5857 PyErr_Clear();
5858 if (obj && !PythonQtSlotFunction_Check(obj)) {
5859 static const char* argumentList[] ={""};
5860 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList);
5861 void* args[1] = {NULL};
5862 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
5863 if (result) { Py_DECREF(result); }
5864 Py_DECREF(obj);
5865 return;
5866 }
5867 }
5868
5869 }
5870 void PythonQtShell_abstractBinFileWidget::resizeEvent(QResizeEvent* arg__1)
5871 {
5872 if (_wrapper) {
5873 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "resizeEvent");
5874 PyErr_Clear();
5875 if (obj && !PythonQtSlotFunction_Check(obj)) {
5876 static const char* argumentList[] ={"" , "QResizeEvent*"};
5877 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
5878 void* args[2] = {NULL, (void*)&arg__1};
5879 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
5880 if (result) { Py_DECREF(result); }
5881 Py_DECREF(obj);
5882 return;
5883 }
5884 }
5885 abstractBinFileWidget::resizeEvent(arg__1);
5886 }
5887 void PythonQtShell_abstractBinFileWidget::setFile(abstractBinFile* file)
5888 {
5889 if (_wrapper) {
5890 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "setFile");
5891 PyErr_Clear();
5892 if (obj && !PythonQtSlotFunction_Check(obj)) {
5893 static const char* argumentList[] ={"" , "abstractBinFile*"};
5894 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
5895 void* args[2] = {NULL, (void*)&file};
5896 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
5897 if (result) { Py_DECREF(result); }
5898 Py_DECREF(obj);
5899 return;
5900 }
5901 }
5902
5903 }
5904 QPainter* PythonQtShell_abstractBinFileWidget::sharedPainter() const
5905 {
5906 if (_wrapper) {
5907 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "sharedPainter");
5908 PyErr_Clear();
5909 if (obj && !PythonQtSlotFunction_Check(obj)) {
5910 static const char* argumentList[] ={"QPainter*"};
5911 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList);
5912 QPainter* returnValue;
5913 void* args[1] = {NULL};
5914 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
5915 if (result) {
5916 args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue);
5917 if (args[0]!=&returnValue) {
5918 if (args[0]==NULL) {
5919 PythonQt::priv()->handleVirtualOverloadReturnError("sharedPainter", methodInfo, result);
5920 } else {
5921 returnValue = *((QPainter**)args[0]);
5922 }
5923 }
5924 }
5925 if (result) { Py_DECREF(result); }
5926 Py_DECREF(obj);
5927 return returnValue;
5928 }
5929 }
5930 return abstractBinFileWidget::sharedPainter();
5931 }
5932 void PythonQtShell_abstractBinFileWidget::showEvent(QShowEvent* arg__1)
5933 {
5934 if (_wrapper) {
5935 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "showEvent");
5936 PyErr_Clear();
5937 if (obj && !PythonQtSlotFunction_Check(obj)) {
5938 static const char* argumentList[] ={"" , "QShowEvent*"};
5939 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
5940 void* args[2] = {NULL, (void*)&arg__1};
5941 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
5942 if (result) { Py_DECREF(result); }
5943 Py_DECREF(obj);
5944 return;
5945 }
5946 }
5947 abstractBinFileWidget::showEvent(arg__1);
5948 }
5949 QSize PythonQtShell_abstractBinFileWidget::sizeHint() const
5950 {
5951 if (_wrapper) {
5952 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "getSizeHint");
5953 PyErr_Clear();
5954 if (obj && !PythonQtSlotFunction_Check(obj)) {
5955 static const char* argumentList[] ={"QSize"};
5956 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList);
5957 QSize returnValue;
5958 void* args[1] = {NULL};
5959 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
5960 if (result) {
5961 args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue);
5962 if (args[0]!=&returnValue) {
5963 if (args[0]==NULL) {
5964 PythonQt::priv()->handleVirtualOverloadReturnError("getSizeHint", methodInfo, result);
5965 } else {
5966 returnValue = *((QSize*)args[0]);
5967 }
5968 }
5969 }
5970 if (result) { Py_DECREF(result); }
5971 Py_DECREF(obj);
5972 return returnValue;
5973 }
5974 }
5975 return abstractBinFileWidget::sizeHint();
5976 }
5977 void PythonQtShell_abstractBinFileWidget::tabletEvent(QTabletEvent* arg__1)
5978 {
5979 if (_wrapper) {
5980 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "tabletEvent");
5981 PyErr_Clear();
5982 if (obj && !PythonQtSlotFunction_Check(obj)) {
5983 static const char* argumentList[] ={"" , "QTabletEvent*"};
5984 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
5985 void* args[2] = {NULL, (void*)&arg__1};
5986 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
5987 if (result) { Py_DECREF(result); }
5988 Py_DECREF(obj);
5989 return;
5990 }
5991 }
5992 abstractBinFileWidget::tabletEvent(arg__1);
5993 }
5994 void PythonQtShell_abstractBinFileWidget::timerEvent(QTimerEvent* arg__1)
5995 {
5996 if (_wrapper) {
5997 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "timerEvent");
5998 PyErr_Clear();
5999 if (obj && !PythonQtSlotFunction_Check(obj)) {
6000 static const char* argumentList[] ={"" , "QTimerEvent*"};
6001 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
6002 void* args[2] = {NULL, (void*)&arg__1};
6003 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
6004 if (result) { Py_DECREF(result); }
6005 Py_DECREF(obj);
6006 return;
6007 }
6008 }
6009 abstractBinFileWidget::timerEvent(arg__1);
6010 }
6011 void PythonQtShell_abstractBinFileWidget::wheelEvent(QWheelEvent* arg__1)
6012 {
6013 if (_wrapper) {
6014 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "wheelEvent");
6015 PyErr_Clear();
6016 if (obj && !PythonQtSlotFunction_Check(obj)) {
6017 static const char* argumentList[] ={"" , "QWheelEvent*"};
6018 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
6019 void* args[2] = {NULL, (void*)&arg__1};
6020 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
6021 if (result) { Py_DECREF(result); }
6022 Py_DECREF(obj);
6023 return;
6024 }
6025 }
6026 abstractBinFileWidget::wheelEvent(arg__1);
6027 }
6028 abstractBinFileWidget* PythonQtWrapper_abstractBinFileWidget::new_abstractBinFileWidget(QWidget* parent)
6029 {
6030 return new PythonQtShell_abstractBinFileWidget(parent); }
6031
6032
6033
4973 PythonQtShell_binaryFile::~PythonQtShell_binaryFile() {
6034 PythonQtShell_binaryFile::~PythonQtShell_binaryFile() {
4974 PythonQtPrivate* priv = PythonQt::priv();
6035 PythonQtPrivate* priv = PythonQt::priv();
4975 if (priv) { priv->shellClassDeleted(this); }
6036 if (priv) { priv->shellClassDeleted(this); }
4976 }
6037 }
4977 int PythonQtShell_binaryFile::closeFile()
6038 int PythonQtShell_binaryFile::closeFile()
4978 {
6039 {
4979 if (_wrapper) {
6040 if (_wrapper) {
4980 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "closeFile");
6041 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "closeFile");
4981 PyErr_Clear();
6042 PyErr_Clear();
4982 if (obj && !PythonQtSlotFunction_Check(obj)) {
6043 if (obj && !PythonQtSlotFunction_Check(obj)) {
4983 static const char* argumentList[] ={"int"};
6044 static const char* argumentList[] ={"int"};
4984 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList);
6045 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList);
4985 int returnValue;
6046 int returnValue;
4986 void* args[1] = {NULL};
6047 void* args[1] = {NULL};
4987 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
6048 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
4988 if (result) {
6049 if (result) {
4989 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);
4990 if (args[0]!=&returnValue) {
6051 if (args[0]!=&returnValue) {
4991 if (args[0]==NULL) {
6052 if (args[0]==NULL) {
4992 PythonQt::priv()->handleVirtualOverloadReturnError("closeFile", methodInfo, result);
6053 PythonQt::priv()->handleVirtualOverloadReturnError("closeFile", methodInfo, result);
4993 } else {
6054 } else {
4994 returnValue = *((int*)args[0]);
6055 returnValue = *((int*)args[0]);
4995 }
6056 }
4996 }
6057 }
4997 }
6058 }
4998 if (result) { Py_DECREF(result); }
6059 if (result) { Py_DECREF(result); }
4999 Py_DECREF(obj);
6060 Py_DECREF(obj);
5000 return returnValue;
6061 return returnValue;
5001 }
6062 }
5002 }
6063 }
5003 return binaryFile::closeFile();
6064 return binaryFile::closeFile();
5004 }
6065 }
5005 QList<codeFragment* > PythonQtShell_binaryFile::getFragments()
6066 QList<codeFragment* > PythonQtShell_binaryFile::getFragments()
5006 {
6067 {
5007 if (_wrapper) {
6068 if (_wrapper) {
5008 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "getFragments");
6069 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "getFragments");
5009 PyErr_Clear();
6070 PyErr_Clear();
5010 if (obj && !PythonQtSlotFunction_Check(obj)) {
6071 if (obj && !PythonQtSlotFunction_Check(obj)) {
5011 static const char* argumentList[] ={"QList<codeFragment* >"};
6072 static const char* argumentList[] ={"QList<codeFragment* >"};
5012 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList);
6073 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList);
5013 QList<codeFragment* > returnValue;
6074 QList<codeFragment* > returnValue;
5014 void* args[1] = {NULL};
6075 void* args[1] = {NULL};
5015 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
6076 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
5016 if (result) {
6077 if (result) {
5017 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);
5018 if (args[0]!=&returnValue) {
6079 if (args[0]!=&returnValue) {
5019 if (args[0]==NULL) {
6080 if (args[0]==NULL) {
5020 PythonQt::priv()->handleVirtualOverloadReturnError("getFragments", methodInfo, result);
6081 PythonQt::priv()->handleVirtualOverloadReturnError("getFragments", methodInfo, result);
5021 } else {
6082 } else {
5022 returnValue = *((QList<codeFragment* >*)args[0]);
6083 returnValue = *((QList<codeFragment* >*)args[0]);
5023 }
6084 }
5024 }
6085 }
5025 }
6086 }
5026 if (result) { Py_DECREF(result); }
6087 if (result) { Py_DECREF(result); }
5027 Py_DECREF(obj);
6088 Py_DECREF(obj);
5028 return returnValue;
6089 return returnValue;
5029 }
6090 }
5030 }
6091 }
5031 return binaryFile::getFragments();
6092 return binaryFile::getFragments();
5032 }
6093 }
5033 bool PythonQtShell_binaryFile::isopened()
6094 bool PythonQtShell_binaryFile::isopened()
5034 {
6095 {
5035 if (_wrapper) {
6096 if (_wrapper) {
5036 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "isopened");
6097 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "isopened");
5037 PyErr_Clear();
6098 PyErr_Clear();
5038 if (obj && !PythonQtSlotFunction_Check(obj)) {
6099 if (obj && !PythonQtSlotFunction_Check(obj)) {
5039 static const char* argumentList[] ={"bool"};
6100 static const char* argumentList[] ={"bool"};
5040 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList);
6101 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList);
5041 bool returnValue;
6102 bool returnValue;
5042 void* args[1] = {NULL};
6103 void* args[1] = {NULL};
5043 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
6104 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
5044 if (result) {
6105 if (result) {
5045 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);
5046 if (args[0]!=&returnValue) {
6107 if (args[0]!=&returnValue) {
5047 if (args[0]==NULL) {
6108 if (args[0]==NULL) {
5048 PythonQt::priv()->handleVirtualOverloadReturnError("isopened", methodInfo, result);
6109 PythonQt::priv()->handleVirtualOverloadReturnError("isopened", methodInfo, result);
5049 } else {
6110 } else {
5050 returnValue = *((bool*)args[0]);
6111 returnValue = *((bool*)args[0]);
5051 }
6112 }
5052 }
6113 }
5053 }
6114 }
5054 if (result) { Py_DECREF(result); }
6115 if (result) { Py_DECREF(result); }
5055 Py_DECREF(obj);
6116 Py_DECREF(obj);
5056 return returnValue;
6117 return returnValue;
5057 }
6118 }
5058 }
6119 }
5059 return binaryFile::isopened();
6120 return binaryFile::isopened();
5060 }
6121 }
5061 bool PythonQtShell_binaryFile::openFile(const QString& File)
6122 bool PythonQtShell_binaryFile::openFile(const QString& File)
5062 {
6123 {
5063 if (_wrapper) {
6124 if (_wrapper) {
5064 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "openFile");
6125 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "openFile");
5065 PyErr_Clear();
6126 PyErr_Clear();
5066 if (obj && !PythonQtSlotFunction_Check(obj)) {
6127 if (obj && !PythonQtSlotFunction_Check(obj)) {
5067 static const char* argumentList[] ={"bool" , "const QString&"};
6128 static const char* argumentList[] ={"bool" , "const QString&"};
5068 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
6129 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
5069 bool returnValue;
6130 bool returnValue;
5070 void* args[2] = {NULL, (void*)&File};
6131 void* args[2] = {NULL, (void*)&File};
5071 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
6132 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
5072 if (result) {
6133 if (result) {
5073 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);
5074 if (args[0]!=&returnValue) {
6135 if (args[0]!=&returnValue) {
5075 if (args[0]==NULL) {
6136 if (args[0]==NULL) {
5076 PythonQt::priv()->handleVirtualOverloadReturnError("openFile", methodInfo, result);
6137 PythonQt::priv()->handleVirtualOverloadReturnError("openFile", methodInfo, result);
5077 } else {
6138 } else {
5078 returnValue = *((bool*)args[0]);
6139 returnValue = *((bool*)args[0]);
5079 }
6140 }
5080 }
6141 }
5081 }
6142 }
5082 if (result) { Py_DECREF(result); }
6143 if (result) { Py_DECREF(result); }
5083 Py_DECREF(obj);
6144 Py_DECREF(obj);
5084 return returnValue;
6145 return returnValue;
5085 }
6146 }
5086 }
6147 }
5087 return binaryFile::openFile(File);
6148 return binaryFile::openFile(File);
5088 }
6149 }
6150 bool PythonQtShell_binaryFile::toBinary(const QString& fileName)
6151 {
6152 if (_wrapper) {
6153 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "toBinary");
6154 PyErr_Clear();
6155 if (obj && !PythonQtSlotFunction_Check(obj)) {
6156 static const char* argumentList[] ={"bool" , "const QString&"};
6157 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
6158 bool returnValue;
6159 void* args[2] = {NULL, (void*)&fileName};
6160 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
6161 if (result) {
6162 args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue);
6163 if (args[0]!=&returnValue) {
6164 if (args[0]==NULL) {
6165 PythonQt::priv()->handleVirtualOverloadReturnError("toBinary", methodInfo, result);
6166 } else {
6167 returnValue = *((bool*)args[0]);
6168 }
6169 }
6170 }
6171 if (result) { Py_DECREF(result); }
6172 Py_DECREF(obj);
6173 return returnValue;
6174 }
6175 }
6176 return binaryFile::toBinary(fileName);
6177 }
6178 bool PythonQtShell_binaryFile::toSrec(const QString& fileName)
6179 {
6180 if (_wrapper) {
6181 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "toSrec");
6182 PyErr_Clear();
6183 if (obj && !PythonQtSlotFunction_Check(obj)) {
6184 static const char* argumentList[] ={"bool" , "const QString&"};
6185 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
6186 bool returnValue;
6187 void* args[2] = {NULL, (void*)&fileName};
6188 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
6189 if (result) {
6190 args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue);
6191 if (args[0]!=&returnValue) {
6192 if (args[0]==NULL) {
6193 PythonQt::priv()->handleVirtualOverloadReturnError("toSrec", methodInfo, result);
6194 } else {
6195 returnValue = *((bool*)args[0]);
6196 }
6197 }
6198 }
6199 if (result) { Py_DECREF(result); }
6200 Py_DECREF(obj);
6201 return returnValue;
6202 }
6203 }
6204 return binaryFile::toSrec(fileName);
6205 }
5089 binaryFile* PythonQtWrapper_binaryFile::new_binaryFile()
6206 binaryFile* PythonQtWrapper_binaryFile::new_binaryFile()
5090 {
6207 {
5091 return new PythonQtShell_binaryFile(); }
6208 return new PythonQtShell_binaryFile(); }
5092
6209
5093 binaryFile* PythonQtWrapper_binaryFile::new_binaryFile(const QString& File)
6210 binaryFile* PythonQtWrapper_binaryFile::new_binaryFile(const QString& File)
5094 {
6211 {
5095 return new PythonQtShell_binaryFile(File); }
6212 return new PythonQtShell_binaryFile(File); }
5096
6213
5097 binaryFile* PythonQtWrapper_binaryFile::new_binaryFile(const QStringList& Files)
6214 binaryFile* PythonQtWrapper_binaryFile::new_binaryFile(const QStringList& Files)
5098 {
6215 {
5099 return new PythonQtShell_binaryFile(Files); }
6216 return new PythonQtShell_binaryFile(Files); }
5100
6217
5101 int PythonQtWrapper_binaryFile::closeFile(binaryFile* theWrappedObject)
6218 int PythonQtWrapper_binaryFile::closeFile(binaryFile* theWrappedObject)
5102 {
6219 {
5103 return ( ((PythonQtPublicPromoter_binaryFile*)theWrappedObject)->promoted_closeFile());
6220 return ( ((PythonQtPublicPromoter_binaryFile*)theWrappedObject)->promoted_closeFile());
5104 }
6221 }
5105
6222
6223 codeFragment* PythonQtWrapper_binaryFile::getFragment(binaryFile* theWrappedObject, int index)
6224 {
6225 return ( theWrappedObject->getFragment(index));
6226 }
6227
5106 int PythonQtWrapper_binaryFile::getFragmentAddress(binaryFile* theWrappedObject, int index)
6228 int PythonQtWrapper_binaryFile::getFragmentAddress(binaryFile* theWrappedObject, int index)
5107 {
6229 {
5108 return ( theWrappedObject->getFragmentAddress(index));
6230 return ( theWrappedObject->getFragmentAddress(index));
5109 }
6231 }
5110
6232
5111 bool PythonQtWrapper_binaryFile::getFragmentData(binaryFile* theWrappedObject, int index, char** buffer)
6233 bool PythonQtWrapper_binaryFile::getFragmentData(binaryFile* theWrappedObject, int index, char** buffer)
5112 {
6234 {
5113 return ( theWrappedObject->getFragmentData(index, buffer));
6235 return ( theWrappedObject->getFragmentData(index, buffer));
5114 }
6236 }
5115
6237
5116 QString PythonQtWrapper_binaryFile::getFragmentHeader(binaryFile* theWrappedObject, int index)
6238 QString PythonQtWrapper_binaryFile::getFragmentHeader(binaryFile* theWrappedObject, int index)
5117 {
6239 {
5118 return ( theWrappedObject->getFragmentHeader(index));
6240 return ( theWrappedObject->getFragmentHeader(index));
5119 }
6241 }
5120
6242
5121 int PythonQtWrapper_binaryFile::getFragmentSize(binaryFile* theWrappedObject, int index)
6243 int PythonQtWrapper_binaryFile::getFragmentSize(binaryFile* theWrappedObject, int index)
5122 {
6244 {
5123 return ( theWrappedObject->getFragmentSize(index));
6245 return ( theWrappedObject->getFragmentSize(index));
5124 }
6246 }
5125
6247
5126 QList<codeFragment* > PythonQtWrapper_binaryFile::getFragments(binaryFile* theWrappedObject)
6248 QList<codeFragment* > PythonQtWrapper_binaryFile::getFragments(binaryFile* theWrappedObject)
5127 {
6249 {
5128 return ( ((PythonQtPublicPromoter_binaryFile*)theWrappedObject)->promoted_getFragments());
6250 return ( ((PythonQtPublicPromoter_binaryFile*)theWrappedObject)->promoted_getFragments());
5129 }
6251 }
5130
6252
5131 int PythonQtWrapper_binaryFile::getFragmentsCount(binaryFile* theWrappedObject)
6253 int PythonQtWrapper_binaryFile::getFragmentsCount(binaryFile* theWrappedObject)
5132 {
6254 {
5133 return ( theWrappedObject->getFragmentsCount());
6255 return ( theWrappedObject->getFragmentsCount());
5134 }
6256 }
5135
6257
5136 bool PythonQtWrapper_binaryFile::isopened(binaryFile* theWrappedObject)
6258 bool PythonQtWrapper_binaryFile::isopened(binaryFile* theWrappedObject)
5137 {
6259 {
5138 return ( ((PythonQtPublicPromoter_binaryFile*)theWrappedObject)->promoted_isopened());
6260 return ( ((PythonQtPublicPromoter_binaryFile*)theWrappedObject)->promoted_isopened());
5139 }
6261 }
5140
6262
5141 bool PythonQtWrapper_binaryFile::openFile(binaryFile* theWrappedObject, const QString& File)
6263 bool PythonQtWrapper_binaryFile::openFile(binaryFile* theWrappedObject, const QString& File)
5142 {
6264 {
5143 return ( ((PythonQtPublicPromoter_binaryFile*)theWrappedObject)->promoted_openFile(File));
6265 return ( ((PythonQtPublicPromoter_binaryFile*)theWrappedObject)->promoted_openFile(File));
5144 }
6266 }
5145
6267
5146 bool PythonQtWrapper_binaryFile::openFiles(binaryFile* theWrappedObject, const QStringList& Files)
6268 bool PythonQtWrapper_binaryFile::openFiles(binaryFile* theWrappedObject, const QStringList& Files)
5147 {
6269 {
5148 return ( theWrappedObject->openFiles(Files));
6270 return ( theWrappedObject->openFiles(Files));
5149 }
6271 }
5150
6272
6273 bool PythonQtWrapper_binaryFile::static_binaryFile_toBinary(QList<codeFragment* > fragments, const QString& File)
6274 {
6275 return (binaryFile::toBinary(fragments, File));
6276 }
6277
6278 bool PythonQtWrapper_binaryFile::toBinary(binaryFile* theWrappedObject, const QString& fileName)
6279 {
6280 return ( ((PythonQtPublicPromoter_binaryFile*)theWrappedObject)->promoted_toBinary(fileName));
6281 }
6282
6283 bool PythonQtWrapper_binaryFile::toSrec(binaryFile* theWrappedObject, const QString& fileName)
6284 {
6285 return ( ((PythonQtPublicPromoter_binaryFile*)theWrappedObject)->promoted_toSrec(fileName));
6286 }
6287
5151
6288
5152
6289
5153 PythonQtShell_binaryFileWidget::~PythonQtShell_binaryFileWidget() {
6290 PythonQtShell_binaryFileWidget::~PythonQtShell_binaryFileWidget() {
5154 PythonQtPrivate* priv = PythonQt::priv();
6291 PythonQtPrivate* priv = PythonQt::priv();
5155 if (priv) { priv->shellClassDeleted(this); }
6292 if (priv) { priv->shellClassDeleted(this); }
5156 }
6293 }
5157 void PythonQtShell_binaryFileWidget::actionEvent(QActionEvent* arg__1)
6294 void PythonQtShell_binaryFileWidget::reloadFile()
5158 {
6295 {
5159 if (_wrapper) {
6296 if (_wrapper) {
5160 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "actionEvent");
6297 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "reloadFile");
5161 PyErr_Clear();
6298 PyErr_Clear();
5162 if (obj && !PythonQtSlotFunction_Check(obj)) {
6299 if (obj && !PythonQtSlotFunction_Check(obj)) {
5163 static const char* argumentList[] ={"" , "QActionEvent*"};
6300 static const char* argumentList[] ={""};
5164 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
5165 void* args[2] = {NULL, (void*)&arg__1};
5166 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
5167 if (result) { Py_DECREF(result); }
5168 Py_DECREF(obj);
5169 return;
5170 }
5171 }
5172 binaryFileWidget::actionEvent(arg__1);
5173 }
5174 void PythonQtShell_binaryFileWidget::changeEvent(QEvent* arg__1)
5175 {
5176 if (_wrapper) {
5177 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "changeEvent");
5178 PyErr_Clear();
5179 if (obj && !PythonQtSlotFunction_Check(obj)) {
5180 static const char* argumentList[] ={"" , "QEvent*"};
5181 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
5182 void* args[2] = {NULL, (void*)&arg__1};
5183 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
5184 if (result) { Py_DECREF(result); }
5185 Py_DECREF(obj);
5186 return;
5187 }
5188 }
5189 binaryFileWidget::changeEvent(arg__1);
5190 }
5191 void PythonQtShell_binaryFileWidget::childEvent(QChildEvent* arg__1)
5192 {
5193 if (_wrapper) {
5194 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "childEvent");
5195 PyErr_Clear();
5196 if (obj && !PythonQtSlotFunction_Check(obj)) {
5197 static const char* argumentList[] ={"" , "QChildEvent*"};
5198 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
5199 void* args[2] = {NULL, (void*)&arg__1};
5200 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
5201 if (result) { Py_DECREF(result); }
5202 Py_DECREF(obj);
5203 return;
5204 }
5205 }
5206 binaryFileWidget::childEvent(arg__1);
5207 }
5208 void PythonQtShell_binaryFileWidget::closeEvent(QCloseEvent* arg__1)
5209 {
5210 if (_wrapper) {
5211 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "closeEvent");
5212 PyErr_Clear();
5213 if (obj && !PythonQtSlotFunction_Check(obj)) {
5214 static const char* argumentList[] ={"" , "QCloseEvent*"};
5215 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
5216 void* args[2] = {NULL, (void*)&arg__1};
5217 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
5218 if (result) { Py_DECREF(result); }
5219 Py_DECREF(obj);
5220 return;
5221 }
5222 }
5223 binaryFileWidget::closeEvent(arg__1);
5224 }
5225 void PythonQtShell_binaryFileWidget::contextMenuEvent(QContextMenuEvent* arg__1)
5226 {
5227 if (_wrapper) {
5228 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "contextMenuEvent");
5229 PyErr_Clear();
5230 if (obj && !PythonQtSlotFunction_Check(obj)) {
5231 static const char* argumentList[] ={"" , "QContextMenuEvent*"};
5232 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
5233 void* args[2] = {NULL, (void*)&arg__1};
5234 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
5235 if (result) { Py_DECREF(result); }
5236 Py_DECREF(obj);
5237 return;
5238 }
5239 }
5240 binaryFileWidget::contextMenuEvent(arg__1);
5241 }
5242 void PythonQtShell_binaryFileWidget::customEvent(QEvent* arg__1)
5243 {
5244 if (_wrapper) {
5245 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "customEvent");
5246 PyErr_Clear();
5247 if (obj && !PythonQtSlotFunction_Check(obj)) {
5248 static const char* argumentList[] ={"" , "QEvent*"};
5249 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
5250 void* args[2] = {NULL, (void*)&arg__1};
5251 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
5252 if (result) { Py_DECREF(result); }
5253 Py_DECREF(obj);
5254 return;
5255 }
5256 }
5257 binaryFileWidget::customEvent(arg__1);
5258 }
5259 int PythonQtShell_binaryFileWidget::devType() const
5260 {
5261 if (_wrapper) {
5262 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "devType");
5263 PyErr_Clear();
5264 if (obj && !PythonQtSlotFunction_Check(obj)) {
5265 static const char* argumentList[] ={"int"};
5266 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList);
6301 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList);
5267 int returnValue;
5268 void* args[1] = {NULL};
5269 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
5270 if (result) {
5271 args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue);
5272 if (args[0]!=&returnValue) {
5273 if (args[0]==NULL) {
5274 PythonQt::priv()->handleVirtualOverloadReturnError("devType", methodInfo, result);
5275 } else {
5276 returnValue = *((int*)args[0]);
5277 }
5278 }
5279 }
5280 if (result) { Py_DECREF(result); }
5281 Py_DECREF(obj);
5282 return returnValue;
5283 }
5284 }
5285 return binaryFileWidget::devType();
5286 }
5287 void PythonQtShell_binaryFileWidget::dragEnterEvent(QDragEnterEvent* arg__1)
5288 {
5289 if (_wrapper) {
5290 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dragEnterEvent");
5291 PyErr_Clear();
5292 if (obj && !PythonQtSlotFunction_Check(obj)) {
5293 static const char* argumentList[] ={"" , "QDragEnterEvent*"};
5294 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
5295 void* args[2] = {NULL, (void*)&arg__1};
5296 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
5297 if (result) { Py_DECREF(result); }
5298 Py_DECREF(obj);
5299 return;
5300 }
5301 }
5302 binaryFileWidget::dragEnterEvent(arg__1);
5303 }
5304 void PythonQtShell_binaryFileWidget::dragLeaveEvent(QDragLeaveEvent* arg__1)
5305 {
5306 if (_wrapper) {
5307 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dragLeaveEvent");
5308 PyErr_Clear();
5309 if (obj && !PythonQtSlotFunction_Check(obj)) {
5310 static const char* argumentList[] ={"" , "QDragLeaveEvent*"};
5311 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
5312 void* args[2] = {NULL, (void*)&arg__1};
5313 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
5314 if (result) { Py_DECREF(result); }
5315 Py_DECREF(obj);
5316 return;
5317 }
5318 }
5319 binaryFileWidget::dragLeaveEvent(arg__1);
5320 }
5321 void PythonQtShell_binaryFileWidget::dragMoveEvent(QDragMoveEvent* arg__1)
5322 {
5323 if (_wrapper) {
5324 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dragMoveEvent");
5325 PyErr_Clear();
5326 if (obj && !PythonQtSlotFunction_Check(obj)) {
5327 static const char* argumentList[] ={"" , "QDragMoveEvent*"};
5328 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
5329 void* args[2] = {NULL, (void*)&arg__1};
5330 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
5331 if (result) { Py_DECREF(result); }
5332 Py_DECREF(obj);
5333 return;
5334 }
5335 }
5336 binaryFileWidget::dragMoveEvent(arg__1);
5337 }
5338 void PythonQtShell_binaryFileWidget::dropEvent(QDropEvent* arg__1)
5339 {
5340 if (_wrapper) {
5341 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dropEvent");
5342 PyErr_Clear();
5343 if (obj && !PythonQtSlotFunction_Check(obj)) {
5344 static const char* argumentList[] ={"" , "QDropEvent*"};
5345 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
5346 void* args[2] = {NULL, (void*)&arg__1};
5347 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
5348 if (result) { Py_DECREF(result); }
5349 Py_DECREF(obj);
5350 return;
5351 }
5352 }
5353 binaryFileWidget::dropEvent(arg__1);
5354 }
5355 void PythonQtShell_binaryFileWidget::enterEvent(QEvent* arg__1)
5356 {
5357 if (_wrapper) {
5358 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "enterEvent");
5359 PyErr_Clear();
5360 if (obj && !PythonQtSlotFunction_Check(obj)) {
5361 static const char* argumentList[] ={"" , "QEvent*"};
5362 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
5363 void* args[2] = {NULL, (void*)&arg__1};
5364 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
5365 if (result) { Py_DECREF(result); }
5366 Py_DECREF(obj);
5367 return;
5368 }
5369 }
5370 binaryFileWidget::enterEvent(arg__1);
5371 }
5372 bool PythonQtShell_binaryFileWidget::event(QEvent* arg__1)
5373 {
5374 if (_wrapper) {
5375 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "event");
5376 PyErr_Clear();
5377 if (obj && !PythonQtSlotFunction_Check(obj)) {
5378 static const char* argumentList[] ={"bool" , "QEvent*"};
5379 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
5380 bool returnValue;
5381 void* args[2] = {NULL, (void*)&arg__1};
5382 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
5383 if (result) {
5384 args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue);
5385 if (args[0]!=&returnValue) {
5386 if (args[0]==NULL) {
5387 PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result);
5388 } else {
5389 returnValue = *((bool*)args[0]);
5390 }
5391 }
5392 }
5393 if (result) { Py_DECREF(result); }
5394 Py_DECREF(obj);
5395 return returnValue;
5396 }
5397 }
5398 return binaryFileWidget::event(arg__1);
5399 }
5400 bool PythonQtShell_binaryFileWidget::eventFilter(QObject* arg__1, QEvent* arg__2)
5401 {
5402 if (_wrapper) {
5403 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "eventFilter");
5404 PyErr_Clear();
5405 if (obj && !PythonQtSlotFunction_Check(obj)) {
5406 static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"};
5407 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList);
5408 bool returnValue;
5409 void* args[3] = {NULL, (void*)&arg__1, (void*)&arg__2};
5410 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
5411 if (result) {
5412 args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue);
5413 if (args[0]!=&returnValue) {
5414 if (args[0]==NULL) {
5415 PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result);
5416 } else {
5417 returnValue = *((bool*)args[0]);
5418 }
5419 }
5420 }
5421 if (result) { Py_DECREF(result); }
5422 Py_DECREF(obj);
5423 return returnValue;
5424 }
5425 }
5426 return binaryFileWidget::eventFilter(arg__1, arg__2);
5427 }
5428 void PythonQtShell_binaryFileWidget::focusInEvent(QFocusEvent* arg__1)
5429 {
5430 if (_wrapper) {
5431 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "focusInEvent");
5432 PyErr_Clear();
5433 if (obj && !PythonQtSlotFunction_Check(obj)) {
5434 static const char* argumentList[] ={"" , "QFocusEvent*"};
5435 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
5436 void* args[2] = {NULL, (void*)&arg__1};
5437 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
5438 if (result) { Py_DECREF(result); }
5439 Py_DECREF(obj);
5440 return;
5441 }
5442 }
5443 binaryFileWidget::focusInEvent(arg__1);
5444 }
5445 bool PythonQtShell_binaryFileWidget::focusNextPrevChild(bool next)
5446 {
5447 if (_wrapper) {
5448 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "focusNextPrevChild");
5449 PyErr_Clear();
5450 if (obj && !PythonQtSlotFunction_Check(obj)) {
5451 static const char* argumentList[] ={"bool" , "bool"};
5452 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
5453 bool returnValue;
5454 void* args[2] = {NULL, (void*)&next};
5455 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
5456 if (result) {
5457 args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue);
5458 if (args[0]!=&returnValue) {
5459 if (args[0]==NULL) {
5460 PythonQt::priv()->handleVirtualOverloadReturnError("focusNextPrevChild", methodInfo, result);
5461 } else {
5462 returnValue = *((bool*)args[0]);
5463 }
5464 }
5465 }
5466 if (result) { Py_DECREF(result); }
5467 Py_DECREF(obj);
5468 return returnValue;
5469 }
5470 }
5471 return binaryFileWidget::focusNextPrevChild(next);
5472 }
5473 void PythonQtShell_binaryFileWidget::focusOutEvent(QFocusEvent* arg__1)
5474 {
5475 if (_wrapper) {
5476 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "focusOutEvent");
5477 PyErr_Clear();
5478 if (obj && !PythonQtSlotFunction_Check(obj)) {
5479 static const char* argumentList[] ={"" , "QFocusEvent*"};
5480 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
5481 void* args[2] = {NULL, (void*)&arg__1};
5482 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
5483 if (result) { Py_DECREF(result); }
5484 Py_DECREF(obj);
5485 return;
5486 }
5487 }
5488 binaryFileWidget::focusOutEvent(arg__1);
5489 }
5490 bool PythonQtShell_binaryFileWidget::hasHeightForWidth() const
5491 {
5492 if (_wrapper) {
5493 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "hasHeightForWidth");
5494 PyErr_Clear();
5495 if (obj && !PythonQtSlotFunction_Check(obj)) {
5496 static const char* argumentList[] ={"bool"};
5497 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList);
5498 bool returnValue;
5499 void* args[1] = {NULL};
6302 void* args[1] = {NULL};
5500 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
6303 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
5501 if (result) {
6304 if (result) { Py_DECREF(result); }
5502 args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue);
6305 Py_DECREF(obj);
5503 if (args[0]!=&returnValue) {
6306 return;
5504 if (args[0]==NULL) {
6307 }
5505 PythonQt::priv()->handleVirtualOverloadReturnError("hasHeightForWidth", methodInfo, result);
6308 }
5506 } else {
6309 binaryFileWidget::reloadFile();
5507 returnValue = *((bool*)args[0]);
6310 }
5508 }
6311 void PythonQtShell_binaryFileWidget::setFile(abstractBinFile* file)
5509 }
6312 {
5510 }
6313 if (_wrapper) {
5511 if (result) { Py_DECREF(result); }
6314 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "setFile");
5512 Py_DECREF(obj);
6315 PyErr_Clear();
5513 return returnValue;
6316 if (obj && !PythonQtSlotFunction_Check(obj)) {
5514 }
6317 static const char* argumentList[] ={"" , "abstractBinFile*"};
5515 }
6318 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
5516 return binaryFileWidget::hasHeightForWidth();
6319 void* args[2] = {NULL, (void*)&file};
5517 }
6320 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
5518 int PythonQtShell_binaryFileWidget::heightForWidth(int arg__1) const
6321 if (result) { Py_DECREF(result); }
5519 {
6322 Py_DECREF(obj);
5520 if (_wrapper) {
6323 return;
5521 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "heightForWidth");
6324 }
5522 PyErr_Clear();
6325 }
5523 if (obj && !PythonQtSlotFunction_Check(obj)) {
6326 binaryFileWidget::setFile(file);
5524 static const char* argumentList[] ={"int" , "int"};
5525 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
5526 int returnValue;
5527 void* args[2] = {NULL, (void*)&arg__1};
5528 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
5529 if (result) {
5530 args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue);
5531 if (args[0]!=&returnValue) {
5532 if (args[0]==NULL) {
5533 PythonQt::priv()->handleVirtualOverloadReturnError("heightForWidth", methodInfo, result);
5534 } else {
5535 returnValue = *((int*)args[0]);
5536 }
5537 }
5538 }
5539 if (result) { Py_DECREF(result); }
5540 Py_DECREF(obj);
5541 return returnValue;
5542 }
5543 }
5544 return binaryFileWidget::heightForWidth(arg__1);
5545 }
5546 void PythonQtShell_binaryFileWidget::hideEvent(QHideEvent* arg__1)
5547 {
5548 if (_wrapper) {
5549 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "hideEvent");
5550 PyErr_Clear();
5551 if (obj && !PythonQtSlotFunction_Check(obj)) {
5552 static const char* argumentList[] ={"" , "QHideEvent*"};
5553 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
5554 void* args[2] = {NULL, (void*)&arg__1};
5555 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
5556 if (result) { Py_DECREF(result); }
5557 Py_DECREF(obj);
5558 return;
5559 }
5560 }
5561 binaryFileWidget::hideEvent(arg__1);
5562 }
5563 void PythonQtShell_binaryFileWidget::initPainter(QPainter* painter) const
5564 {
5565 if (_wrapper) {
5566 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "initPainter");
5567 PyErr_Clear();
5568 if (obj && !PythonQtSlotFunction_Check(obj)) {
5569 static const char* argumentList[] ={"" , "QPainter*"};
5570 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
5571 void* args[2] = {NULL, (void*)&painter};
5572 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
5573 if (result) { Py_DECREF(result); }
5574 Py_DECREF(obj);
5575 return;
5576 }
5577 }
5578 binaryFileWidget::initPainter(painter);
5579 }
5580 void PythonQtShell_binaryFileWidget::inputMethodEvent(QInputMethodEvent* arg__1)
5581 {
5582 if (_wrapper) {
5583 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "inputMethodEvent");
5584 PyErr_Clear();
5585 if (obj && !PythonQtSlotFunction_Check(obj)) {
5586 static const char* argumentList[] ={"" , "QInputMethodEvent*"};
5587 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
5588 void* args[2] = {NULL, (void*)&arg__1};
5589 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
5590 if (result) { Py_DECREF(result); }
5591 Py_DECREF(obj);
5592 return;
5593 }
5594 }
5595 binaryFileWidget::inputMethodEvent(arg__1);
5596 }
5597 QVariant PythonQtShell_binaryFileWidget::inputMethodQuery(Qt::InputMethodQuery arg__1) const
5598 {
5599 if (_wrapper) {
5600 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "inputMethodQuery");
5601 PyErr_Clear();
5602 if (obj && !PythonQtSlotFunction_Check(obj)) {
5603 static const char* argumentList[] ={"QVariant" , "Qt::InputMethodQuery"};
5604 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
5605 QVariant returnValue;
5606 void* args[2] = {NULL, (void*)&arg__1};
5607 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
5608 if (result) {
5609 args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue);
5610 if (args[0]!=&returnValue) {
5611 if (args[0]==NULL) {
5612 PythonQt::priv()->handleVirtualOverloadReturnError("inputMethodQuery", methodInfo, result);
5613 } else {
5614 returnValue = *((QVariant*)args[0]);
5615 }
5616 }
5617 }
5618 if (result) { Py_DECREF(result); }
5619 Py_DECREF(obj);
5620 return returnValue;
5621 }
5622 }
5623 return binaryFileWidget::inputMethodQuery(arg__1);
5624 }
5625 void PythonQtShell_binaryFileWidget::keyPressEvent(QKeyEvent* arg__1)
5626 {
5627 if (_wrapper) {
5628 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "keyPressEvent");
5629 PyErr_Clear();
5630 if (obj && !PythonQtSlotFunction_Check(obj)) {
5631 static const char* argumentList[] ={"" , "QKeyEvent*"};
5632 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
5633 void* args[2] = {NULL, (void*)&arg__1};
5634 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
5635 if (result) { Py_DECREF(result); }
5636 Py_DECREF(obj);
5637 return;
5638 }
5639 }
5640 binaryFileWidget::keyPressEvent(arg__1);
5641 }
5642 void PythonQtShell_binaryFileWidget::keyReleaseEvent(QKeyEvent* arg__1)
5643 {
5644 if (_wrapper) {
5645 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "keyReleaseEvent");
5646 PyErr_Clear();
5647 if (obj && !PythonQtSlotFunction_Check(obj)) {
5648 static const char* argumentList[] ={"" , "QKeyEvent*"};
5649 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
5650 void* args[2] = {NULL, (void*)&arg__1};
5651 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
5652 if (result) { Py_DECREF(result); }
5653 Py_DECREF(obj);
5654 return;
5655 }
5656 }
5657 binaryFileWidget::keyReleaseEvent(arg__1);
5658 }
5659 void PythonQtShell_binaryFileWidget::leaveEvent(QEvent* arg__1)
5660 {
5661 if (_wrapper) {
5662 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "leaveEvent");
5663 PyErr_Clear();
5664 if (obj && !PythonQtSlotFunction_Check(obj)) {
5665 static const char* argumentList[] ={"" , "QEvent*"};
5666 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
5667 void* args[2] = {NULL, (void*)&arg__1};
5668 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
5669 if (result) { Py_DECREF(result); }
5670 Py_DECREF(obj);
5671 return;
5672 }
5673 }
5674 binaryFileWidget::leaveEvent(arg__1);
5675 }
5676 int PythonQtShell_binaryFileWidget::metric(QPaintDevice::PaintDeviceMetric arg__1) const
5677 {
5678 if (_wrapper) {
5679 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "metric");
5680 PyErr_Clear();
5681 if (obj && !PythonQtSlotFunction_Check(obj)) {
5682 static const char* argumentList[] ={"int" , "QPaintDevice::PaintDeviceMetric"};
5683 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
5684 int returnValue;
5685 void* args[2] = {NULL, (void*)&arg__1};
5686 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
5687 if (result) {
5688 args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue);
5689 if (args[0]!=&returnValue) {
5690 if (args[0]==NULL) {
5691 PythonQt::priv()->handleVirtualOverloadReturnError("metric", methodInfo, result);
5692 } else {
5693 returnValue = *((int*)args[0]);
5694 }
5695 }
5696 }
5697 if (result) { Py_DECREF(result); }
5698 Py_DECREF(obj);
5699 return returnValue;
5700 }
5701 }
5702 return binaryFileWidget::metric(arg__1);
5703 }
5704 QSize PythonQtShell_binaryFileWidget::minimumSizeHint() const
5705 {
5706 if (_wrapper) {
5707 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "getMinimumSizeHint");
5708 PyErr_Clear();
5709 if (obj && !PythonQtSlotFunction_Check(obj)) {
5710 static const char* argumentList[] ={"QSize"};
5711 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList);
5712 QSize returnValue;
5713 void* args[1] = {NULL};
5714 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
5715 if (result) {
5716 args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue);
5717 if (args[0]!=&returnValue) {
5718 if (args[0]==NULL) {
5719 PythonQt::priv()->handleVirtualOverloadReturnError("getMinimumSizeHint", methodInfo, result);
5720 } else {
5721 returnValue = *((QSize*)args[0]);
5722 }
5723 }
5724 }
5725 if (result) { Py_DECREF(result); }
5726 Py_DECREF(obj);
5727 return returnValue;
5728 }
5729 }
5730 return binaryFileWidget::minimumSizeHint();
5731 }
5732 void PythonQtShell_binaryFileWidget::mouseDoubleClickEvent(QMouseEvent* arg__1)
5733 {
5734 if (_wrapper) {
5735 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mouseDoubleClickEvent");
5736 PyErr_Clear();
5737 if (obj && !PythonQtSlotFunction_Check(obj)) {
5738 static const char* argumentList[] ={"" , "QMouseEvent*"};
5739 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
5740 void* args[2] = {NULL, (void*)&arg__1};
5741 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
5742 if (result) { Py_DECREF(result); }
5743 Py_DECREF(obj);
5744 return;
5745 }
5746 }
5747 binaryFileWidget::mouseDoubleClickEvent(arg__1);
5748 }
5749 void PythonQtShell_binaryFileWidget::mouseMoveEvent(QMouseEvent* arg__1)
5750 {
5751 if (_wrapper) {
5752 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mouseMoveEvent");
5753 PyErr_Clear();
5754 if (obj && !PythonQtSlotFunction_Check(obj)) {
5755 static const char* argumentList[] ={"" , "QMouseEvent*"};
5756 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
5757 void* args[2] = {NULL, (void*)&arg__1};
5758 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
5759 if (result) { Py_DECREF(result); }
5760 Py_DECREF(obj);
5761 return;
5762 }
5763 }
5764 binaryFileWidget::mouseMoveEvent(arg__1);
5765 }
5766 void PythonQtShell_binaryFileWidget::mousePressEvent(QMouseEvent* arg__1)
5767 {
5768 if (_wrapper) {
5769 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mousePressEvent");
5770 PyErr_Clear();
5771 if (obj && !PythonQtSlotFunction_Check(obj)) {
5772 static const char* argumentList[] ={"" , "QMouseEvent*"};
5773 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
5774 void* args[2] = {NULL, (void*)&arg__1};
5775 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
5776 if (result) { Py_DECREF(result); }
5777 Py_DECREF(obj);
5778 return;
5779 }
5780 }
5781 binaryFileWidget::mousePressEvent(arg__1);
5782 }
5783 void PythonQtShell_binaryFileWidget::mouseReleaseEvent(QMouseEvent* arg__1)
5784 {
5785 if (_wrapper) {
5786 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mouseReleaseEvent");
5787 PyErr_Clear();
5788 if (obj && !PythonQtSlotFunction_Check(obj)) {
5789 static const char* argumentList[] ={"" , "QMouseEvent*"};
5790 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
5791 void* args[2] = {NULL, (void*)&arg__1};
5792 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
5793 if (result) { Py_DECREF(result); }
5794 Py_DECREF(obj);
5795 return;
5796 }
5797 }
5798 binaryFileWidget::mouseReleaseEvent(arg__1);
5799 }
5800 void PythonQtShell_binaryFileWidget::moveEvent(QMoveEvent* arg__1)
5801 {
5802 if (_wrapper) {
5803 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "moveEvent");
5804 PyErr_Clear();
5805 if (obj && !PythonQtSlotFunction_Check(obj)) {
5806 static const char* argumentList[] ={"" , "QMoveEvent*"};
5807 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
5808 void* args[2] = {NULL, (void*)&arg__1};
5809 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
5810 if (result) { Py_DECREF(result); }
5811 Py_DECREF(obj);
5812 return;
5813 }
5814 }
5815 binaryFileWidget::moveEvent(arg__1);
5816 }
5817 bool PythonQtShell_binaryFileWidget::nativeEvent(const QByteArray& eventType, void* message, long* result)
5818 {
5819 if (_wrapper) {
5820 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "nativeEvent");
5821 PyErr_Clear();
5822 if (obj && !PythonQtSlotFunction_Check(obj)) {
5823 static const char* argumentList[] ={"bool" , "const QByteArray&" , "void*" , "long*"};
5824 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList);
5825 bool returnValue;
5826 void* args[4] = {NULL, (void*)&eventType, (void*)&message, (void*)&result};
5827 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
5828 if (result) {
5829 args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue);
5830 if (args[0]!=&returnValue) {
5831 if (args[0]==NULL) {
5832 PythonQt::priv()->handleVirtualOverloadReturnError("nativeEvent", methodInfo, result);
5833 } else {
5834 returnValue = *((bool*)args[0]);
5835 }
5836 }
5837 }
5838 if (result) { Py_DECREF(result); }
5839 Py_DECREF(obj);
5840 return returnValue;
5841 }
5842 }
5843 return binaryFileWidget::nativeEvent(eventType, message, result);
5844 }
5845 QPaintEngine* PythonQtShell_binaryFileWidget::paintEngine() const
5846 {
5847 if (_wrapper) {
5848 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "paintEngine");
5849 PyErr_Clear();
5850 if (obj && !PythonQtSlotFunction_Check(obj)) {
5851 static const char* argumentList[] ={"QPaintEngine*"};
5852 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList);
5853 QPaintEngine* returnValue;
5854 void* args[1] = {NULL};
5855 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
5856 if (result) {
5857 args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue);
5858 if (args[0]!=&returnValue) {
5859 if (args[0]==NULL) {
5860 PythonQt::priv()->handleVirtualOverloadReturnError("paintEngine", methodInfo, result);
5861 } else {
5862 returnValue = *((QPaintEngine**)args[0]);
5863 }
5864 }
5865 }
5866 if (result) { Py_DECREF(result); }
5867 Py_DECREF(obj);
5868 return returnValue;
5869 }
5870 }
5871 return binaryFileWidget::paintEngine();
5872 }
5873 void PythonQtShell_binaryFileWidget::paintEvent(QPaintEvent* arg__1)
5874 {
5875 if (_wrapper) {
5876 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "paintEvent");
5877 PyErr_Clear();
5878 if (obj && !PythonQtSlotFunction_Check(obj)) {
5879 static const char* argumentList[] ={"" , "QPaintEvent*"};
5880 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
5881 void* args[2] = {NULL, (void*)&arg__1};
5882 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
5883 if (result) { Py_DECREF(result); }
5884 Py_DECREF(obj);
5885 return;
5886 }
5887 }
5888 binaryFileWidget::paintEvent(arg__1);
5889 }
5890 QPaintDevice* PythonQtShell_binaryFileWidget::redirected(QPoint* offset) const
5891 {
5892 if (_wrapper) {
5893 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "redirected");
5894 PyErr_Clear();
5895 if (obj && !PythonQtSlotFunction_Check(obj)) {
5896 static const char* argumentList[] ={"QPaintDevice*" , "QPoint*"};
5897 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
5898 QPaintDevice* returnValue;
5899 void* args[2] = {NULL, (void*)&offset};
5900 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
5901 if (result) {
5902 args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue);
5903 if (args[0]!=&returnValue) {
5904 if (args[0]==NULL) {
5905 PythonQt::priv()->handleVirtualOverloadReturnError("redirected", methodInfo, result);
5906 } else {
5907 returnValue = *((QPaintDevice**)args[0]);
5908 }
5909 }
5910 }
5911 if (result) { Py_DECREF(result); }
5912 Py_DECREF(obj);
5913 return returnValue;
5914 }
5915 }
5916 return binaryFileWidget::redirected(offset);
5917 }
5918 void PythonQtShell_binaryFileWidget::resizeEvent(QResizeEvent* arg__1)
5919 {
5920 if (_wrapper) {
5921 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "resizeEvent");
5922 PyErr_Clear();
5923 if (obj && !PythonQtSlotFunction_Check(obj)) {
5924 static const char* argumentList[] ={"" , "QResizeEvent*"};
5925 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
5926 void* args[2] = {NULL, (void*)&arg__1};
5927 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
5928 if (result) { Py_DECREF(result); }
5929 Py_DECREF(obj);
5930 return;
5931 }
5932 }
5933 binaryFileWidget::resizeEvent(arg__1);
5934 }
5935 QPainter* PythonQtShell_binaryFileWidget::sharedPainter() const
5936 {
5937 if (_wrapper) {
5938 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "sharedPainter");
5939 PyErr_Clear();
5940 if (obj && !PythonQtSlotFunction_Check(obj)) {
5941 static const char* argumentList[] ={"QPainter*"};
5942 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList);
5943 QPainter* returnValue;
5944 void* args[1] = {NULL};
5945 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
5946 if (result) {
5947 args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue);
5948 if (args[0]!=&returnValue) {
5949 if (args[0]==NULL) {
5950 PythonQt::priv()->handleVirtualOverloadReturnError("sharedPainter", methodInfo, result);
5951 } else {
5952 returnValue = *((QPainter**)args[0]);
5953 }
5954 }
5955 }
5956 if (result) { Py_DECREF(result); }
5957 Py_DECREF(obj);
5958 return returnValue;
5959 }
5960 }
5961 return binaryFileWidget::sharedPainter();
5962 }
5963 void PythonQtShell_binaryFileWidget::showEvent(QShowEvent* arg__1)
5964 {
5965 if (_wrapper) {
5966 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "showEvent");
5967 PyErr_Clear();
5968 if (obj && !PythonQtSlotFunction_Check(obj)) {
5969 static const char* argumentList[] ={"" , "QShowEvent*"};
5970 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
5971 void* args[2] = {NULL, (void*)&arg__1};
5972 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
5973 if (result) { Py_DECREF(result); }
5974 Py_DECREF(obj);
5975 return;
5976 }
5977 }
5978 binaryFileWidget::showEvent(arg__1);
5979 }
5980 QSize PythonQtShell_binaryFileWidget::sizeHint() const
5981 {
5982 if (_wrapper) {
5983 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "getSizeHint");
5984 PyErr_Clear();
5985 if (obj && !PythonQtSlotFunction_Check(obj)) {
5986 static const char* argumentList[] ={"QSize"};
5987 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList);
5988 QSize returnValue;
5989 void* args[1] = {NULL};
5990 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
5991 if (result) {
5992 args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue);
5993 if (args[0]!=&returnValue) {
5994 if (args[0]==NULL) {
5995 PythonQt::priv()->handleVirtualOverloadReturnError("getSizeHint", methodInfo, result);
5996 } else {
5997 returnValue = *((QSize*)args[0]);
5998 }
5999 }
6000 }
6001 if (result) { Py_DECREF(result); }
6002 Py_DECREF(obj);
6003 return returnValue;
6004 }
6005 }
6006 return binaryFileWidget::sizeHint();
6007 }
6008 void PythonQtShell_binaryFileWidget::tabletEvent(QTabletEvent* arg__1)
6009 {
6010 if (_wrapper) {
6011 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "tabletEvent");
6012 PyErr_Clear();
6013 if (obj && !PythonQtSlotFunction_Check(obj)) {
6014 static const char* argumentList[] ={"" , "QTabletEvent*"};
6015 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
6016 void* args[2] = {NULL, (void*)&arg__1};
6017 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
6018 if (result) { Py_DECREF(result); }
6019 Py_DECREF(obj);
6020 return;
6021 }
6022 }
6023 binaryFileWidget::tabletEvent(arg__1);
6024 }
6025 void PythonQtShell_binaryFileWidget::timerEvent(QTimerEvent* arg__1)
6026 {
6027 if (_wrapper) {
6028 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "timerEvent");
6029 PyErr_Clear();
6030 if (obj && !PythonQtSlotFunction_Check(obj)) {
6031 static const char* argumentList[] ={"" , "QTimerEvent*"};
6032 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
6033 void* args[2] = {NULL, (void*)&arg__1};
6034 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
6035 if (result) { Py_DECREF(result); }
6036 Py_DECREF(obj);
6037 return;
6038 }
6039 }
6040 binaryFileWidget::timerEvent(arg__1);
6041 }
6042 void PythonQtShell_binaryFileWidget::wheelEvent(QWheelEvent* arg__1)
6043 {
6044 if (_wrapper) {
6045 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "wheelEvent");
6046 PyErr_Clear();
6047 if (obj && !PythonQtSlotFunction_Check(obj)) {
6048 static const char* argumentList[] ={"" , "QWheelEvent*"};
6049 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
6050 void* args[2] = {NULL, (void*)&arg__1};
6051 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
6052 if (result) { Py_DECREF(result); }
6053 Py_DECREF(obj);
6054 return;
6055 }
6056 }
6057 binaryFileWidget::wheelEvent(arg__1);
6058 }
6327 }
6059 binaryFileWidget* PythonQtWrapper_binaryFileWidget::new_binaryFileWidget(QWidget* parent)
6328 binaryFileWidget* PythonQtWrapper_binaryFileWidget::new_binaryFileWidget(QWidget* parent)
6060 {
6329 {
6061 return new PythonQtShell_binaryFileWidget(parent); }
6330 return new PythonQtShell_binaryFileWidget(parent); }
6062
6331
6332 void PythonQtWrapper_binaryFileWidget::reloadFile(binaryFileWidget* theWrappedObject)
6333 {
6334 ( ((PythonQtPublicPromoter_binaryFileWidget*)theWrappedObject)->promoted_reloadFile());
6335 }
6336
6337 void PythonQtWrapper_binaryFileWidget::setFile(binaryFileWidget* theWrappedObject, abstractBinFile* file)
6338 {
6339 ( ((PythonQtPublicPromoter_binaryFileWidget*)theWrappedObject)->promoted_setFile(file));
6340 }
6341
6063
6342
6064
6343
6065 PythonQtShell_codeFragment::~PythonQtShell_codeFragment() {
6344 PythonQtShell_codeFragment::~PythonQtShell_codeFragment() {
6066 PythonQtPrivate* priv = PythonQt::priv();
6345 PythonQtPrivate* priv = PythonQt::priv();
6067 if (priv) { priv->shellClassDeleted(this); }
6346 if (priv) { priv->shellClassDeleted(this); }
6068 }
6347 }
6069 codeFragment* PythonQtWrapper_codeFragment::new_codeFragment()
6348 codeFragment* PythonQtWrapper_codeFragment::new_codeFragment()
6070 {
6349 {
6071 return new PythonQtShell_codeFragment(); }
6350 return new PythonQtShell_codeFragment(); }
6072
6351
6073 codeFragment* PythonQtWrapper_codeFragment::new_codeFragment(char* data, quint64 size, quint64 address)
6352 codeFragment* PythonQtWrapper_codeFragment::new_codeFragment(char* data, quint64 size, quint64 address)
6074 {
6353 {
6075 return new PythonQtShell_codeFragment(data, size, address); }
6354 return new PythonQtShell_codeFragment(data, size, address); }
6076
6355
6077
6356
6078
6357
6079 PythonQtShell_elfFileWidget::~PythonQtShell_elfFileWidget() {
6358 PythonQtShell_elfFileWidget::~PythonQtShell_elfFileWidget() {
6080 PythonQtPrivate* priv = PythonQt::priv();
6359 PythonQtPrivate* priv = PythonQt::priv();
6081 if (priv) { priv->shellClassDeleted(this); }
6360 if (priv) { priv->shellClassDeleted(this); }
6082 }
6361 }
6083 void PythonQtShell_elfFileWidget::actionEvent(QActionEvent* arg__1)
6362 void PythonQtShell_elfFileWidget::reloadFile()
6084 {
6363 {
6085 if (_wrapper) {
6364 if (_wrapper) {
6086 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "actionEvent");
6365 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "reloadFile");
6087 PyErr_Clear();
6366 PyErr_Clear();
6088 if (obj && !PythonQtSlotFunction_Check(obj)) {
6367 if (obj && !PythonQtSlotFunction_Check(obj)) {
6089 static const char* argumentList[] ={"" , "QActionEvent*"};
6368 static const char* argumentList[] ={""};
6090 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
6091 void* args[2] = {NULL, (void*)&arg__1};
6092 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
6093 if (result) { Py_DECREF(result); }
6094 Py_DECREF(obj);
6095 return;
6096 }
6097 }
6098 elfFileWidget::actionEvent(arg__1);
6099 }
6100 void PythonQtShell_elfFileWidget::changeEvent(QEvent* arg__1)
6101 {
6102 if (_wrapper) {
6103 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "changeEvent");
6104 PyErr_Clear();
6105 if (obj && !PythonQtSlotFunction_Check(obj)) {
6106 static const char* argumentList[] ={"" , "QEvent*"};
6107 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
6108 void* args[2] = {NULL, (void*)&arg__1};
6109 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
6110 if (result) { Py_DECREF(result); }
6111 Py_DECREF(obj);
6112 return;
6113 }
6114 }
6115 elfFileWidget::changeEvent(arg__1);
6116 }
6117 void PythonQtShell_elfFileWidget::childEvent(QChildEvent* arg__1)
6118 {
6119 if (_wrapper) {
6120 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "childEvent");
6121 PyErr_Clear();
6122 if (obj && !PythonQtSlotFunction_Check(obj)) {
6123 static const char* argumentList[] ={"" , "QChildEvent*"};
6124 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
6125 void* args[2] = {NULL, (void*)&arg__1};
6126 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
6127 if (result) { Py_DECREF(result); }
6128 Py_DECREF(obj);
6129 return;
6130 }
6131 }
6132 elfFileWidget::childEvent(arg__1);
6133 }
6134 void PythonQtShell_elfFileWidget::closeEvent(QCloseEvent* arg__1)
6135 {
6136 if (_wrapper) {
6137 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "closeEvent");
6138 PyErr_Clear();
6139 if (obj && !PythonQtSlotFunction_Check(obj)) {
6140 static const char* argumentList[] ={"" , "QCloseEvent*"};
6141 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
6142 void* args[2] = {NULL, (void*)&arg__1};
6143 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
6144 if (result) { Py_DECREF(result); }
6145 Py_DECREF(obj);
6146 return;
6147 }
6148 }
6149 elfFileWidget::closeEvent(arg__1);
6150 }
6151 void PythonQtShell_elfFileWidget::contextMenuEvent(QContextMenuEvent* arg__1)
6152 {
6153 if (_wrapper) {
6154 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "contextMenuEvent");
6155 PyErr_Clear();
6156 if (obj && !PythonQtSlotFunction_Check(obj)) {
6157 static const char* argumentList[] ={"" , "QContextMenuEvent*"};
6158 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
6159 void* args[2] = {NULL, (void*)&arg__1};
6160 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
6161 if (result) { Py_DECREF(result); }
6162 Py_DECREF(obj);
6163 return;
6164 }
6165 }
6166 elfFileWidget::contextMenuEvent(arg__1);
6167 }
6168 void PythonQtShell_elfFileWidget::customEvent(QEvent* arg__1)
6169 {
6170 if (_wrapper) {
6171 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "customEvent");
6172 PyErr_Clear();
6173 if (obj && !PythonQtSlotFunction_Check(obj)) {
6174 static const char* argumentList[] ={"" , "QEvent*"};
6175 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
6176 void* args[2] = {NULL, (void*)&arg__1};
6177 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
6178 if (result) { Py_DECREF(result); }
6179 Py_DECREF(obj);
6180 return;
6181 }
6182 }
6183 elfFileWidget::customEvent(arg__1);
6184 }
6185 int PythonQtShell_elfFileWidget::devType() const
6186 {
6187 if (_wrapper) {
6188 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "devType");
6189 PyErr_Clear();
6190 if (obj && !PythonQtSlotFunction_Check(obj)) {
6191 static const char* argumentList[] ={"int"};
6192 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList);
6369 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList);
6193 int returnValue;
6194 void* args[1] = {NULL};
6195 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
6196 if (result) {
6197 args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue);
6198 if (args[0]!=&returnValue) {
6199 if (args[0]==NULL) {
6200 PythonQt::priv()->handleVirtualOverloadReturnError("devType", methodInfo, result);
6201 } else {
6202 returnValue = *((int*)args[0]);
6203 }
6204 }
6205 }
6206 if (result) { Py_DECREF(result); }
6207 Py_DECREF(obj);
6208 return returnValue;
6209 }
6210 }
6211 return elfFileWidget::devType();
6212 }
6213 void PythonQtShell_elfFileWidget::dragEnterEvent(QDragEnterEvent* arg__1)
6214 {
6215 if (_wrapper) {
6216 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dragEnterEvent");
6217 PyErr_Clear();
6218 if (obj && !PythonQtSlotFunction_Check(obj)) {
6219 static const char* argumentList[] ={"" , "QDragEnterEvent*"};
6220 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
6221 void* args[2] = {NULL, (void*)&arg__1};
6222 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
6223 if (result) { Py_DECREF(result); }
6224 Py_DECREF(obj);
6225 return;
6226 }
6227 }
6228 elfFileWidget::dragEnterEvent(arg__1);
6229 }
6230 void PythonQtShell_elfFileWidget::dragLeaveEvent(QDragLeaveEvent* arg__1)
6231 {
6232 if (_wrapper) {
6233 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dragLeaveEvent");
6234 PyErr_Clear();
6235 if (obj && !PythonQtSlotFunction_Check(obj)) {
6236 static const char* argumentList[] ={"" , "QDragLeaveEvent*"};
6237 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
6238 void* args[2] = {NULL, (void*)&arg__1};
6239 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
6240 if (result) { Py_DECREF(result); }
6241 Py_DECREF(obj);
6242 return;
6243 }
6244 }
6245 elfFileWidget::dragLeaveEvent(arg__1);
6246 }
6247 void PythonQtShell_elfFileWidget::dragMoveEvent(QDragMoveEvent* arg__1)
6248 {
6249 if (_wrapper) {
6250 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dragMoveEvent");
6251 PyErr_Clear();
6252 if (obj && !PythonQtSlotFunction_Check(obj)) {
6253 static const char* argumentList[] ={"" , "QDragMoveEvent*"};
6254 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
6255 void* args[2] = {NULL, (void*)&arg__1};
6256 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
6257 if (result) { Py_DECREF(result); }
6258 Py_DECREF(obj);
6259 return;
6260 }
6261 }
6262 elfFileWidget::dragMoveEvent(arg__1);
6263 }
6264 void PythonQtShell_elfFileWidget::dropEvent(QDropEvent* arg__1)
6265 {
6266 if (_wrapper) {
6267 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dropEvent");
6268 PyErr_Clear();
6269 if (obj && !PythonQtSlotFunction_Check(obj)) {
6270 static const char* argumentList[] ={"" , "QDropEvent*"};
6271 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
6272 void* args[2] = {NULL, (void*)&arg__1};
6273 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
6274 if (result) { Py_DECREF(result); }
6275 Py_DECREF(obj);
6276 return;
6277 }
6278 }
6279 elfFileWidget::dropEvent(arg__1);
6280 }
6281 void PythonQtShell_elfFileWidget::enterEvent(QEvent* arg__1)
6282 {
6283 if (_wrapper) {
6284 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "enterEvent");
6285 PyErr_Clear();
6286 if (obj && !PythonQtSlotFunction_Check(obj)) {
6287 static const char* argumentList[] ={"" , "QEvent*"};
6288 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
6289 void* args[2] = {NULL, (void*)&arg__1};
6290 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
6291 if (result) { Py_DECREF(result); }
6292 Py_DECREF(obj);
6293 return;
6294 }
6295 }
6296 elfFileWidget::enterEvent(arg__1);
6297 }
6298 bool PythonQtShell_elfFileWidget::event(QEvent* arg__1)
6299 {
6300 if (_wrapper) {
6301 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "event");
6302 PyErr_Clear();
6303 if (obj && !PythonQtSlotFunction_Check(obj)) {
6304 static const char* argumentList[] ={"bool" , "QEvent*"};
6305 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
6306 bool returnValue;
6307 void* args[2] = {NULL, (void*)&arg__1};
6308 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
6309 if (result) {
6310 args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue);
6311 if (args[0]!=&returnValue) {
6312 if (args[0]==NULL) {
6313 PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result);
6314 } else {
6315 returnValue = *((bool*)args[0]);
6316 }
6317 }
6318 }
6319 if (result) { Py_DECREF(result); }
6320 Py_DECREF(obj);
6321 return returnValue;
6322 }
6323 }
6324 return elfFileWidget::event(arg__1);
6325 }
6326 bool PythonQtShell_elfFileWidget::eventFilter(QObject* arg__1, QEvent* arg__2)
6327 {
6328 if (_wrapper) {
6329 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "eventFilter");
6330 PyErr_Clear();
6331 if (obj && !PythonQtSlotFunction_Check(obj)) {
6332 static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"};
6333 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList);
6334 bool returnValue;
6335 void* args[3] = {NULL, (void*)&arg__1, (void*)&arg__2};
6336 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
6337 if (result) {
6338 args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue);
6339 if (args[0]!=&returnValue) {
6340 if (args[0]==NULL) {
6341 PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result);
6342 } else {
6343 returnValue = *((bool*)args[0]);
6344 }
6345 }
6346 }
6347 if (result) { Py_DECREF(result); }
6348 Py_DECREF(obj);
6349 return returnValue;
6350 }
6351 }
6352 return elfFileWidget::eventFilter(arg__1, arg__2);
6353 }
6354 void PythonQtShell_elfFileWidget::focusInEvent(QFocusEvent* arg__1)
6355 {
6356 if (_wrapper) {
6357 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "focusInEvent");
6358 PyErr_Clear();
6359 if (obj && !PythonQtSlotFunction_Check(obj)) {
6360 static const char* argumentList[] ={"" , "QFocusEvent*"};
6361 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
6362 void* args[2] = {NULL, (void*)&arg__1};
6363 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
6364 if (result) { Py_DECREF(result); }
6365 Py_DECREF(obj);
6366 return;
6367 }
6368 }
6369 elfFileWidget::focusInEvent(arg__1);
6370 }
6371 bool PythonQtShell_elfFileWidget::focusNextPrevChild(bool next)
6372 {
6373 if (_wrapper) {
6374 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "focusNextPrevChild");
6375 PyErr_Clear();
6376 if (obj && !PythonQtSlotFunction_Check(obj)) {
6377 static const char* argumentList[] ={"bool" , "bool"};
6378 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
6379 bool returnValue;
6380 void* args[2] = {NULL, (void*)&next};
6381 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
6382 if (result) {
6383 args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue);
6384 if (args[0]!=&returnValue) {
6385 if (args[0]==NULL) {
6386 PythonQt::priv()->handleVirtualOverloadReturnError("focusNextPrevChild", methodInfo, result);
6387 } else {
6388 returnValue = *((bool*)args[0]);
6389 }
6390 }
6391 }
6392 if (result) { Py_DECREF(result); }
6393 Py_DECREF(obj);
6394 return returnValue;
6395 }
6396 }
6397 return elfFileWidget::focusNextPrevChild(next);
6398 }
6399 void PythonQtShell_elfFileWidget::focusOutEvent(QFocusEvent* arg__1)
6400 {
6401 if (_wrapper) {
6402 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "focusOutEvent");
6403 PyErr_Clear();
6404 if (obj && !PythonQtSlotFunction_Check(obj)) {
6405 static const char* argumentList[] ={"" , "QFocusEvent*"};
6406 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
6407 void* args[2] = {NULL, (void*)&arg__1};
6408 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
6409 if (result) { Py_DECREF(result); }
6410 Py_DECREF(obj);
6411 return;
6412 }
6413 }
6414 elfFileWidget::focusOutEvent(arg__1);
6415 }
6416 bool PythonQtShell_elfFileWidget::hasHeightForWidth() const
6417 {
6418 if (_wrapper) {
6419 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "hasHeightForWidth");
6420 PyErr_Clear();
6421 if (obj && !PythonQtSlotFunction_Check(obj)) {
6422 static const char* argumentList[] ={"bool"};
6423 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList);
6424 bool returnValue;
6425 void* args[1] = {NULL};
6370 void* args[1] = {NULL};
6426 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
6371 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
6427 if (result) {
6372 if (result) { Py_DECREF(result); }
6428 args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue);
6373 Py_DECREF(obj);
6429 if (args[0]!=&returnValue) {
6374 return;
6430 if (args[0]==NULL) {
6375 }
6431 PythonQt::priv()->handleVirtualOverloadReturnError("hasHeightForWidth", methodInfo, result);
6376 }
6432 } else {
6377 elfFileWidget::reloadFile();
6433 returnValue = *((bool*)args[0]);
6378 }
6434 }
6379 void PythonQtShell_elfFileWidget::setFile(abstractBinFile* file)
6435 }
6380 {
6436 }
6381 if (_wrapper) {
6437 if (result) { Py_DECREF(result); }
6382 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "setFile");
6438 Py_DECREF(obj);
6383 PyErr_Clear();
6439 return returnValue;
6384 if (obj && !PythonQtSlotFunction_Check(obj)) {
6440 }
6385 static const char* argumentList[] ={"" , "abstractBinFile*"};
6441 }
6386 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
6442 return elfFileWidget::hasHeightForWidth();
6387 void* args[2] = {NULL, (void*)&file};
6443 }
6388 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
6444 int PythonQtShell_elfFileWidget::heightForWidth(int arg__1) const
6389 if (result) { Py_DECREF(result); }
6445 {
6390 Py_DECREF(obj);
6446 if (_wrapper) {
6391 return;
6447 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "heightForWidth");
6392 }
6448 PyErr_Clear();
6393 }
6449 if (obj && !PythonQtSlotFunction_Check(obj)) {
6394
6450 static const char* argumentList[] ={"int" , "int"};
6451 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
6452 int returnValue;
6453 void* args[2] = {NULL, (void*)&arg__1};
6454 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
6455 if (result) {
6456 args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue);
6457 if (args[0]!=&returnValue) {
6458 if (args[0]==NULL) {
6459 PythonQt::priv()->handleVirtualOverloadReturnError("heightForWidth", methodInfo, result);
6460 } else {
6461 returnValue = *((int*)args[0]);
6462 }
6463 }
6464 }
6465 if (result) { Py_DECREF(result); }
6466 Py_DECREF(obj);
6467 return returnValue;
6468 }
6469 }
6470 return elfFileWidget::heightForWidth(arg__1);
6471 }
6472 void PythonQtShell_elfFileWidget::hideEvent(QHideEvent* arg__1)
6473 {
6474 if (_wrapper) {
6475 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "hideEvent");
6476 PyErr_Clear();
6477 if (obj && !PythonQtSlotFunction_Check(obj)) {
6478 static const char* argumentList[] ={"" , "QHideEvent*"};
6479 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
6480 void* args[2] = {NULL, (void*)&arg__1};
6481 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
6482 if (result) { Py_DECREF(result); }
6483 Py_DECREF(obj);
6484 return;
6485 }
6486 }
6487 elfFileWidget::hideEvent(arg__1);
6488 }
6489 void PythonQtShell_elfFileWidget::initPainter(QPainter* painter) const
6490 {
6491 if (_wrapper) {
6492 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "initPainter");
6493 PyErr_Clear();
6494 if (obj && !PythonQtSlotFunction_Check(obj)) {
6495 static const char* argumentList[] ={"" , "QPainter*"};
6496 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
6497 void* args[2] = {NULL, (void*)&painter};
6498 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
6499 if (result) { Py_DECREF(result); }
6500 Py_DECREF(obj);
6501 return;
6502 }
6503 }
6504 elfFileWidget::initPainter(painter);
6505 }
6506 void PythonQtShell_elfFileWidget::inputMethodEvent(QInputMethodEvent* arg__1)
6507 {
6508 if (_wrapper) {
6509 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "inputMethodEvent");
6510 PyErr_Clear();
6511 if (obj && !PythonQtSlotFunction_Check(obj)) {
6512 static const char* argumentList[] ={"" , "QInputMethodEvent*"};
6513 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
6514 void* args[2] = {NULL, (void*)&arg__1};
6515 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
6516 if (result) { Py_DECREF(result); }
6517 Py_DECREF(obj);
6518 return;
6519 }
6520 }
6521 elfFileWidget::inputMethodEvent(arg__1);
6522 }
6523 QVariant PythonQtShell_elfFileWidget::inputMethodQuery(Qt::InputMethodQuery arg__1) const
6524 {
6525 if (_wrapper) {
6526 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "inputMethodQuery");
6527 PyErr_Clear();
6528 if (obj && !PythonQtSlotFunction_Check(obj)) {
6529 static const char* argumentList[] ={"QVariant" , "Qt::InputMethodQuery"};
6530 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
6531 QVariant returnValue;
6532 void* args[2] = {NULL, (void*)&arg__1};
6533 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
6534 if (result) {
6535 args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue);
6536 if (args[0]!=&returnValue) {
6537 if (args[0]==NULL) {
6538 PythonQt::priv()->handleVirtualOverloadReturnError("inputMethodQuery", methodInfo, result);
6539 } else {
6540 returnValue = *((QVariant*)args[0]);
6541 }
6542 }
6543 }
6544 if (result) { Py_DECREF(result); }
6545 Py_DECREF(obj);
6546 return returnValue;
6547 }
6548 }
6549 return elfFileWidget::inputMethodQuery(arg__1);
6550 }
6551 void PythonQtShell_elfFileWidget::keyPressEvent(QKeyEvent* arg__1)
6552 {
6553 if (_wrapper) {
6554 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "keyPressEvent");
6555 PyErr_Clear();
6556 if (obj && !PythonQtSlotFunction_Check(obj)) {
6557 static const char* argumentList[] ={"" , "QKeyEvent*"};
6558 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
6559 void* args[2] = {NULL, (void*)&arg__1};
6560 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
6561 if (result) { Py_DECREF(result); }
6562 Py_DECREF(obj);
6563 return;
6564 }
6565 }
6566 elfFileWidget::keyPressEvent(arg__1);
6567 }
6568 void PythonQtShell_elfFileWidget::keyReleaseEvent(QKeyEvent* arg__1)
6569 {
6570 if (_wrapper) {
6571 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "keyReleaseEvent");
6572 PyErr_Clear();
6573 if (obj && !PythonQtSlotFunction_Check(obj)) {
6574 static const char* argumentList[] ={"" , "QKeyEvent*"};
6575 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
6576 void* args[2] = {NULL, (void*)&arg__1};
6577 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
6578 if (result) { Py_DECREF(result); }
6579 Py_DECREF(obj);
6580 return;
6581 }
6582 }
6583 elfFileWidget::keyReleaseEvent(arg__1);
6584 }
6585 void PythonQtShell_elfFileWidget::leaveEvent(QEvent* arg__1)
6586 {
6587 if (_wrapper) {
6588 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "leaveEvent");
6589 PyErr_Clear();
6590 if (obj && !PythonQtSlotFunction_Check(obj)) {
6591 static const char* argumentList[] ={"" , "QEvent*"};
6592 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
6593 void* args[2] = {NULL, (void*)&arg__1};
6594 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
6595 if (result) { Py_DECREF(result); }
6596 Py_DECREF(obj);
6597 return;
6598 }
6599 }
6600 elfFileWidget::leaveEvent(arg__1);
6601 }
6602 int PythonQtShell_elfFileWidget::metric(QPaintDevice::PaintDeviceMetric arg__1) const
6603 {
6604 if (_wrapper) {
6605 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "metric");
6606 PyErr_Clear();
6607 if (obj && !PythonQtSlotFunction_Check(obj)) {
6608 static const char* argumentList[] ={"int" , "QPaintDevice::PaintDeviceMetric"};
6609 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
6610 int returnValue;
6611 void* args[2] = {NULL, (void*)&arg__1};
6612 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
6613 if (result) {
6614 args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue);
6615 if (args[0]!=&returnValue) {
6616 if (args[0]==NULL) {
6617 PythonQt::priv()->handleVirtualOverloadReturnError("metric", methodInfo, result);
6618 } else {
6619 returnValue = *((int*)args[0]);
6620 }
6621 }
6622 }
6623 if (result) { Py_DECREF(result); }
6624 Py_DECREF(obj);
6625 return returnValue;
6626 }
6627 }
6628 return elfFileWidget::metric(arg__1);
6629 }
6630 QSize PythonQtShell_elfFileWidget::minimumSizeHint() const
6631 {
6632 if (_wrapper) {
6633 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "getMinimumSizeHint");
6634 PyErr_Clear();
6635 if (obj && !PythonQtSlotFunction_Check(obj)) {
6636 static const char* argumentList[] ={"QSize"};
6637 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList);
6638 QSize returnValue;
6639 void* args[1] = {NULL};
6640 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
6641 if (result) {
6642 args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue);
6643 if (args[0]!=&returnValue) {
6644 if (args[0]==NULL) {
6645 PythonQt::priv()->handleVirtualOverloadReturnError("getMinimumSizeHint", methodInfo, result);
6646 } else {
6647 returnValue = *((QSize*)args[0]);
6648 }
6649 }
6650 }
6651 if (result) { Py_DECREF(result); }
6652 Py_DECREF(obj);
6653 return returnValue;
6654 }
6655 }
6656 return elfFileWidget::minimumSizeHint();
6657 }
6658 void PythonQtShell_elfFileWidget::mouseDoubleClickEvent(QMouseEvent* arg__1)
6659 {
6660 if (_wrapper) {
6661 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mouseDoubleClickEvent");
6662 PyErr_Clear();
6663 if (obj && !PythonQtSlotFunction_Check(obj)) {
6664 static const char* argumentList[] ={"" , "QMouseEvent*"};
6665 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
6666 void* args[2] = {NULL, (void*)&arg__1};
6667 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
6668 if (result) { Py_DECREF(result); }
6669 Py_DECREF(obj);
6670 return;
6671 }
6672 }
6673 elfFileWidget::mouseDoubleClickEvent(arg__1);
6674 }
6675 void PythonQtShell_elfFileWidget::mouseMoveEvent(QMouseEvent* arg__1)
6676 {
6677 if (_wrapper) {
6678 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mouseMoveEvent");
6679 PyErr_Clear();
6680 if (obj && !PythonQtSlotFunction_Check(obj)) {
6681 static const char* argumentList[] ={"" , "QMouseEvent*"};
6682 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
6683 void* args[2] = {NULL, (void*)&arg__1};
6684 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
6685 if (result) { Py_DECREF(result); }
6686 Py_DECREF(obj);
6687 return;
6688 }
6689 }
6690 elfFileWidget::mouseMoveEvent(arg__1);
6691 }
6692 void PythonQtShell_elfFileWidget::mousePressEvent(QMouseEvent* arg__1)
6693 {
6694 if (_wrapper) {
6695 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mousePressEvent");
6696 PyErr_Clear();
6697 if (obj && !PythonQtSlotFunction_Check(obj)) {
6698 static const char* argumentList[] ={"" , "QMouseEvent*"};
6699 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
6700 void* args[2] = {NULL, (void*)&arg__1};
6701 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
6702 if (result) { Py_DECREF(result); }
6703 Py_DECREF(obj);
6704 return;
6705 }
6706 }
6707 elfFileWidget::mousePressEvent(arg__1);
6708 }
6709 void PythonQtShell_elfFileWidget::mouseReleaseEvent(QMouseEvent* arg__1)
6710 {
6711 if (_wrapper) {
6712 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mouseReleaseEvent");
6713 PyErr_Clear();
6714 if (obj && !PythonQtSlotFunction_Check(obj)) {
6715 static const char* argumentList[] ={"" , "QMouseEvent*"};
6716 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
6717 void* args[2] = {NULL, (void*)&arg__1};
6718 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
6719 if (result) { Py_DECREF(result); }
6720 Py_DECREF(obj);
6721 return;
6722 }
6723 }
6724 elfFileWidget::mouseReleaseEvent(arg__1);
6725 }
6726 void PythonQtShell_elfFileWidget::moveEvent(QMoveEvent* arg__1)
6727 {
6728 if (_wrapper) {
6729 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "moveEvent");
6730 PyErr_Clear();
6731 if (obj && !PythonQtSlotFunction_Check(obj)) {
6732 static const char* argumentList[] ={"" , "QMoveEvent*"};
6733 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
6734 void* args[2] = {NULL, (void*)&arg__1};
6735 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
6736 if (result) { Py_DECREF(result); }
6737 Py_DECREF(obj);
6738 return;
6739 }
6740 }
6741 elfFileWidget::moveEvent(arg__1);
6742 }
6743 bool PythonQtShell_elfFileWidget::nativeEvent(const QByteArray& eventType, void* message, long* result)
6744 {
6745 if (_wrapper) {
6746 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "nativeEvent");
6747 PyErr_Clear();
6748 if (obj && !PythonQtSlotFunction_Check(obj)) {
6749 static const char* argumentList[] ={"bool" , "const QByteArray&" , "void*" , "long*"};
6750 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList);
6751 bool returnValue;
6752 void* args[4] = {NULL, (void*)&eventType, (void*)&message, (void*)&result};
6753 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
6754 if (result) {
6755 args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue);
6756 if (args[0]!=&returnValue) {
6757 if (args[0]==NULL) {
6758 PythonQt::priv()->handleVirtualOverloadReturnError("nativeEvent", methodInfo, result);
6759 } else {
6760 returnValue = *((bool*)args[0]);
6761 }
6762 }
6763 }
6764 if (result) { Py_DECREF(result); }
6765 Py_DECREF(obj);
6766 return returnValue;
6767 }
6768 }
6769 return elfFileWidget::nativeEvent(eventType, message, result);
6770 }
6771 QPaintEngine* PythonQtShell_elfFileWidget::paintEngine() const
6772 {
6773 if (_wrapper) {
6774 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "paintEngine");
6775 PyErr_Clear();
6776 if (obj && !PythonQtSlotFunction_Check(obj)) {
6777 static const char* argumentList[] ={"QPaintEngine*"};
6778 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList);
6779 QPaintEngine* returnValue;
6780 void* args[1] = {NULL};
6781 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
6782 if (result) {
6783 args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue);
6784 if (args[0]!=&returnValue) {
6785 if (args[0]==NULL) {
6786 PythonQt::priv()->handleVirtualOverloadReturnError("paintEngine", methodInfo, result);
6787 } else {
6788 returnValue = *((QPaintEngine**)args[0]);
6789 }
6790 }
6791 }
6792 if (result) { Py_DECREF(result); }
6793 Py_DECREF(obj);
6794 return returnValue;
6795 }
6796 }
6797 return elfFileWidget::paintEngine();
6798 }
6799 void PythonQtShell_elfFileWidget::paintEvent(QPaintEvent* arg__1)
6800 {
6801 if (_wrapper) {
6802 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "paintEvent");
6803 PyErr_Clear();
6804 if (obj && !PythonQtSlotFunction_Check(obj)) {
6805 static const char* argumentList[] ={"" , "QPaintEvent*"};
6806 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
6807 void* args[2] = {NULL, (void*)&arg__1};
6808 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
6809 if (result) { Py_DECREF(result); }
6810 Py_DECREF(obj);
6811 return;
6812 }
6813 }
6814 elfFileWidget::paintEvent(arg__1);
6815 }
6816 QPaintDevice* PythonQtShell_elfFileWidget::redirected(QPoint* offset) const
6817 {
6818 if (_wrapper) {
6819 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "redirected");
6820 PyErr_Clear();
6821 if (obj && !PythonQtSlotFunction_Check(obj)) {
6822 static const char* argumentList[] ={"QPaintDevice*" , "QPoint*"};
6823 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
6824 QPaintDevice* returnValue;
6825 void* args[2] = {NULL, (void*)&offset};
6826 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
6827 if (result) {
6828 args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue);
6829 if (args[0]!=&returnValue) {
6830 if (args[0]==NULL) {
6831 PythonQt::priv()->handleVirtualOverloadReturnError("redirected", methodInfo, result);
6832 } else {
6833 returnValue = *((QPaintDevice**)args[0]);
6834 }
6835 }
6836 }
6837 if (result) { Py_DECREF(result); }
6838 Py_DECREF(obj);
6839 return returnValue;
6840 }
6841 }
6842 return elfFileWidget::redirected(offset);
6843 }
6844 void PythonQtShell_elfFileWidget::resizeEvent(QResizeEvent* arg__1)
6845 {
6846 if (_wrapper) {
6847 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "resizeEvent");
6848 PyErr_Clear();
6849 if (obj && !PythonQtSlotFunction_Check(obj)) {
6850 static const char* argumentList[] ={"" , "QResizeEvent*"};
6851 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
6852 void* args[2] = {NULL, (void*)&arg__1};
6853 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
6854 if (result) { Py_DECREF(result); }
6855 Py_DECREF(obj);
6856 return;
6857 }
6858 }
6859 elfFileWidget::resizeEvent(arg__1);
6860 }
6861 QPainter* PythonQtShell_elfFileWidget::sharedPainter() const
6862 {
6863 if (_wrapper) {
6864 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "sharedPainter");
6865 PyErr_Clear();
6866 if (obj && !PythonQtSlotFunction_Check(obj)) {
6867 static const char* argumentList[] ={"QPainter*"};
6868 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList);
6869 QPainter* returnValue;
6870 void* args[1] = {NULL};
6871 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
6872 if (result) {
6873 args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue);
6874 if (args[0]!=&returnValue) {
6875 if (args[0]==NULL) {
6876 PythonQt::priv()->handleVirtualOverloadReturnError("sharedPainter", methodInfo, result);
6877 } else {
6878 returnValue = *((QPainter**)args[0]);
6879 }
6880 }
6881 }
6882 if (result) { Py_DECREF(result); }
6883 Py_DECREF(obj);
6884 return returnValue;
6885 }
6886 }
6887 return elfFileWidget::sharedPainter();
6888 }
6889 void PythonQtShell_elfFileWidget::showEvent(QShowEvent* arg__1)
6890 {
6891 if (_wrapper) {
6892 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "showEvent");
6893 PyErr_Clear();
6894 if (obj && !PythonQtSlotFunction_Check(obj)) {
6895 static const char* argumentList[] ={"" , "QShowEvent*"};
6896 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
6897 void* args[2] = {NULL, (void*)&arg__1};
6898 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
6899 if (result) { Py_DECREF(result); }
6900 Py_DECREF(obj);
6901 return;
6902 }
6903 }
6904 elfFileWidget::showEvent(arg__1);
6905 }
6906 QSize PythonQtShell_elfFileWidget::sizeHint() const
6907 {
6908 if (_wrapper) {
6909 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "getSizeHint");
6910 PyErr_Clear();
6911 if (obj && !PythonQtSlotFunction_Check(obj)) {
6912 static const char* argumentList[] ={"QSize"};
6913 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList);
6914 QSize returnValue;
6915 void* args[1] = {NULL};
6916 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
6917 if (result) {
6918 args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue);
6919 if (args[0]!=&returnValue) {
6920 if (args[0]==NULL) {
6921 PythonQt::priv()->handleVirtualOverloadReturnError("getSizeHint", methodInfo, result);
6922 } else {
6923 returnValue = *((QSize*)args[0]);
6924 }
6925 }
6926 }
6927 if (result) { Py_DECREF(result); }
6928 Py_DECREF(obj);
6929 return returnValue;
6930 }
6931 }
6932 return elfFileWidget::sizeHint();
6933 }
6934 void PythonQtShell_elfFileWidget::tabletEvent(QTabletEvent* arg__1)
6935 {
6936 if (_wrapper) {
6937 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "tabletEvent");
6938 PyErr_Clear();
6939 if (obj && !PythonQtSlotFunction_Check(obj)) {
6940 static const char* argumentList[] ={"" , "QTabletEvent*"};
6941 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
6942 void* args[2] = {NULL, (void*)&arg__1};
6943 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
6944 if (result) { Py_DECREF(result); }
6945 Py_DECREF(obj);
6946 return;
6947 }
6948 }
6949 elfFileWidget::tabletEvent(arg__1);
6950 }
6951 void PythonQtShell_elfFileWidget::timerEvent(QTimerEvent* arg__1)
6952 {
6953 if (_wrapper) {
6954 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "timerEvent");
6955 PyErr_Clear();
6956 if (obj && !PythonQtSlotFunction_Check(obj)) {
6957 static const char* argumentList[] ={"" , "QTimerEvent*"};
6958 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
6959 void* args[2] = {NULL, (void*)&arg__1};
6960 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
6961 if (result) { Py_DECREF(result); }
6962 Py_DECREF(obj);
6963 return;
6964 }
6965 }
6966 elfFileWidget::timerEvent(arg__1);
6967 }
6968 void PythonQtShell_elfFileWidget::wheelEvent(QWheelEvent* arg__1)
6969 {
6970 if (_wrapper) {
6971 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "wheelEvent");
6972 PyErr_Clear();
6973 if (obj && !PythonQtSlotFunction_Check(obj)) {
6974 static const char* argumentList[] ={"" , "QWheelEvent*"};
6975 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
6976 void* args[2] = {NULL, (void*)&arg__1};
6977 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
6978 if (result) { Py_DECREF(result); }
6979 Py_DECREF(obj);
6980 return;
6981 }
6982 }
6983 elfFileWidget::wheelEvent(arg__1);
6984 }
6395 }
6985 elfFileWidget* PythonQtWrapper_elfFileWidget::new_elfFileWidget(QWidget* parent)
6396 elfFileWidget* PythonQtWrapper_elfFileWidget::new_elfFileWidget(QWidget* parent)
6986 {
6397 {
6987 return new PythonQtShell_elfFileWidget(parent); }
6398 return new PythonQtShell_elfFileWidget(parent); }
6988
6399
6400 void PythonQtWrapper_elfFileWidget::reloadFile(elfFileWidget* theWrappedObject)
6401 {
6402 ( ((PythonQtPublicPromoter_elfFileWidget*)theWrappedObject)->promoted_reloadFile());
6403 }
6404
6989
6405
6990
6406
6991 PythonQtShell_elfInfoWdgt::~PythonQtShell_elfInfoWdgt() {
6407 PythonQtShell_elfInfoWdgt::~PythonQtShell_elfInfoWdgt() {
6992 PythonQtPrivate* priv = PythonQt::priv();
6408 PythonQtPrivate* priv = PythonQt::priv();
6993 if (priv) { priv->shellClassDeleted(this); }
6409 if (priv) { priv->shellClassDeleted(this); }
6994 }
6410 }
6995 void PythonQtShell_elfInfoWdgt::actionEvent(QActionEvent* arg__1)
6411 void PythonQtShell_elfInfoWdgt::actionEvent(QActionEvent* arg__1)
6996 {
6412 {
6997 if (_wrapper) {
6413 if (_wrapper) {
6998 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "actionEvent");
6414 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "actionEvent");
6999 PyErr_Clear();
6415 PyErr_Clear();
7000 if (obj && !PythonQtSlotFunction_Check(obj)) {
6416 if (obj && !PythonQtSlotFunction_Check(obj)) {
7001 static const char* argumentList[] ={"" , "QActionEvent*"};
6417 static const char* argumentList[] ={"" , "QActionEvent*"};
7002 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
6418 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
7003 void* args[2] = {NULL, (void*)&arg__1};
6419 void* args[2] = {NULL, (void*)&arg__1};
7004 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
6420 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
7005 if (result) { Py_DECREF(result); }
6421 if (result) { Py_DECREF(result); }
7006 Py_DECREF(obj);
6422 Py_DECREF(obj);
7007 return;
6423 return;
7008 }
6424 }
7009 }
6425 }
7010 elfInfoWdgt::actionEvent(arg__1);
6426 elfInfoWdgt::actionEvent(arg__1);
7011 }
6427 }
7012 void PythonQtShell_elfInfoWdgt::changeEvent(QEvent* arg__1)
6428 void PythonQtShell_elfInfoWdgt::changeEvent(QEvent* arg__1)
7013 {
6429 {
7014 if (_wrapper) {
6430 if (_wrapper) {
7015 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "changeEvent");
6431 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "changeEvent");
7016 PyErr_Clear();
6432 PyErr_Clear();
7017 if (obj && !PythonQtSlotFunction_Check(obj)) {
6433 if (obj && !PythonQtSlotFunction_Check(obj)) {
7018 static const char* argumentList[] ={"" , "QEvent*"};
6434 static const char* argumentList[] ={"" , "QEvent*"};
7019 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
6435 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
7020 void* args[2] = {NULL, (void*)&arg__1};
6436 void* args[2] = {NULL, (void*)&arg__1};
7021 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
6437 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
7022 if (result) { Py_DECREF(result); }
6438 if (result) { Py_DECREF(result); }
7023 Py_DECREF(obj);
6439 Py_DECREF(obj);
7024 return;
6440 return;
7025 }
6441 }
7026 }
6442 }
7027 elfInfoWdgt::changeEvent(arg__1);
6443 elfInfoWdgt::changeEvent(arg__1);
7028 }
6444 }
7029 void PythonQtShell_elfInfoWdgt::childEvent(QChildEvent* arg__1)
6445 void PythonQtShell_elfInfoWdgt::childEvent(QChildEvent* arg__1)
7030 {
6446 {
7031 if (_wrapper) {
6447 if (_wrapper) {
7032 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "childEvent");
6448 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "childEvent");
7033 PyErr_Clear();
6449 PyErr_Clear();
7034 if (obj && !PythonQtSlotFunction_Check(obj)) {
6450 if (obj && !PythonQtSlotFunction_Check(obj)) {
7035 static const char* argumentList[] ={"" , "QChildEvent*"};
6451 static const char* argumentList[] ={"" , "QChildEvent*"};
7036 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
6452 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
7037 void* args[2] = {NULL, (void*)&arg__1};
6453 void* args[2] = {NULL, (void*)&arg__1};
7038 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
6454 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
7039 if (result) { Py_DECREF(result); }
6455 if (result) { Py_DECREF(result); }
7040 Py_DECREF(obj);
6456 Py_DECREF(obj);
7041 return;
6457 return;
7042 }
6458 }
7043 }
6459 }
7044 elfInfoWdgt::childEvent(arg__1);
6460 elfInfoWdgt::childEvent(arg__1);
7045 }
6461 }
7046 void PythonQtShell_elfInfoWdgt::closeEvent(QCloseEvent* arg__1)
6462 void PythonQtShell_elfInfoWdgt::closeEvent(QCloseEvent* arg__1)
7047 {
6463 {
7048 if (_wrapper) {
6464 if (_wrapper) {
7049 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "closeEvent");
6465 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "closeEvent");
7050 PyErr_Clear();
6466 PyErr_Clear();
7051 if (obj && !PythonQtSlotFunction_Check(obj)) {
6467 if (obj && !PythonQtSlotFunction_Check(obj)) {
7052 static const char* argumentList[] ={"" , "QCloseEvent*"};
6468 static const char* argumentList[] ={"" , "QCloseEvent*"};
7053 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
6469 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
7054 void* args[2] = {NULL, (void*)&arg__1};
6470 void* args[2] = {NULL, (void*)&arg__1};
7055 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
6471 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
7056 if (result) { Py_DECREF(result); }
6472 if (result) { Py_DECREF(result); }
7057 Py_DECREF(obj);
6473 Py_DECREF(obj);
7058 return;
6474 return;
7059 }
6475 }
7060 }
6476 }
7061 elfInfoWdgt::closeEvent(arg__1);
6477 elfInfoWdgt::closeEvent(arg__1);
7062 }
6478 }
7063 void PythonQtShell_elfInfoWdgt::contextMenuEvent(QContextMenuEvent* arg__1)
6479 void PythonQtShell_elfInfoWdgt::contextMenuEvent(QContextMenuEvent* arg__1)
7064 {
6480 {
7065 if (_wrapper) {
6481 if (_wrapper) {
7066 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "contextMenuEvent");
6482 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "contextMenuEvent");
7067 PyErr_Clear();
6483 PyErr_Clear();
7068 if (obj && !PythonQtSlotFunction_Check(obj)) {
6484 if (obj && !PythonQtSlotFunction_Check(obj)) {
7069 static const char* argumentList[] ={"" , "QContextMenuEvent*"};
6485 static const char* argumentList[] ={"" , "QContextMenuEvent*"};
7070 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
6486 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
7071 void* args[2] = {NULL, (void*)&arg__1};
6487 void* args[2] = {NULL, (void*)&arg__1};
7072 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
6488 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
7073 if (result) { Py_DECREF(result); }
6489 if (result) { Py_DECREF(result); }
7074 Py_DECREF(obj);
6490 Py_DECREF(obj);
7075 return;
6491 return;
7076 }
6492 }
7077 }
6493 }
7078 elfInfoWdgt::contextMenuEvent(arg__1);
6494 elfInfoWdgt::contextMenuEvent(arg__1);
7079 }
6495 }
7080 void PythonQtShell_elfInfoWdgt::customEvent(QEvent* arg__1)
6496 void PythonQtShell_elfInfoWdgt::customEvent(QEvent* arg__1)
7081 {
6497 {
7082 if (_wrapper) {
6498 if (_wrapper) {
7083 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "customEvent");
6499 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "customEvent");
7084 PyErr_Clear();
6500 PyErr_Clear();
7085 if (obj && !PythonQtSlotFunction_Check(obj)) {
6501 if (obj && !PythonQtSlotFunction_Check(obj)) {
7086 static const char* argumentList[] ={"" , "QEvent*"};
6502 static const char* argumentList[] ={"" , "QEvent*"};
7087 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
6503 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
7088 void* args[2] = {NULL, (void*)&arg__1};
6504 void* args[2] = {NULL, (void*)&arg__1};
7089 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
6505 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
7090 if (result) { Py_DECREF(result); }
6506 if (result) { Py_DECREF(result); }
7091 Py_DECREF(obj);
6507 Py_DECREF(obj);
7092 return;
6508 return;
7093 }
6509 }
7094 }
6510 }
7095 elfInfoWdgt::customEvent(arg__1);
6511 elfInfoWdgt::customEvent(arg__1);
7096 }
6512 }
7097 int PythonQtShell_elfInfoWdgt::devType() const
6513 int PythonQtShell_elfInfoWdgt::devType() const
7098 {
6514 {
7099 if (_wrapper) {
6515 if (_wrapper) {
7100 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "devType");
6516 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "devType");
7101 PyErr_Clear();
6517 PyErr_Clear();
7102 if (obj && !PythonQtSlotFunction_Check(obj)) {
6518 if (obj && !PythonQtSlotFunction_Check(obj)) {
7103 static const char* argumentList[] ={"int"};
6519 static const char* argumentList[] ={"int"};
7104 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList);
6520 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList);
7105 int returnValue;
6521 int returnValue;
7106 void* args[1] = {NULL};
6522 void* args[1] = {NULL};
7107 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
6523 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
7108 if (result) {
6524 if (result) {
7109 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);
7110 if (args[0]!=&returnValue) {
6526 if (args[0]!=&returnValue) {
7111 if (args[0]==NULL) {
6527 if (args[0]==NULL) {
7112 PythonQt::priv()->handleVirtualOverloadReturnError("devType", methodInfo, result);
6528 PythonQt::priv()->handleVirtualOverloadReturnError("devType", methodInfo, result);
7113 } else {
6529 } else {
7114 returnValue = *((int*)args[0]);
6530 returnValue = *((int*)args[0]);
7115 }
6531 }
7116 }
6532 }
7117 }
6533 }
7118 if (result) { Py_DECREF(result); }
6534 if (result) { Py_DECREF(result); }
7119 Py_DECREF(obj);
6535 Py_DECREF(obj);
7120 return returnValue;
6536 return returnValue;
7121 }
6537 }
7122 }
6538 }
7123 return elfInfoWdgt::devType();
6539 return elfInfoWdgt::devType();
7124 }
6540 }
7125 void PythonQtShell_elfInfoWdgt::dragEnterEvent(QDragEnterEvent* arg__1)
6541 void PythonQtShell_elfInfoWdgt::dragEnterEvent(QDragEnterEvent* arg__1)
7126 {
6542 {
7127 if (_wrapper) {
6543 if (_wrapper) {
7128 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dragEnterEvent");
6544 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dragEnterEvent");
7129 PyErr_Clear();
6545 PyErr_Clear();
7130 if (obj && !PythonQtSlotFunction_Check(obj)) {
6546 if (obj && !PythonQtSlotFunction_Check(obj)) {
7131 static const char* argumentList[] ={"" , "QDragEnterEvent*"};
6547 static const char* argumentList[] ={"" , "QDragEnterEvent*"};
7132 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
6548 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
7133 void* args[2] = {NULL, (void*)&arg__1};
6549 void* args[2] = {NULL, (void*)&arg__1};
7134 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
6550 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
7135 if (result) { Py_DECREF(result); }
6551 if (result) { Py_DECREF(result); }
7136 Py_DECREF(obj);
6552 Py_DECREF(obj);
7137 return;
6553 return;
7138 }
6554 }
7139 }
6555 }
7140 elfInfoWdgt::dragEnterEvent(arg__1);
6556 elfInfoWdgt::dragEnterEvent(arg__1);
7141 }
6557 }
7142 void PythonQtShell_elfInfoWdgt::dragLeaveEvent(QDragLeaveEvent* arg__1)
6558 void PythonQtShell_elfInfoWdgt::dragLeaveEvent(QDragLeaveEvent* arg__1)
7143 {
6559 {
7144 if (_wrapper) {
6560 if (_wrapper) {
7145 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dragLeaveEvent");
6561 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dragLeaveEvent");
7146 PyErr_Clear();
6562 PyErr_Clear();
7147 if (obj && !PythonQtSlotFunction_Check(obj)) {
6563 if (obj && !PythonQtSlotFunction_Check(obj)) {
7148 static const char* argumentList[] ={"" , "QDragLeaveEvent*"};
6564 static const char* argumentList[] ={"" , "QDragLeaveEvent*"};
7149 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
6565 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
7150 void* args[2] = {NULL, (void*)&arg__1};
6566 void* args[2] = {NULL, (void*)&arg__1};
7151 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
6567 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
7152 if (result) { Py_DECREF(result); }
6568 if (result) { Py_DECREF(result); }
7153 Py_DECREF(obj);
6569 Py_DECREF(obj);
7154 return;
6570 return;
7155 }
6571 }
7156 }
6572 }
7157 elfInfoWdgt::dragLeaveEvent(arg__1);
6573 elfInfoWdgt::dragLeaveEvent(arg__1);
7158 }
6574 }
7159 void PythonQtShell_elfInfoWdgt::dragMoveEvent(QDragMoveEvent* arg__1)
6575 void PythonQtShell_elfInfoWdgt::dragMoveEvent(QDragMoveEvent* arg__1)
7160 {
6576 {
7161 if (_wrapper) {
6577 if (_wrapper) {
7162 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dragMoveEvent");
6578 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dragMoveEvent");
7163 PyErr_Clear();
6579 PyErr_Clear();
7164 if (obj && !PythonQtSlotFunction_Check(obj)) {
6580 if (obj && !PythonQtSlotFunction_Check(obj)) {
7165 static const char* argumentList[] ={"" , "QDragMoveEvent*"};
6581 static const char* argumentList[] ={"" , "QDragMoveEvent*"};
7166 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
6582 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
7167 void* args[2] = {NULL, (void*)&arg__1};
6583 void* args[2] = {NULL, (void*)&arg__1};
7168 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
6584 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
7169 if (result) { Py_DECREF(result); }
6585 if (result) { Py_DECREF(result); }
7170 Py_DECREF(obj);
6586 Py_DECREF(obj);
7171 return;
6587 return;
7172 }
6588 }
7173 }
6589 }
7174 elfInfoWdgt::dragMoveEvent(arg__1);
6590 elfInfoWdgt::dragMoveEvent(arg__1);
7175 }
6591 }
7176 void PythonQtShell_elfInfoWdgt::dropEvent(QDropEvent* arg__1)
6592 void PythonQtShell_elfInfoWdgt::dropEvent(QDropEvent* arg__1)
7177 {
6593 {
7178 if (_wrapper) {
6594 if (_wrapper) {
7179 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dropEvent");
6595 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dropEvent");
7180 PyErr_Clear();
6596 PyErr_Clear();
7181 if (obj && !PythonQtSlotFunction_Check(obj)) {
6597 if (obj && !PythonQtSlotFunction_Check(obj)) {
7182 static const char* argumentList[] ={"" , "QDropEvent*"};
6598 static const char* argumentList[] ={"" , "QDropEvent*"};
7183 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
6599 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
7184 void* args[2] = {NULL, (void*)&arg__1};
6600 void* args[2] = {NULL, (void*)&arg__1};
7185 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
6601 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
7186 if (result) { Py_DECREF(result); }
6602 if (result) { Py_DECREF(result); }
7187 Py_DECREF(obj);
6603 Py_DECREF(obj);
7188 return;
6604 return;
7189 }
6605 }
7190 }
6606 }
7191 elfInfoWdgt::dropEvent(arg__1);
6607 elfInfoWdgt::dropEvent(arg__1);
7192 }
6608 }
7193 void PythonQtShell_elfInfoWdgt::enterEvent(QEvent* arg__1)
6609 void PythonQtShell_elfInfoWdgt::enterEvent(QEvent* arg__1)
7194 {
6610 {
7195 if (_wrapper) {
6611 if (_wrapper) {
7196 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "enterEvent");
6612 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "enterEvent");
7197 PyErr_Clear();
6613 PyErr_Clear();
7198 if (obj && !PythonQtSlotFunction_Check(obj)) {
6614 if (obj && !PythonQtSlotFunction_Check(obj)) {
7199 static const char* argumentList[] ={"" , "QEvent*"};
6615 static const char* argumentList[] ={"" , "QEvent*"};
7200 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
6616 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
7201 void* args[2] = {NULL, (void*)&arg__1};
6617 void* args[2] = {NULL, (void*)&arg__1};
7202 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
6618 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
7203 if (result) { Py_DECREF(result); }
6619 if (result) { Py_DECREF(result); }
7204 Py_DECREF(obj);
6620 Py_DECREF(obj);
7205 return;
6621 return;
7206 }
6622 }
7207 }
6623 }
7208 elfInfoWdgt::enterEvent(arg__1);
6624 elfInfoWdgt::enterEvent(arg__1);
7209 }
6625 }
7210 bool PythonQtShell_elfInfoWdgt::event(QEvent* arg__1)
6626 bool PythonQtShell_elfInfoWdgt::event(QEvent* arg__1)
7211 {
6627 {
7212 if (_wrapper) {
6628 if (_wrapper) {
7213 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "event");
6629 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "event");
7214 PyErr_Clear();
6630 PyErr_Clear();
7215 if (obj && !PythonQtSlotFunction_Check(obj)) {
6631 if (obj && !PythonQtSlotFunction_Check(obj)) {
7216 static const char* argumentList[] ={"bool" , "QEvent*"};
6632 static const char* argumentList[] ={"bool" , "QEvent*"};
7217 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
6633 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
7218 bool returnValue;
6634 bool returnValue;
7219 void* args[2] = {NULL, (void*)&arg__1};
6635 void* args[2] = {NULL, (void*)&arg__1};
7220 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
6636 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
7221 if (result) {
6637 if (result) {
7222 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);
7223 if (args[0]!=&returnValue) {
6639 if (args[0]!=&returnValue) {
7224 if (args[0]==NULL) {
6640 if (args[0]==NULL) {
7225 PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result);
6641 PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result);
7226 } else {
6642 } else {
7227 returnValue = *((bool*)args[0]);
6643 returnValue = *((bool*)args[0]);
7228 }
6644 }
7229 }
6645 }
7230 }
6646 }
7231 if (result) { Py_DECREF(result); }
6647 if (result) { Py_DECREF(result); }
7232 Py_DECREF(obj);
6648 Py_DECREF(obj);
7233 return returnValue;
6649 return returnValue;
7234 }
6650 }
7235 }
6651 }
7236 return elfInfoWdgt::event(arg__1);
6652 return elfInfoWdgt::event(arg__1);
7237 }
6653 }
7238 bool PythonQtShell_elfInfoWdgt::eventFilter(QObject* arg__1, QEvent* arg__2)
6654 bool PythonQtShell_elfInfoWdgt::eventFilter(QObject* arg__1, QEvent* arg__2)
7239 {
6655 {
7240 if (_wrapper) {
6656 if (_wrapper) {
7241 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "eventFilter");
6657 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "eventFilter");
7242 PyErr_Clear();
6658 PyErr_Clear();
7243 if (obj && !PythonQtSlotFunction_Check(obj)) {
6659 if (obj && !PythonQtSlotFunction_Check(obj)) {
7244 static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"};
6660 static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"};
7245 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList);
6661 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList);
7246 bool returnValue;
6662 bool returnValue;
7247 void* args[3] = {NULL, (void*)&arg__1, (void*)&arg__2};
6663 void* args[3] = {NULL, (void*)&arg__1, (void*)&arg__2};
7248 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
6664 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
7249 if (result) {
6665 if (result) {
7250 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);
7251 if (args[0]!=&returnValue) {
6667 if (args[0]!=&returnValue) {
7252 if (args[0]==NULL) {
6668 if (args[0]==NULL) {
7253 PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result);
6669 PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result);
7254 } else {
6670 } else {
7255 returnValue = *((bool*)args[0]);
6671 returnValue = *((bool*)args[0]);
7256 }
6672 }
7257 }
6673 }
7258 }
6674 }
7259 if (result) { Py_DECREF(result); }
6675 if (result) { Py_DECREF(result); }
7260 Py_DECREF(obj);
6676 Py_DECREF(obj);
7261 return returnValue;
6677 return returnValue;
7262 }
6678 }
7263 }
6679 }
7264 return elfInfoWdgt::eventFilter(arg__1, arg__2);
6680 return elfInfoWdgt::eventFilter(arg__1, arg__2);
7265 }
6681 }
7266 void PythonQtShell_elfInfoWdgt::focusInEvent(QFocusEvent* arg__1)
6682 void PythonQtShell_elfInfoWdgt::focusInEvent(QFocusEvent* arg__1)
7267 {
6683 {
7268 if (_wrapper) {
6684 if (_wrapper) {
7269 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "focusInEvent");
6685 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "focusInEvent");
7270 PyErr_Clear();
6686 PyErr_Clear();
7271 if (obj && !PythonQtSlotFunction_Check(obj)) {
6687 if (obj && !PythonQtSlotFunction_Check(obj)) {
7272 static const char* argumentList[] ={"" , "QFocusEvent*"};
6688 static const char* argumentList[] ={"" , "QFocusEvent*"};
7273 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
6689 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
7274 void* args[2] = {NULL, (void*)&arg__1};
6690 void* args[2] = {NULL, (void*)&arg__1};
7275 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
6691 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
7276 if (result) { Py_DECREF(result); }
6692 if (result) { Py_DECREF(result); }
7277 Py_DECREF(obj);
6693 Py_DECREF(obj);
7278 return;
6694 return;
7279 }
6695 }
7280 }
6696 }
7281 elfInfoWdgt::focusInEvent(arg__1);
6697 elfInfoWdgt::focusInEvent(arg__1);
7282 }
6698 }
7283 bool PythonQtShell_elfInfoWdgt::focusNextPrevChild(bool next)
6699 bool PythonQtShell_elfInfoWdgt::focusNextPrevChild(bool next)
7284 {
6700 {
7285 if (_wrapper) {
6701 if (_wrapper) {
7286 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "focusNextPrevChild");
6702 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "focusNextPrevChild");
7287 PyErr_Clear();
6703 PyErr_Clear();
7288 if (obj && !PythonQtSlotFunction_Check(obj)) {
6704 if (obj && !PythonQtSlotFunction_Check(obj)) {
7289 static const char* argumentList[] ={"bool" , "bool"};
6705 static const char* argumentList[] ={"bool" , "bool"};
7290 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
6706 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
7291 bool returnValue;
6707 bool returnValue;
7292 void* args[2] = {NULL, (void*)&next};
6708 void* args[2] = {NULL, (void*)&next};
7293 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
6709 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
7294 if (result) {
6710 if (result) {
7295 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);
7296 if (args[0]!=&returnValue) {
6712 if (args[0]!=&returnValue) {
7297 if (args[0]==NULL) {
6713 if (args[0]==NULL) {
7298 PythonQt::priv()->handleVirtualOverloadReturnError("focusNextPrevChild", methodInfo, result);
6714 PythonQt::priv()->handleVirtualOverloadReturnError("focusNextPrevChild", methodInfo, result);
7299 } else {
6715 } else {
7300 returnValue = *((bool*)args[0]);
6716 returnValue = *((bool*)args[0]);
7301 }
6717 }
7302 }
6718 }
7303 }
6719 }
7304 if (result) { Py_DECREF(result); }
6720 if (result) { Py_DECREF(result); }
7305 Py_DECREF(obj);
6721 Py_DECREF(obj);
7306 return returnValue;
6722 return returnValue;
7307 }
6723 }
7308 }
6724 }
7309 return elfInfoWdgt::focusNextPrevChild(next);
6725 return elfInfoWdgt::focusNextPrevChild(next);
7310 }
6726 }
7311 void PythonQtShell_elfInfoWdgt::focusOutEvent(QFocusEvent* arg__1)
6727 void PythonQtShell_elfInfoWdgt::focusOutEvent(QFocusEvent* arg__1)
7312 {
6728 {
7313 if (_wrapper) {
6729 if (_wrapper) {
7314 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "focusOutEvent");
6730 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "focusOutEvent");
7315 PyErr_Clear();
6731 PyErr_Clear();
7316 if (obj && !PythonQtSlotFunction_Check(obj)) {
6732 if (obj && !PythonQtSlotFunction_Check(obj)) {
7317 static const char* argumentList[] ={"" , "QFocusEvent*"};
6733 static const char* argumentList[] ={"" , "QFocusEvent*"};
7318 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
6734 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
7319 void* args[2] = {NULL, (void*)&arg__1};
6735 void* args[2] = {NULL, (void*)&arg__1};
7320 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
6736 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
7321 if (result) { Py_DECREF(result); }
6737 if (result) { Py_DECREF(result); }
7322 Py_DECREF(obj);
6738 Py_DECREF(obj);
7323 return;
6739 return;
7324 }
6740 }
7325 }
6741 }
7326 elfInfoWdgt::focusOutEvent(arg__1);
6742 elfInfoWdgt::focusOutEvent(arg__1);
7327 }
6743 }
7328 bool PythonQtShell_elfInfoWdgt::hasHeightForWidth() const
6744 bool PythonQtShell_elfInfoWdgt::hasHeightForWidth() const
7329 {
6745 {
7330 if (_wrapper) {
6746 if (_wrapper) {
7331 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "hasHeightForWidth");
6747 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "hasHeightForWidth");
7332 PyErr_Clear();
6748 PyErr_Clear();
7333 if (obj && !PythonQtSlotFunction_Check(obj)) {
6749 if (obj && !PythonQtSlotFunction_Check(obj)) {
7334 static const char* argumentList[] ={"bool"};
6750 static const char* argumentList[] ={"bool"};
7335 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList);
6751 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList);
7336 bool returnValue;
6752 bool returnValue;
7337 void* args[1] = {NULL};
6753 void* args[1] = {NULL};
7338 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
6754 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
7339 if (result) {
6755 if (result) {
7340 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);
7341 if (args[0]!=&returnValue) {
6757 if (args[0]!=&returnValue) {
7342 if (args[0]==NULL) {
6758 if (args[0]==NULL) {
7343 PythonQt::priv()->handleVirtualOverloadReturnError("hasHeightForWidth", methodInfo, result);
6759 PythonQt::priv()->handleVirtualOverloadReturnError("hasHeightForWidth", methodInfo, result);
7344 } else {
6760 } else {
7345 returnValue = *((bool*)args[0]);
6761 returnValue = *((bool*)args[0]);
7346 }
6762 }
7347 }
6763 }
7348 }
6764 }
7349 if (result) { Py_DECREF(result); }
6765 if (result) { Py_DECREF(result); }
7350 Py_DECREF(obj);
6766 Py_DECREF(obj);
7351 return returnValue;
6767 return returnValue;
7352 }
6768 }
7353 }
6769 }
7354 return elfInfoWdgt::hasHeightForWidth();
6770 return elfInfoWdgt::hasHeightForWidth();
7355 }
6771 }
7356 int PythonQtShell_elfInfoWdgt::heightForWidth(int arg__1) const
6772 int PythonQtShell_elfInfoWdgt::heightForWidth(int arg__1) const
7357 {
6773 {
7358 if (_wrapper) {
6774 if (_wrapper) {
7359 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "heightForWidth");
6775 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "heightForWidth");
7360 PyErr_Clear();
6776 PyErr_Clear();
7361 if (obj && !PythonQtSlotFunction_Check(obj)) {
6777 if (obj && !PythonQtSlotFunction_Check(obj)) {
7362 static const char* argumentList[] ={"int" , "int"};
6778 static const char* argumentList[] ={"int" , "int"};
7363 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
6779 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
7364 int returnValue;
6780 int returnValue;
7365 void* args[2] = {NULL, (void*)&arg__1};
6781 void* args[2] = {NULL, (void*)&arg__1};
7366 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
6782 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
7367 if (result) {
6783 if (result) {
7368 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);
7369 if (args[0]!=&returnValue) {
6785 if (args[0]!=&returnValue) {
7370 if (args[0]==NULL) {
6786 if (args[0]==NULL) {
7371 PythonQt::priv()->handleVirtualOverloadReturnError("heightForWidth", methodInfo, result);
6787 PythonQt::priv()->handleVirtualOverloadReturnError("heightForWidth", methodInfo, result);
7372 } else {
6788 } else {
7373 returnValue = *((int*)args[0]);
6789 returnValue = *((int*)args[0]);
7374 }
6790 }
7375 }
6791 }
7376 }
6792 }
7377 if (result) { Py_DECREF(result); }
6793 if (result) { Py_DECREF(result); }
7378 Py_DECREF(obj);
6794 Py_DECREF(obj);
7379 return returnValue;
6795 return returnValue;
7380 }
6796 }
7381 }
6797 }
7382 return elfInfoWdgt::heightForWidth(arg__1);
6798 return elfInfoWdgt::heightForWidth(arg__1);
7383 }
6799 }
7384 void PythonQtShell_elfInfoWdgt::hideEvent(QHideEvent* arg__1)
6800 void PythonQtShell_elfInfoWdgt::hideEvent(QHideEvent* arg__1)
7385 {
6801 {
7386 if (_wrapper) {
6802 if (_wrapper) {
7387 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "hideEvent");
6803 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "hideEvent");
7388 PyErr_Clear();
6804 PyErr_Clear();
7389 if (obj && !PythonQtSlotFunction_Check(obj)) {
6805 if (obj && !PythonQtSlotFunction_Check(obj)) {
7390 static const char* argumentList[] ={"" , "QHideEvent*"};
6806 static const char* argumentList[] ={"" , "QHideEvent*"};
7391 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
6807 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
7392 void* args[2] = {NULL, (void*)&arg__1};
6808 void* args[2] = {NULL, (void*)&arg__1};
7393 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
6809 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
7394 if (result) { Py_DECREF(result); }
6810 if (result) { Py_DECREF(result); }
7395 Py_DECREF(obj);
6811 Py_DECREF(obj);
7396 return;
6812 return;
7397 }
6813 }
7398 }
6814 }
7399 elfInfoWdgt::hideEvent(arg__1);
6815 elfInfoWdgt::hideEvent(arg__1);
7400 }
6816 }
7401 void PythonQtShell_elfInfoWdgt::initPainter(QPainter* painter) const
6817 void PythonQtShell_elfInfoWdgt::initPainter(QPainter* painter) const
7402 {
6818 {
7403 if (_wrapper) {
6819 if (_wrapper) {
7404 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "initPainter");
6820 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "initPainter");
7405 PyErr_Clear();
6821 PyErr_Clear();
7406 if (obj && !PythonQtSlotFunction_Check(obj)) {
6822 if (obj && !PythonQtSlotFunction_Check(obj)) {
7407 static const char* argumentList[] ={"" , "QPainter*"};
6823 static const char* argumentList[] ={"" , "QPainter*"};
7408 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
6824 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
7409 void* args[2] = {NULL, (void*)&painter};
6825 void* args[2] = {NULL, (void*)&painter};
7410 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
6826 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
7411 if (result) { Py_DECREF(result); }
6827 if (result) { Py_DECREF(result); }
7412 Py_DECREF(obj);
6828 Py_DECREF(obj);
7413 return;
6829 return;
7414 }
6830 }
7415 }
6831 }
7416 elfInfoWdgt::initPainter(painter);
6832 elfInfoWdgt::initPainter(painter);
7417 }
6833 }
7418 void PythonQtShell_elfInfoWdgt::inputMethodEvent(QInputMethodEvent* arg__1)
6834 void PythonQtShell_elfInfoWdgt::inputMethodEvent(QInputMethodEvent* arg__1)
7419 {
6835 {
7420 if (_wrapper) {
6836 if (_wrapper) {
7421 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "inputMethodEvent");
6837 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "inputMethodEvent");
7422 PyErr_Clear();
6838 PyErr_Clear();
7423 if (obj && !PythonQtSlotFunction_Check(obj)) {
6839 if (obj && !PythonQtSlotFunction_Check(obj)) {
7424 static const char* argumentList[] ={"" , "QInputMethodEvent*"};
6840 static const char* argumentList[] ={"" , "QInputMethodEvent*"};
7425 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
6841 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
7426 void* args[2] = {NULL, (void*)&arg__1};
6842 void* args[2] = {NULL, (void*)&arg__1};
7427 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
6843 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
7428 if (result) { Py_DECREF(result); }
6844 if (result) { Py_DECREF(result); }
7429 Py_DECREF(obj);
6845 Py_DECREF(obj);
7430 return;
6846 return;
7431 }
6847 }
7432 }
6848 }
7433 elfInfoWdgt::inputMethodEvent(arg__1);
6849 elfInfoWdgt::inputMethodEvent(arg__1);
7434 }
6850 }
7435 QVariant PythonQtShell_elfInfoWdgt::inputMethodQuery(Qt::InputMethodQuery arg__1) const
6851 QVariant PythonQtShell_elfInfoWdgt::inputMethodQuery(Qt::InputMethodQuery arg__1) const
7436 {
6852 {
7437 if (_wrapper) {
6853 if (_wrapper) {
7438 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "inputMethodQuery");
6854 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "inputMethodQuery");
7439 PyErr_Clear();
6855 PyErr_Clear();
7440 if (obj && !PythonQtSlotFunction_Check(obj)) {
6856 if (obj && !PythonQtSlotFunction_Check(obj)) {
7441 static const char* argumentList[] ={"QVariant" , "Qt::InputMethodQuery"};
6857 static const char* argumentList[] ={"QVariant" , "Qt::InputMethodQuery"};
7442 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
6858 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
7443 QVariant returnValue;
6859 QVariant returnValue;
7444 void* args[2] = {NULL, (void*)&arg__1};
6860 void* args[2] = {NULL, (void*)&arg__1};
7445 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
6861 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
7446 if (result) {
6862 if (result) {
7447 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);
7448 if (args[0]!=&returnValue) {
6864 if (args[0]!=&returnValue) {
7449 if (args[0]==NULL) {
6865 if (args[0]==NULL) {
7450 PythonQt::priv()->handleVirtualOverloadReturnError("inputMethodQuery", methodInfo, result);
6866 PythonQt::priv()->handleVirtualOverloadReturnError("inputMethodQuery", methodInfo, result);
7451 } else {
6867 } else {
7452 returnValue = *((QVariant*)args[0]);
6868 returnValue = *((QVariant*)args[0]);
7453 }
6869 }
7454 }
6870 }
7455 }
6871 }
7456 if (result) { Py_DECREF(result); }
6872 if (result) { Py_DECREF(result); }
7457 Py_DECREF(obj);
6873 Py_DECREF(obj);
7458 return returnValue;
6874 return returnValue;
7459 }
6875 }
7460 }
6876 }
7461 return elfInfoWdgt::inputMethodQuery(arg__1);
6877 return elfInfoWdgt::inputMethodQuery(arg__1);
7462 }
6878 }
7463 void PythonQtShell_elfInfoWdgt::keyPressEvent(QKeyEvent* arg__1)
6879 void PythonQtShell_elfInfoWdgt::keyPressEvent(QKeyEvent* arg__1)
7464 {
6880 {
7465 if (_wrapper) {
6881 if (_wrapper) {
7466 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "keyPressEvent");
6882 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "keyPressEvent");
7467 PyErr_Clear();
6883 PyErr_Clear();
7468 if (obj && !PythonQtSlotFunction_Check(obj)) {
6884 if (obj && !PythonQtSlotFunction_Check(obj)) {
7469 static const char* argumentList[] ={"" , "QKeyEvent*"};
6885 static const char* argumentList[] ={"" , "QKeyEvent*"};
7470 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
6886 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
7471 void* args[2] = {NULL, (void*)&arg__1};
6887 void* args[2] = {NULL, (void*)&arg__1};
7472 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
6888 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
7473 if (result) { Py_DECREF(result); }
6889 if (result) { Py_DECREF(result); }
7474 Py_DECREF(obj);
6890 Py_DECREF(obj);
7475 return;
6891 return;
7476 }
6892 }
7477 }
6893 }
7478 elfInfoWdgt::keyPressEvent(arg__1);
6894 elfInfoWdgt::keyPressEvent(arg__1);
7479 }
6895 }
7480 void PythonQtShell_elfInfoWdgt::keyReleaseEvent(QKeyEvent* arg__1)
6896 void PythonQtShell_elfInfoWdgt::keyReleaseEvent(QKeyEvent* arg__1)
7481 {
6897 {
7482 if (_wrapper) {
6898 if (_wrapper) {
7483 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "keyReleaseEvent");
6899 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "keyReleaseEvent");
7484 PyErr_Clear();
6900 PyErr_Clear();
7485 if (obj && !PythonQtSlotFunction_Check(obj)) {
6901 if (obj && !PythonQtSlotFunction_Check(obj)) {
7486 static const char* argumentList[] ={"" , "QKeyEvent*"};
6902 static const char* argumentList[] ={"" , "QKeyEvent*"};
7487 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
6903 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
7488 void* args[2] = {NULL, (void*)&arg__1};
6904 void* args[2] = {NULL, (void*)&arg__1};
7489 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
6905 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
7490 if (result) { Py_DECREF(result); }
6906 if (result) { Py_DECREF(result); }
7491 Py_DECREF(obj);
6907 Py_DECREF(obj);
7492 return;
6908 return;
7493 }
6909 }
7494 }
6910 }
7495 elfInfoWdgt::keyReleaseEvent(arg__1);
6911 elfInfoWdgt::keyReleaseEvent(arg__1);
7496 }
6912 }
7497 void PythonQtShell_elfInfoWdgt::leaveEvent(QEvent* arg__1)
6913 void PythonQtShell_elfInfoWdgt::leaveEvent(QEvent* arg__1)
7498 {
6914 {
7499 if (_wrapper) {
6915 if (_wrapper) {
7500 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "leaveEvent");
6916 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "leaveEvent");
7501 PyErr_Clear();
6917 PyErr_Clear();
7502 if (obj && !PythonQtSlotFunction_Check(obj)) {
6918 if (obj && !PythonQtSlotFunction_Check(obj)) {
7503 static const char* argumentList[] ={"" , "QEvent*"};
6919 static const char* argumentList[] ={"" , "QEvent*"};
7504 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
6920 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
7505 void* args[2] = {NULL, (void*)&arg__1};
6921 void* args[2] = {NULL, (void*)&arg__1};
7506 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
6922 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
7507 if (result) { Py_DECREF(result); }
6923 if (result) { Py_DECREF(result); }
7508 Py_DECREF(obj);
6924 Py_DECREF(obj);
7509 return;
6925 return;
7510 }
6926 }
7511 }
6927 }
7512 elfInfoWdgt::leaveEvent(arg__1);
6928 elfInfoWdgt::leaveEvent(arg__1);
7513 }
6929 }
7514 int PythonQtShell_elfInfoWdgt::metric(QPaintDevice::PaintDeviceMetric arg__1) const
6930 int PythonQtShell_elfInfoWdgt::metric(QPaintDevice::PaintDeviceMetric arg__1) const
7515 {
6931 {
7516 if (_wrapper) {
6932 if (_wrapper) {
7517 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "metric");
6933 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "metric");
7518 PyErr_Clear();
6934 PyErr_Clear();
7519 if (obj && !PythonQtSlotFunction_Check(obj)) {
6935 if (obj && !PythonQtSlotFunction_Check(obj)) {
7520 static const char* argumentList[] ={"int" , "QPaintDevice::PaintDeviceMetric"};
6936 static const char* argumentList[] ={"int" , "QPaintDevice::PaintDeviceMetric"};
7521 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
6937 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
7522 int returnValue;
6938 int returnValue;
7523 void* args[2] = {NULL, (void*)&arg__1};
6939 void* args[2] = {NULL, (void*)&arg__1};
7524 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
6940 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
7525 if (result) {
6941 if (result) {
7526 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);
7527 if (args[0]!=&returnValue) {
6943 if (args[0]!=&returnValue) {
7528 if (args[0]==NULL) {
6944 if (args[0]==NULL) {
7529 PythonQt::priv()->handleVirtualOverloadReturnError("metric", methodInfo, result);
6945 PythonQt::priv()->handleVirtualOverloadReturnError("metric", methodInfo, result);
7530 } else {
6946 } else {
7531 returnValue = *((int*)args[0]);
6947 returnValue = *((int*)args[0]);
7532 }
6948 }
7533 }
6949 }
7534 }
6950 }
7535 if (result) { Py_DECREF(result); }
6951 if (result) { Py_DECREF(result); }
7536 Py_DECREF(obj);
6952 Py_DECREF(obj);
7537 return returnValue;
6953 return returnValue;
7538 }
6954 }
7539 }
6955 }
7540 return elfInfoWdgt::metric(arg__1);
6956 return elfInfoWdgt::metric(arg__1);
7541 }
6957 }
7542 QSize PythonQtShell_elfInfoWdgt::minimumSizeHint() const
6958 QSize PythonQtShell_elfInfoWdgt::minimumSizeHint() const
7543 {
6959 {
7544 if (_wrapper) {
6960 if (_wrapper) {
7545 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "getMinimumSizeHint");
6961 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "getMinimumSizeHint");
7546 PyErr_Clear();
6962 PyErr_Clear();
7547 if (obj && !PythonQtSlotFunction_Check(obj)) {
6963 if (obj && !PythonQtSlotFunction_Check(obj)) {
7548 static const char* argumentList[] ={"QSize"};
6964 static const char* argumentList[] ={"QSize"};
7549 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList);
6965 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList);
7550 QSize returnValue;
6966 QSize returnValue;
7551 void* args[1] = {NULL};
6967 void* args[1] = {NULL};
7552 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
6968 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
7553 if (result) {
6969 if (result) {
7554 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);
7555 if (args[0]!=&returnValue) {
6971 if (args[0]!=&returnValue) {
7556 if (args[0]==NULL) {
6972 if (args[0]==NULL) {
7557 PythonQt::priv()->handleVirtualOverloadReturnError("getMinimumSizeHint", methodInfo, result);
6973 PythonQt::priv()->handleVirtualOverloadReturnError("getMinimumSizeHint", methodInfo, result);
7558 } else {
6974 } else {
7559 returnValue = *((QSize*)args[0]);
6975 returnValue = *((QSize*)args[0]);
7560 }
6976 }
7561 }
6977 }
7562 }
6978 }
7563 if (result) { Py_DECREF(result); }
6979 if (result) { Py_DECREF(result); }
7564 Py_DECREF(obj);
6980 Py_DECREF(obj);
7565 return returnValue;
6981 return returnValue;
7566 }
6982 }
7567 }
6983 }
7568 return elfInfoWdgt::minimumSizeHint();
6984 return elfInfoWdgt::minimumSizeHint();
7569 }
6985 }
7570 void PythonQtShell_elfInfoWdgt::mouseDoubleClickEvent(QMouseEvent* arg__1)
6986 void PythonQtShell_elfInfoWdgt::mouseDoubleClickEvent(QMouseEvent* arg__1)
7571 {
6987 {
7572 if (_wrapper) {
6988 if (_wrapper) {
7573 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mouseDoubleClickEvent");
6989 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mouseDoubleClickEvent");
7574 PyErr_Clear();
6990 PyErr_Clear();
7575 if (obj && !PythonQtSlotFunction_Check(obj)) {
6991 if (obj && !PythonQtSlotFunction_Check(obj)) {
7576 static const char* argumentList[] ={"" , "QMouseEvent*"};
6992 static const char* argumentList[] ={"" , "QMouseEvent*"};
7577 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
6993 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
7578 void* args[2] = {NULL, (void*)&arg__1};
6994 void* args[2] = {NULL, (void*)&arg__1};
7579 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
6995 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
7580 if (result) { Py_DECREF(result); }
6996 if (result) { Py_DECREF(result); }
7581 Py_DECREF(obj);
6997 Py_DECREF(obj);
7582 return;
6998 return;
7583 }
6999 }
7584 }
7000 }
7585 elfInfoWdgt::mouseDoubleClickEvent(arg__1);
7001 elfInfoWdgt::mouseDoubleClickEvent(arg__1);
7586 }
7002 }
7587 void PythonQtShell_elfInfoWdgt::mouseMoveEvent(QMouseEvent* arg__1)
7003 void PythonQtShell_elfInfoWdgt::mouseMoveEvent(QMouseEvent* arg__1)
7588 {
7004 {
7589 if (_wrapper) {
7005 if (_wrapper) {
7590 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mouseMoveEvent");
7006 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mouseMoveEvent");
7591 PyErr_Clear();
7007 PyErr_Clear();
7592 if (obj && !PythonQtSlotFunction_Check(obj)) {
7008 if (obj && !PythonQtSlotFunction_Check(obj)) {
7593 static const char* argumentList[] ={"" , "QMouseEvent*"};
7009 static const char* argumentList[] ={"" , "QMouseEvent*"};
7594 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
7010 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
7595 void* args[2] = {NULL, (void*)&arg__1};
7011 void* args[2] = {NULL, (void*)&arg__1};
7596 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
7012 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
7597 if (result) { Py_DECREF(result); }
7013 if (result) { Py_DECREF(result); }
7598 Py_DECREF(obj);
7014 Py_DECREF(obj);
7599 return;
7015 return;
7600 }
7016 }
7601 }
7017 }
7602 elfInfoWdgt::mouseMoveEvent(arg__1);
7018 elfInfoWdgt::mouseMoveEvent(arg__1);
7603 }
7019 }
7604 void PythonQtShell_elfInfoWdgt::mousePressEvent(QMouseEvent* arg__1)
7020 void PythonQtShell_elfInfoWdgt::mousePressEvent(QMouseEvent* arg__1)
7605 {
7021 {
7606 if (_wrapper) {
7022 if (_wrapper) {
7607 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mousePressEvent");
7023 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mousePressEvent");
7608 PyErr_Clear();
7024 PyErr_Clear();
7609 if (obj && !PythonQtSlotFunction_Check(obj)) {
7025 if (obj && !PythonQtSlotFunction_Check(obj)) {
7610 static const char* argumentList[] ={"" , "QMouseEvent*"};
7026 static const char* argumentList[] ={"" , "QMouseEvent*"};
7611 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
7027 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
7612 void* args[2] = {NULL, (void*)&arg__1};
7028 void* args[2] = {NULL, (void*)&arg__1};
7613 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
7029 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
7614 if (result) { Py_DECREF(result); }
7030 if (result) { Py_DECREF(result); }
7615 Py_DECREF(obj);
7031 Py_DECREF(obj);
7616 return;
7032 return;
7617 }
7033 }
7618 }
7034 }
7619 elfInfoWdgt::mousePressEvent(arg__1);
7035 elfInfoWdgt::mousePressEvent(arg__1);
7620 }
7036 }
7621 void PythonQtShell_elfInfoWdgt::mouseReleaseEvent(QMouseEvent* arg__1)
7037 void PythonQtShell_elfInfoWdgt::mouseReleaseEvent(QMouseEvent* arg__1)
7622 {
7038 {
7623 if (_wrapper) {
7039 if (_wrapper) {
7624 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mouseReleaseEvent");
7040 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mouseReleaseEvent");
7625 PyErr_Clear();
7041 PyErr_Clear();
7626 if (obj && !PythonQtSlotFunction_Check(obj)) {
7042 if (obj && !PythonQtSlotFunction_Check(obj)) {
7627 static const char* argumentList[] ={"" , "QMouseEvent*"};
7043 static const char* argumentList[] ={"" , "QMouseEvent*"};
7628 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
7044 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
7629 void* args[2] = {NULL, (void*)&arg__1};
7045 void* args[2] = {NULL, (void*)&arg__1};
7630 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
7046 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
7631 if (result) { Py_DECREF(result); }
7047 if (result) { Py_DECREF(result); }
7632 Py_DECREF(obj);
7048 Py_DECREF(obj);
7633 return;
7049 return;
7634 }
7050 }
7635 }
7051 }
7636 elfInfoWdgt::mouseReleaseEvent(arg__1);
7052 elfInfoWdgt::mouseReleaseEvent(arg__1);
7637 }
7053 }
7638 void PythonQtShell_elfInfoWdgt::moveEvent(QMoveEvent* arg__1)
7054 void PythonQtShell_elfInfoWdgt::moveEvent(QMoveEvent* arg__1)
7639 {
7055 {
7640 if (_wrapper) {
7056 if (_wrapper) {
7641 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "moveEvent");
7057 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "moveEvent");
7642 PyErr_Clear();
7058 PyErr_Clear();
7643 if (obj && !PythonQtSlotFunction_Check(obj)) {
7059 if (obj && !PythonQtSlotFunction_Check(obj)) {
7644 static const char* argumentList[] ={"" , "QMoveEvent*"};
7060 static const char* argumentList[] ={"" , "QMoveEvent*"};
7645 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
7061 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
7646 void* args[2] = {NULL, (void*)&arg__1};
7062 void* args[2] = {NULL, (void*)&arg__1};
7647 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
7063 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
7648 if (result) { Py_DECREF(result); }
7064 if (result) { Py_DECREF(result); }
7649 Py_DECREF(obj);
7065 Py_DECREF(obj);
7650 return;
7066 return;
7651 }
7067 }
7652 }
7068 }
7653 elfInfoWdgt::moveEvent(arg__1);
7069 elfInfoWdgt::moveEvent(arg__1);
7654 }
7070 }
7655 bool PythonQtShell_elfInfoWdgt::nativeEvent(const QByteArray& eventType, void* message, long* result)
7071 bool PythonQtShell_elfInfoWdgt::nativeEvent(const QByteArray& eventType, void* message, long* result)
7656 {
7072 {
7657 if (_wrapper) {
7073 if (_wrapper) {
7658 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "nativeEvent");
7074 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "nativeEvent");
7659 PyErr_Clear();
7075 PyErr_Clear();
7660 if (obj && !PythonQtSlotFunction_Check(obj)) {
7076 if (obj && !PythonQtSlotFunction_Check(obj)) {
7661 static const char* argumentList[] ={"bool" , "const QByteArray&" , "void*" , "long*"};
7077 static const char* argumentList[] ={"bool" , "const QByteArray&" , "void*" , "long*"};
7662 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList);
7078 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList);
7663 bool returnValue;
7079 bool returnValue;
7664 void* args[4] = {NULL, (void*)&eventType, (void*)&message, (void*)&result};
7080 void* args[4] = {NULL, (void*)&eventType, (void*)&message, (void*)&result};
7665 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
7081 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
7666 if (result) {
7082 if (result) {
7667 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);
7668 if (args[0]!=&returnValue) {
7084 if (args[0]!=&returnValue) {
7669 if (args[0]==NULL) {
7085 if (args[0]==NULL) {
7670 PythonQt::priv()->handleVirtualOverloadReturnError("nativeEvent", methodInfo, result);
7086 PythonQt::priv()->handleVirtualOverloadReturnError("nativeEvent", methodInfo, result);
7671 } else {
7087 } else {
7672 returnValue = *((bool*)args[0]);
7088 returnValue = *((bool*)args[0]);
7673 }
7089 }
7674 }
7090 }
7675 }
7091 }
7676 if (result) { Py_DECREF(result); }
7092 if (result) { Py_DECREF(result); }
7677 Py_DECREF(obj);
7093 Py_DECREF(obj);
7678 return returnValue;
7094 return returnValue;
7679 }
7095 }
7680 }
7096 }
7681 return elfInfoWdgt::nativeEvent(eventType, message, result);
7097 return elfInfoWdgt::nativeEvent(eventType, message, result);
7682 }
7098 }
7683 QPaintEngine* PythonQtShell_elfInfoWdgt::paintEngine() const
7099 QPaintEngine* PythonQtShell_elfInfoWdgt::paintEngine() const
7684 {
7100 {
7685 if (_wrapper) {
7101 if (_wrapper) {
7686 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "paintEngine");
7102 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "paintEngine");
7687 PyErr_Clear();
7103 PyErr_Clear();
7688 if (obj && !PythonQtSlotFunction_Check(obj)) {
7104 if (obj && !PythonQtSlotFunction_Check(obj)) {
7689 static const char* argumentList[] ={"QPaintEngine*"};
7105 static const char* argumentList[] ={"QPaintEngine*"};
7690 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList);
7106 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList);
7691 QPaintEngine* returnValue;
7107 QPaintEngine* returnValue;
7692 void* args[1] = {NULL};
7108 void* args[1] = {NULL};
7693 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
7109 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
7694 if (result) {
7110 if (result) {
7695 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);
7696 if (args[0]!=&returnValue) {
7112 if (args[0]!=&returnValue) {
7697 if (args[0]==NULL) {
7113 if (args[0]==NULL) {
7698 PythonQt::priv()->handleVirtualOverloadReturnError("paintEngine", methodInfo, result);
7114 PythonQt::priv()->handleVirtualOverloadReturnError("paintEngine", methodInfo, result);
7699 } else {
7115 } else {
7700 returnValue = *((QPaintEngine**)args[0]);
7116 returnValue = *((QPaintEngine**)args[0]);
7701 }
7117 }
7702 }
7118 }
7703 }
7119 }
7704 if (result) { Py_DECREF(result); }
7120 if (result) { Py_DECREF(result); }
7705 Py_DECREF(obj);
7121 Py_DECREF(obj);
7706 return returnValue;
7122 return returnValue;
7707 }
7123 }
7708 }
7124 }
7709 return elfInfoWdgt::paintEngine();
7125 return elfInfoWdgt::paintEngine();
7710 }
7126 }
7711 void PythonQtShell_elfInfoWdgt::paintEvent(QPaintEvent* arg__1)
7127 void PythonQtShell_elfInfoWdgt::paintEvent(QPaintEvent* arg__1)
7712 {
7128 {
7713 if (_wrapper) {
7129 if (_wrapper) {
7714 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "paintEvent");
7130 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "paintEvent");
7715 PyErr_Clear();
7131 PyErr_Clear();
7716 if (obj && !PythonQtSlotFunction_Check(obj)) {
7132 if (obj && !PythonQtSlotFunction_Check(obj)) {
7717 static const char* argumentList[] ={"" , "QPaintEvent*"};
7133 static const char* argumentList[] ={"" , "QPaintEvent*"};
7718 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
7134 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
7719 void* args[2] = {NULL, (void*)&arg__1};
7135 void* args[2] = {NULL, (void*)&arg__1};
7720 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
7136 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
7721 if (result) { Py_DECREF(result); }
7137 if (result) { Py_DECREF(result); }
7722 Py_DECREF(obj);
7138 Py_DECREF(obj);
7723 return;
7139 return;
7724 }
7140 }
7725 }
7141 }
7726 elfInfoWdgt::paintEvent(arg__1);
7142 elfInfoWdgt::paintEvent(arg__1);
7727 }
7143 }
7728 QPaintDevice* PythonQtShell_elfInfoWdgt::redirected(QPoint* offset) const
7144 QPaintDevice* PythonQtShell_elfInfoWdgt::redirected(QPoint* offset) const
7729 {
7145 {
7730 if (_wrapper) {
7146 if (_wrapper) {
7731 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "redirected");
7147 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "redirected");
7732 PyErr_Clear();
7148 PyErr_Clear();
7733 if (obj && !PythonQtSlotFunction_Check(obj)) {
7149 if (obj && !PythonQtSlotFunction_Check(obj)) {
7734 static const char* argumentList[] ={"QPaintDevice*" , "QPoint*"};
7150 static const char* argumentList[] ={"QPaintDevice*" , "QPoint*"};
7735 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
7151 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
7736 QPaintDevice* returnValue;
7152 QPaintDevice* returnValue;
7737 void* args[2] = {NULL, (void*)&offset};
7153 void* args[2] = {NULL, (void*)&offset};
7738 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
7154 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
7739 if (result) {
7155 if (result) {
7740 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);
7741 if (args[0]!=&returnValue) {
7157 if (args[0]!=&returnValue) {
7742 if (args[0]==NULL) {
7158 if (args[0]==NULL) {
7743 PythonQt::priv()->handleVirtualOverloadReturnError("redirected", methodInfo, result);
7159 PythonQt::priv()->handleVirtualOverloadReturnError("redirected", methodInfo, result);
7744 } else {
7160 } else {
7745 returnValue = *((QPaintDevice**)args[0]);
7161 returnValue = *((QPaintDevice**)args[0]);
7746 }
7162 }
7747 }
7163 }
7748 }
7164 }
7749 if (result) { Py_DECREF(result); }
7165 if (result) { Py_DECREF(result); }
7750 Py_DECREF(obj);
7166 Py_DECREF(obj);
7751 return returnValue;
7167 return returnValue;
7752 }
7168 }
7753 }
7169 }
7754 return elfInfoWdgt::redirected(offset);
7170 return elfInfoWdgt::redirected(offset);
7755 }
7171 }
7756 void PythonQtShell_elfInfoWdgt::resizeEvent(QResizeEvent* arg__1)
7172 void PythonQtShell_elfInfoWdgt::resizeEvent(QResizeEvent* arg__1)
7757 {
7173 {
7758 if (_wrapper) {
7174 if (_wrapper) {
7759 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "resizeEvent");
7175 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "resizeEvent");
7760 PyErr_Clear();
7176 PyErr_Clear();
7761 if (obj && !PythonQtSlotFunction_Check(obj)) {
7177 if (obj && !PythonQtSlotFunction_Check(obj)) {
7762 static const char* argumentList[] ={"" , "QResizeEvent*"};
7178 static const char* argumentList[] ={"" , "QResizeEvent*"};
7763 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
7179 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
7764 void* args[2] = {NULL, (void*)&arg__1};
7180 void* args[2] = {NULL, (void*)&arg__1};
7765 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
7181 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
7766 if (result) { Py_DECREF(result); }
7182 if (result) { Py_DECREF(result); }
7767 Py_DECREF(obj);
7183 Py_DECREF(obj);
7768 return;
7184 return;
7769 }
7185 }
7770 }
7186 }
7771 elfInfoWdgt::resizeEvent(arg__1);
7187 elfInfoWdgt::resizeEvent(arg__1);
7772 }
7188 }
7773 QPainter* PythonQtShell_elfInfoWdgt::sharedPainter() const
7189 QPainter* PythonQtShell_elfInfoWdgt::sharedPainter() const
7774 {
7190 {
7775 if (_wrapper) {
7191 if (_wrapper) {
7776 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "sharedPainter");
7192 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "sharedPainter");
7777 PyErr_Clear();
7193 PyErr_Clear();
7778 if (obj && !PythonQtSlotFunction_Check(obj)) {
7194 if (obj && !PythonQtSlotFunction_Check(obj)) {
7779 static const char* argumentList[] ={"QPainter*"};
7195 static const char* argumentList[] ={"QPainter*"};
7780 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList);
7196 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList);
7781 QPainter* returnValue;
7197 QPainter* returnValue;
7782 void* args[1] = {NULL};
7198 void* args[1] = {NULL};
7783 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
7199 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
7784 if (result) {
7200 if (result) {
7785 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);
7786 if (args[0]!=&returnValue) {
7202 if (args[0]!=&returnValue) {
7787 if (args[0]==NULL) {
7203 if (args[0]==NULL) {
7788 PythonQt::priv()->handleVirtualOverloadReturnError("sharedPainter", methodInfo, result);
7204 PythonQt::priv()->handleVirtualOverloadReturnError("sharedPainter", methodInfo, result);
7789 } else {
7205 } else {
7790 returnValue = *((QPainter**)args[0]);
7206 returnValue = *((QPainter**)args[0]);
7791 }
7207 }
7792 }
7208 }
7793 }
7209 }
7794 if (result) { Py_DECREF(result); }
7210 if (result) { Py_DECREF(result); }
7795 Py_DECREF(obj);
7211 Py_DECREF(obj);
7796 return returnValue;
7212 return returnValue;
7797 }
7213 }
7798 }
7214 }
7799 return elfInfoWdgt::sharedPainter();
7215 return elfInfoWdgt::sharedPainter();
7800 }
7216 }
7801 void PythonQtShell_elfInfoWdgt::showEvent(QShowEvent* arg__1)
7217 void PythonQtShell_elfInfoWdgt::showEvent(QShowEvent* arg__1)
7802 {
7218 {
7803 if (_wrapper) {
7219 if (_wrapper) {
7804 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "showEvent");
7220 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "showEvent");
7805 PyErr_Clear();
7221 PyErr_Clear();
7806 if (obj && !PythonQtSlotFunction_Check(obj)) {
7222 if (obj && !PythonQtSlotFunction_Check(obj)) {
7807 static const char* argumentList[] ={"" , "QShowEvent*"};
7223 static const char* argumentList[] ={"" , "QShowEvent*"};
7808 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
7224 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
7809 void* args[2] = {NULL, (void*)&arg__1};
7225 void* args[2] = {NULL, (void*)&arg__1};
7810 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
7226 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
7811 if (result) { Py_DECREF(result); }
7227 if (result) { Py_DECREF(result); }
7812 Py_DECREF(obj);
7228 Py_DECREF(obj);
7813 return;
7229 return;
7814 }
7230 }
7815 }
7231 }
7816 elfInfoWdgt::showEvent(arg__1);
7232 elfInfoWdgt::showEvent(arg__1);
7817 }
7233 }
7818 QSize PythonQtShell_elfInfoWdgt::sizeHint() const
7234 QSize PythonQtShell_elfInfoWdgt::sizeHint() const
7819 {
7235 {
7820 if (_wrapper) {
7236 if (_wrapper) {
7821 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "getSizeHint");
7237 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "getSizeHint");
7822 PyErr_Clear();
7238 PyErr_Clear();
7823 if (obj && !PythonQtSlotFunction_Check(obj)) {
7239 if (obj && !PythonQtSlotFunction_Check(obj)) {
7824 static const char* argumentList[] ={"QSize"};
7240 static const char* argumentList[] ={"QSize"};
7825 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList);
7241 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList);
7826 QSize returnValue;
7242 QSize returnValue;
7827 void* args[1] = {NULL};
7243 void* args[1] = {NULL};
7828 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
7244 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
7829 if (result) {
7245 if (result) {
7830 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);
7831 if (args[0]!=&returnValue) {
7247 if (args[0]!=&returnValue) {
7832 if (args[0]==NULL) {
7248 if (args[0]==NULL) {
7833 PythonQt::priv()->handleVirtualOverloadReturnError("getSizeHint", methodInfo, result);
7249 PythonQt::priv()->handleVirtualOverloadReturnError("getSizeHint", methodInfo, result);
7834 } else {
7250 } else {
7835 returnValue = *((QSize*)args[0]);
7251 returnValue = *((QSize*)args[0]);
7836 }
7252 }
7837 }
7253 }
7838 }
7254 }
7839 if (result) { Py_DECREF(result); }
7255 if (result) { Py_DECREF(result); }
7840 Py_DECREF(obj);
7256 Py_DECREF(obj);
7841 return returnValue;
7257 return returnValue;
7842 }
7258 }
7843 }
7259 }
7844 return elfInfoWdgt::sizeHint();
7260 return elfInfoWdgt::sizeHint();
7845 }
7261 }
7846 void PythonQtShell_elfInfoWdgt::tabletEvent(QTabletEvent* arg__1)
7262 void PythonQtShell_elfInfoWdgt::tabletEvent(QTabletEvent* arg__1)
7847 {
7263 {
7848 if (_wrapper) {
7264 if (_wrapper) {
7849 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "tabletEvent");
7265 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "tabletEvent");
7850 PyErr_Clear();
7266 PyErr_Clear();
7851 if (obj && !PythonQtSlotFunction_Check(obj)) {
7267 if (obj && !PythonQtSlotFunction_Check(obj)) {
7852 static const char* argumentList[] ={"" , "QTabletEvent*"};
7268 static const char* argumentList[] ={"" , "QTabletEvent*"};
7853 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
7269 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
7854 void* args[2] = {NULL, (void*)&arg__1};
7270 void* args[2] = {NULL, (void*)&arg__1};
7855 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
7271 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
7856 if (result) { Py_DECREF(result); }
7272 if (result) { Py_DECREF(result); }
7857 Py_DECREF(obj);
7273 Py_DECREF(obj);
7858 return;
7274 return;
7859 }
7275 }
7860 }
7276 }
7861 elfInfoWdgt::tabletEvent(arg__1);
7277 elfInfoWdgt::tabletEvent(arg__1);
7862 }
7278 }
7863 void PythonQtShell_elfInfoWdgt::timerEvent(QTimerEvent* arg__1)
7279 void PythonQtShell_elfInfoWdgt::timerEvent(QTimerEvent* arg__1)
7864 {
7280 {
7865 if (_wrapper) {
7281 if (_wrapper) {
7866 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "timerEvent");
7282 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "timerEvent");
7867 PyErr_Clear();
7283 PyErr_Clear();
7868 if (obj && !PythonQtSlotFunction_Check(obj)) {
7284 if (obj && !PythonQtSlotFunction_Check(obj)) {
7869 static const char* argumentList[] ={"" , "QTimerEvent*"};
7285 static const char* argumentList[] ={"" , "QTimerEvent*"};
7870 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
7286 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
7871 void* args[2] = {NULL, (void*)&arg__1};
7287 void* args[2] = {NULL, (void*)&arg__1};
7872 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
7288 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
7873 if (result) { Py_DECREF(result); }
7289 if (result) { Py_DECREF(result); }
7874 Py_DECREF(obj);
7290 Py_DECREF(obj);
7875 return;
7291 return;
7876 }
7292 }
7877 }
7293 }
7878 elfInfoWdgt::timerEvent(arg__1);
7294 elfInfoWdgt::timerEvent(arg__1);
7879 }
7295 }
7880 void PythonQtShell_elfInfoWdgt::wheelEvent(QWheelEvent* arg__1)
7296 void PythonQtShell_elfInfoWdgt::wheelEvent(QWheelEvent* arg__1)
7881 {
7297 {
7882 if (_wrapper) {
7298 if (_wrapper) {
7883 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "wheelEvent");
7299 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "wheelEvent");
7884 PyErr_Clear();
7300 PyErr_Clear();
7885 if (obj && !PythonQtSlotFunction_Check(obj)) {
7301 if (obj && !PythonQtSlotFunction_Check(obj)) {
7886 static const char* argumentList[] ={"" , "QWheelEvent*"};
7302 static const char* argumentList[] ={"" , "QWheelEvent*"};
7887 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
7303 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
7888 void* args[2] = {NULL, (void*)&arg__1};
7304 void* args[2] = {NULL, (void*)&arg__1};
7889 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
7305 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
7890 if (result) { Py_DECREF(result); }
7306 if (result) { Py_DECREF(result); }
7891 Py_DECREF(obj);
7307 Py_DECREF(obj);
7892 return;
7308 return;
7893 }
7309 }
7894 }
7310 }
7895 elfInfoWdgt::wheelEvent(arg__1);
7311 elfInfoWdgt::wheelEvent(arg__1);
7896 }
7312 }
7897 elfInfoWdgt* PythonQtWrapper_elfInfoWdgt::new_elfInfoWdgt(QWidget* parent)
7313 elfInfoWdgt* PythonQtWrapper_elfInfoWdgt::new_elfInfoWdgt(QWidget* parent)
7898 {
7314 {
7899 return new PythonQtShell_elfInfoWdgt(parent); }
7315 return new PythonQtShell_elfInfoWdgt(parent); }
7900
7316
7901
7317
7902
7318
7903 elfparser* PythonQtWrapper_elfparser::new_elfparser()
7319 elfparser* PythonQtWrapper_elfparser::new_elfparser()
7904 {
7320 {
7905 return new elfparser(); }
7321 return new elfparser(); }
7906
7322
7907 int PythonQtWrapper_elfparser::closeFile(elfparser* theWrappedObject)
7323 int PythonQtWrapper_elfparser::closeFile(elfparser* theWrappedObject)
7908 {
7324 {
7909 return ( theWrappedObject->closeFile());
7325 return ( theWrappedObject->closeFile());
7910 }
7326 }
7911
7327
7912 QString PythonQtWrapper_elfparser::getABI(elfparser* theWrappedObject)
7328 QString PythonQtWrapper_elfparser::getABI(elfparser* theWrappedObject)
7913 {
7329 {
7914 return ( theWrappedObject->getABI());
7330 return ( theWrappedObject->getABI());
7915 }
7331 }
7916
7332
7917 QString PythonQtWrapper_elfparser::getArchitecture(elfparser* theWrappedObject)
7333 QString PythonQtWrapper_elfparser::getArchitecture(elfparser* theWrappedObject)
7918 {
7334 {
7919 return ( theWrappedObject->getArchitecture());
7335 return ( theWrappedObject->getArchitecture());
7920 }
7336 }
7921
7337
7922 QString PythonQtWrapper_elfparser::getClass(elfparser* theWrappedObject)
7338 QString PythonQtWrapper_elfparser::getClass(elfparser* theWrappedObject)
7923 {
7339 {
7924 return ( theWrappedObject->getClass());
7340 return ( theWrappedObject->getClass());
7925 }
7341 }
7926
7342
7927 QString PythonQtWrapper_elfparser::getEndianness(elfparser* theWrappedObject)
7343 QString PythonQtWrapper_elfparser::getEndianness(elfparser* theWrappedObject)
7928 {
7344 {
7929 return ( theWrappedObject->getEndianness());
7345 return ( theWrappedObject->getEndianness());
7930 }
7346 }
7931
7347
7932 qint64 PythonQtWrapper_elfparser::getEntryPointAddress(elfparser* theWrappedObject)
7348 qint64 PythonQtWrapper_elfparser::getEntryPointAddress(elfparser* theWrappedObject)
7933 {
7349 {
7934 return ( theWrappedObject->getEntryPointAddress());
7350 return ( theWrappedObject->getEntryPointAddress());
7935 }
7351 }
7936
7352
7937 bool PythonQtWrapper_elfparser::getSectionData(elfparser* theWrappedObject, int index, char** buffer)
7353 bool PythonQtWrapper_elfparser::getSectionData(elfparser* theWrappedObject, int index, char** buffer)
7938 {
7354 {
7939 return ( theWrappedObject->getSectionData(index, buffer));
7355 return ( theWrappedObject->getSectionData(index, buffer));
7940 }
7356 }
7941
7357
7942 qint64 PythonQtWrapper_elfparser::getSectionDatasz(elfparser* theWrappedObject, int index)
7358 qint64 PythonQtWrapper_elfparser::getSectionDatasz(elfparser* theWrappedObject, int index)
7943 {
7359 {
7944 return ( theWrappedObject->getSectionDatasz(index));
7360 return ( theWrappedObject->getSectionDatasz(index));
7945 }
7361 }
7946
7362
7947 qint64 PythonQtWrapper_elfparser::getSectionMemsz(elfparser* theWrappedObject, int index)
7363 qint64 PythonQtWrapper_elfparser::getSectionMemsz(elfparser* theWrappedObject, int index)
7948 {
7364 {
7949 return ( theWrappedObject->getSectionMemsz(index));
7365 return ( theWrappedObject->getSectionMemsz(index));
7950 }
7366 }
7951
7367
7952 QString PythonQtWrapper_elfparser::getSectionName(elfparser* theWrappedObject, int index)
7368 QString PythonQtWrapper_elfparser::getSectionName(elfparser* theWrappedObject, int index)
7953 {
7369 {
7954 return ( theWrappedObject->getSectionName(index));
7370 return ( theWrappedObject->getSectionName(index));
7955 }
7371 }
7956
7372
7957 qint64 PythonQtWrapper_elfparser::getSectionPaddr(elfparser* theWrappedObject, int index)
7373 qint64 PythonQtWrapper_elfparser::getSectionPaddr(elfparser* theWrappedObject, int index)
7958 {
7374 {
7959 return ( theWrappedObject->getSectionPaddr(index));
7375 return ( theWrappedObject->getSectionPaddr(index));
7960 }
7376 }
7961
7377
7962 QString PythonQtWrapper_elfparser::getSectionType(elfparser* theWrappedObject, int index)
7378 QString PythonQtWrapper_elfparser::getSectionType(elfparser* theWrappedObject, int index)
7963 {
7379 {
7964 return ( theWrappedObject->getSectionType(index));
7380 return ( theWrappedObject->getSectionType(index));
7965 }
7381 }
7966
7382
7967 int PythonQtWrapper_elfparser::getSectioncount(elfparser* theWrappedObject)
7383 int PythonQtWrapper_elfparser::getSectioncount(elfparser* theWrappedObject)
7968 {
7384 {
7969 return ( theWrappedObject->getSectioncount());
7385 return ( theWrappedObject->getSectioncount());
7970 }
7386 }
7971
7387
7972 qint64 PythonQtWrapper_elfparser::getSegmentFilesz(elfparser* theWrappedObject, int index)
7388 qint64 PythonQtWrapper_elfparser::getSegmentFilesz(elfparser* theWrappedObject, int index)
7973 {
7389 {
7974 return ( theWrappedObject->getSegmentFilesz(index));
7390 return ( theWrappedObject->getSegmentFilesz(index));
7975 }
7391 }
7976
7392
7977 QString PythonQtWrapper_elfparser::getSegmentFlags(elfparser* theWrappedObject, int index)
7393 QString PythonQtWrapper_elfparser::getSegmentFlags(elfparser* theWrappedObject, int index)
7978 {
7394 {
7979 return ( theWrappedObject->getSegmentFlags(index));
7395 return ( theWrappedObject->getSegmentFlags(index));
7980 }
7396 }
7981
7397
7982 qint64 PythonQtWrapper_elfparser::getSegmentMemsz(elfparser* theWrappedObject, int index)
7398 qint64 PythonQtWrapper_elfparser::getSegmentMemsz(elfparser* theWrappedObject, int index)
7983 {
7399 {
7984 return ( theWrappedObject->getSegmentMemsz(index));
7400 return ( theWrappedObject->getSegmentMemsz(index));
7985 }
7401 }
7986
7402
7987 qint64 PythonQtWrapper_elfparser::getSegmentOffset(elfparser* theWrappedObject, int index)
7403 qint64 PythonQtWrapper_elfparser::getSegmentOffset(elfparser* theWrappedObject, int index)
7988 {
7404 {
7989 return ( theWrappedObject->getSegmentOffset(index));
7405 return ( theWrappedObject->getSegmentOffset(index));
7990 }
7406 }
7991
7407
7992 qint64 PythonQtWrapper_elfparser::getSegmentPaddr(elfparser* theWrappedObject, int index)
7408 qint64 PythonQtWrapper_elfparser::getSegmentPaddr(elfparser* theWrappedObject, int index)
7993 {
7409 {
7994 return ( theWrappedObject->getSegmentPaddr(index));
7410 return ( theWrappedObject->getSegmentPaddr(index));
7995 }
7411 }
7996
7412
7997 QString PythonQtWrapper_elfparser::getSegmentType(elfparser* theWrappedObject, int index)
7413 QString PythonQtWrapper_elfparser::getSegmentType(elfparser* theWrappedObject, int index)
7998 {
7414 {
7999 return ( theWrappedObject->getSegmentType(index));
7415 return ( theWrappedObject->getSegmentType(index));
8000 }
7416 }
8001
7417
8002 qint64 PythonQtWrapper_elfparser::getSegmentVaddr(elfparser* theWrappedObject, int index)
7418 qint64 PythonQtWrapper_elfparser::getSegmentVaddr(elfparser* theWrappedObject, int index)
8003 {
7419 {
8004 return ( theWrappedObject->getSegmentVaddr(index));
7420 return ( theWrappedObject->getSegmentVaddr(index));
8005 }
7421 }
8006
7422
8007 int PythonQtWrapper_elfparser::getSegmentcount(elfparser* theWrappedObject)
7423 int PythonQtWrapper_elfparser::getSegmentcount(elfparser* theWrappedObject)
8008 {
7424 {
8009 return ( theWrappedObject->getSegmentcount());
7425 return ( theWrappedObject->getSegmentcount());
8010 }
7426 }
8011
7427
8012 QString PythonQtWrapper_elfparser::getType(elfparser* theWrappedObject)
7428 QString PythonQtWrapper_elfparser::getType(elfparser* theWrappedObject)
8013 {
7429 {
8014 return ( theWrappedObject->getType());
7430 return ( theWrappedObject->getType());
8015 }
7431 }
8016
7432
8017 qint64 PythonQtWrapper_elfparser::getVersion(elfparser* theWrappedObject)
7433 qint64 PythonQtWrapper_elfparser::getVersion(elfparser* theWrappedObject)
8018 {
7434 {
8019 return ( theWrappedObject->getVersion());
7435 return ( theWrappedObject->getVersion());
8020 }
7436 }
8021
7437
8022 bool PythonQtWrapper_elfparser::static_elfparser_isElf(const QString& File)
7438 bool PythonQtWrapper_elfparser::static_elfparser_isElf(const QString& File)
8023 {
7439 {
8024 return (elfparser::isElf(File));
7440 return (elfparser::isElf(File));
8025 }
7441 }
8026
7442
8027 bool PythonQtWrapper_elfparser::iself(elfparser* theWrappedObject)
7443 bool PythonQtWrapper_elfparser::iself(elfparser* theWrappedObject)
8028 {
7444 {
8029 return ( theWrappedObject->iself());
7445 return ( theWrappedObject->iself());
8030 }
7446 }
8031
7447
8032 bool PythonQtWrapper_elfparser::isopened(elfparser* theWrappedObject)
7448 bool PythonQtWrapper_elfparser::isopened(elfparser* theWrappedObject)
8033 {
7449 {
8034 return ( theWrappedObject->isopened());
7450 return ( theWrappedObject->isopened());
8035 }
7451 }
8036
7452
8037 int PythonQtWrapper_elfparser::setFilename(elfparser* theWrappedObject, const QString& name)
7453 int PythonQtWrapper_elfparser::setFilename(elfparser* theWrappedObject, const QString& name)
8038 {
7454 {
8039 return ( theWrappedObject->setFilename(name));
7455 return ( theWrappedObject->setFilename(name));
8040 }
7456 }
8041
7457
8042
7458
8043
7459
8044 PythonQtShell_srecFile::~PythonQtShell_srecFile() {
7460 PythonQtShell_srecFile::~PythonQtShell_srecFile() {
8045 PythonQtPrivate* priv = PythonQt::priv();
7461 PythonQtPrivate* priv = PythonQt::priv();
8046 if (priv) { priv->shellClassDeleted(this); }
7462 if (priv) { priv->shellClassDeleted(this); }
8047 }
7463 }
8048 int PythonQtShell_srecFile::closeFile()
7464 int PythonQtShell_srecFile::closeFile()
8049 {
7465 {
8050 if (_wrapper) {
7466 if (_wrapper) {
8051 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "closeFile");
7467 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "closeFile");
8052 PyErr_Clear();
7468 PyErr_Clear();
8053 if (obj && !PythonQtSlotFunction_Check(obj)) {
7469 if (obj && !PythonQtSlotFunction_Check(obj)) {
8054 static const char* argumentList[] ={"int"};
7470 static const char* argumentList[] ={"int"};
8055 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList);
7471 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList);
8056 int returnValue;
7472 int returnValue;
8057 void* args[1] = {NULL};
7473 void* args[1] = {NULL};
8058 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
7474 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
8059 if (result) {
7475 if (result) {
8060 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);
8061 if (args[0]!=&returnValue) {
7477 if (args[0]!=&returnValue) {
8062 if (args[0]==NULL) {
7478 if (args[0]==NULL) {
8063 PythonQt::priv()->handleVirtualOverloadReturnError("closeFile", methodInfo, result);
7479 PythonQt::priv()->handleVirtualOverloadReturnError("closeFile", methodInfo, result);
8064 } else {
7480 } else {
8065 returnValue = *((int*)args[0]);
7481 returnValue = *((int*)args[0]);
8066 }
7482 }
8067 }
7483 }
8068 }
7484 }
8069 if (result) { Py_DECREF(result); }
7485 if (result) { Py_DECREF(result); }
8070 Py_DECREF(obj);
7486 Py_DECREF(obj);
8071 return returnValue;
7487 return returnValue;
8072 }
7488 }
8073 }
7489 }
8074 return srecFile::closeFile();
7490 return srecFile::closeFile();
8075 }
7491 }
8076 QList<codeFragment* > PythonQtShell_srecFile::getFragments()
7492 QList<codeFragment* > PythonQtShell_srecFile::getFragments()
8077 {
7493 {
8078 if (_wrapper) {
7494 if (_wrapper) {
8079 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "getFragments");
7495 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "getFragments");
8080 PyErr_Clear();
7496 PyErr_Clear();
8081 if (obj && !PythonQtSlotFunction_Check(obj)) {
7497 if (obj && !PythonQtSlotFunction_Check(obj)) {
8082 static const char* argumentList[] ={"QList<codeFragment* >"};
7498 static const char* argumentList[] ={"QList<codeFragment* >"};
8083 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList);
7499 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList);
8084 QList<codeFragment* > returnValue;
7500 QList<codeFragment* > returnValue;
8085 void* args[1] = {NULL};
7501 void* args[1] = {NULL};
8086 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
7502 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
8087 if (result) {
7503 if (result) {
8088 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);
8089 if (args[0]!=&returnValue) {
7505 if (args[0]!=&returnValue) {
8090 if (args[0]==NULL) {
7506 if (args[0]==NULL) {
8091 PythonQt::priv()->handleVirtualOverloadReturnError("getFragments", methodInfo, result);
7507 PythonQt::priv()->handleVirtualOverloadReturnError("getFragments", methodInfo, result);
8092 } else {
7508 } else {
8093 returnValue = *((QList<codeFragment* >*)args[0]);
7509 returnValue = *((QList<codeFragment* >*)args[0]);
8094 }
7510 }
8095 }
7511 }
8096 }
7512 }
8097 if (result) { Py_DECREF(result); }
7513 if (result) { Py_DECREF(result); }
8098 Py_DECREF(obj);
7514 Py_DECREF(obj);
8099 return returnValue;
7515 return returnValue;
8100 }
7516 }
8101 }
7517 }
8102 return srecFile::getFragments();
7518 return srecFile::getFragments();
8103 }
7519 }
8104 bool PythonQtShell_srecFile::isopened()
7520 bool PythonQtShell_srecFile::isopened()
8105 {
7521 {
8106 if (_wrapper) {
7522 if (_wrapper) {
8107 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "isopened");
7523 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "isopened");
8108 PyErr_Clear();
7524 PyErr_Clear();
8109 if (obj && !PythonQtSlotFunction_Check(obj)) {
7525 if (obj && !PythonQtSlotFunction_Check(obj)) {
8110 static const char* argumentList[] ={"bool"};
7526 static const char* argumentList[] ={"bool"};
8111 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList);
7527 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList);
8112 bool returnValue;
7528 bool returnValue;
8113 void* args[1] = {NULL};
7529 void* args[1] = {NULL};
8114 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
7530 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
8115 if (result) {
7531 if (result) {
8116 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);
8117 if (args[0]!=&returnValue) {
7533 if (args[0]!=&returnValue) {
8118 if (args[0]==NULL) {
7534 if (args[0]==NULL) {
8119 PythonQt::priv()->handleVirtualOverloadReturnError("isopened", methodInfo, result);
7535 PythonQt::priv()->handleVirtualOverloadReturnError("isopened", methodInfo, result);
8120 } else {
7536 } else {
8121 returnValue = *((bool*)args[0]);
7537 returnValue = *((bool*)args[0]);
8122 }
7538 }
8123 }
7539 }
8124 }
7540 }
8125 if (result) { Py_DECREF(result); }
7541 if (result) { Py_DECREF(result); }
8126 Py_DECREF(obj);
7542 Py_DECREF(obj);
8127 return returnValue;
7543 return returnValue;
8128 }
7544 }
8129 }
7545 }
8130 return srecFile::isopened();
7546 return srecFile::isopened();
8131 }
7547 }
8132 bool PythonQtShell_srecFile::openFile(const QString& File)
7548 bool PythonQtShell_srecFile::openFile(const QString& File)
8133 {
7549 {
8134 if (_wrapper) {
7550 if (_wrapper) {
8135 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "openFile");
7551 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "openFile");
8136 PyErr_Clear();
7552 PyErr_Clear();
8137 if (obj && !PythonQtSlotFunction_Check(obj)) {
7553 if (obj && !PythonQtSlotFunction_Check(obj)) {
8138 static const char* argumentList[] ={"bool" , "const QString&"};
7554 static const char* argumentList[] ={"bool" , "const QString&"};
8139 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
7555 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
8140 bool returnValue;
7556 bool returnValue;
8141 void* args[2] = {NULL, (void*)&File};
7557 void* args[2] = {NULL, (void*)&File};
8142 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
7558 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
8143 if (result) {
7559 if (result) {
8144 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);
8145 if (args[0]!=&returnValue) {
7561 if (args[0]!=&returnValue) {
8146 if (args[0]==NULL) {
7562 if (args[0]==NULL) {
8147 PythonQt::priv()->handleVirtualOverloadReturnError("openFile", methodInfo, result);
7563 PythonQt::priv()->handleVirtualOverloadReturnError("openFile", methodInfo, result);
8148 } else {
7564 } else {
8149 returnValue = *((bool*)args[0]);
7565 returnValue = *((bool*)args[0]);
8150 }
7566 }
8151 }
7567 }
8152 }
7568 }
8153 if (result) { Py_DECREF(result); }
7569 if (result) { Py_DECREF(result); }
8154 Py_DECREF(obj);
7570 Py_DECREF(obj);
8155 return returnValue;
7571 return returnValue;
8156 }
7572 }
8157 }
7573 }
8158 return srecFile::openFile(File);
7574 return srecFile::openFile(File);
8159 }
7575 }
7576 bool PythonQtShell_srecFile::toBinary(const QString& File)
7577 {
7578 if (_wrapper) {
7579 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "toBinary");
7580 PyErr_Clear();
7581 if (obj && !PythonQtSlotFunction_Check(obj)) {
7582 static const char* argumentList[] ={"bool" , "const QString&"};
7583 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
7584 bool returnValue;
7585 void* args[2] = {NULL, (void*)&File};
7586 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
7587 if (result) {
7588 args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue);
7589 if (args[0]!=&returnValue) {
7590 if (args[0]==NULL) {
7591 PythonQt::priv()->handleVirtualOverloadReturnError("toBinary", methodInfo, result);
7592 } else {
7593 returnValue = *((bool*)args[0]);
7594 }
7595 }
7596 }
7597 if (result) { Py_DECREF(result); }
7598 Py_DECREF(obj);
7599 return returnValue;
7600 }
7601 }
7602 return srecFile::toBinary(File);
7603 }
7604 bool PythonQtShell_srecFile::toSrec(const QString& File)
7605 {
7606 if (_wrapper) {
7607 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "toSrec");
7608 PyErr_Clear();
7609 if (obj && !PythonQtSlotFunction_Check(obj)) {
7610 static const char* argumentList[] ={"bool" , "const QString&"};
7611 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
7612 bool returnValue;
7613 void* args[2] = {NULL, (void*)&File};
7614 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
7615 if (result) {
7616 args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue);
7617 if (args[0]!=&returnValue) {
7618 if (args[0]==NULL) {
7619 PythonQt::priv()->handleVirtualOverloadReturnError("toSrec", methodInfo, result);
7620 } else {
7621 returnValue = *((bool*)args[0]);
7622 }
7623 }
7624 }
7625 if (result) { Py_DECREF(result); }
7626 Py_DECREF(obj);
7627 return returnValue;
7628 }
7629 }
7630 return srecFile::toSrec(File);
7631 }
8160 srecFile* PythonQtWrapper_srecFile::new_srecFile()
7632 srecFile* PythonQtWrapper_srecFile::new_srecFile()
8161 {
7633 {
8162 return new PythonQtShell_srecFile(); }
7634 return new PythonQtShell_srecFile(); }
8163
7635
8164 srecFile* PythonQtWrapper_srecFile::new_srecFile(const QString& File)
7636 srecFile* PythonQtWrapper_srecFile::new_srecFile(const QString& File)
8165 {
7637 {
8166 return new PythonQtShell_srecFile(File); }
7638 return new PythonQtShell_srecFile(File); }
8167
7639
8168 srecFile* PythonQtWrapper_srecFile::new_srecFile(const QStringList& Files)
7640 srecFile* PythonQtWrapper_srecFile::new_srecFile(const QStringList& Files)
8169 {
7641 {
8170 return new PythonQtShell_srecFile(Files); }
7642 return new PythonQtShell_srecFile(Files); }
8171
7643
8172 int PythonQtWrapper_srecFile::closeFile(srecFile* theWrappedObject)
7644 int PythonQtWrapper_srecFile::closeFile(srecFile* theWrappedObject)
8173 {
7645 {
8174 return ( ((PythonQtPublicPromoter_srecFile*)theWrappedObject)->promoted_closeFile());
7646 return ( ((PythonQtPublicPromoter_srecFile*)theWrappedObject)->promoted_closeFile());
8175 }
7647 }
8176
7648
7649 codeFragment* PythonQtWrapper_srecFile::getFragment(srecFile* theWrappedObject, int index)
7650 {
7651 return ( theWrappedObject->getFragment(index));
7652 }
7653
8177 int PythonQtWrapper_srecFile::getFragmentAddress(srecFile* theWrappedObject, int index)
7654 int PythonQtWrapper_srecFile::getFragmentAddress(srecFile* theWrappedObject, int index)
8178 {
7655 {
8179 return ( theWrappedObject->getFragmentAddress(index));
7656 return ( theWrappedObject->getFragmentAddress(index));
8180 }
7657 }
8181
7658
8182 bool PythonQtWrapper_srecFile::getFragmentData(srecFile* theWrappedObject, int index, char** buffer)
7659 bool PythonQtWrapper_srecFile::getFragmentData(srecFile* theWrappedObject, int index, char** buffer)
8183 {
7660 {
8184 return ( theWrappedObject->getFragmentData(index, buffer));
7661 return ( theWrappedObject->getFragmentData(index, buffer));
8185 }
7662 }
8186
7663
8187 QString PythonQtWrapper_srecFile::getFragmentHeader(srecFile* theWrappedObject, int index)
7664 QString PythonQtWrapper_srecFile::getFragmentHeader(srecFile* theWrappedObject, int index)
8188 {
7665 {
8189 return ( theWrappedObject->getFragmentHeader(index));
7666 return ( theWrappedObject->getFragmentHeader(index));
8190 }
7667 }
8191
7668
8192 int PythonQtWrapper_srecFile::getFragmentSize(srecFile* theWrappedObject, int index)
7669 int PythonQtWrapper_srecFile::getFragmentSize(srecFile* theWrappedObject, int index)
8193 {
7670 {
8194 return ( theWrappedObject->getFragmentSize(index));
7671 return ( theWrappedObject->getFragmentSize(index));
8195 }
7672 }
8196
7673
8197 QList<codeFragment* > PythonQtWrapper_srecFile::getFragments(srecFile* theWrappedObject)
7674 QList<codeFragment* > PythonQtWrapper_srecFile::getFragments(srecFile* theWrappedObject)
8198 {
7675 {
8199 return ( ((PythonQtPublicPromoter_srecFile*)theWrappedObject)->promoted_getFragments());
7676 return ( ((PythonQtPublicPromoter_srecFile*)theWrappedObject)->promoted_getFragments());
8200 }
7677 }
8201
7678
8202 int PythonQtWrapper_srecFile::getFragmentsCount(srecFile* theWrappedObject)
7679 int PythonQtWrapper_srecFile::getFragmentsCount(srecFile* theWrappedObject)
8203 {
7680 {
8204 return ( theWrappedObject->getFragmentsCount());
7681 return ( theWrappedObject->getFragmentsCount());
8205 }
7682 }
8206
7683
8207 bool PythonQtWrapper_srecFile::isSREC(srecFile* theWrappedObject)
7684 bool PythonQtWrapper_srecFile::isSREC(srecFile* theWrappedObject)
8208 {
7685 {
8209 return ( theWrappedObject->isSREC());
7686 return ( theWrappedObject->isSREC());
8210 }
7687 }
8211
7688
8212 bool PythonQtWrapper_srecFile::static_srecFile_isSREC(const QString& File)
7689 bool PythonQtWrapper_srecFile::static_srecFile_isSREC(const QString& File)
8213 {
7690 {
8214 return (srecFile::isSREC(File));
7691 return (srecFile::isSREC(File));
8215 }
7692 }
8216
7693
8217 bool PythonQtWrapper_srecFile::isopened(srecFile* theWrappedObject)
7694 bool PythonQtWrapper_srecFile::isopened(srecFile* theWrappedObject)
8218 {
7695 {
8219 return ( ((PythonQtPublicPromoter_srecFile*)theWrappedObject)->promoted_isopened());
7696 return ( ((PythonQtPublicPromoter_srecFile*)theWrappedObject)->promoted_isopened());
8220 }
7697 }
8221
7698
8222 int PythonQtWrapper_srecFile::lineCount(srecFile* theWrappedObject)
7699 int PythonQtWrapper_srecFile::lineCount(srecFile* theWrappedObject)
8223 {
7700 {
8224 return ( theWrappedObject->lineCount());
7701 return ( theWrappedObject->lineCount());
8225 }
7702 }
8226
7703
8227 bool PythonQtWrapper_srecFile::openFile(srecFile* theWrappedObject, const QString& File)
7704 bool PythonQtWrapper_srecFile::openFile(srecFile* theWrappedObject, const QString& File)
8228 {
7705 {
8229 return ( ((PythonQtPublicPromoter_srecFile*)theWrappedObject)->promoted_openFile(File));
7706 return ( ((PythonQtPublicPromoter_srecFile*)theWrappedObject)->promoted_openFile(File));
8230 }
7707 }
8231
7708
8232 bool PythonQtWrapper_srecFile::openFiles(srecFile* theWrappedObject, const QStringList& Files)
7709 bool PythonQtWrapper_srecFile::openFiles(srecFile* theWrappedObject, const QStringList& Files)
8233 {
7710 {
8234 return ( theWrappedObject->openFiles(Files));
7711 return ( theWrappedObject->openFiles(Files));
8235 }
7712 }
8236
7713
7714 bool PythonQtWrapper_srecFile::toBinary(srecFile* theWrappedObject, const QString& File)
7715 {
7716 return ( ((PythonQtPublicPromoter_srecFile*)theWrappedObject)->promoted_toBinary(File));
7717 }
7718
8237 bool PythonQtWrapper_srecFile::static_srecFile_toSrec(QList<codeFragment* > fragments, const QString& File)
7719 bool PythonQtWrapper_srecFile::static_srecFile_toSrec(QList<codeFragment* > fragments, const QString& File)
8238 {
7720 {
8239 return (srecFile::toSrec(fragments, File));
7721 return (srecFile::toSrec(fragments, File));
8240 }
7722 }
8241
7723
7724 bool PythonQtWrapper_srecFile::toSrec(srecFile* theWrappedObject, const QString& File)
7725 {
7726 return ( ((PythonQtPublicPromoter_srecFile*)theWrappedObject)->promoted_toSrec(File));
7727 }
7728
8242
7729
8243
7730
8244 PythonQtShell_srecFileWidget::~PythonQtShell_srecFileWidget() {
7731 PythonQtShell_srecFileWidget::~PythonQtShell_srecFileWidget() {
8245 PythonQtPrivate* priv = PythonQt::priv();
7732 PythonQtPrivate* priv = PythonQt::priv();
8246 if (priv) { priv->shellClassDeleted(this); }
7733 if (priv) { priv->shellClassDeleted(this); }
8247 }
7734 }
8248 void PythonQtShell_srecFileWidget::actionEvent(QActionEvent* arg__1)
7735 void PythonQtShell_srecFileWidget::reloadFile()
8249 {
7736 {
8250 if (_wrapper) {
7737 if (_wrapper) {
8251 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "actionEvent");
7738 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "reloadFile");
8252 PyErr_Clear();
7739 PyErr_Clear();
8253 if (obj && !PythonQtSlotFunction_Check(obj)) {
7740 if (obj && !PythonQtSlotFunction_Check(obj)) {
8254 static const char* argumentList[] ={"" , "QActionEvent*"};
7741 static const char* argumentList[] ={""};
8255 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
8256 void* args[2] = {NULL, (void*)&arg__1};
8257 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
8258 if (result) { Py_DECREF(result); }
8259 Py_DECREF(obj);
8260 return;
8261 }
8262 }
8263 srecFileWidget::actionEvent(arg__1);
8264 }
8265 void PythonQtShell_srecFileWidget::changeEvent(QEvent* arg__1)
8266 {
8267 if (_wrapper) {
8268 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "changeEvent");
8269 PyErr_Clear();
8270 if (obj && !PythonQtSlotFunction_Check(obj)) {
8271 static const char* argumentList[] ={"" , "QEvent*"};
8272 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
8273 void* args[2] = {NULL, (void*)&arg__1};
8274 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
8275 if (result) { Py_DECREF(result); }
8276 Py_DECREF(obj);
8277 return;
8278 }
8279 }
8280 srecFileWidget::changeEvent(arg__1);
8281 }
8282 void PythonQtShell_srecFileWidget::childEvent(QChildEvent* arg__1)
8283 {
8284 if (_wrapper) {
8285 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "childEvent");
8286 PyErr_Clear();
8287 if (obj && !PythonQtSlotFunction_Check(obj)) {
8288 static const char* argumentList[] ={"" , "QChildEvent*"};
8289 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
8290 void* args[2] = {NULL, (void*)&arg__1};
8291 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
8292 if (result) { Py_DECREF(result); }
8293 Py_DECREF(obj);
8294 return;
8295 }
8296 }
8297 srecFileWidget::childEvent(arg__1);
8298 }
8299 void PythonQtShell_srecFileWidget::closeEvent(QCloseEvent* arg__1)
8300 {
8301 if (_wrapper) {
8302 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "closeEvent");
8303 PyErr_Clear();
8304 if (obj && !PythonQtSlotFunction_Check(obj)) {
8305 static const char* argumentList[] ={"" , "QCloseEvent*"};
8306 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
8307 void* args[2] = {NULL, (void*)&arg__1};
8308 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
8309 if (result) { Py_DECREF(result); }
8310 Py_DECREF(obj);
8311 return;
8312 }
8313 }
8314 srecFileWidget::closeEvent(arg__1);
8315 }
8316 void PythonQtShell_srecFileWidget::contextMenuEvent(QContextMenuEvent* arg__1)
8317 {
8318 if (_wrapper) {
8319 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "contextMenuEvent");
8320 PyErr_Clear();
8321 if (obj && !PythonQtSlotFunction_Check(obj)) {
8322 static const char* argumentList[] ={"" , "QContextMenuEvent*"};
8323 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
8324 void* args[2] = {NULL, (void*)&arg__1};
8325 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
8326 if (result) { Py_DECREF(result); }
8327 Py_DECREF(obj);
8328 return;
8329 }
8330 }
8331 srecFileWidget::contextMenuEvent(arg__1);
8332 }
8333 void PythonQtShell_srecFileWidget::customEvent(QEvent* arg__1)
8334 {
8335 if (_wrapper) {
8336 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "customEvent");
8337 PyErr_Clear();
8338 if (obj && !PythonQtSlotFunction_Check(obj)) {
8339 static const char* argumentList[] ={"" , "QEvent*"};
8340 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
8341 void* args[2] = {NULL, (void*)&arg__1};
8342 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
8343 if (result) { Py_DECREF(result); }
8344 Py_DECREF(obj);
8345 return;
8346 }
8347 }
8348 srecFileWidget::customEvent(arg__1);
8349 }
8350 int PythonQtShell_srecFileWidget::devType() const
8351 {
8352 if (_wrapper) {
8353 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "devType");
8354 PyErr_Clear();
8355 if (obj && !PythonQtSlotFunction_Check(obj)) {
8356 static const char* argumentList[] ={"int"};
8357 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList);
7742 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList);
8358 int returnValue;
8359 void* args[1] = {NULL};
8360 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
8361 if (result) {
8362 args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue);
8363 if (args[0]!=&returnValue) {
8364 if (args[0]==NULL) {
8365 PythonQt::priv()->handleVirtualOverloadReturnError("devType", methodInfo, result);
8366 } else {
8367 returnValue = *((int*)args[0]);
8368 }
8369 }
8370 }
8371 if (result) { Py_DECREF(result); }
8372 Py_DECREF(obj);
8373 return returnValue;
8374 }
8375 }
8376 return srecFileWidget::devType();
8377 }
8378 void PythonQtShell_srecFileWidget::dragEnterEvent(QDragEnterEvent* arg__1)
8379 {
8380 if (_wrapper) {
8381 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dragEnterEvent");
8382 PyErr_Clear();
8383 if (obj && !PythonQtSlotFunction_Check(obj)) {
8384 static const char* argumentList[] ={"" , "QDragEnterEvent*"};
8385 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
8386 void* args[2] = {NULL, (void*)&arg__1};
8387 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
8388 if (result) { Py_DECREF(result); }
8389 Py_DECREF(obj);
8390 return;
8391 }
8392 }
8393 srecFileWidget::dragEnterEvent(arg__1);
8394 }
8395 void PythonQtShell_srecFileWidget::dragLeaveEvent(QDragLeaveEvent* arg__1)
8396 {
8397 if (_wrapper) {
8398 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dragLeaveEvent");
8399 PyErr_Clear();
8400 if (obj && !PythonQtSlotFunction_Check(obj)) {
8401 static const char* argumentList[] ={"" , "QDragLeaveEvent*"};
8402 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
8403 void* args[2] = {NULL, (void*)&arg__1};
8404 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
8405 if (result) { Py_DECREF(result); }
8406 Py_DECREF(obj);
8407 return;
8408 }
8409 }
8410 srecFileWidget::dragLeaveEvent(arg__1);
8411 }
8412 void PythonQtShell_srecFileWidget::dragMoveEvent(QDragMoveEvent* arg__1)
8413 {
8414 if (_wrapper) {
8415 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dragMoveEvent");
8416 PyErr_Clear();
8417 if (obj && !PythonQtSlotFunction_Check(obj)) {
8418 static const char* argumentList[] ={"" , "QDragMoveEvent*"};
8419 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
8420 void* args[2] = {NULL, (void*)&arg__1};
8421 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
8422 if (result) { Py_DECREF(result); }
8423 Py_DECREF(obj);
8424 return;
8425 }
8426 }
8427 srecFileWidget::dragMoveEvent(arg__1);
8428 }
8429 void PythonQtShell_srecFileWidget::dropEvent(QDropEvent* arg__1)
8430 {
8431 if (_wrapper) {
8432 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dropEvent");
8433 PyErr_Clear();
8434 if (obj && !PythonQtSlotFunction_Check(obj)) {
8435 static const char* argumentList[] ={"" , "QDropEvent*"};
8436 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
8437 void* args[2] = {NULL, (void*)&arg__1};
8438 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
8439 if (result) { Py_DECREF(result); }
8440 Py_DECREF(obj);
8441 return;
8442 }
8443 }
8444 srecFileWidget::dropEvent(arg__1);
8445 }
8446 void PythonQtShell_srecFileWidget::enterEvent(QEvent* arg__1)
8447 {
8448 if (_wrapper) {
8449 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "enterEvent");
8450 PyErr_Clear();
8451 if (obj && !PythonQtSlotFunction_Check(obj)) {
8452 static const char* argumentList[] ={"" , "QEvent*"};
8453 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
8454 void* args[2] = {NULL, (void*)&arg__1};
8455 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
8456 if (result) { Py_DECREF(result); }
8457 Py_DECREF(obj);
8458 return;
8459 }
8460 }
8461 srecFileWidget::enterEvent(arg__1);
8462 }
8463 bool PythonQtShell_srecFileWidget::event(QEvent* arg__1)
8464 {
8465 if (_wrapper) {
8466 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "event");
8467 PyErr_Clear();
8468 if (obj && !PythonQtSlotFunction_Check(obj)) {
8469 static const char* argumentList[] ={"bool" , "QEvent*"};
8470 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
8471 bool returnValue;
8472 void* args[2] = {NULL, (void*)&arg__1};
8473 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
8474 if (result) {
8475 args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue);
8476 if (args[0]!=&returnValue) {
8477 if (args[0]==NULL) {
8478 PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result);
8479 } else {
8480 returnValue = *((bool*)args[0]);
8481 }
8482 }
8483 }
8484 if (result) { Py_DECREF(result); }
8485 Py_DECREF(obj);
8486 return returnValue;
8487 }
8488 }
8489 return srecFileWidget::event(arg__1);
8490 }
8491 bool PythonQtShell_srecFileWidget::eventFilter(QObject* arg__1, QEvent* arg__2)
8492 {
8493 if (_wrapper) {
8494 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "eventFilter");
8495 PyErr_Clear();
8496 if (obj && !PythonQtSlotFunction_Check(obj)) {
8497 static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"};
8498 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList);
8499 bool returnValue;
8500 void* args[3] = {NULL, (void*)&arg__1, (void*)&arg__2};
8501 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
8502 if (result) {
8503 args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue);
8504 if (args[0]!=&returnValue) {
8505 if (args[0]==NULL) {
8506 PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result);
8507 } else {
8508 returnValue = *((bool*)args[0]);
8509 }
8510 }
8511 }
8512 if (result) { Py_DECREF(result); }
8513 Py_DECREF(obj);
8514 return returnValue;
8515 }
8516 }
8517 return srecFileWidget::eventFilter(arg__1, arg__2);
8518 }
8519 void PythonQtShell_srecFileWidget::focusInEvent(QFocusEvent* arg__1)
8520 {
8521 if (_wrapper) {
8522 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "focusInEvent");
8523 PyErr_Clear();
8524 if (obj && !PythonQtSlotFunction_Check(obj)) {
8525 static const char* argumentList[] ={"" , "QFocusEvent*"};
8526 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
8527 void* args[2] = {NULL, (void*)&arg__1};
8528 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
8529 if (result) { Py_DECREF(result); }
8530 Py_DECREF(obj);
8531 return;
8532 }
8533 }
8534 srecFileWidget::focusInEvent(arg__1);
8535 }
8536 bool PythonQtShell_srecFileWidget::focusNextPrevChild(bool next)
8537 {
8538 if (_wrapper) {
8539 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "focusNextPrevChild");
8540 PyErr_Clear();
8541 if (obj && !PythonQtSlotFunction_Check(obj)) {
8542 static const char* argumentList[] ={"bool" , "bool"};
8543 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
8544 bool returnValue;
8545 void* args[2] = {NULL, (void*)&next};
8546 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
8547 if (result) {
8548 args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue);
8549 if (args[0]!=&returnValue) {
8550 if (args[0]==NULL) {
8551 PythonQt::priv()->handleVirtualOverloadReturnError("focusNextPrevChild", methodInfo, result);
8552 } else {
8553 returnValue = *((bool*)args[0]);
8554 }
8555 }
8556 }
8557 if (result) { Py_DECREF(result); }
8558 Py_DECREF(obj);
8559 return returnValue;
8560 }
8561 }
8562 return srecFileWidget::focusNextPrevChild(next);
8563 }
8564 void PythonQtShell_srecFileWidget::focusOutEvent(QFocusEvent* arg__1)
8565 {
8566 if (_wrapper) {
8567 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "focusOutEvent");
8568 PyErr_Clear();
8569 if (obj && !PythonQtSlotFunction_Check(obj)) {
8570 static const char* argumentList[] ={"" , "QFocusEvent*"};
8571 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
8572 void* args[2] = {NULL, (void*)&arg__1};
8573 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
8574 if (result) { Py_DECREF(result); }
8575 Py_DECREF(obj);
8576 return;
8577 }
8578 }
8579 srecFileWidget::focusOutEvent(arg__1);
8580 }
8581 bool PythonQtShell_srecFileWidget::hasHeightForWidth() const
8582 {
8583 if (_wrapper) {
8584 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "hasHeightForWidth");
8585 PyErr_Clear();
8586 if (obj && !PythonQtSlotFunction_Check(obj)) {
8587 static const char* argumentList[] ={"bool"};
8588 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList);
8589 bool returnValue;
8590 void* args[1] = {NULL};
7743 void* args[1] = {NULL};
8591 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
7744 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
8592 if (result) {
7745 if (result) { Py_DECREF(result); }
8593 args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue);
7746 Py_DECREF(obj);
8594 if (args[0]!=&returnValue) {
7747 return;
8595 if (args[0]==NULL) {
7748 }
8596 PythonQt::priv()->handleVirtualOverloadReturnError("hasHeightForWidth", methodInfo, result);
7749 }
8597 } else {
7750 srecFileWidget::reloadFile();
8598 returnValue = *((bool*)args[0]);
7751 }
8599 }
7752 void PythonQtShell_srecFileWidget::setFile(abstractBinFile* file)
8600 }
7753 {
8601 }
7754 if (_wrapper) {
8602 if (result) { Py_DECREF(result); }
7755 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "setFile");
8603 Py_DECREF(obj);
7756 PyErr_Clear();
8604 return returnValue;
7757 if (obj && !PythonQtSlotFunction_Check(obj)) {
8605 }
7758 static const char* argumentList[] ={"" , "abstractBinFile*"};
8606 }
7759 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
8607 return srecFileWidget::hasHeightForWidth();
7760 void* args[2] = {NULL, (void*)&file};
8608 }
7761 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
8609 int PythonQtShell_srecFileWidget::heightForWidth(int arg__1) const
7762 if (result) { Py_DECREF(result); }
8610 {
7763 Py_DECREF(obj);
8611 if (_wrapper) {
7764 return;
8612 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "heightForWidth");
7765 }
8613 PyErr_Clear();
7766 }
8614 if (obj && !PythonQtSlotFunction_Check(obj)) {
7767 srecFileWidget::setFile(file);
8615 static const char* argumentList[] ={"int" , "int"};
8616 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
8617 int returnValue;
8618 void* args[2] = {NULL, (void*)&arg__1};
8619 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
8620 if (result) {
8621 args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue);
8622 if (args[0]!=&returnValue) {
8623 if (args[0]==NULL) {
8624 PythonQt::priv()->handleVirtualOverloadReturnError("heightForWidth", methodInfo, result);
8625 } else {
8626 returnValue = *((int*)args[0]);
8627 }
8628 }
8629 }
8630 if (result) { Py_DECREF(result); }
8631 Py_DECREF(obj);
8632 return returnValue;
8633 }
8634 }
8635 return srecFileWidget::heightForWidth(arg__1);
8636 }
8637 void PythonQtShell_srecFileWidget::hideEvent(QHideEvent* arg__1)
8638 {
8639 if (_wrapper) {
8640 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "hideEvent");
8641 PyErr_Clear();
8642 if (obj && !PythonQtSlotFunction_Check(obj)) {
8643 static const char* argumentList[] ={"" , "QHideEvent*"};
8644 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
8645 void* args[2] = {NULL, (void*)&arg__1};
8646 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
8647 if (result) { Py_DECREF(result); }
8648 Py_DECREF(obj);
8649 return;
8650 }
8651 }
8652 srecFileWidget::hideEvent(arg__1);
8653 }
8654 void PythonQtShell_srecFileWidget::initPainter(QPainter* painter) const
8655 {
8656 if (_wrapper) {
8657 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "initPainter");
8658 PyErr_Clear();
8659 if (obj && !PythonQtSlotFunction_Check(obj)) {
8660 static const char* argumentList[] ={"" , "QPainter*"};
8661 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
8662 void* args[2] = {NULL, (void*)&painter};
8663 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
8664 if (result) { Py_DECREF(result); }
8665 Py_DECREF(obj);
8666 return;
8667 }
8668 }
8669 srecFileWidget::initPainter(painter);
8670 }
8671 void PythonQtShell_srecFileWidget::inputMethodEvent(QInputMethodEvent* arg__1)
8672 {
8673 if (_wrapper) {
8674 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "inputMethodEvent");
8675 PyErr_Clear();
8676 if (obj && !PythonQtSlotFunction_Check(obj)) {
8677 static const char* argumentList[] ={"" , "QInputMethodEvent*"};
8678 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
8679 void* args[2] = {NULL, (void*)&arg__1};
8680 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
8681 if (result) { Py_DECREF(result); }
8682 Py_DECREF(obj);
8683 return;
8684 }
8685 }
8686 srecFileWidget::inputMethodEvent(arg__1);
8687 }
8688 QVariant PythonQtShell_srecFileWidget::inputMethodQuery(Qt::InputMethodQuery arg__1) const
8689 {
8690 if (_wrapper) {
8691 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "inputMethodQuery");
8692 PyErr_Clear();
8693 if (obj && !PythonQtSlotFunction_Check(obj)) {
8694 static const char* argumentList[] ={"QVariant" , "Qt::InputMethodQuery"};
8695 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
8696 QVariant returnValue;
8697 void* args[2] = {NULL, (void*)&arg__1};
8698 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
8699 if (result) {
8700 args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue);
8701 if (args[0]!=&returnValue) {
8702 if (args[0]==NULL) {
8703 PythonQt::priv()->handleVirtualOverloadReturnError("inputMethodQuery", methodInfo, result);
8704 } else {
8705 returnValue = *((QVariant*)args[0]);
8706 }
8707 }
8708 }
8709 if (result) { Py_DECREF(result); }
8710 Py_DECREF(obj);
8711 return returnValue;
8712 }
8713 }
8714 return srecFileWidget::inputMethodQuery(arg__1);
8715 }
8716 void PythonQtShell_srecFileWidget::keyPressEvent(QKeyEvent* arg__1)
8717 {
8718 if (_wrapper) {
8719 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "keyPressEvent");
8720 PyErr_Clear();
8721 if (obj && !PythonQtSlotFunction_Check(obj)) {
8722 static const char* argumentList[] ={"" , "QKeyEvent*"};
8723 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
8724 void* args[2] = {NULL, (void*)&arg__1};
8725 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
8726 if (result) { Py_DECREF(result); }
8727 Py_DECREF(obj);
8728 return;
8729 }
8730 }
8731 srecFileWidget::keyPressEvent(arg__1);
8732 }
8733 void PythonQtShell_srecFileWidget::keyReleaseEvent(QKeyEvent* arg__1)
8734 {
8735 if (_wrapper) {
8736 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "keyReleaseEvent");
8737 PyErr_Clear();
8738 if (obj && !PythonQtSlotFunction_Check(obj)) {
8739 static const char* argumentList[] ={"" , "QKeyEvent*"};
8740 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
8741 void* args[2] = {NULL, (void*)&arg__1};
8742 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
8743 if (result) { Py_DECREF(result); }
8744 Py_DECREF(obj);
8745 return;
8746 }
8747 }
8748 srecFileWidget::keyReleaseEvent(arg__1);
8749 }
8750 void PythonQtShell_srecFileWidget::leaveEvent(QEvent* arg__1)
8751 {
8752 if (_wrapper) {
8753 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "leaveEvent");
8754 PyErr_Clear();
8755 if (obj && !PythonQtSlotFunction_Check(obj)) {
8756 static const char* argumentList[] ={"" , "QEvent*"};
8757 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
8758 void* args[2] = {NULL, (void*)&arg__1};
8759 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
8760 if (result) { Py_DECREF(result); }
8761 Py_DECREF(obj);
8762 return;
8763 }
8764 }
8765 srecFileWidget::leaveEvent(arg__1);
8766 }
8767 int PythonQtShell_srecFileWidget::metric(QPaintDevice::PaintDeviceMetric arg__1) const
8768 {
8769 if (_wrapper) {
8770 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "metric");
8771 PyErr_Clear();
8772 if (obj && !PythonQtSlotFunction_Check(obj)) {
8773 static const char* argumentList[] ={"int" , "QPaintDevice::PaintDeviceMetric"};
8774 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
8775 int returnValue;
8776 void* args[2] = {NULL, (void*)&arg__1};
8777 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
8778 if (result) {
8779 args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue);
8780 if (args[0]!=&returnValue) {
8781 if (args[0]==NULL) {
8782 PythonQt::priv()->handleVirtualOverloadReturnError("metric", methodInfo, result);
8783 } else {
8784 returnValue = *((int*)args[0]);
8785 }
8786 }
8787 }
8788 if (result) { Py_DECREF(result); }
8789 Py_DECREF(obj);
8790 return returnValue;
8791 }
8792 }
8793 return srecFileWidget::metric(arg__1);
8794 }
8795 QSize PythonQtShell_srecFileWidget::minimumSizeHint() const
8796 {
8797 if (_wrapper) {
8798 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "getMinimumSizeHint");
8799 PyErr_Clear();
8800 if (obj && !PythonQtSlotFunction_Check(obj)) {
8801 static const char* argumentList[] ={"QSize"};
8802 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList);
8803 QSize returnValue;
8804 void* args[1] = {NULL};
8805 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
8806 if (result) {
8807 args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue);
8808 if (args[0]!=&returnValue) {
8809 if (args[0]==NULL) {
8810 PythonQt::priv()->handleVirtualOverloadReturnError("getMinimumSizeHint", methodInfo, result);
8811 } else {
8812 returnValue = *((QSize*)args[0]);
8813 }
8814 }
8815 }
8816 if (result) { Py_DECREF(result); }
8817 Py_DECREF(obj);
8818 return returnValue;
8819 }
8820 }
8821 return srecFileWidget::minimumSizeHint();
8822 }
8823 void PythonQtShell_srecFileWidget::mouseDoubleClickEvent(QMouseEvent* arg__1)
8824 {
8825 if (_wrapper) {
8826 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mouseDoubleClickEvent");
8827 PyErr_Clear();
8828 if (obj && !PythonQtSlotFunction_Check(obj)) {
8829 static const char* argumentList[] ={"" , "QMouseEvent*"};
8830 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
8831 void* args[2] = {NULL, (void*)&arg__1};
8832 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
8833 if (result) { Py_DECREF(result); }
8834 Py_DECREF(obj);
8835 return;
8836 }
8837 }
8838 srecFileWidget::mouseDoubleClickEvent(arg__1);
8839 }
8840 void PythonQtShell_srecFileWidget::mouseMoveEvent(QMouseEvent* arg__1)
8841 {
8842 if (_wrapper) {
8843 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mouseMoveEvent");
8844 PyErr_Clear();
8845 if (obj && !PythonQtSlotFunction_Check(obj)) {
8846 static const char* argumentList[] ={"" , "QMouseEvent*"};
8847 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
8848 void* args[2] = {NULL, (void*)&arg__1};
8849 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
8850 if (result) { Py_DECREF(result); }
8851 Py_DECREF(obj);
8852 return;
8853 }
8854 }
8855 srecFileWidget::mouseMoveEvent(arg__1);
8856 }
8857 void PythonQtShell_srecFileWidget::mousePressEvent(QMouseEvent* arg__1)
8858 {
8859 if (_wrapper) {
8860 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mousePressEvent");
8861 PyErr_Clear();
8862 if (obj && !PythonQtSlotFunction_Check(obj)) {
8863 static const char* argumentList[] ={"" , "QMouseEvent*"};
8864 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
8865 void* args[2] = {NULL, (void*)&arg__1};
8866 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
8867 if (result) { Py_DECREF(result); }
8868 Py_DECREF(obj);
8869 return;
8870 }
8871 }
8872 srecFileWidget::mousePressEvent(arg__1);
8873 }
8874 void PythonQtShell_srecFileWidget::mouseReleaseEvent(QMouseEvent* arg__1)
8875 {
8876 if (_wrapper) {
8877 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mouseReleaseEvent");
8878 PyErr_Clear();
8879 if (obj && !PythonQtSlotFunction_Check(obj)) {
8880 static const char* argumentList[] ={"" , "QMouseEvent*"};
8881 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
8882 void* args[2] = {NULL, (void*)&arg__1};
8883 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
8884 if (result) { Py_DECREF(result); }
8885 Py_DECREF(obj);
8886 return;
8887 }
8888 }
8889 srecFileWidget::mouseReleaseEvent(arg__1);
8890 }
8891 void PythonQtShell_srecFileWidget::moveEvent(QMoveEvent* arg__1)
8892 {
8893 if (_wrapper) {
8894 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "moveEvent");
8895 PyErr_Clear();
8896 if (obj && !PythonQtSlotFunction_Check(obj)) {
8897 static const char* argumentList[] ={"" , "QMoveEvent*"};
8898 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
8899 void* args[2] = {NULL, (void*)&arg__1};
8900 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
8901 if (result) { Py_DECREF(result); }
8902 Py_DECREF(obj);
8903 return;
8904 }
8905 }
8906 srecFileWidget::moveEvent(arg__1);
8907 }
8908 bool PythonQtShell_srecFileWidget::nativeEvent(const QByteArray& eventType, void* message, long* result)
8909 {
8910 if (_wrapper) {
8911 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "nativeEvent");
8912 PyErr_Clear();
8913 if (obj && !PythonQtSlotFunction_Check(obj)) {
8914 static const char* argumentList[] ={"bool" , "const QByteArray&" , "void*" , "long*"};
8915 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList);
8916 bool returnValue;
8917 void* args[4] = {NULL, (void*)&eventType, (void*)&message, (void*)&result};
8918 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
8919 if (result) {
8920 args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue);
8921 if (args[0]!=&returnValue) {
8922 if (args[0]==NULL) {
8923 PythonQt::priv()->handleVirtualOverloadReturnError("nativeEvent", methodInfo, result);
8924 } else {
8925 returnValue = *((bool*)args[0]);
8926 }
8927 }
8928 }
8929 if (result) { Py_DECREF(result); }
8930 Py_DECREF(obj);
8931 return returnValue;
8932 }
8933 }
8934 return srecFileWidget::nativeEvent(eventType, message, result);
8935 }
8936 QPaintEngine* PythonQtShell_srecFileWidget::paintEngine() const
8937 {
8938 if (_wrapper) {
8939 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "paintEngine");
8940 PyErr_Clear();
8941 if (obj && !PythonQtSlotFunction_Check(obj)) {
8942 static const char* argumentList[] ={"QPaintEngine*"};
8943 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList);
8944 QPaintEngine* returnValue;
8945 void* args[1] = {NULL};
8946 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
8947 if (result) {
8948 args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue);
8949 if (args[0]!=&returnValue) {
8950 if (args[0]==NULL) {
8951 PythonQt::priv()->handleVirtualOverloadReturnError("paintEngine", methodInfo, result);
8952 } else {
8953 returnValue = *((QPaintEngine**)args[0]);
8954 }
8955 }
8956 }
8957 if (result) { Py_DECREF(result); }
8958 Py_DECREF(obj);
8959 return returnValue;
8960 }
8961 }
8962 return srecFileWidget::paintEngine();
8963 }
8964 void PythonQtShell_srecFileWidget::paintEvent(QPaintEvent* arg__1)
8965 {
8966 if (_wrapper) {
8967 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "paintEvent");
8968 PyErr_Clear();
8969 if (obj && !PythonQtSlotFunction_Check(obj)) {
8970 static const char* argumentList[] ={"" , "QPaintEvent*"};
8971 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
8972 void* args[2] = {NULL, (void*)&arg__1};
8973 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
8974 if (result) { Py_DECREF(result); }
8975 Py_DECREF(obj);
8976 return;
8977 }
8978 }
8979 srecFileWidget::paintEvent(arg__1);
8980 }
8981 QPaintDevice* PythonQtShell_srecFileWidget::redirected(QPoint* offset) const
8982 {
8983 if (_wrapper) {
8984 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "redirected");
8985 PyErr_Clear();
8986 if (obj && !PythonQtSlotFunction_Check(obj)) {
8987 static const char* argumentList[] ={"QPaintDevice*" , "QPoint*"};
8988 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
8989 QPaintDevice* returnValue;
8990 void* args[2] = {NULL, (void*)&offset};
8991 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
8992 if (result) {
8993 args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue);
8994 if (args[0]!=&returnValue) {
8995 if (args[0]==NULL) {
8996 PythonQt::priv()->handleVirtualOverloadReturnError("redirected", methodInfo, result);
8997 } else {
8998 returnValue = *((QPaintDevice**)args[0]);
8999 }
9000 }
9001 }
9002 if (result) { Py_DECREF(result); }
9003 Py_DECREF(obj);
9004 return returnValue;
9005 }
9006 }
9007 return srecFileWidget::redirected(offset);
9008 }
9009 void PythonQtShell_srecFileWidget::resizeEvent(QResizeEvent* arg__1)
9010 {
9011 if (_wrapper) {
9012 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "resizeEvent");
9013 PyErr_Clear();
9014 if (obj && !PythonQtSlotFunction_Check(obj)) {
9015 static const char* argumentList[] ={"" , "QResizeEvent*"};
9016 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
9017 void* args[2] = {NULL, (void*)&arg__1};
9018 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
9019 if (result) { Py_DECREF(result); }
9020 Py_DECREF(obj);
9021 return;
9022 }
9023 }
9024 srecFileWidget::resizeEvent(arg__1);
9025 }
9026 QPainter* PythonQtShell_srecFileWidget::sharedPainter() const
9027 {
9028 if (_wrapper) {
9029 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "sharedPainter");
9030 PyErr_Clear();
9031 if (obj && !PythonQtSlotFunction_Check(obj)) {
9032 static const char* argumentList[] ={"QPainter*"};
9033 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList);
9034 QPainter* returnValue;
9035 void* args[1] = {NULL};
9036 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
9037 if (result) {
9038 args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue);
9039 if (args[0]!=&returnValue) {
9040 if (args[0]==NULL) {
9041 PythonQt::priv()->handleVirtualOverloadReturnError("sharedPainter", methodInfo, result);
9042 } else {
9043 returnValue = *((QPainter**)args[0]);
9044 }
9045 }
9046 }
9047 if (result) { Py_DECREF(result); }
9048 Py_DECREF(obj);
9049 return returnValue;
9050 }
9051 }
9052 return srecFileWidget::sharedPainter();
9053 }
9054 void PythonQtShell_srecFileWidget::showEvent(QShowEvent* arg__1)
9055 {
9056 if (_wrapper) {
9057 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "showEvent");
9058 PyErr_Clear();
9059 if (obj && !PythonQtSlotFunction_Check(obj)) {
9060 static const char* argumentList[] ={"" , "QShowEvent*"};
9061 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
9062 void* args[2] = {NULL, (void*)&arg__1};
9063 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
9064 if (result) { Py_DECREF(result); }
9065 Py_DECREF(obj);
9066 return;
9067 }
9068 }
9069 srecFileWidget::showEvent(arg__1);
9070 }
9071 QSize PythonQtShell_srecFileWidget::sizeHint() const
9072 {
9073 if (_wrapper) {
9074 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "getSizeHint");
9075 PyErr_Clear();
9076 if (obj && !PythonQtSlotFunction_Check(obj)) {
9077 static const char* argumentList[] ={"QSize"};
9078 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList);
9079 QSize returnValue;
9080 void* args[1] = {NULL};
9081 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
9082 if (result) {
9083 args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue);
9084 if (args[0]!=&returnValue) {
9085 if (args[0]==NULL) {
9086 PythonQt::priv()->handleVirtualOverloadReturnError("getSizeHint", methodInfo, result);
9087 } else {
9088 returnValue = *((QSize*)args[0]);
9089 }
9090 }
9091 }
9092 if (result) { Py_DECREF(result); }
9093 Py_DECREF(obj);
9094 return returnValue;
9095 }
9096 }
9097 return srecFileWidget::sizeHint();
9098 }
9099 void PythonQtShell_srecFileWidget::tabletEvent(QTabletEvent* arg__1)
9100 {
9101 if (_wrapper) {
9102 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "tabletEvent");
9103 PyErr_Clear();
9104 if (obj && !PythonQtSlotFunction_Check(obj)) {
9105 static const char* argumentList[] ={"" , "QTabletEvent*"};
9106 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
9107 void* args[2] = {NULL, (void*)&arg__1};
9108 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
9109 if (result) { Py_DECREF(result); }
9110 Py_DECREF(obj);
9111 return;
9112 }
9113 }
9114 srecFileWidget::tabletEvent(arg__1);
9115 }
9116 void PythonQtShell_srecFileWidget::timerEvent(QTimerEvent* arg__1)
9117 {
9118 if (_wrapper) {
9119 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "timerEvent");
9120 PyErr_Clear();
9121 if (obj && !PythonQtSlotFunction_Check(obj)) {
9122 static const char* argumentList[] ={"" , "QTimerEvent*"};
9123 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
9124 void* args[2] = {NULL, (void*)&arg__1};
9125 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
9126 if (result) { Py_DECREF(result); }
9127 Py_DECREF(obj);
9128 return;
9129 }
9130 }
9131 srecFileWidget::timerEvent(arg__1);
9132 }
9133 void PythonQtShell_srecFileWidget::wheelEvent(QWheelEvent* arg__1)
9134 {
9135 if (_wrapper) {
9136 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "wheelEvent");
9137 PyErr_Clear();
9138 if (obj && !PythonQtSlotFunction_Check(obj)) {
9139 static const char* argumentList[] ={"" , "QWheelEvent*"};
9140 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
9141 void* args[2] = {NULL, (void*)&arg__1};
9142 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
9143 if (result) { Py_DECREF(result); }
9144 Py_DECREF(obj);
9145 return;
9146 }
9147 }
9148 srecFileWidget::wheelEvent(arg__1);
9149 }
7768 }
9150 srecFileWidget* PythonQtWrapper_srecFileWidget::new_srecFileWidget(QWidget* parent)
7769 srecFileWidget* PythonQtWrapper_srecFileWidget::new_srecFileWidget(QWidget* parent)
9151 {
7770 {
9152 return new PythonQtShell_srecFileWidget(parent); }
7771 return new PythonQtShell_srecFileWidget(parent); }
9153
7772
9154
7773 void PythonQtWrapper_srecFileWidget::reloadFile(srecFileWidget* theWrappedObject)
7774 {
7775 ( ((PythonQtPublicPromoter_srecFileWidget*)theWrappedObject)->promoted_reloadFile());
7776 }
7777
7778 void PythonQtWrapper_srecFileWidget::setFile(srecFileWidget* theWrappedObject, abstractBinFile* file)
7779 {
7780 ( ((PythonQtPublicPromoter_srecFileWidget*)theWrappedObject)->promoted_setFile(file));
7781 }
7782
7783
@@ -1,1032 +1,1019
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);
74 virtual bool toSrec(const QString& File);
73
75
74 PythonQtInstanceWrapper* _wrapper;
76 PythonQtInstanceWrapper* _wrapper;
75 };
77 };
76
78
77 class PythonQtPublicPromoter_ElfFile : public ElfFile
79 class PythonQtPublicPromoter_ElfFile : public ElfFile
78 { public:
80 { public:
79 inline int promoted_closeFile() { return ElfFile::closeFile(); }
81 inline int promoted_closeFile() { return ElfFile::closeFile(); }
80 inline QList<codeFragment* > promoted_getFragments() { return ElfFile::getFragments(); }
82 inline QList<codeFragment* > promoted_getFragments() { return ElfFile::getFragments(); }
81 inline bool promoted_isopened() { return ElfFile::isopened(); }
83 inline bool promoted_isopened() { return ElfFile::isopened(); }
82 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); }
86 inline bool promoted_toSrec(const QString& File) { return ElfFile::toSrec(File); }
83 };
87 };
84
88
85 class PythonQtWrapper_ElfFile : public QObject
89 class PythonQtWrapper_ElfFile : public QObject
86 { Q_OBJECT
90 { Q_OBJECT
87 public:
91 public:
88 public slots:
92 public slots:
89 ElfFile* new_ElfFile();
93 ElfFile* new_ElfFile();
90 ElfFile* new_ElfFile(const QString& File);
94 ElfFile* new_ElfFile(const QString& File);
91 void delete_ElfFile(ElfFile* obj) { delete obj; }
95 void delete_ElfFile(ElfFile* obj) { delete obj; }
92 int closeFile(ElfFile* theWrappedObject);
96 int closeFile(ElfFile* theWrappedObject);
93 QString getABI(ElfFile* theWrappedObject);
97 QString getABI(ElfFile* theWrappedObject);
94 QString getArchitecture(ElfFile* theWrappedObject);
98 QString getArchitecture(ElfFile* theWrappedObject);
95 QString getClass(ElfFile* theWrappedObject);
99 QString getClass(ElfFile* theWrappedObject);
96 QString getEndianness(ElfFile* theWrappedObject);
100 QString getEndianness(ElfFile* theWrappedObject);
97 qint64 getEntryPointAddress(ElfFile* theWrappedObject);
101 qint64 getEntryPointAddress(ElfFile* theWrappedObject);
98 QList<codeFragment* > getFragments(ElfFile* theWrappedObject);
102 QList<codeFragment* > getFragments(ElfFile* theWrappedObject);
99 QList<codeFragment* > getFragments(ElfFile* theWrappedObject, QStringList fragmentList);
103 QList<codeFragment* > getFragments(ElfFile* theWrappedObject, QStringList fragmentList);
100 int getSectionCount(ElfFile* theWrappedObject);
104 int getSectionCount(ElfFile* theWrappedObject);
101 bool getSectionData(ElfFile* theWrappedObject, int index, char** buffer);
105 bool getSectionData(ElfFile* theWrappedObject, int index, char** buffer);
102 qint64 getSectionDatasz(ElfFile* theWrappedObject, int index);
106 qint64 getSectionDatasz(ElfFile* theWrappedObject, int index);
103 int getSectionIndex(ElfFile* theWrappedObject, QString name);
107 int getSectionIndex(ElfFile* theWrappedObject, QString name);
104 qint64 getSectionMemsz(ElfFile* theWrappedObject, int index);
108 qint64 getSectionMemsz(ElfFile* theWrappedObject, int index);
105 QString getSectionName(ElfFile* theWrappedObject, int index);
109 QString getSectionName(ElfFile* theWrappedObject, int index);
106 qint64 getSectionPaddr(ElfFile* theWrappedObject, int index);
110 qint64 getSectionPaddr(ElfFile* theWrappedObject, int index);
107 QString getSectionType(ElfFile* theWrappedObject, int index);
111 QString getSectionType(ElfFile* theWrappedObject, int index);
108 int getSegmentCount(ElfFile* theWrappedObject);
112 int getSegmentCount(ElfFile* theWrappedObject);
109 qint64 getSegmentFilesz(ElfFile* theWrappedObject, int index);
113 qint64 getSegmentFilesz(ElfFile* theWrappedObject, int index);
110 QString getSegmentFlags(ElfFile* theWrappedObject, int index);
114 QString getSegmentFlags(ElfFile* theWrappedObject, int index);
111 qint64 getSegmentMemsz(ElfFile* theWrappedObject, int index);
115 qint64 getSegmentMemsz(ElfFile* theWrappedObject, int index);
112 qint64 getSegmentOffset(ElfFile* theWrappedObject, int index);
116 qint64 getSegmentOffset(ElfFile* theWrappedObject, int index);
113 qint64 getSegmentPaddr(ElfFile* theWrappedObject, int index);
117 qint64 getSegmentPaddr(ElfFile* theWrappedObject, int index);
114 QString getSegmentType(ElfFile* theWrappedObject, int index);
118 QString getSegmentType(ElfFile* theWrappedObject, int index);
115 qint64 getSegmentVaddr(ElfFile* theWrappedObject, int index);
119 qint64 getSegmentVaddr(ElfFile* theWrappedObject, int index);
116 quint64 getSymbolAddress(ElfFile* theWrappedObject, int index);
120 quint64 getSymbolAddress(ElfFile* theWrappedObject, int index);
117 int getSymbolCount(ElfFile* theWrappedObject);
121 int getSymbolCount(ElfFile* theWrappedObject);
118 QString getSymbolLinkType(ElfFile* theWrappedObject, int index);
122 QString getSymbolLinkType(ElfFile* theWrappedObject, int index);
119 QString getSymbolName(ElfFile* theWrappedObject, int index);
123 QString getSymbolName(ElfFile* theWrappedObject, int index);
120 int getSymbolSectionIndex(ElfFile* theWrappedObject, int index);
124 int getSymbolSectionIndex(ElfFile* theWrappedObject, int index);
121 QString getSymbolSectionName(ElfFile* theWrappedObject, int index);
125 QString getSymbolSectionName(ElfFile* theWrappedObject, int index);
122 quint64 getSymbolSize(ElfFile* theWrappedObject, int index);
126 quint64 getSymbolSize(ElfFile* theWrappedObject, int index);
123 QString getSymbolType(ElfFile* theWrappedObject, int index);
127 QString getSymbolType(ElfFile* theWrappedObject, int index);
124 QString getType(ElfFile* theWrappedObject);
128 QString getType(ElfFile* theWrappedObject);
125 qint64 getVersion(ElfFile* theWrappedObject);
129 qint64 getVersion(ElfFile* theWrappedObject);
126 bool static_ElfFile_isElf(const QString& File);
130 bool static_ElfFile_isElf(const QString& File);
127 bool iself(ElfFile* theWrappedObject);
131 bool iself(ElfFile* theWrappedObject);
128 bool isopened(ElfFile* theWrappedObject);
132 bool isopened(ElfFile* theWrappedObject);
129 bool openFile(ElfFile* theWrappedObject, const QString& File);
133 bool openFile(ElfFile* theWrappedObject, const QString& File);
130 bool sectionIsNobits(ElfFile* theWrappedObject, int index);
134 bool sectionIsNobits(ElfFile* theWrappedObject, int index);
135 bool toBinary(ElfFile* theWrappedObject, const QString& File);
131 bool toSrec(ElfFile* theWrappedObject, const QString& File);
136 bool toSrec(ElfFile* theWrappedObject, const QString& File);
132 };
137 };
133
138
134
139
135
140
136
141
137
142
138 class PythonQtShell_MemSizeWdgt : public MemSizeWdgt
143 class PythonQtShell_MemSizeWdgt : public MemSizeWdgt
139 {
144 {
140 public:
145 public:
141 PythonQtShell_MemSizeWdgt(QWidget* parent = 0):MemSizeWdgt(parent),_wrapper(NULL) {};
146 PythonQtShell_MemSizeWdgt(QWidget* parent = 0):MemSizeWdgt(parent),_wrapper(NULL) {};
142 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) {};
143
148
144 ~PythonQtShell_MemSizeWdgt();
149 ~PythonQtShell_MemSizeWdgt();
145
150
146 virtual void actionEvent(QActionEvent* arg__1);
151 virtual void actionEvent(QActionEvent* arg__1);
147 virtual void changeEvent(QEvent* arg__1);
152 virtual void changeEvent(QEvent* arg__1);
148 virtual void childEvent(QChildEvent* arg__1);
153 virtual void childEvent(QChildEvent* arg__1);
149 virtual void closeEvent(QCloseEvent* arg__1);
154 virtual void closeEvent(QCloseEvent* arg__1);
150 virtual void contextMenuEvent(QContextMenuEvent* arg__1);
155 virtual void contextMenuEvent(QContextMenuEvent* arg__1);
151 virtual void customEvent(QEvent* arg__1);
156 virtual void customEvent(QEvent* arg__1);
152 virtual int devType() const;
157 virtual int devType() const;
153 virtual void dragEnterEvent(QDragEnterEvent* arg__1);
158 virtual void dragEnterEvent(QDragEnterEvent* arg__1);
154 virtual void dragLeaveEvent(QDragLeaveEvent* arg__1);
159 virtual void dragLeaveEvent(QDragLeaveEvent* arg__1);
155 virtual void dragMoveEvent(QDragMoveEvent* arg__1);
160 virtual void dragMoveEvent(QDragMoveEvent* arg__1);
156 virtual void dropEvent(QDropEvent* arg__1);
161 virtual void dropEvent(QDropEvent* arg__1);
157 virtual void enterEvent(QEvent* arg__1);
162 virtual void enterEvent(QEvent* arg__1);
158 virtual bool event(QEvent* arg__1);
163 virtual bool event(QEvent* arg__1);
159 virtual bool eventFilter(QObject* arg__1, QEvent* arg__2);
164 virtual bool eventFilter(QObject* arg__1, QEvent* arg__2);
160 virtual void focusInEvent(QFocusEvent* arg__1);
165 virtual void focusInEvent(QFocusEvent* arg__1);
161 virtual bool focusNextPrevChild(bool next);
166 virtual bool focusNextPrevChild(bool next);
162 virtual void focusOutEvent(QFocusEvent* arg__1);
167 virtual void focusOutEvent(QFocusEvent* arg__1);
163 virtual bool hasHeightForWidth() const;
168 virtual bool hasHeightForWidth() const;
164 virtual int heightForWidth(int arg__1) const;
169 virtual int heightForWidth(int arg__1) const;
165 virtual void hideEvent(QHideEvent* arg__1);
170 virtual void hideEvent(QHideEvent* arg__1);
166 virtual void initPainter(QPainter* painter) const;
171 virtual void initPainter(QPainter* painter) const;
167 virtual void inputMethodEvent(QInputMethodEvent* arg__1);
172 virtual void inputMethodEvent(QInputMethodEvent* arg__1);
168 virtual QVariant inputMethodQuery(Qt::InputMethodQuery arg__1) const;
173 virtual QVariant inputMethodQuery(Qt::InputMethodQuery arg__1) const;
169 virtual void keyPressEvent(QKeyEvent* arg__1);
174 virtual void keyPressEvent(QKeyEvent* arg__1);
170 virtual void keyReleaseEvent(QKeyEvent* arg__1);
175 virtual void keyReleaseEvent(QKeyEvent* arg__1);
171 virtual void leaveEvent(QEvent* arg__1);
176 virtual void leaveEvent(QEvent* arg__1);
172 virtual int metric(QPaintDevice::PaintDeviceMetric arg__1) const;
177 virtual int metric(QPaintDevice::PaintDeviceMetric arg__1) const;
173 virtual QSize minimumSizeHint() const;
178 virtual QSize minimumSizeHint() const;
174 virtual void mouseDoubleClickEvent(QMouseEvent* arg__1);
179 virtual void mouseDoubleClickEvent(QMouseEvent* arg__1);
175 virtual void mouseMoveEvent(QMouseEvent* arg__1);
180 virtual void mouseMoveEvent(QMouseEvent* arg__1);
176 virtual void mousePressEvent(QMouseEvent* arg__1);
181 virtual void mousePressEvent(QMouseEvent* arg__1);
177 virtual void mouseReleaseEvent(QMouseEvent* arg__1);
182 virtual void mouseReleaseEvent(QMouseEvent* arg__1);
178 virtual void moveEvent(QMoveEvent* arg__1);
183 virtual void moveEvent(QMoveEvent* arg__1);
179 virtual bool nativeEvent(const QByteArray& eventType, void* message, long* result);
184 virtual bool nativeEvent(const QByteArray& eventType, void* message, long* result);
180 virtual QPaintEngine* paintEngine() const;
185 virtual QPaintEngine* paintEngine() const;
181 virtual void paintEvent(QPaintEvent* arg__1);
186 virtual void paintEvent(QPaintEvent* arg__1);
182 virtual QPaintDevice* redirected(QPoint* offset) const;
187 virtual QPaintDevice* redirected(QPoint* offset) const;
183 virtual void resizeEvent(QResizeEvent* arg__1);
188 virtual void resizeEvent(QResizeEvent* arg__1);
184 virtual QPainter* sharedPainter() const;
189 virtual QPainter* sharedPainter() const;
185 virtual void showEvent(QShowEvent* arg__1);
190 virtual void showEvent(QShowEvent* arg__1);
186 virtual QSize sizeHint() const;
191 virtual QSize sizeHint() const;
187 virtual void tabletEvent(QTabletEvent* arg__1);
192 virtual void tabletEvent(QTabletEvent* arg__1);
188 virtual void timerEvent(QTimerEvent* arg__1);
193 virtual void timerEvent(QTimerEvent* arg__1);
189 virtual void wheelEvent(QWheelEvent* arg__1);
194 virtual void wheelEvent(QWheelEvent* arg__1);
190
195
191 PythonQtInstanceWrapper* _wrapper;
196 PythonQtInstanceWrapper* _wrapper;
192 };
197 };
193
198
194 class PythonQtWrapper_MemSizeWdgt : public QObject
199 class PythonQtWrapper_MemSizeWdgt : public QObject
195 { Q_OBJECT
200 { Q_OBJECT
196 public:
201 public:
197 public slots:
202 public slots:
198 MemSizeWdgt* new_MemSizeWdgt(QWidget* parent = 0);
203 MemSizeWdgt* new_MemSizeWdgt(QWidget* parent = 0);
199 MemSizeWdgt* new_MemSizeWdgt(int defaultSize, QWidget* parent = 0);
204 MemSizeWdgt* new_MemSizeWdgt(int defaultSize, QWidget* parent = 0);
200 void delete_MemSizeWdgt(MemSizeWdgt* obj) { delete obj; }
205 void delete_MemSizeWdgt(MemSizeWdgt* obj) { delete obj; }
201 int getsize(MemSizeWdgt* theWrappedObject);
206 int getsize(MemSizeWdgt* theWrappedObject);
202 void setMaximum(MemSizeWdgt* theWrappedObject, unsigned int max);
207 void setMaximum(MemSizeWdgt* theWrappedObject, unsigned int max);
203 void show(MemSizeWdgt* theWrappedObject);
208 void show(MemSizeWdgt* theWrappedObject);
204 void updateSizeValue(MemSizeWdgt* theWrappedObject);
209 void updateSizeValue(MemSizeWdgt* theWrappedObject);
205 };
210 };
206
211
207
212
208
213
209
214
210
215
211 class PythonQtShell_QHexEdit : public QHexEdit
216 class PythonQtShell_QHexEdit : public QHexEdit
212 {
217 {
213 public:
218 public:
214 PythonQtShell_QHexEdit(QWidget* parent = 0):QHexEdit(parent),_wrapper(NULL) {};
219 PythonQtShell_QHexEdit(QWidget* parent = 0):QHexEdit(parent),_wrapper(NULL) {};
215
220
216 ~PythonQtShell_QHexEdit();
221 ~PythonQtShell_QHexEdit();
217
222
218 virtual void actionEvent(QActionEvent* arg__1);
223 virtual void actionEvent(QActionEvent* arg__1);
219 virtual void changeEvent(QEvent* arg__1);
224 virtual void changeEvent(QEvent* arg__1);
220 virtual void childEvent(QChildEvent* arg__1);
225 virtual void childEvent(QChildEvent* arg__1);
221 virtual void closeEvent(QCloseEvent* arg__1);
226 virtual void closeEvent(QCloseEvent* arg__1);
222 virtual void contextMenuEvent(QContextMenuEvent* arg__1);
227 virtual void contextMenuEvent(QContextMenuEvent* arg__1);
223 virtual void customEvent(QEvent* arg__1);
228 virtual void customEvent(QEvent* arg__1);
224 virtual int devType() const;
229 virtual int devType() const;
225 virtual void dragEnterEvent(QDragEnterEvent* arg__1);
230 virtual void dragEnterEvent(QDragEnterEvent* arg__1);
226 virtual void dragLeaveEvent(QDragLeaveEvent* arg__1);
231 virtual void dragLeaveEvent(QDragLeaveEvent* arg__1);
227 virtual void dragMoveEvent(QDragMoveEvent* arg__1);
232 virtual void dragMoveEvent(QDragMoveEvent* arg__1);
228 virtual void dropEvent(QDropEvent* arg__1);
233 virtual void dropEvent(QDropEvent* arg__1);
229 virtual void enterEvent(QEvent* arg__1);
234 virtual void enterEvent(QEvent* arg__1);
230 virtual bool event(QEvent* arg__1);
235 virtual bool event(QEvent* arg__1);
231 virtual bool eventFilter(QObject* arg__1, QEvent* arg__2);
236 virtual bool eventFilter(QObject* arg__1, QEvent* arg__2);
232 virtual void focusInEvent(QFocusEvent* arg__1);
237 virtual void focusInEvent(QFocusEvent* arg__1);
233 virtual bool focusNextPrevChild(bool next);
238 virtual bool focusNextPrevChild(bool next);
234 virtual void focusOutEvent(QFocusEvent* arg__1);
239 virtual void focusOutEvent(QFocusEvent* arg__1);
235 virtual bool hasHeightForWidth() const;
240 virtual bool hasHeightForWidth() const;
236 virtual int heightForWidth(int arg__1) const;
241 virtual int heightForWidth(int arg__1) const;
237 virtual void hideEvent(QHideEvent* arg__1);
242 virtual void hideEvent(QHideEvent* arg__1);
238 virtual void initPainter(QPainter* painter) const;
243 virtual void initPainter(QPainter* painter) const;
239 virtual void inputMethodEvent(QInputMethodEvent* arg__1);
244 virtual void inputMethodEvent(QInputMethodEvent* arg__1);
240 virtual QVariant inputMethodQuery(Qt::InputMethodQuery arg__1) const;
245 virtual QVariant inputMethodQuery(Qt::InputMethodQuery arg__1) const;
241 virtual void keyPressEvent(QKeyEvent* arg__1);
246 virtual void keyPressEvent(QKeyEvent* arg__1);
242 virtual void keyReleaseEvent(QKeyEvent* arg__1);
247 virtual void keyReleaseEvent(QKeyEvent* arg__1);
243 virtual void leaveEvent(QEvent* arg__1);
248 virtual void leaveEvent(QEvent* arg__1);
244 virtual int metric(QPaintDevice::PaintDeviceMetric arg__1) const;
249 virtual int metric(QPaintDevice::PaintDeviceMetric arg__1) const;
245 virtual void mouseDoubleClickEvent(QMouseEvent* arg__1);
250 virtual void mouseDoubleClickEvent(QMouseEvent* arg__1);
246 virtual void mouseMoveEvent(QMouseEvent* arg__1);
251 virtual void mouseMoveEvent(QMouseEvent* arg__1);
247 virtual void mousePressEvent(QMouseEvent* arg__1);
252 virtual void mousePressEvent(QMouseEvent* arg__1);
248 virtual void mouseReleaseEvent(QMouseEvent* arg__1);
253 virtual void mouseReleaseEvent(QMouseEvent* arg__1);
249 virtual void moveEvent(QMoveEvent* arg__1);
254 virtual void moveEvent(QMoveEvent* arg__1);
250 virtual bool nativeEvent(const QByteArray& eventType, void* message, long* result);
255 virtual bool nativeEvent(const QByteArray& eventType, void* message, long* result);
251 virtual QPaintEngine* paintEngine() const;
256 virtual QPaintEngine* paintEngine() const;
252 virtual void paintEvent(QPaintEvent* arg__1);
257 virtual void paintEvent(QPaintEvent* arg__1);
253 virtual QPaintDevice* redirected(QPoint* offset) const;
258 virtual QPaintDevice* redirected(QPoint* offset) const;
254 virtual void resizeEvent(QResizeEvent* arg__1);
259 virtual void resizeEvent(QResizeEvent* arg__1);
255 virtual void scrollContentsBy(int dx, int dy);
260 virtual void scrollContentsBy(int dx, int dy);
256 virtual void setupViewport(QWidget* viewport);
261 virtual void setupViewport(QWidget* viewport);
257 virtual QPainter* sharedPainter() const;
262 virtual QPainter* sharedPainter() const;
258 virtual void showEvent(QShowEvent* arg__1);
263 virtual void showEvent(QShowEvent* arg__1);
259 virtual void tabletEvent(QTabletEvent* arg__1);
264 virtual void tabletEvent(QTabletEvent* arg__1);
260 virtual void timerEvent(QTimerEvent* arg__1);
265 virtual void timerEvent(QTimerEvent* arg__1);
261 virtual bool viewportEvent(QEvent* arg__1);
266 virtual bool viewportEvent(QEvent* arg__1);
262 virtual QSize viewportSizeHint() const;
267 virtual QSize viewportSizeHint() const;
263 virtual void wheelEvent(QWheelEvent* arg__1);
268 virtual void wheelEvent(QWheelEvent* arg__1);
264
269
265 PythonQtInstanceWrapper* _wrapper;
270 PythonQtInstanceWrapper* _wrapper;
266 };
271 };
267
272
268 class PythonQtWrapper_QHexEdit : public QObject
273 class PythonQtWrapper_QHexEdit : public QObject
269 { Q_OBJECT
274 { Q_OBJECT
270 public:
275 public:
271 public slots:
276 public slots:
272 QHexEdit* new_QHexEdit(QWidget* parent = 0);
277 QHexEdit* new_QHexEdit(QWidget* parent = 0);
273 void delete_QHexEdit(QHexEdit* obj) { delete obj; }
278 void delete_QHexEdit(QHexEdit* obj) { delete obj; }
274 QColor addressAreaColor(QHexEdit* theWrappedObject);
279 QColor addressAreaColor(QHexEdit* theWrappedObject);
275 int addressOffset(QHexEdit* theWrappedObject);
280 int addressOffset(QHexEdit* theWrappedObject);
276 int cursorPosition(QHexEdit* theWrappedObject);
281 int cursorPosition(QHexEdit* theWrappedObject);
277 QByteArray data(QHexEdit* theWrappedObject);
282 QByteArray data(QHexEdit* theWrappedObject);
278 const QFont* font(QHexEdit* theWrappedObject) const;
283 const QFont* font(QHexEdit* theWrappedObject) const;
279 int getSelectionBegin(QHexEdit* theWrappedObject);
284 int getSelectionBegin(QHexEdit* theWrappedObject);
280 int getSelectionEnd(QHexEdit* theWrappedObject);
285 int getSelectionEnd(QHexEdit* theWrappedObject);
281 QColor highlightingColor(QHexEdit* theWrappedObject);
286 QColor highlightingColor(QHexEdit* theWrappedObject);
282 int indexOf(QHexEdit* theWrappedObject, const QByteArray& ba, int from = 0) const;
287 int indexOf(QHexEdit* theWrappedObject, const QByteArray& ba, int from = 0) const;
283 void insert(QHexEdit* theWrappedObject, int i, char ch);
288 void insert(QHexEdit* theWrappedObject, int i, char ch);
284 void insert(QHexEdit* theWrappedObject, int i, const QByteArray& ba);
289 void insert(QHexEdit* theWrappedObject, int i, const QByteArray& ba);
285 bool isReadOnly(QHexEdit* theWrappedObject);
290 bool isReadOnly(QHexEdit* theWrappedObject);
286 int lastIndexOf(QHexEdit* theWrappedObject, const QByteArray& ba, int from = 0) const;
291 int lastIndexOf(QHexEdit* theWrappedObject, const QByteArray& ba, int from = 0) const;
287 bool overwriteMode(QHexEdit* theWrappedObject);
292 bool overwriteMode(QHexEdit* theWrappedObject);
288 void remove(QHexEdit* theWrappedObject, int pos, int len = 1);
293 void remove(QHexEdit* theWrappedObject, int pos, int len = 1);
289 void replace(QHexEdit* theWrappedObject, int pos, int len, const QByteArray& after);
294 void replace(QHexEdit* theWrappedObject, int pos, int len, const QByteArray& after);
290 void resetSelection(QHexEdit* theWrappedObject);
295 void resetSelection(QHexEdit* theWrappedObject);
291 void resetSelection(QHexEdit* theWrappedObject, int pos);
296 void resetSelection(QHexEdit* theWrappedObject, int pos);
292 QColor selectionColor(QHexEdit* theWrappedObject);
297 QColor selectionColor(QHexEdit* theWrappedObject);
293 QString selectionToReadableString(QHexEdit* theWrappedObject);
298 QString selectionToReadableString(QHexEdit* theWrappedObject);
294 void setAddressAreaColor(QHexEdit* theWrappedObject, const QColor& color);
299 void setAddressAreaColor(QHexEdit* theWrappedObject, const QColor& color);
295 void setAddressOffset(QHexEdit* theWrappedObject, int offset);
300 void setAddressOffset(QHexEdit* theWrappedObject, int offset);
296 void setCursorPosition(QHexEdit* theWrappedObject, int cusorPos);
301 void setCursorPosition(QHexEdit* theWrappedObject, int cusorPos);
297 void setData(QHexEdit* theWrappedObject, const QByteArray& data);
302 void setData(QHexEdit* theWrappedObject, const QByteArray& data);
298 void setFont(QHexEdit* theWrappedObject, const QFont& arg__1);
303 void setFont(QHexEdit* theWrappedObject, const QFont& arg__1);
299 void setHighlightingColor(QHexEdit* theWrappedObject, const QColor& color);
304 void setHighlightingColor(QHexEdit* theWrappedObject, const QColor& color);
300 void setOverwriteMode(QHexEdit* theWrappedObject, bool arg__1);
305 void setOverwriteMode(QHexEdit* theWrappedObject, bool arg__1);
301 void setReadOnly(QHexEdit* theWrappedObject, bool arg__1);
306 void setReadOnly(QHexEdit* theWrappedObject, bool arg__1);
302 void setSelection(QHexEdit* theWrappedObject, int pos);
307 void setSelection(QHexEdit* theWrappedObject, int pos);
303 void setSelectionColor(QHexEdit* theWrappedObject, const QColor& color);
308 void setSelectionColor(QHexEdit* theWrappedObject, const QColor& color);
304 QString toReadableString(QHexEdit* theWrappedObject);
309 QString toReadableString(QHexEdit* theWrappedObject);
305 };
310 };
306
311
307
312
308
313
309
314
310
315
311 class PythonQtShell_QHexSpinBox : public QHexSpinBox
316 class PythonQtShell_QHexSpinBox : public QHexSpinBox
312 {
317 {
313 public:
318 public:
314 PythonQtShell_QHexSpinBox(QWidget* parent = 0):QHexSpinBox(parent),_wrapper(NULL) {};
319 PythonQtShell_QHexSpinBox(QWidget* parent = 0):QHexSpinBox(parent),_wrapper(NULL) {};
315
320
316 ~PythonQtShell_QHexSpinBox();
321 ~PythonQtShell_QHexSpinBox();
317
322
318 virtual void actionEvent(QActionEvent* arg__1);
323 virtual void actionEvent(QActionEvent* arg__1);
319 virtual void changeEvent(QEvent* event);
324 virtual void changeEvent(QEvent* event);
320 virtual void childEvent(QChildEvent* arg__1);
325 virtual void childEvent(QChildEvent* arg__1);
321 virtual void clear();
326 virtual void clear();
322 virtual void closeEvent(QCloseEvent* event);
327 virtual void closeEvent(QCloseEvent* event);
323 virtual void contextMenuEvent(QContextMenuEvent* event);
328 virtual void contextMenuEvent(QContextMenuEvent* event);
324 virtual void customEvent(QEvent* arg__1);
329 virtual void customEvent(QEvent* arg__1);
325 virtual int devType() const;
330 virtual int devType() const;
326 virtual void dragEnterEvent(QDragEnterEvent* arg__1);
331 virtual void dragEnterEvent(QDragEnterEvent* arg__1);
327 virtual void dragLeaveEvent(QDragLeaveEvent* arg__1);
332 virtual void dragLeaveEvent(QDragLeaveEvent* arg__1);
328 virtual void dragMoveEvent(QDragMoveEvent* arg__1);
333 virtual void dragMoveEvent(QDragMoveEvent* arg__1);
329 virtual void dropEvent(QDropEvent* arg__1);
334 virtual void dropEvent(QDropEvent* arg__1);
330 virtual void enterEvent(QEvent* arg__1);
335 virtual void enterEvent(QEvent* arg__1);
331 virtual bool event(QEvent* event);
336 virtual bool event(QEvent* event);
332 virtual bool eventFilter(QObject* arg__1, QEvent* arg__2);
337 virtual bool eventFilter(QObject* arg__1, QEvent* arg__2);
333 virtual void fixup(QString& str) const;
338 virtual void fixup(QString& str) const;
334 virtual void focusInEvent(QFocusEvent* event);
339 virtual void focusInEvent(QFocusEvent* event);
335 virtual bool focusNextPrevChild(bool next);
340 virtual bool focusNextPrevChild(bool next);
336 virtual void focusOutEvent(QFocusEvent* event);
341 virtual void focusOutEvent(QFocusEvent* event);
337 virtual bool hasHeightForWidth() const;
342 virtual bool hasHeightForWidth() const;
338 virtual int heightForWidth(int arg__1) const;
343 virtual int heightForWidth(int arg__1) const;
339 virtual void hideEvent(QHideEvent* event);
344 virtual void hideEvent(QHideEvent* event);
340 virtual void initPainter(QPainter* painter) const;
345 virtual void initPainter(QPainter* painter) const;
341 virtual void inputMethodEvent(QInputMethodEvent* arg__1);
346 virtual void inputMethodEvent(QInputMethodEvent* arg__1);
342 virtual QVariant inputMethodQuery(Qt::InputMethodQuery arg__1) const;
347 virtual QVariant inputMethodQuery(Qt::InputMethodQuery arg__1) const;
343 virtual void keyPressEvent(QKeyEvent* event);
348 virtual void keyPressEvent(QKeyEvent* event);
344 virtual void keyReleaseEvent(QKeyEvent* event);
349 virtual void keyReleaseEvent(QKeyEvent* event);
345 virtual void leaveEvent(QEvent* arg__1);
350 virtual void leaveEvent(QEvent* arg__1);
346 virtual int metric(QPaintDevice::PaintDeviceMetric arg__1) const;
351 virtual int metric(QPaintDevice::PaintDeviceMetric arg__1) const;
347 virtual void mouseDoubleClickEvent(QMouseEvent* arg__1);
352 virtual void mouseDoubleClickEvent(QMouseEvent* arg__1);
348 virtual void mouseMoveEvent(QMouseEvent* event);
353 virtual void mouseMoveEvent(QMouseEvent* event);
349 virtual void mousePressEvent(QMouseEvent* event);
354 virtual void mousePressEvent(QMouseEvent* event);
350 virtual void mouseReleaseEvent(QMouseEvent* event);
355 virtual void mouseReleaseEvent(QMouseEvent* event);
351 virtual void moveEvent(QMoveEvent* arg__1);
356 virtual void moveEvent(QMoveEvent* arg__1);
352 virtual bool nativeEvent(const QByteArray& eventType, void* message, long* result);
357 virtual bool nativeEvent(const QByteArray& eventType, void* message, long* result);
353 virtual QPaintEngine* paintEngine() const;
358 virtual QPaintEngine* paintEngine() const;
354 virtual void paintEvent(QPaintEvent* event);
359 virtual void paintEvent(QPaintEvent* event);
355 virtual QPaintDevice* redirected(QPoint* offset) const;
360 virtual QPaintDevice* redirected(QPoint* offset) const;
356 virtual void resizeEvent(QResizeEvent* event);
361 virtual void resizeEvent(QResizeEvent* event);
357 virtual QPainter* sharedPainter() const;
362 virtual QPainter* sharedPainter() const;
358 virtual void showEvent(QShowEvent* event);
363 virtual void showEvent(QShowEvent* event);
359 virtual void stepBy(int steps);
364 virtual void stepBy(int steps);
360 virtual QAbstractSpinBox::StepEnabled stepEnabled() const;
365 virtual QAbstractSpinBox::StepEnabled stepEnabled() const;
361 virtual void tabletEvent(QTabletEvent* arg__1);
366 virtual void tabletEvent(QTabletEvent* arg__1);
362 virtual QString textFromValue(int value) const;
367 virtual QString textFromValue(int value) const;
363 virtual void timerEvent(QTimerEvent* event);
368 virtual void timerEvent(QTimerEvent* event);
364 virtual QValidator::State validate(QString& input, int& pos) const;
369 virtual QValidator::State validate(QString& input, int& pos) const;
365 virtual int valueFromText(const QString& text) const;
370 virtual int valueFromText(const QString& text) const;
366 virtual void wheelEvent(QWheelEvent* event);
371 virtual void wheelEvent(QWheelEvent* event);
367
372
368 PythonQtInstanceWrapper* _wrapper;
373 PythonQtInstanceWrapper* _wrapper;
369 };
374 };
370
375
371 class PythonQtPublicPromoter_QHexSpinBox : public QHexSpinBox
376 class PythonQtPublicPromoter_QHexSpinBox : public QHexSpinBox
372 { public:
377 { public:
373 inline QString promoted_textFromValue(int value) const { return QHexSpinBox::textFromValue(value); }
378 inline QString promoted_textFromValue(int value) const { return QHexSpinBox::textFromValue(value); }
374 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); }
375 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); }
376 };
381 };
377
382
378 class PythonQtWrapper_QHexSpinBox : public QObject
383 class PythonQtWrapper_QHexSpinBox : public QObject
379 { Q_OBJECT
384 { Q_OBJECT
380 public:
385 public:
381 public slots:
386 public slots:
382 QHexSpinBox* new_QHexSpinBox(QWidget* parent = 0);
387 QHexSpinBox* new_QHexSpinBox(QWidget* parent = 0);
383 void delete_QHexSpinBox(QHexSpinBox* obj) { delete obj; }
388 void delete_QHexSpinBox(QHexSpinBox* obj) { delete obj; }
384 void show(QHexSpinBox* theWrappedObject);
389 void show(QHexSpinBox* theWrappedObject);
385 QString textFromValue(QHexSpinBox* theWrappedObject, int value) const;
390 QString textFromValue(QHexSpinBox* theWrappedObject, int value) const;
386 QValidator::State validate(QHexSpinBox* theWrappedObject, QString& input, int& pos) const;
391 QValidator::State validate(QHexSpinBox* theWrappedObject, QString& input, int& pos) const;
387 int valueFromText(QHexSpinBox* theWrappedObject, const QString& text) const;
392 int valueFromText(QHexSpinBox* theWrappedObject, const QString& text) const;
388 };
393 };
389
394
390
395
391
396
392
397
393
398
394 class PythonQtShell_SocExplorerPlot : public SocExplorerPlot
399 class PythonQtShell_SocExplorerPlot : public SocExplorerPlot
395 {
400 {
396 public:
401 public:
397 PythonQtShell_SocExplorerPlot(QWidget* parent = 0):SocExplorerPlot(parent),_wrapper(NULL) {};
402 PythonQtShell_SocExplorerPlot(QWidget* parent = 0):SocExplorerPlot(parent),_wrapper(NULL) {};
398
403
399 ~PythonQtShell_SocExplorerPlot();
404 ~PythonQtShell_SocExplorerPlot();
400
405
401 virtual void actionEvent(QActionEvent* arg__1);
406 virtual void actionEvent(QActionEvent* arg__1);
402 virtual void changeEvent(QEvent* arg__1);
407 virtual void changeEvent(QEvent* arg__1);
403 virtual void childEvent(QChildEvent* arg__1);
408 virtual void childEvent(QChildEvent* arg__1);
404 virtual void closeEvent(QCloseEvent* arg__1);
409 virtual void closeEvent(QCloseEvent* arg__1);
405 virtual void contextMenuEvent(QContextMenuEvent* arg__1);
410 virtual void contextMenuEvent(QContextMenuEvent* arg__1);
406 virtual void customEvent(QEvent* arg__1);
411 virtual void customEvent(QEvent* arg__1);
407 virtual int devType() const;
412 virtual int devType() const;
408 virtual void dragEnterEvent(QDragEnterEvent* arg__1);
413 virtual void dragEnterEvent(QDragEnterEvent* arg__1);
409 virtual void dragLeaveEvent(QDragLeaveEvent* arg__1);
414 virtual void dragLeaveEvent(QDragLeaveEvent* arg__1);
410 virtual void dragMoveEvent(QDragMoveEvent* arg__1);
415 virtual void dragMoveEvent(QDragMoveEvent* arg__1);
411 virtual void dropEvent(QDropEvent* arg__1);
416 virtual void dropEvent(QDropEvent* arg__1);
412 virtual void enterEvent(QEvent* arg__1);
417 virtual void enterEvent(QEvent* arg__1);
413 virtual bool event(QEvent* arg__1);
418 virtual bool event(QEvent* arg__1);
414 virtual bool eventFilter(QObject* arg__1, QEvent* arg__2);
419 virtual bool eventFilter(QObject* arg__1, QEvent* arg__2);
415 virtual void focusInEvent(QFocusEvent* arg__1);
420 virtual void focusInEvent(QFocusEvent* arg__1);
416 virtual bool focusNextPrevChild(bool next);
421 virtual bool focusNextPrevChild(bool next);
417 virtual void focusOutEvent(QFocusEvent* arg__1);
422 virtual void focusOutEvent(QFocusEvent* arg__1);
418 virtual bool hasHeightForWidth() const;
423 virtual bool hasHeightForWidth() const;
419 virtual int heightForWidth(int arg__1) const;
424 virtual int heightForWidth(int arg__1) const;
420 virtual void hideEvent(QHideEvent* arg__1);
425 virtual void hideEvent(QHideEvent* arg__1);
421 virtual void initPainter(QPainter* painter) const;
426 virtual void initPainter(QPainter* painter) const;
422 virtual void inputMethodEvent(QInputMethodEvent* arg__1);
427 virtual void inputMethodEvent(QInputMethodEvent* arg__1);
423 virtual QVariant inputMethodQuery(Qt::InputMethodQuery arg__1) const;
428 virtual QVariant inputMethodQuery(Qt::InputMethodQuery arg__1) const;
424 virtual void keyPressEvent(QKeyEvent* arg__1);
429 virtual void keyPressEvent(QKeyEvent* arg__1);
425 virtual void keyReleaseEvent(QKeyEvent* arg__1);
430 virtual void keyReleaseEvent(QKeyEvent* arg__1);
426 virtual void leaveEvent(QEvent* arg__1);
431 virtual void leaveEvent(QEvent* arg__1);
427 virtual int metric(QPaintDevice::PaintDeviceMetric arg__1) const;
432 virtual int metric(QPaintDevice::PaintDeviceMetric arg__1) const;
428 virtual QSize minimumSizeHint() const;
433 virtual QSize minimumSizeHint() const;
429 virtual void mouseDoubleClickEvent(QMouseEvent* arg__1);
434 virtual void mouseDoubleClickEvent(QMouseEvent* arg__1);
430 virtual void mouseMoveEvent(QMouseEvent* arg__1);
435 virtual void mouseMoveEvent(QMouseEvent* arg__1);
431 virtual void mousePressEvent(QMouseEvent* arg__1);
436 virtual void mousePressEvent(QMouseEvent* arg__1);
432 virtual void mouseReleaseEvent(QMouseEvent* arg__1);
437 virtual void mouseReleaseEvent(QMouseEvent* arg__1);
433 virtual void moveEvent(QMoveEvent* arg__1);
438 virtual void moveEvent(QMoveEvent* arg__1);
434 virtual bool nativeEvent(const QByteArray& eventType, void* message, long* result);
439 virtual bool nativeEvent(const QByteArray& eventType, void* message, long* result);
435 virtual QPaintEngine* paintEngine() const;
440 virtual QPaintEngine* paintEngine() const;
436 virtual void paintEvent(QPaintEvent* arg__1);
441 virtual void paintEvent(QPaintEvent* arg__1);
437 virtual QPaintDevice* redirected(QPoint* offset) const;
442 virtual QPaintDevice* redirected(QPoint* offset) const;
438 virtual void resizeEvent(QResizeEvent* arg__1);
443 virtual void resizeEvent(QResizeEvent* arg__1);
439 virtual QPainter* sharedPainter() const;
444 virtual QPainter* sharedPainter() const;
440 virtual void showEvent(QShowEvent* arg__1);
445 virtual void showEvent(QShowEvent* arg__1);
441 virtual QSize sizeHint() const;
446 virtual QSize sizeHint() const;
442 virtual void tabletEvent(QTabletEvent* arg__1);
447 virtual void tabletEvent(QTabletEvent* arg__1);
443 virtual void timerEvent(QTimerEvent* arg__1);
448 virtual void timerEvent(QTimerEvent* arg__1);
444 virtual void wheelEvent(QWheelEvent* arg__1);
449 virtual void wheelEvent(QWheelEvent* arg__1);
445
450
446 PythonQtInstanceWrapper* _wrapper;
451 PythonQtInstanceWrapper* _wrapper;
447 };
452 };
448
453
449 class PythonQtPublicPromoter_SocExplorerPlot : public SocExplorerPlot
454 class PythonQtPublicPromoter_SocExplorerPlot : public SocExplorerPlot
450 { public:
455 { public:
451 inline void promoted_keyPressEvent(QKeyEvent* arg__1) { SocExplorerPlot::keyPressEvent(arg__1); }
456 inline void promoted_keyPressEvent(QKeyEvent* arg__1) { SocExplorerPlot::keyPressEvent(arg__1); }
452 inline void promoted_keyReleaseEvent(QKeyEvent* arg__1) { SocExplorerPlot::keyReleaseEvent(arg__1); }
457 inline void promoted_keyReleaseEvent(QKeyEvent* arg__1) { SocExplorerPlot::keyReleaseEvent(arg__1); }
453 inline void promoted_mouseMoveEvent(QMouseEvent* arg__1) { SocExplorerPlot::mouseMoveEvent(arg__1); }
458 inline void promoted_mouseMoveEvent(QMouseEvent* arg__1) { SocExplorerPlot::mouseMoveEvent(arg__1); }
454 inline void promoted_mousePressEvent(QMouseEvent* arg__1) { SocExplorerPlot::mousePressEvent(arg__1); }
459 inline void promoted_mousePressEvent(QMouseEvent* arg__1) { SocExplorerPlot::mousePressEvent(arg__1); }
455 inline void promoted_mouseReleaseEvent(QMouseEvent* arg__1) { SocExplorerPlot::mouseReleaseEvent(arg__1); }
460 inline void promoted_mouseReleaseEvent(QMouseEvent* arg__1) { SocExplorerPlot::mouseReleaseEvent(arg__1); }
456 inline void promoted_wheelEvent(QWheelEvent* arg__1) { SocExplorerPlot::wheelEvent(arg__1); }
461 inline void promoted_wheelEvent(QWheelEvent* arg__1) { SocExplorerPlot::wheelEvent(arg__1); }
457 };
462 };
458
463
459 class PythonQtWrapper_SocExplorerPlot : public QObject
464 class PythonQtWrapper_SocExplorerPlot : public QObject
460 { Q_OBJECT
465 { Q_OBJECT
461 public:
466 public:
462 public slots:
467 public slots:
463 SocExplorerPlot* new_SocExplorerPlot(QWidget* parent = 0);
468 SocExplorerPlot* new_SocExplorerPlot(QWidget* parent = 0);
464 void delete_SocExplorerPlot(SocExplorerPlot* obj) { delete obj; }
469 void delete_SocExplorerPlot(SocExplorerPlot* obj) { delete obj; }
465 int addGraph(SocExplorerPlot* theWrappedObject);
470 int addGraph(SocExplorerPlot* theWrappedObject);
466 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);
467 void addGraphData(SocExplorerPlot* theWrappedObject, int graphIndex, QVariant x, QVariant y);
472 void addGraphData(SocExplorerPlot* theWrappedObject, int graphIndex, QVariant x, QVariant y);
468 QPen getGraphPen(SocExplorerPlot* theWrappedObject, int graphIndex);
473 QPen getGraphPen(SocExplorerPlot* theWrappedObject, int graphIndex);
469 void keyPressEvent(SocExplorerPlot* theWrappedObject, QKeyEvent* arg__1);
474 void keyPressEvent(SocExplorerPlot* theWrappedObject, QKeyEvent* arg__1);
470 void keyReleaseEvent(SocExplorerPlot* theWrappedObject, QKeyEvent* arg__1);
475 void keyReleaseEvent(SocExplorerPlot* theWrappedObject, QKeyEvent* arg__1);
471 void mouseMoveEvent(SocExplorerPlot* theWrappedObject, QMouseEvent* arg__1);
476 void mouseMoveEvent(SocExplorerPlot* theWrappedObject, QMouseEvent* arg__1);
472 void mousePressEvent(SocExplorerPlot* theWrappedObject, QMouseEvent* arg__1);
477 void mousePressEvent(SocExplorerPlot* theWrappedObject, QMouseEvent* arg__1);
473 void mouseReleaseEvent(SocExplorerPlot* theWrappedObject, QMouseEvent* arg__1);
478 void mouseReleaseEvent(SocExplorerPlot* theWrappedObject, QMouseEvent* arg__1);
474 void rescaleAxis(SocExplorerPlot* theWrappedObject);
479 void rescaleAxis(SocExplorerPlot* theWrappedObject);
475 void setAdaptativeSampling(SocExplorerPlot* theWrappedObject, int graphIndex, bool enable);
480 void setAdaptativeSampling(SocExplorerPlot* theWrappedObject, int graphIndex, bool enable);
476 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);
477 void setGraphLineStyle(SocExplorerPlot* theWrappedObject, int graphIndex, QString lineStyle);
482 void setGraphLineStyle(SocExplorerPlot* theWrappedObject, int graphIndex, QString lineStyle);
478 void setGraphName(SocExplorerPlot* theWrappedObject, int graphIndex, QString name);
483 void setGraphName(SocExplorerPlot* theWrappedObject, int graphIndex, QString name);
479 void setGraphPen(SocExplorerPlot* theWrappedObject, int graphIndex, QPen pen);
484 void setGraphPen(SocExplorerPlot* theWrappedObject, int graphIndex, QPen pen);
480 void setGraphScatterStyle(SocExplorerPlot* theWrappedObject, int graphIndex, QString scatterStyle);
485 void setGraphScatterStyle(SocExplorerPlot* theWrappedObject, int graphIndex, QString scatterStyle);
481 void setLegendFont(SocExplorerPlot* theWrappedObject, QFont font);
486 void setLegendFont(SocExplorerPlot* theWrappedObject, QFont font);
482 void setLegendSelectedFont(SocExplorerPlot* theWrappedObject, QFont font);
487 void setLegendSelectedFont(SocExplorerPlot* theWrappedObject, QFont font);
483 void setTitle(SocExplorerPlot* theWrappedObject, QString title);
488 void setTitle(SocExplorerPlot* theWrappedObject, QString title);
484 void setXaxisLabel(SocExplorerPlot* theWrappedObject, QString label);
489 void setXaxisLabel(SocExplorerPlot* theWrappedObject, QString label);
485 void setXaxisRange(SocExplorerPlot* theWrappedObject, double lower, double upper);
490 void setXaxisRange(SocExplorerPlot* theWrappedObject, double lower, double upper);
486 void setYaxisLabel(SocExplorerPlot* theWrappedObject, QString label);
491 void setYaxisLabel(SocExplorerPlot* theWrappedObject, QString label);
487 void setYaxisRange(SocExplorerPlot* theWrappedObject, double lower, double upper);
492 void setYaxisRange(SocExplorerPlot* theWrappedObject, double lower, double upper);
488 void show(SocExplorerPlot* theWrappedObject);
493 void show(SocExplorerPlot* theWrappedObject);
489 void wheelEvent(SocExplorerPlot* theWrappedObject, QWheelEvent* arg__1);
494 void wheelEvent(SocExplorerPlot* theWrappedObject, QWheelEvent* arg__1);
490 };
495 };
491
496
492
497
493
498
494
499
495
500
496 class PythonQtShell_TCP_Terminal_Client : public TCP_Terminal_Client
501 class PythonQtShell_TCP_Terminal_Client : public TCP_Terminal_Client
497 {
502 {
498 public:
503 public:
499 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) {};
500
505
501 ~PythonQtShell_TCP_Terminal_Client();
506 ~PythonQtShell_TCP_Terminal_Client();
502
507
503 virtual void childEvent(QChildEvent* arg__1);
508 virtual void childEvent(QChildEvent* arg__1);
504 virtual void customEvent(QEvent* arg__1);
509 virtual void customEvent(QEvent* arg__1);
505 virtual bool event(QEvent* arg__1);
510 virtual bool event(QEvent* arg__1);
506 virtual bool eventFilter(QObject* arg__1, QEvent* arg__2);
511 virtual bool eventFilter(QObject* arg__1, QEvent* arg__2);
507 virtual void timerEvent(QTimerEvent* arg__1);
512 virtual void timerEvent(QTimerEvent* arg__1);
508
513
509 PythonQtInstanceWrapper* _wrapper;
514 PythonQtInstanceWrapper* _wrapper;
510 };
515 };
511
516
512 class PythonQtWrapper_TCP_Terminal_Client : public QObject
517 class PythonQtWrapper_TCP_Terminal_Client : public QObject
513 { Q_OBJECT
518 { Q_OBJECT
514 public:
519 public:
515 public slots:
520 public slots:
516 TCP_Terminal_Client* new_TCP_Terminal_Client(QObject* parent = 0);
521 TCP_Terminal_Client* new_TCP_Terminal_Client(QObject* parent = 0);
517 void delete_TCP_Terminal_Client(TCP_Terminal_Client* obj) { delete obj; }
522 void delete_TCP_Terminal_Client(TCP_Terminal_Client* obj) { delete obj; }
518 void connectToServer(TCP_Terminal_Client* theWrappedObject);
523 void connectToServer(TCP_Terminal_Client* theWrappedObject);
519 void connectToServer(TCP_Terminal_Client* theWrappedObject, const QString& IP, int port);
524 void connectToServer(TCP_Terminal_Client* theWrappedObject, const QString& IP, int port);
520 bool isConnected(TCP_Terminal_Client* theWrappedObject);
525 bool isConnected(TCP_Terminal_Client* theWrappedObject);
521 void sendText(TCP_Terminal_Client* theWrappedObject, const QString& text);
526 void sendText(TCP_Terminal_Client* theWrappedObject, const QString& text);
522 void startServer(TCP_Terminal_Client* theWrappedObject);
527 void startServer(TCP_Terminal_Client* theWrappedObject);
523 void startServer(TCP_Terminal_Client* theWrappedObject, int port);
528 void startServer(TCP_Terminal_Client* theWrappedObject, int port);
524 };
529 };
525
530
526
531
527
532
528
533
529
534
530 class PythonQtWrapper_XByteArray : public QObject
535 class PythonQtWrapper_XByteArray : public QObject
531 { Q_OBJECT
536 { Q_OBJECT
532 public:
537 public:
533 public slots:
538 public slots:
534 XByteArray* new_XByteArray();
539 XByteArray* new_XByteArray();
535 void delete_XByteArray(XByteArray* obj) { delete obj; }
540 void delete_XByteArray(XByteArray* obj) { delete obj; }
536 int addressOffset(XByteArray* theWrappedObject);
541 int addressOffset(XByteArray* theWrappedObject);
537 int addressWidth(XByteArray* theWrappedObject);
542 int addressWidth(XByteArray* theWrappedObject);
538 QChar asciiChar(XByteArray* theWrappedObject, int index);
543 QChar asciiChar(XByteArray* theWrappedObject, int index);
539 QByteArray* data(XByteArray* theWrappedObject);
544 QByteArray* data(XByteArray* theWrappedObject);
540 bool dataChanged(XByteArray* theWrappedObject, int i);
545 bool dataChanged(XByteArray* theWrappedObject, int i);
541 QByteArray dataChanged(XByteArray* theWrappedObject, int i, int len);
546 QByteArray dataChanged(XByteArray* theWrappedObject, int i, int len);
542 QByteArray* insert(XByteArray* theWrappedObject, int i, char ch);
547 QByteArray* insert(XByteArray* theWrappedObject, int i, char ch);
543 QByteArray* insert(XByteArray* theWrappedObject, int i, const QByteArray& ba);
548 QByteArray* insert(XByteArray* theWrappedObject, int i, const QByteArray& ba);
544 int realAddressNumbers(XByteArray* theWrappedObject);
549 int realAddressNumbers(XByteArray* theWrappedObject);
545 QByteArray* remove(XByteArray* theWrappedObject, int pos, int len);
550 QByteArray* remove(XByteArray* theWrappedObject, int pos, int len);
546 QByteArray* replace(XByteArray* theWrappedObject, int index, char ch);
551 QByteArray* replace(XByteArray* theWrappedObject, int index, char ch);
547 QByteArray* replace(XByteArray* theWrappedObject, int index, const QByteArray& ba);
552 QByteArray* replace(XByteArray* theWrappedObject, int index, const QByteArray& ba);
548 QByteArray* replace(XByteArray* theWrappedObject, int index, int length, const QByteArray& ba);
553 QByteArray* replace(XByteArray* theWrappedObject, int index, int length, const QByteArray& ba);
549 void setAddressOffset(XByteArray* theWrappedObject, int offset);
554 void setAddressOffset(XByteArray* theWrappedObject, int offset);
550 void setAddressWidth(XByteArray* theWrappedObject, int width);
555 void setAddressWidth(XByteArray* theWrappedObject, int width);
551 void setData(XByteArray* theWrappedObject, QByteArray data);
556 void setData(XByteArray* theWrappedObject, QByteArray data);
552 void setDataChanged(XByteArray* theWrappedObject, int i, bool state);
557 void setDataChanged(XByteArray* theWrappedObject, int i, bool state);
553 void setDataChanged(XByteArray* theWrappedObject, int i, const QByteArray& state);
558 void setDataChanged(XByteArray* theWrappedObject, int i, const QByteArray& state);
554 int size(XByteArray* theWrappedObject);
559 int size(XByteArray* theWrappedObject);
555 QString toRedableString(XByteArray* theWrappedObject, int start = 0, int end = -1);
560 QString toRedableString(XByteArray* theWrappedObject, int start = 0, int end = -1);
556 };
561 };
557
562
558
563
559
564
560
565
561
566
562 class PythonQtShell_abstractBinFile : public abstractBinFile
567 class PythonQtShell_abstractBinFile : public abstractBinFile
563 {
568 {
564 public:
569 public:
565 PythonQtShell_abstractBinFile():abstractBinFile(),_wrapper(NULL) {};
570 PythonQtShell_abstractBinFile():abstractBinFile(),_wrapper(NULL) {};
566
571
567 ~PythonQtShell_abstractBinFile();
572 ~PythonQtShell_abstractBinFile();
568
573
569 virtual void childEvent(QChildEvent* arg__1);
574 virtual void childEvent(QChildEvent* arg__1);
570 virtual int closeFile();
575 virtual int closeFile();
571 virtual void customEvent(QEvent* arg__1);
576 virtual void customEvent(QEvent* arg__1);
572 virtual bool event(QEvent* arg__1);
577 virtual bool event(QEvent* arg__1);
573 virtual bool eventFilter(QObject* arg__1, QEvent* arg__2);
578 virtual bool eventFilter(QObject* arg__1, QEvent* arg__2);
574 virtual QList<codeFragment* > getFragments();
579 virtual QList<codeFragment* > getFragments();
575 virtual bool isopened();
580 virtual bool isopened();
576 virtual bool openFile(const QString& File);
581 virtual bool openFile(const QString& File);
577 virtual void timerEvent(QTimerEvent* arg__1);
582 virtual void timerEvent(QTimerEvent* arg__1);
583 virtual bool toBinary(const QString& File);
584 virtual bool toSrec(const QString& File);
578
585
579 PythonQtInstanceWrapper* _wrapper;
586 PythonQtInstanceWrapper* _wrapper;
580 };
587 };
581
588
582 class PythonQtWrapper_abstractBinFile : public QObject
589 class PythonQtWrapper_abstractBinFile : public QObject
583 { Q_OBJECT
590 { Q_OBJECT
584 public:
591 public:
585 public slots:
592 public slots:
586 abstractBinFile* new_abstractBinFile();
593 abstractBinFile* new_abstractBinFile();
587 void delete_abstractBinFile(abstractBinFile* obj) { delete obj; }
594 void delete_abstractBinFile(abstractBinFile* obj) { delete obj; }
588 };
595 };
589
596
590
597
591
598
592
599
593
600
594 class PythonQtShell_binaryFile : public binaryFile
601 class PythonQtShell_abstractBinFileWidget : public abstractBinFileWidget
595 {
602 {
596 public:
603 public:
597 PythonQtShell_binaryFile():binaryFile(),_wrapper(NULL) {};
604 PythonQtShell_abstractBinFileWidget(QWidget* parent = 0):abstractBinFileWidget(parent),_wrapper(NULL) {};
598 PythonQtShell_binaryFile(const QString& File):binaryFile(File),_wrapper(NULL) {};
599 PythonQtShell_binaryFile(const QStringList& Files):binaryFile(Files),_wrapper(NULL) {};
600
601 ~PythonQtShell_binaryFile();
602
603 virtual int closeFile();
604 virtual QList<codeFragment* > getFragments();
605 virtual bool isopened();
606 virtual bool openFile(const QString& File);
607
608 PythonQtInstanceWrapper* _wrapper;
609 };
610
611 class PythonQtPublicPromoter_binaryFile : public binaryFile
612 { public:
613 inline int promoted_closeFile() { return binaryFile::closeFile(); }
614 inline QList<codeFragment* > promoted_getFragments() { return binaryFile::getFragments(); }
615 inline bool promoted_isopened() { return binaryFile::isopened(); }
616 inline bool promoted_openFile(const QString& File) { return binaryFile::openFile(File); }
617 };
618
605
619 class PythonQtWrapper_binaryFile : public QObject
606 ~PythonQtShell_abstractBinFileWidget();
620 { Q_OBJECT
621 public:
622 public slots:
623 binaryFile* new_binaryFile();
624 binaryFile* new_binaryFile(const QString& File);
625 binaryFile* new_binaryFile(const QStringList& Files);
626 void delete_binaryFile(binaryFile* obj) { delete obj; }
627 int closeFile(binaryFile* theWrappedObject);
628 int getFragmentAddress(binaryFile* theWrappedObject, int index);
629 bool getFragmentData(binaryFile* theWrappedObject, int index, char** buffer);
630 QString getFragmentHeader(binaryFile* theWrappedObject, int index);
631 int getFragmentSize(binaryFile* theWrappedObject, int index);
632 QList<codeFragment* > getFragments(binaryFile* theWrappedObject);
633 int getFragmentsCount(binaryFile* theWrappedObject);
634 bool isopened(binaryFile* theWrappedObject);
635 bool openFile(binaryFile* theWrappedObject, const QString& File);
636 bool openFiles(binaryFile* theWrappedObject, const QStringList& Files);
637 };
638
639
640
641
642
643 class PythonQtShell_binaryFileWidget : public binaryFileWidget
644 {
645 public:
646 PythonQtShell_binaryFileWidget(QWidget* parent = 0):binaryFileWidget(parent),_wrapper(NULL) {};
647
648 ~PythonQtShell_binaryFileWidget();
649
607
650 virtual void actionEvent(QActionEvent* arg__1);
608 virtual void actionEvent(QActionEvent* arg__1);
651 virtual void changeEvent(QEvent* arg__1);
609 virtual void changeEvent(QEvent* arg__1);
652 virtual void childEvent(QChildEvent* arg__1);
610 virtual void childEvent(QChildEvent* arg__1);
653 virtual void closeEvent(QCloseEvent* arg__1);
611 virtual void closeEvent(QCloseEvent* arg__1);
654 virtual void contextMenuEvent(QContextMenuEvent* arg__1);
612 virtual void contextMenuEvent(QContextMenuEvent* arg__1);
655 virtual void customEvent(QEvent* arg__1);
613 virtual void customEvent(QEvent* arg__1);
656 virtual int devType() const;
614 virtual int devType() const;
657 virtual void dragEnterEvent(QDragEnterEvent* arg__1);
615 virtual void dragEnterEvent(QDragEnterEvent* arg__1);
658 virtual void dragLeaveEvent(QDragLeaveEvent* arg__1);
616 virtual void dragLeaveEvent(QDragLeaveEvent* arg__1);
659 virtual void dragMoveEvent(QDragMoveEvent* arg__1);
617 virtual void dragMoveEvent(QDragMoveEvent* arg__1);
660 virtual void dropEvent(QDropEvent* arg__1);
618 virtual void dropEvent(QDropEvent* arg__1);
661 virtual void enterEvent(QEvent* arg__1);
619 virtual void enterEvent(QEvent* arg__1);
662 virtual bool event(QEvent* arg__1);
620 virtual bool event(QEvent* arg__1);
663 virtual bool eventFilter(QObject* arg__1, QEvent* arg__2);
621 virtual bool eventFilter(QObject* arg__1, QEvent* arg__2);
664 virtual void focusInEvent(QFocusEvent* arg__1);
622 virtual void focusInEvent(QFocusEvent* arg__1);
665 virtual bool focusNextPrevChild(bool next);
623 virtual bool focusNextPrevChild(bool next);
666 virtual void focusOutEvent(QFocusEvent* arg__1);
624 virtual void focusOutEvent(QFocusEvent* arg__1);
667 virtual bool hasHeightForWidth() const;
625 virtual bool hasHeightForWidth() const;
668 virtual int heightForWidth(int arg__1) const;
626 virtual int heightForWidth(int arg__1) const;
669 virtual void hideEvent(QHideEvent* arg__1);
627 virtual void hideEvent(QHideEvent* arg__1);
670 virtual void initPainter(QPainter* painter) const;
628 virtual void initPainter(QPainter* painter) const;
671 virtual void inputMethodEvent(QInputMethodEvent* arg__1);
629 virtual void inputMethodEvent(QInputMethodEvent* arg__1);
672 virtual QVariant inputMethodQuery(Qt::InputMethodQuery arg__1) const;
630 virtual QVariant inputMethodQuery(Qt::InputMethodQuery arg__1) const;
673 virtual void keyPressEvent(QKeyEvent* arg__1);
631 virtual void keyPressEvent(QKeyEvent* arg__1);
674 virtual void keyReleaseEvent(QKeyEvent* arg__1);
632 virtual void keyReleaseEvent(QKeyEvent* arg__1);
675 virtual void leaveEvent(QEvent* arg__1);
633 virtual void leaveEvent(QEvent* arg__1);
676 virtual int metric(QPaintDevice::PaintDeviceMetric arg__1) const;
634 virtual int metric(QPaintDevice::PaintDeviceMetric arg__1) const;
677 virtual QSize minimumSizeHint() const;
635 virtual QSize minimumSizeHint() const;
678 virtual void mouseDoubleClickEvent(QMouseEvent* arg__1);
636 virtual void mouseDoubleClickEvent(QMouseEvent* arg__1);
679 virtual void mouseMoveEvent(QMouseEvent* arg__1);
637 virtual void mouseMoveEvent(QMouseEvent* arg__1);
680 virtual void mousePressEvent(QMouseEvent* arg__1);
638 virtual void mousePressEvent(QMouseEvent* arg__1);
681 virtual void mouseReleaseEvent(QMouseEvent* arg__1);
639 virtual void mouseReleaseEvent(QMouseEvent* arg__1);
682 virtual void moveEvent(QMoveEvent* arg__1);
640 virtual void moveEvent(QMoveEvent* arg__1);
683 virtual bool nativeEvent(const QByteArray& eventType, void* message, long* result);
641 virtual bool nativeEvent(const QByteArray& eventType, void* message, long* result);
684 virtual QPaintEngine* paintEngine() const;
642 virtual QPaintEngine* paintEngine() const;
685 virtual void paintEvent(QPaintEvent* arg__1);
643 virtual void paintEvent(QPaintEvent* arg__1);
686 virtual QPaintDevice* redirected(QPoint* offset) const;
644 virtual QPaintDevice* redirected(QPoint* offset) const;
645 virtual void reloadFile();
687 virtual void resizeEvent(QResizeEvent* arg__1);
646 virtual void resizeEvent(QResizeEvent* arg__1);
647 virtual void setFile(abstractBinFile* file);
688 virtual QPainter* sharedPainter() const;
648 virtual QPainter* sharedPainter() const;
689 virtual void showEvent(QShowEvent* arg__1);
649 virtual void showEvent(QShowEvent* arg__1);
690 virtual QSize sizeHint() const;
650 virtual QSize sizeHint() const;
691 virtual void tabletEvent(QTabletEvent* arg__1);
651 virtual void tabletEvent(QTabletEvent* arg__1);
692 virtual void timerEvent(QTimerEvent* arg__1);
652 virtual void timerEvent(QTimerEvent* arg__1);
693 virtual void wheelEvent(QWheelEvent* arg__1);
653 virtual void wheelEvent(QWheelEvent* arg__1);
694
654
695 PythonQtInstanceWrapper* _wrapper;
655 PythonQtInstanceWrapper* _wrapper;
696 };
656 };
697
657
658 class PythonQtWrapper_abstractBinFileWidget : public QObject
659 { Q_OBJECT
660 public:
661 public slots:
662 abstractBinFileWidget* new_abstractBinFileWidget(QWidget* parent = 0);
663 void delete_abstractBinFileWidget(abstractBinFileWidget* obj) { delete obj; }
664 };
665
666
667
668
669
670 class PythonQtShell_binaryFile : public binaryFile
671 {
672 public:
673 PythonQtShell_binaryFile():binaryFile(),_wrapper(NULL) {};
674 PythonQtShell_binaryFile(const QString& File):binaryFile(File),_wrapper(NULL) {};
675 PythonQtShell_binaryFile(const QStringList& Files):binaryFile(Files),_wrapper(NULL) {};
676
677 ~PythonQtShell_binaryFile();
678
679 virtual int closeFile();
680 virtual QList<codeFragment* > getFragments();
681 virtual bool isopened();
682 virtual bool openFile(const QString& File);
683 virtual bool toBinary(const QString& fileName);
684 virtual bool toSrec(const QString& fileName);
685
686 PythonQtInstanceWrapper* _wrapper;
687 };
688
689 class PythonQtPublicPromoter_binaryFile : public binaryFile
690 { public:
691 inline int promoted_closeFile() { return binaryFile::closeFile(); }
692 inline QList<codeFragment* > promoted_getFragments() { return binaryFile::getFragments(); }
693 inline bool promoted_isopened() { return binaryFile::isopened(); }
694 inline bool promoted_openFile(const QString& File) { return binaryFile::openFile(File); }
695 inline bool promoted_toBinary(const QString& fileName) { return binaryFile::toBinary(fileName); }
696 inline bool promoted_toSrec(const QString& fileName) { return binaryFile::toSrec(fileName); }
697 };
698
699 class PythonQtWrapper_binaryFile : public QObject
700 { Q_OBJECT
701 public:
702 public slots:
703 binaryFile* new_binaryFile();
704 binaryFile* new_binaryFile(const QString& File);
705 binaryFile* new_binaryFile(const QStringList& Files);
706 void delete_binaryFile(binaryFile* obj) { delete obj; }
707 int closeFile(binaryFile* theWrappedObject);
708 codeFragment* getFragment(binaryFile* theWrappedObject, int index);
709 int getFragmentAddress(binaryFile* theWrappedObject, int index);
710 bool getFragmentData(binaryFile* theWrappedObject, int index, char** buffer);
711 QString getFragmentHeader(binaryFile* theWrappedObject, int index);
712 int getFragmentSize(binaryFile* theWrappedObject, int index);
713 QList<codeFragment* > getFragments(binaryFile* theWrappedObject);
714 int getFragmentsCount(binaryFile* theWrappedObject);
715 bool isopened(binaryFile* theWrappedObject);
716 bool openFile(binaryFile* theWrappedObject, const QString& File);
717 bool openFiles(binaryFile* theWrappedObject, const QStringList& Files);
718 bool static_binaryFile_toBinary(QList<codeFragment* > fragments, const QString& File);
719 bool toBinary(binaryFile* theWrappedObject, const QString& fileName);
720 bool toSrec(binaryFile* theWrappedObject, const QString& fileName);
721 };
722
723
724
725
726
727 class PythonQtShell_binaryFileWidget : public binaryFileWidget
728 {
729 public:
730 PythonQtShell_binaryFileWidget(QWidget* parent = 0):binaryFileWidget(parent),_wrapper(NULL) {};
731
732 ~PythonQtShell_binaryFileWidget();
733
734 virtual void reloadFile();
735 virtual void setFile(abstractBinFile* file);
736
737 PythonQtInstanceWrapper* _wrapper;
738 };
739
740 class PythonQtPublicPromoter_binaryFileWidget : public binaryFileWidget
741 { public:
742 inline void promoted_reloadFile() { binaryFileWidget::reloadFile(); }
743 inline void promoted_setFile(abstractBinFile* file) { binaryFileWidget::setFile(file); }
744 };
745
698 class PythonQtWrapper_binaryFileWidget : public QObject
746 class PythonQtWrapper_binaryFileWidget : public QObject
699 { Q_OBJECT
747 { Q_OBJECT
700 public:
748 public:
701 public slots:
749 public slots:
702 binaryFileWidget* new_binaryFileWidget(QWidget* parent = 0);
750 binaryFileWidget* new_binaryFileWidget(QWidget* parent = 0);
703 void delete_binaryFileWidget(binaryFileWidget* obj) { delete obj; }
751 void delete_binaryFileWidget(binaryFileWidget* obj) { delete obj; }
752 void reloadFile(binaryFileWidget* theWrappedObject);
753 void setFile(binaryFileWidget* theWrappedObject, abstractBinFile* file);
704 };
754 };
705
755
706
756
707
757
708
758
709
759
710 class PythonQtShell_codeFragment : public codeFragment
760 class PythonQtShell_codeFragment : public codeFragment
711 {
761 {
712 public:
762 public:
713 PythonQtShell_codeFragment():codeFragment(),_wrapper(NULL) {};
763 PythonQtShell_codeFragment():codeFragment(),_wrapper(NULL) {};
714 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) {};
715
765
716 ~PythonQtShell_codeFragment();
766 ~PythonQtShell_codeFragment();
717
767
718
768
719 PythonQtInstanceWrapper* _wrapper;
769 PythonQtInstanceWrapper* _wrapper;
720 };
770 };
721
771
722 class PythonQtWrapper_codeFragment : public QObject
772 class PythonQtWrapper_codeFragment : public QObject
723 { Q_OBJECT
773 { Q_OBJECT
724 public:
774 public:
725 public slots:
775 public slots:
726 codeFragment* new_codeFragment();
776 codeFragment* new_codeFragment();
727 codeFragment* new_codeFragment(char* data, quint64 size, quint64 address);
777 codeFragment* new_codeFragment(char* data, quint64 size, quint64 address);
728 void delete_codeFragment(codeFragment* obj) { delete obj; }
778 void delete_codeFragment(codeFragment* obj) { delete obj; }
729 void py_set_size(codeFragment* theWrappedObject, quint64 size){ theWrappedObject->size = size; }
779 void py_set_size(codeFragment* theWrappedObject, quint64 size){ theWrappedObject->size = size; }
730 quint64 py_get_size(codeFragment* theWrappedObject){ return theWrappedObject->size; }
780 quint64 py_get_size(codeFragment* theWrappedObject){ return theWrappedObject->size; }
731 void py_set_header(codeFragment* theWrappedObject, QString header){ theWrappedObject->header = header; }
781 void py_set_header(codeFragment* theWrappedObject, QString header){ theWrappedObject->header = header; }
732 QString py_get_header(codeFragment* theWrappedObject){ return theWrappedObject->header; }
782 QString py_get_header(codeFragment* theWrappedObject){ return theWrappedObject->header; }
733 void py_set_data(codeFragment* theWrappedObject, char* data){ theWrappedObject->data = data; }
783 void py_set_data(codeFragment* theWrappedObject, char* data){ theWrappedObject->data = data; }
734 char* py_get_data(codeFragment* theWrappedObject){ return theWrappedObject->data; }
784 char* py_get_data(codeFragment* theWrappedObject){ return theWrappedObject->data; }
735 void py_set_address(codeFragment* theWrappedObject, quint64 address){ theWrappedObject->address = address; }
785 void py_set_address(codeFragment* theWrappedObject, quint64 address){ theWrappedObject->address = address; }
736 quint64 py_get_address(codeFragment* theWrappedObject){ return theWrappedObject->address; }
786 quint64 py_get_address(codeFragment* theWrappedObject){ return theWrappedObject->address; }
737 };
787 };
738
788
739
789
740
790
741
791
742
792
743 class PythonQtShell_elfFileWidget : public elfFileWidget
793 class PythonQtShell_elfFileWidget : public elfFileWidget
744 {
794 {
745 public:
795 public:
746 PythonQtShell_elfFileWidget(QWidget* parent = 0):elfFileWidget(parent),_wrapper(NULL) {};
796 PythonQtShell_elfFileWidget(QWidget* parent = 0):elfFileWidget(parent),_wrapper(NULL) {};
747
797
748 ~PythonQtShell_elfFileWidget();
798 ~PythonQtShell_elfFileWidget();
749
799
750 virtual void actionEvent(QActionEvent* arg__1);
800 virtual void reloadFile();
751 virtual void changeEvent(QEvent* arg__1);
801 virtual void setFile(abstractBinFile* file);
752 virtual void childEvent(QChildEvent* arg__1);
753 virtual void closeEvent(QCloseEvent* arg__1);
754 virtual void contextMenuEvent(QContextMenuEvent* arg__1);
755 virtual void customEvent(QEvent* arg__1);
756 virtual int devType() const;
757 virtual void dragEnterEvent(QDragEnterEvent* arg__1);
758 virtual void dragLeaveEvent(QDragLeaveEvent* arg__1);
759 virtual void dragMoveEvent(QDragMoveEvent* arg__1);
760 virtual void dropEvent(QDropEvent* arg__1);
761 virtual void enterEvent(QEvent* arg__1);
762 virtual bool event(QEvent* arg__1);
763 virtual bool eventFilter(QObject* arg__1, QEvent* arg__2);
764 virtual void focusInEvent(QFocusEvent* arg__1);
765 virtual bool focusNextPrevChild(bool next);
766 virtual void focusOutEvent(QFocusEvent* arg__1);
767 virtual bool hasHeightForWidth() const;
768 virtual int heightForWidth(int arg__1) const;
769 virtual void hideEvent(QHideEvent* arg__1);
770 virtual void initPainter(QPainter* painter) const;
771 virtual void inputMethodEvent(QInputMethodEvent* arg__1);
772 virtual QVariant inputMethodQuery(Qt::InputMethodQuery arg__1) const;
773 virtual void keyPressEvent(QKeyEvent* arg__1);
774 virtual void keyReleaseEvent(QKeyEvent* arg__1);
775 virtual void leaveEvent(QEvent* arg__1);
776 virtual int metric(QPaintDevice::PaintDeviceMetric arg__1) const;
777 virtual QSize minimumSizeHint() const;
778 virtual void mouseDoubleClickEvent(QMouseEvent* arg__1);
779 virtual void mouseMoveEvent(QMouseEvent* arg__1);
780 virtual void mousePressEvent(QMouseEvent* arg__1);
781 virtual void mouseReleaseEvent(QMouseEvent* arg__1);
782 virtual void moveEvent(QMoveEvent* arg__1);
783 virtual bool nativeEvent(const QByteArray& eventType, void* message, long* result);
784 virtual QPaintEngine* paintEngine() const;
785 virtual void paintEvent(QPaintEvent* arg__1);
786 virtual QPaintDevice* redirected(QPoint* offset) const;
787 virtual void resizeEvent(QResizeEvent* arg__1);
788 virtual QPainter* sharedPainter() const;
789 virtual void showEvent(QShowEvent* arg__1);
790 virtual QSize sizeHint() const;
791 virtual void tabletEvent(QTabletEvent* arg__1);
792 virtual void timerEvent(QTimerEvent* arg__1);
793 virtual void wheelEvent(QWheelEvent* arg__1);
794
802
795 PythonQtInstanceWrapper* _wrapper;
803 PythonQtInstanceWrapper* _wrapper;
796 };
804 };
797
805
806 class PythonQtPublicPromoter_elfFileWidget : public elfFileWidget
807 { public:
808 inline void promoted_reloadFile() { elfFileWidget::reloadFile(); }
809 };
810
798 class PythonQtWrapper_elfFileWidget : public QObject
811 class PythonQtWrapper_elfFileWidget : public QObject
799 { Q_OBJECT
812 { Q_OBJECT
800 public:
813 public:
801 public slots:
814 public slots:
802 elfFileWidget* new_elfFileWidget(QWidget* parent = 0);
815 elfFileWidget* new_elfFileWidget(QWidget* parent = 0);
803 void delete_elfFileWidget(elfFileWidget* obj) { delete obj; }
816 void delete_elfFileWidget(elfFileWidget* obj) { delete obj; }
817 void reloadFile(elfFileWidget* theWrappedObject);
804 };
818 };
805
819
806
820
807
821
808
822
809
823
810 class PythonQtShell_elfInfoWdgt : public elfInfoWdgt
824 class PythonQtShell_elfInfoWdgt : public elfInfoWdgt
811 {
825 {
812 public:
826 public:
813 PythonQtShell_elfInfoWdgt(QWidget* parent = 0):elfInfoWdgt(parent),_wrapper(NULL) {};
827 PythonQtShell_elfInfoWdgt(QWidget* parent = 0):elfInfoWdgt(parent),_wrapper(NULL) {};
814
828
815 ~PythonQtShell_elfInfoWdgt();
829 ~PythonQtShell_elfInfoWdgt();
816
830
817 virtual void actionEvent(QActionEvent* arg__1);
831 virtual void actionEvent(QActionEvent* arg__1);
818 virtual void changeEvent(QEvent* arg__1);
832 virtual void changeEvent(QEvent* arg__1);
819 virtual void childEvent(QChildEvent* arg__1);
833 virtual void childEvent(QChildEvent* arg__1);
820 virtual void closeEvent(QCloseEvent* arg__1);
834 virtual void closeEvent(QCloseEvent* arg__1);
821 virtual void contextMenuEvent(QContextMenuEvent* arg__1);
835 virtual void contextMenuEvent(QContextMenuEvent* arg__1);
822 virtual void customEvent(QEvent* arg__1);
836 virtual void customEvent(QEvent* arg__1);
823 virtual int devType() const;
837 virtual int devType() const;
824 virtual void dragEnterEvent(QDragEnterEvent* arg__1);
838 virtual void dragEnterEvent(QDragEnterEvent* arg__1);
825 virtual void dragLeaveEvent(QDragLeaveEvent* arg__1);
839 virtual void dragLeaveEvent(QDragLeaveEvent* arg__1);
826 virtual void dragMoveEvent(QDragMoveEvent* arg__1);
840 virtual void dragMoveEvent(QDragMoveEvent* arg__1);
827 virtual void dropEvent(QDropEvent* arg__1);
841 virtual void dropEvent(QDropEvent* arg__1);
828 virtual void enterEvent(QEvent* arg__1);
842 virtual void enterEvent(QEvent* arg__1);
829 virtual bool event(QEvent* arg__1);
843 virtual bool event(QEvent* arg__1);
830 virtual bool eventFilter(QObject* arg__1, QEvent* arg__2);
844 virtual bool eventFilter(QObject* arg__1, QEvent* arg__2);
831 virtual void focusInEvent(QFocusEvent* arg__1);
845 virtual void focusInEvent(QFocusEvent* arg__1);
832 virtual bool focusNextPrevChild(bool next);
846 virtual bool focusNextPrevChild(bool next);
833 virtual void focusOutEvent(QFocusEvent* arg__1);
847 virtual void focusOutEvent(QFocusEvent* arg__1);
834 virtual bool hasHeightForWidth() const;
848 virtual bool hasHeightForWidth() const;
835 virtual int heightForWidth(int arg__1) const;
849 virtual int heightForWidth(int arg__1) const;
836 virtual void hideEvent(QHideEvent* arg__1);
850 virtual void hideEvent(QHideEvent* arg__1);
837 virtual void initPainter(QPainter* painter) const;
851 virtual void initPainter(QPainter* painter) const;
838 virtual void inputMethodEvent(QInputMethodEvent* arg__1);
852 virtual void inputMethodEvent(QInputMethodEvent* arg__1);
839 virtual QVariant inputMethodQuery(Qt::InputMethodQuery arg__1) const;
853 virtual QVariant inputMethodQuery(Qt::InputMethodQuery arg__1) const;
840 virtual void keyPressEvent(QKeyEvent* arg__1);
854 virtual void keyPressEvent(QKeyEvent* arg__1);
841 virtual void keyReleaseEvent(QKeyEvent* arg__1);
855 virtual void keyReleaseEvent(QKeyEvent* arg__1);
842 virtual void leaveEvent(QEvent* arg__1);
856 virtual void leaveEvent(QEvent* arg__1);
843 virtual int metric(QPaintDevice::PaintDeviceMetric arg__1) const;
857 virtual int metric(QPaintDevice::PaintDeviceMetric arg__1) const;
844 virtual QSize minimumSizeHint() const;
858 virtual QSize minimumSizeHint() const;
845 virtual void mouseDoubleClickEvent(QMouseEvent* arg__1);
859 virtual void mouseDoubleClickEvent(QMouseEvent* arg__1);
846 virtual void mouseMoveEvent(QMouseEvent* arg__1);
860 virtual void mouseMoveEvent(QMouseEvent* arg__1);
847 virtual void mousePressEvent(QMouseEvent* arg__1);
861 virtual void mousePressEvent(QMouseEvent* arg__1);
848 virtual void mouseReleaseEvent(QMouseEvent* arg__1);
862 virtual void mouseReleaseEvent(QMouseEvent* arg__1);
849 virtual void moveEvent(QMoveEvent* arg__1);
863 virtual void moveEvent(QMoveEvent* arg__1);
850 virtual bool nativeEvent(const QByteArray& eventType, void* message, long* result);
864 virtual bool nativeEvent(const QByteArray& eventType, void* message, long* result);
851 virtual QPaintEngine* paintEngine() const;
865 virtual QPaintEngine* paintEngine() const;
852 virtual void paintEvent(QPaintEvent* arg__1);
866 virtual void paintEvent(QPaintEvent* arg__1);
853 virtual QPaintDevice* redirected(QPoint* offset) const;
867 virtual QPaintDevice* redirected(QPoint* offset) const;
854 virtual void resizeEvent(QResizeEvent* arg__1);
868 virtual void resizeEvent(QResizeEvent* arg__1);
855 virtual QPainter* sharedPainter() const;
869 virtual QPainter* sharedPainter() const;
856 virtual void showEvent(QShowEvent* arg__1);
870 virtual void showEvent(QShowEvent* arg__1);
857 virtual QSize sizeHint() const;
871 virtual QSize sizeHint() const;
858 virtual void tabletEvent(QTabletEvent* arg__1);
872 virtual void tabletEvent(QTabletEvent* arg__1);
859 virtual void timerEvent(QTimerEvent* arg__1);
873 virtual void timerEvent(QTimerEvent* arg__1);
860 virtual void wheelEvent(QWheelEvent* arg__1);
874 virtual void wheelEvent(QWheelEvent* arg__1);
861
875
862 PythonQtInstanceWrapper* _wrapper;
876 PythonQtInstanceWrapper* _wrapper;
863 };
877 };
864
878
865 class PythonQtWrapper_elfInfoWdgt : public QObject
879 class PythonQtWrapper_elfInfoWdgt : public QObject
866 { Q_OBJECT
880 { Q_OBJECT
867 public:
881 public:
868 public slots:
882 public slots:
869 elfInfoWdgt* new_elfInfoWdgt(QWidget* parent = 0);
883 elfInfoWdgt* new_elfInfoWdgt(QWidget* parent = 0);
870 void delete_elfInfoWdgt(elfInfoWdgt* obj) { delete obj; }
884 void delete_elfInfoWdgt(elfInfoWdgt* obj) { delete obj; }
871 };
885 };
872
886
873
887
874
888
875
889
876
890
877 class PythonQtWrapper_elfparser : public QObject
891 class PythonQtWrapper_elfparser : public QObject
878 { Q_OBJECT
892 { Q_OBJECT
879 public:
893 public:
880 public slots:
894 public slots:
881 elfparser* new_elfparser();
895 elfparser* new_elfparser();
882 void delete_elfparser(elfparser* obj) { delete obj; }
896 void delete_elfparser(elfparser* obj) { delete obj; }
883 int closeFile(elfparser* theWrappedObject);
897 int closeFile(elfparser* theWrappedObject);
884 QString getABI(elfparser* theWrappedObject);
898 QString getABI(elfparser* theWrappedObject);
885 QString getArchitecture(elfparser* theWrappedObject);
899 QString getArchitecture(elfparser* theWrappedObject);
886 QString getClass(elfparser* theWrappedObject);
900 QString getClass(elfparser* theWrappedObject);
887 QString getEndianness(elfparser* theWrappedObject);
901 QString getEndianness(elfparser* theWrappedObject);
888 qint64 getEntryPointAddress(elfparser* theWrappedObject);
902 qint64 getEntryPointAddress(elfparser* theWrappedObject);
889 bool getSectionData(elfparser* theWrappedObject, int index, char** buffer);
903 bool getSectionData(elfparser* theWrappedObject, int index, char** buffer);
890 qint64 getSectionDatasz(elfparser* theWrappedObject, int index);
904 qint64 getSectionDatasz(elfparser* theWrappedObject, int index);
891 qint64 getSectionMemsz(elfparser* theWrappedObject, int index);
905 qint64 getSectionMemsz(elfparser* theWrappedObject, int index);
892 QString getSectionName(elfparser* theWrappedObject, int index);
906 QString getSectionName(elfparser* theWrappedObject, int index);
893 qint64 getSectionPaddr(elfparser* theWrappedObject, int index);
907 qint64 getSectionPaddr(elfparser* theWrappedObject, int index);
894 QString getSectionType(elfparser* theWrappedObject, int index);
908 QString getSectionType(elfparser* theWrappedObject, int index);
895 int getSectioncount(elfparser* theWrappedObject);
909 int getSectioncount(elfparser* theWrappedObject);
896 qint64 getSegmentFilesz(elfparser* theWrappedObject, int index);
910 qint64 getSegmentFilesz(elfparser* theWrappedObject, int index);
897 QString getSegmentFlags(elfparser* theWrappedObject, int index);
911 QString getSegmentFlags(elfparser* theWrappedObject, int index);
898 qint64 getSegmentMemsz(elfparser* theWrappedObject, int index);
912 qint64 getSegmentMemsz(elfparser* theWrappedObject, int index);
899 qint64 getSegmentOffset(elfparser* theWrappedObject, int index);
913 qint64 getSegmentOffset(elfparser* theWrappedObject, int index);
900 qint64 getSegmentPaddr(elfparser* theWrappedObject, int index);
914 qint64 getSegmentPaddr(elfparser* theWrappedObject, int index);
901 QString getSegmentType(elfparser* theWrappedObject, int index);
915 QString getSegmentType(elfparser* theWrappedObject, int index);
902 qint64 getSegmentVaddr(elfparser* theWrappedObject, int index);
916 qint64 getSegmentVaddr(elfparser* theWrappedObject, int index);
903 int getSegmentcount(elfparser* theWrappedObject);
917 int getSegmentcount(elfparser* theWrappedObject);
904 QString getType(elfparser* theWrappedObject);
918 QString getType(elfparser* theWrappedObject);
905 qint64 getVersion(elfparser* theWrappedObject);
919 qint64 getVersion(elfparser* theWrappedObject);
906 bool static_elfparser_isElf(const QString& File);
920 bool static_elfparser_isElf(const QString& File);
907 bool iself(elfparser* theWrappedObject);
921 bool iself(elfparser* theWrappedObject);
908 bool isopened(elfparser* theWrappedObject);
922 bool isopened(elfparser* theWrappedObject);
909 int setFilename(elfparser* theWrappedObject, const QString& name);
923 int setFilename(elfparser* theWrappedObject, const QString& name);
910 };
924 };
911
925
912
926
913
927
914
928
915
929
916 class PythonQtShell_srecFile : public srecFile
930 class PythonQtShell_srecFile : public srecFile
917 {
931 {
918 public:
932 public:
919 PythonQtShell_srecFile():srecFile(),_wrapper(NULL) {};
933 PythonQtShell_srecFile():srecFile(),_wrapper(NULL) {};
920 PythonQtShell_srecFile(const QString& File):srecFile(File),_wrapper(NULL) {};
934 PythonQtShell_srecFile(const QString& File):srecFile(File),_wrapper(NULL) {};
921 PythonQtShell_srecFile(const QStringList& Files):srecFile(Files),_wrapper(NULL) {};
935 PythonQtShell_srecFile(const QStringList& Files):srecFile(Files),_wrapper(NULL) {};
922
936
923 ~PythonQtShell_srecFile();
937 ~PythonQtShell_srecFile();
924
938
925 virtual int closeFile();
939 virtual int closeFile();
926 virtual QList<codeFragment* > getFragments();
940 virtual QList<codeFragment* > getFragments();
927 virtual bool isopened();
941 virtual bool isopened();
928 virtual bool openFile(const QString& File);
942 virtual bool openFile(const QString& File);
943 virtual bool toBinary(const QString& File);
944 virtual bool toSrec(const QString& File);
929
945
930 PythonQtInstanceWrapper* _wrapper;
946 PythonQtInstanceWrapper* _wrapper;
931 };
947 };
932
948
933 class PythonQtPublicPromoter_srecFile : public srecFile
949 class PythonQtPublicPromoter_srecFile : public srecFile
934 { public:
950 { public:
935 inline int promoted_closeFile() { return srecFile::closeFile(); }
951 inline int promoted_closeFile() { return srecFile::closeFile(); }
936 inline QList<codeFragment* > promoted_getFragments() { return srecFile::getFragments(); }
952 inline QList<codeFragment* > promoted_getFragments() { return srecFile::getFragments(); }
937 inline bool promoted_isopened() { return srecFile::isopened(); }
953 inline bool promoted_isopened() { return srecFile::isopened(); }
938 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); }
956 inline bool promoted_toSrec(const QString& File) { return srecFile::toSrec(File); }
939 };
957 };
940
958
941 class PythonQtWrapper_srecFile : public QObject
959 class PythonQtWrapper_srecFile : public QObject
942 { Q_OBJECT
960 { Q_OBJECT
943 public:
961 public:
944 public slots:
962 public slots:
945 srecFile* new_srecFile();
963 srecFile* new_srecFile();
946 srecFile* new_srecFile(const QString& File);
964 srecFile* new_srecFile(const QString& File);
947 srecFile* new_srecFile(const QStringList& Files);
965 srecFile* new_srecFile(const QStringList& Files);
948 void delete_srecFile(srecFile* obj) { delete obj; }
966 void delete_srecFile(srecFile* obj) { delete obj; }
949 int closeFile(srecFile* theWrappedObject);
967 int closeFile(srecFile* theWrappedObject);
968 codeFragment* getFragment(srecFile* theWrappedObject, int index);
950 int getFragmentAddress(srecFile* theWrappedObject, int index);
969 int getFragmentAddress(srecFile* theWrappedObject, int index);
951 bool getFragmentData(srecFile* theWrappedObject, int index, char** buffer);
970 bool getFragmentData(srecFile* theWrappedObject, int index, char** buffer);
952 QString getFragmentHeader(srecFile* theWrappedObject, int index);
971 QString getFragmentHeader(srecFile* theWrappedObject, int index);
953 int getFragmentSize(srecFile* theWrappedObject, int index);
972 int getFragmentSize(srecFile* theWrappedObject, int index);
954 QList<codeFragment* > getFragments(srecFile* theWrappedObject);
973 QList<codeFragment* > getFragments(srecFile* theWrappedObject);
955 int getFragmentsCount(srecFile* theWrappedObject);
974 int getFragmentsCount(srecFile* theWrappedObject);
956 bool isSREC(srecFile* theWrappedObject);
975 bool isSREC(srecFile* theWrappedObject);
957 bool static_srecFile_isSREC(const QString& File);
976 bool static_srecFile_isSREC(const QString& File);
958 bool isopened(srecFile* theWrappedObject);
977 bool isopened(srecFile* theWrappedObject);
959 int lineCount(srecFile* theWrappedObject);
978 int lineCount(srecFile* theWrappedObject);
960 bool openFile(srecFile* theWrappedObject, const QString& File);
979 bool openFile(srecFile* theWrappedObject, const QString& File);
961 bool openFiles(srecFile* theWrappedObject, const QStringList& Files);
980 bool openFiles(srecFile* theWrappedObject, const QStringList& Files);
981 bool toBinary(srecFile* theWrappedObject, const QString& File);
962 bool static_srecFile_toSrec(QList<codeFragment* > fragments, const QString& File);
982 bool static_srecFile_toSrec(QList<codeFragment* > fragments, const QString& File);
983 bool toSrec(srecFile* theWrappedObject, const QString& File);
963 };
984 };
964
985
965
986
966
987
967
988
968
989
969 class PythonQtShell_srecFileWidget : public srecFileWidget
990 class PythonQtShell_srecFileWidget : public srecFileWidget
970 {
991 {
971 public:
992 public:
972 PythonQtShell_srecFileWidget(QWidget* parent = 0):srecFileWidget(parent),_wrapper(NULL) {};
993 PythonQtShell_srecFileWidget(QWidget* parent = 0):srecFileWidget(parent),_wrapper(NULL) {};
973
994
974 ~PythonQtShell_srecFileWidget();
995 ~PythonQtShell_srecFileWidget();
975
996
976 virtual void actionEvent(QActionEvent* arg__1);
997 virtual void reloadFile();
977 virtual void changeEvent(QEvent* arg__1);
998 virtual void setFile(abstractBinFile* file);
978 virtual void childEvent(QChildEvent* arg__1);
979 virtual void closeEvent(QCloseEvent* arg__1);
980 virtual void contextMenuEvent(QContextMenuEvent* arg__1);
981 virtual void customEvent(QEvent* arg__1);
982 virtual int devType() const;
983 virtual void dragEnterEvent(QDragEnterEvent* arg__1);
984 virtual void dragLeaveEvent(QDragLeaveEvent* arg__1);
985 virtual void dragMoveEvent(QDragMoveEvent* arg__1);
986 virtual void dropEvent(QDropEvent* arg__1);
987 virtual void enterEvent(QEvent* arg__1);
988 virtual bool event(QEvent* arg__1);
989 virtual bool eventFilter(QObject* arg__1, QEvent* arg__2);
990 virtual void focusInEvent(QFocusEvent* arg__1);
991 virtual bool focusNextPrevChild(bool next);
992 virtual void focusOutEvent(QFocusEvent* arg__1);
993 virtual bool hasHeightForWidth() const;
994 virtual int heightForWidth(int arg__1) const;
995 virtual void hideEvent(QHideEvent* arg__1);
996 virtual void initPainter(QPainter* painter) const;
997 virtual void inputMethodEvent(QInputMethodEvent* arg__1);
998 virtual QVariant inputMethodQuery(Qt::InputMethodQuery arg__1) const;
999 virtual void keyPressEvent(QKeyEvent* arg__1);
1000 virtual void keyReleaseEvent(QKeyEvent* arg__1);
1001 virtual void leaveEvent(QEvent* arg__1);
1002 virtual int metric(QPaintDevice::PaintDeviceMetric arg__1) const;
1003 virtual QSize minimumSizeHint() const;
1004 virtual void mouseDoubleClickEvent(QMouseEvent* arg__1);
1005 virtual void mouseMoveEvent(QMouseEvent* arg__1);
1006 virtual void mousePressEvent(QMouseEvent* arg__1);
1007 virtual void mouseReleaseEvent(QMouseEvent* arg__1);
1008 virtual void moveEvent(QMoveEvent* arg__1);
1009 virtual bool nativeEvent(const QByteArray& eventType, void* message, long* result);
1010 virtual QPaintEngine* paintEngine() const;
1011 virtual void paintEvent(QPaintEvent* arg__1);
1012 virtual QPaintDevice* redirected(QPoint* offset) const;
1013 virtual void resizeEvent(QResizeEvent* arg__1);
1014 virtual QPainter* sharedPainter() const;
1015 virtual void showEvent(QShowEvent* arg__1);
1016 virtual QSize sizeHint() const;
1017 virtual void tabletEvent(QTabletEvent* arg__1);
1018 virtual void timerEvent(QTimerEvent* arg__1);
1019 virtual void wheelEvent(QWheelEvent* arg__1);
1020
999
1021 PythonQtInstanceWrapper* _wrapper;
1000 PythonQtInstanceWrapper* _wrapper;
1022 };
1001 };
1023
1002
1003 class PythonQtPublicPromoter_srecFileWidget : public srecFileWidget
1004 { public:
1005 inline void promoted_reloadFile() { srecFileWidget::reloadFile(); }
1006 inline void promoted_setFile(abstractBinFile* file) { srecFileWidget::setFile(file); }
1007 };
1008
1024 class PythonQtWrapper_srecFileWidget : public QObject
1009 class PythonQtWrapper_srecFileWidget : public QObject
1025 { Q_OBJECT
1010 { Q_OBJECT
1026 public:
1011 public:
1027 public slots:
1012 public slots:
1028 srecFileWidget* new_srecFileWidget(QWidget* parent = 0);
1013 srecFileWidget* new_srecFileWidget(QWidget* parent = 0);
1029 void delete_srecFileWidget(srecFileWidget* obj) { delete obj; }
1014 void delete_srecFileWidget(srecFileWidget* obj) { delete obj; }
1015 void reloadFile(srecFileWidget* theWrappedObject);
1016 void setFile(srecFileWidget* theWrappedObject, abstractBinFile* file);
1030 };
1017 };
1031
1018
1032
1019
@@ -1,26 +1,30
1 #include <PythonQt.h>
1 #include <PythonQt.h>
2 #include "PySocExplorer0.h"
2 #include "PySocExplorer0.h"
3
3
4
4
5 void PythonQt_init_PySocExplorer(PyObject* module) {
5 void PythonQt_init_PySocExplorer(PyObject* module) {
6 PythonQt::priv()->registerClass(&ElfFile::staticMetaObject, "PySocExplorer", PythonQtCreateObject<PythonQtWrapper_ElfFile>, PythonQtSetInstanceWrapperOnShell<PythonQtShell_ElfFile>, module, 0);
6 PythonQt::priv()->registerClass(&ElfFile::staticMetaObject, "PySocExplorer", PythonQtCreateObject<PythonQtWrapper_ElfFile>, PythonQtSetInstanceWrapperOnShell<PythonQtShell_ElfFile>, module, 0);
7 PythonQt::self()->addParentClass("ElfFile", "abstractBinFile",PythonQtUpcastingOffset<ElfFile,abstractBinFile>());
7 PythonQt::self()->addParentClass("ElfFile", "abstractBinFile",PythonQtUpcastingOffset<ElfFile,abstractBinFile>());
8 PythonQt::priv()->registerClass(&MemSizeWdgt::staticMetaObject, "PySocExplorer", PythonQtCreateObject<PythonQtWrapper_MemSizeWdgt>, PythonQtSetInstanceWrapperOnShell<PythonQtShell_MemSizeWdgt>, module, 0);
8 PythonQt::priv()->registerClass(&MemSizeWdgt::staticMetaObject, "PySocExplorer", PythonQtCreateObject<PythonQtWrapper_MemSizeWdgt>, PythonQtSetInstanceWrapperOnShell<PythonQtShell_MemSizeWdgt>, module, 0);
9 PythonQt::priv()->registerClass(&QHexEdit::staticMetaObject, "PySocExplorer", PythonQtCreateObject<PythonQtWrapper_QHexEdit>, PythonQtSetInstanceWrapperOnShell<PythonQtShell_QHexEdit>, module, 0);
9 PythonQt::priv()->registerClass(&QHexEdit::staticMetaObject, "PySocExplorer", PythonQtCreateObject<PythonQtWrapper_QHexEdit>, PythonQtSetInstanceWrapperOnShell<PythonQtShell_QHexEdit>, module, 0);
10 PythonQt::priv()->registerClass(&QHexSpinBox::staticMetaObject, "PySocExplorer", PythonQtCreateObject<PythonQtWrapper_QHexSpinBox>, PythonQtSetInstanceWrapperOnShell<PythonQtShell_QHexSpinBox>, module, 0);
10 PythonQt::priv()->registerClass(&QHexSpinBox::staticMetaObject, "PySocExplorer", PythonQtCreateObject<PythonQtWrapper_QHexSpinBox>, PythonQtSetInstanceWrapperOnShell<PythonQtShell_QHexSpinBox>, module, 0);
11 PythonQt::priv()->registerClass(&SocExplorerPlot::staticMetaObject, "PySocExplorer", PythonQtCreateObject<PythonQtWrapper_SocExplorerPlot>, PythonQtSetInstanceWrapperOnShell<PythonQtShell_SocExplorerPlot>, module, 0);
11 PythonQt::priv()->registerClass(&SocExplorerPlot::staticMetaObject, "PySocExplorer", PythonQtCreateObject<PythonQtWrapper_SocExplorerPlot>, PythonQtSetInstanceWrapperOnShell<PythonQtShell_SocExplorerPlot>, module, 0);
12 PythonQt::priv()->registerClass(&TCP_Terminal_Client::staticMetaObject, "PySocExplorer", PythonQtCreateObject<PythonQtWrapper_TCP_Terminal_Client>, PythonQtSetInstanceWrapperOnShell<PythonQtShell_TCP_Terminal_Client>, module, 0);
12 PythonQt::priv()->registerClass(&TCP_Terminal_Client::staticMetaObject, "PySocExplorer", PythonQtCreateObject<PythonQtWrapper_TCP_Terminal_Client>, PythonQtSetInstanceWrapperOnShell<PythonQtShell_TCP_Terminal_Client>, module, 0);
13 PythonQt::priv()->registerCPPClass("XByteArray", "", "PySocExplorer", PythonQtCreateObject<PythonQtWrapper_XByteArray>, NULL, module, 0);
13 PythonQt::priv()->registerCPPClass("XByteArray", "", "PySocExplorer", PythonQtCreateObject<PythonQtWrapper_XByteArray>, NULL, module, 0);
14 PythonQt::priv()->registerClass(&abstractBinFile::staticMetaObject, "PySocExplorer", PythonQtCreateObject<PythonQtWrapper_abstractBinFile>, PythonQtSetInstanceWrapperOnShell<PythonQtShell_abstractBinFile>, module, 0);
14 PythonQt::priv()->registerClass(&abstractBinFile::staticMetaObject, "PySocExplorer", PythonQtCreateObject<PythonQtWrapper_abstractBinFile>, PythonQtSetInstanceWrapperOnShell<PythonQtShell_abstractBinFile>, module, 0);
15 PythonQt::priv()->registerClass(&abstractBinFileWidget::staticMetaObject, "PySocExplorer", PythonQtCreateObject<PythonQtWrapper_abstractBinFileWidget>, PythonQtSetInstanceWrapperOnShell<PythonQtShell_abstractBinFileWidget>, module, 0);
15 PythonQt::priv()->registerClass(&binaryFile::staticMetaObject, "PySocExplorer", PythonQtCreateObject<PythonQtWrapper_binaryFile>, PythonQtSetInstanceWrapperOnShell<PythonQtShell_binaryFile>, module, 0);
16 PythonQt::priv()->registerClass(&binaryFile::staticMetaObject, "PySocExplorer", PythonQtCreateObject<PythonQtWrapper_binaryFile>, PythonQtSetInstanceWrapperOnShell<PythonQtShell_binaryFile>, module, 0);
16 PythonQt::self()->addParentClass("binaryFile", "abstractBinFile",PythonQtUpcastingOffset<binaryFile,abstractBinFile>());
17 PythonQt::self()->addParentClass("binaryFile", "abstractBinFile",PythonQtUpcastingOffset<binaryFile,abstractBinFile>());
17 PythonQt::priv()->registerClass(&binaryFileWidget::staticMetaObject, "PySocExplorer", PythonQtCreateObject<PythonQtWrapper_binaryFileWidget>, PythonQtSetInstanceWrapperOnShell<PythonQtShell_binaryFileWidget>, module, 0);
18 PythonQt::priv()->registerClass(&binaryFileWidget::staticMetaObject, "PySocExplorer", PythonQtCreateObject<PythonQtWrapper_binaryFileWidget>, PythonQtSetInstanceWrapperOnShell<PythonQtShell_binaryFileWidget>, module, 0);
19 PythonQt::self()->addParentClass("binaryFileWidget", "abstractBinFileWidget",PythonQtUpcastingOffset<binaryFileWidget,abstractBinFileWidget>());
18 PythonQt::priv()->registerCPPClass("codeFragment", "", "PySocExplorer", PythonQtCreateObject<PythonQtWrapper_codeFragment>, PythonQtSetInstanceWrapperOnShell<PythonQtShell_codeFragment>, module, 0);
20 PythonQt::priv()->registerCPPClass("codeFragment", "", "PySocExplorer", PythonQtCreateObject<PythonQtWrapper_codeFragment>, PythonQtSetInstanceWrapperOnShell<PythonQtShell_codeFragment>, module, 0);
19 PythonQt::priv()->registerClass(&elfFileWidget::staticMetaObject, "PySocExplorer", PythonQtCreateObject<PythonQtWrapper_elfFileWidget>, PythonQtSetInstanceWrapperOnShell<PythonQtShell_elfFileWidget>, module, 0);
21 PythonQt::priv()->registerClass(&elfFileWidget::staticMetaObject, "PySocExplorer", PythonQtCreateObject<PythonQtWrapper_elfFileWidget>, PythonQtSetInstanceWrapperOnShell<PythonQtShell_elfFileWidget>, module, 0);
22 PythonQt::self()->addParentClass("elfFileWidget", "abstractBinFileWidget",PythonQtUpcastingOffset<elfFileWidget,abstractBinFileWidget>());
20 PythonQt::priv()->registerClass(&elfInfoWdgt::staticMetaObject, "PySocExplorer", PythonQtCreateObject<PythonQtWrapper_elfInfoWdgt>, PythonQtSetInstanceWrapperOnShell<PythonQtShell_elfInfoWdgt>, module, 0);
23 PythonQt::priv()->registerClass(&elfInfoWdgt::staticMetaObject, "PySocExplorer", PythonQtCreateObject<PythonQtWrapper_elfInfoWdgt>, PythonQtSetInstanceWrapperOnShell<PythonQtShell_elfInfoWdgt>, module, 0);
21 PythonQt::priv()->registerCPPClass("elfparser", "", "PySocExplorer", PythonQtCreateObject<PythonQtWrapper_elfparser>, NULL, module, 0);
24 PythonQt::priv()->registerCPPClass("elfparser", "", "PySocExplorer", PythonQtCreateObject<PythonQtWrapper_elfparser>, NULL, module, 0);
22 PythonQt::priv()->registerClass(&srecFile::staticMetaObject, "PySocExplorer", PythonQtCreateObject<PythonQtWrapper_srecFile>, PythonQtSetInstanceWrapperOnShell<PythonQtShell_srecFile>, module, 0);
25 PythonQt::priv()->registerClass(&srecFile::staticMetaObject, "PySocExplorer", PythonQtCreateObject<PythonQtWrapper_srecFile>, PythonQtSetInstanceWrapperOnShell<PythonQtShell_srecFile>, module, 0);
23 PythonQt::self()->addParentClass("srecFile", "abstractBinFile",PythonQtUpcastingOffset<srecFile,abstractBinFile>());
26 PythonQt::self()->addParentClass("srecFile", "abstractBinFile",PythonQtUpcastingOffset<srecFile,abstractBinFile>());
24 PythonQt::priv()->registerClass(&srecFileWidget::staticMetaObject, "PySocExplorer", PythonQtCreateObject<PythonQtWrapper_srecFileWidget>, PythonQtSetInstanceWrapperOnShell<PythonQtShell_srecFileWidget>, module, 0);
27 PythonQt::priv()->registerClass(&srecFileWidget::staticMetaObject, "PySocExplorer", PythonQtCreateObject<PythonQtWrapper_srecFileWidget>, PythonQtSetInstanceWrapperOnShell<PythonQtShell_srecFileWidget>, module, 0);
28 PythonQt::self()->addParentClass("srecFileWidget", "abstractBinFileWidget",PythonQtUpcastingOffset<srecFileWidget,abstractBinFileWidget>());
25
29
26 }
30 }
@@ -1,69 +1,75
1 <typesystem package="PySocExplorer" default-superclass="com.trolltech.qt.QtJambiObject">
1 <typesystem package="PySocExplorer" default-superclass="com.trolltech.qt.QtJambiObject">
2 <load-typesystem name=":/trolltech/generator/typesystem_core.txt" generate="no" />
2 <load-typesystem name=":/trolltech/generator/typesystem_core.txt" generate="no" />
3 <load-typesystem name=":/trolltech/generator/typesystem_gui.txt" generate="no" />
3 <load-typesystem name=":/trolltech/generator/typesystem_gui.txt" generate="no" />
4 <load-typesystem name=":/trolltech/generator/typesystem_network.txt" generate="no" />
4 <load-typesystem name=":/trolltech/generator/typesystem_network.txt" generate="no" />
5
5
6
6
7 <object-type name="QHexSpinBox">
7 <object-type name="QHexSpinBox">
8 <extra-includes>
8 <extra-includes>
9 <include file-name="QWidget" location="global"/>
9 <include file-name="QWidget" location="global"/>
10 <include file-name="QObject" location="global"/>
10 <include file-name="QObject" location="global"/>
11 <include file-name="QSpinBox" location="global"/>
11 <include file-name="QSpinBox" location="global"/>
12 </extra-includes>
12 </extra-includes>
13 </object-type>
13 </object-type>
14 <object-type name="MemSizeWdgt" />
14 <object-type name="MemSizeWdgt" />
15 <object-type name="QHexEdit" />
15 <object-type name="QHexEdit" />
16 <object-type name="XByteArray" />
16 <object-type name="XByteArray" />
17 <object-type name="SocExplorerPlot" />
17 <object-type name="SocExplorerPlot" />
18 <object-type name="TCP_Terminal_Client" />
18 <object-type name="TCP_Terminal_Client" />
19 <object-type name="codeFragment" />
19 <object-type name="codeFragment" />
20 <object-type name="srecFile" />
20 <object-type name="srecFile" />
21 <object-type name="binaryFile" />
21 <object-type name="binaryFile" />
22 <rejection class="Elf_Section"/>
22 <rejection class="Elf_Section"/>
23 <object-type name="elfparser" />
23 <object-type name="elfparser" />
24 <interface-type name="abstractBinFile">
24 <interface-type name="abstractBinFile">
25 <extra-includes>
25 <extra-includes>
26 <include file-name="QWidget" location="global"/>
26 <include file-name="QWidget" location="global"/>
27 <include file-name="QObject" location="global"/>
27 <include file-name="QObject" location="global"/>
28 </extra-includes>
28 </extra-includes>
29 </interface-type>
29 </interface-type>
30 <object-type name="ElfFile">
30 <object-type name="ElfFile">
31 <extra-includes>
31 <extra-includes>
32 <include file-name="QWidget" location="global"/>
32 <include file-name="QWidget" location="global"/>
33 <include file-name="QObject" location="global"/>
33 <include file-name="QObject" location="global"/>
34 </extra-includes>
34 </extra-includes>
35 </object-type>
35 </object-type>
36 <interface-type name="abstractBinFileWidget">
37 <extra-includes>
38 <include file-name="QWidget" location="global"/>
39 <include file-name="QObject" location="global"/>
40 </extra-includes>
41 </interface-type>
36 <object-type name="elfFileWidget">
42 <object-type name="elfFileWidget">
37 <extra-includes>
43 <extra-includes>
38 <include file-name="QWidget" location="global"/>
44 <include file-name="QWidget" location="global"/>
39 <include file-name="QObject" location="global"/>
45 <include file-name="QObject" location="global"/>
40 </extra-includes>
46 </extra-includes>
41 </object-type>
47 </object-type>
42 <object-type name="srecFileWidget">
48 <object-type name="srecFileWidget">
43 <extra-includes>
49 <extra-includes>
44 <include file-name="QWidget" location="global"/>
50 <include file-name="QWidget" location="global"/>
45 <include file-name="QObject" location="global"/>
51 <include file-name="QObject" location="global"/>
46 </extra-includes>
52 </extra-includes>
47 </object-type>
53 </object-type>
48 <object-type name="binaryFileWidget">
54 <object-type name="binaryFileWidget">
49 <extra-includes>
55 <extra-includes>
50 <include file-name="QWidget" location="global"/>
56 <include file-name="QWidget" location="global"/>
51 <include file-name="QObject" location="global"/>
57 <include file-name="QObject" location="global"/>
52 </extra-includes>
58 </extra-includes>
53 </object-type>
59 </object-type>
54 <object-type name="elfInfoWdgt">
60 <object-type name="elfInfoWdgt">
55 <extra-includes>
61 <extra-includes>
56 <include file-name="QWidget" location="global"/>
62 <include file-name="QWidget" location="global"/>
57 <include file-name="QObject" location="global"/>
63 <include file-name="QObject" location="global"/>
58 </extra-includes>
64 </extra-includes>
59 </object-type>
65 </object-type>
60
66
61 </typesystem>
67 </typesystem>
62
68
63
69
64
70
65
71
66
72
67
73
68
74
69
75
@@ -1,341 +1,357
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
25
25 srecFile::srecFile()
26 srecFile::srecFile()
26 {
27 {
27 }
28 }
28
29
29 srecFile::srecFile(const QString &File)
30 srecFile::srecFile(const QString &File)
30 {
31 {
31 openFile(File);
32 openFile(File);
32 }
33 }
33
34
34 srecFile::srecFile(const QStringList &Files)
35 srecFile::srecFile(const QStringList &Files)
35 {
36 {
36 openFiles(Files);
37 openFiles(Files);
37 }
38 }
38
39
39 srecFile::~srecFile()
40 srecFile::~srecFile()
40 {
41 {
41
42
42 }
43 }
43
44
44 bool srecFile::openFile(const QString &File)
45 bool srecFile::openFile(const QString &File)
45 {
46 {
46 return openFiles(QStringList()<<File);
47 return openFiles(QStringList()<<File);
47 }
48 }
48
49
49 bool srecFile::openFiles(const QStringList &Files)
50 bool srecFile::openFiles(const QStringList &Files)
50 {
51 {
51 this->p_fileNames.clear();
52 this->p_fileNames.append(Files);
53 for(int i=0;i<p_files.count();i++)
54 {
55 delete p_files.at(i);
56 }
57 this->p_files.clear();
58 for(int i=0;i<Files.count();i++)
52 for(int i=0;i<Files.count();i++)
59 {
53 {
60 this->p_isSrec=true;
54 this->p_isSrec=true;
61 this->p_isSrec &= isSREC(Files.at(i));
55 this->p_isSrec &= isSREC(Files.at(i));
62 this->p_files.append(new QFile(Files.at(i)));
56 this->p_files.append(new QFile(Files.at(i)));
63 this->p_files.at(i)->open(QIODevice::ReadOnly);
57 this->p_files.at(i)->open(QIODevice::ReadOnly);
64 parseFile(this->p_files.at(i));
58 parseFile(this->p_files.at(i));
65 }
59 }
66 return true;
60 return true;
67 }
61 }
68
62
69 bool srecFile::isopened()
63 bool srecFile::isopened()
70 {
64 {
71 bool opened = true;
65 bool opened = true;
72 for(int i=0;i<this->p_files.count();i++)
66 for(int i=0;i<this->p_files.count();i++)
73 {
67 {
74 opened &= p_files.at(i)->isOpen();
68 opened &= p_files.at(i)->isOpen();
75 }
69 }
76 return opened;
70 return opened;
77 }
71 }
78
72
79 int srecFile::closeFile()
73 int srecFile::closeFile()
80 {
74 {
81 for(int i=0;i<p_files.count();i++)
75 for(int i=0;i<p_files.count();i++)
82 {
76 {
83 delete p_files.at(i);
77 delete p_files.at(i);
78 free(p_fragments.at(i)->data);
79 delete p_fragments.at(i);
84 }
80 }
81 p_fragments.clear();
85 p_files.clear();
82 p_files.clear();
86 p_fileName.clear();
83 p_fileName.clear();
87 return 0;
84 return 0;
88 }
85 }
89
86
90 QList<codeFragment *> srecFile::getFragments()
87 QList<codeFragment *> srecFile::getFragments()
91 {
88 {
92 return p_fragments;
89 return p_fragments;
93 }
90 }
94
91
95 bool srecFile::toSrec(QList<codeFragment *> fragments, const QString &File)
92 bool srecFile::toSrec(QList<codeFragment *> fragments, const QString &File)
96 {
93 {
97 QString line;
94 QString line;
98 QFile file(File);
95 QFile file(File);
99 file.open(QIODevice::WriteOnly);
96 file.open(QIODevice::WriteOnly);
100 if(file.isOpen())
97 if(file.isOpen())
101 {
98 {
102 QTextStream stream( &file );
99 QTextStream stream( &file );
103 //First build header
100 //First build header
104 line.append("S0");
101 line.append("S0");
105 line.append(QString("%1").arg(File.count()+3,2,16).replace(' ','0'));
102 line.append(QString("%1").arg(File.count()+3,2,16).replace(' ','0'));
106 line.append("0000");
103 line.append("0000");
107 for(int i=0;i<File.count();i++)
104 for(int i=0;i<File.count();i++)
108 {
105 {
109 line.append(QString("%1").arg((uchar)File.at(i).toLatin1(),2,16).replace(' ','0'));
106 line.append(QString("%1").arg((uchar)File.at(i).toLatin1(),2,16).replace(' ','0'));
110 }
107 }
111 line.append(QString("%1").arg((uchar)srecFile::lineCheckSum(line),2,16).replace(' ','0'));
108 line.append(QString("%1").arg((uchar)srecFile::lineCheckSum(line),2,16).replace(' ','0'));
112 line.append('\n');
109 line.append('\n');
113 stream << line.toUpper();
110 stream << line.toUpper();
114 for(int i=0;i<fragments.count();i++)
111 for(int i=0;i<fragments.count();i++)
115 {
112 {
116 codeFragment *fragment = fragments.at(i);
113 codeFragment *fragment = fragments.at(i);
117 for(int j=0;j<(int)(fragment->size);j+=16)
114 for(int j=0;j<(int)(fragment->size);j+=16)
118 {
115 {
119 line.clear();
116 line.clear();
120 line.append("S315");
117 line.append("S315");
121 line.append(QString("%1").arg(fragment->address+j,8,16).replace(' ','0'));
118 line.append(QString("%1").arg(fragment->address+j,8,16).replace(' ','0'));
122 for(int k=0;k<16;k++)
119 for(int k=0;k<16;k++)
123 {
120 {
124 line.append(QString("%1").arg((uchar)fragment->data[j+k],2,16).replace(' ','0'));
121 line.append(QString("%1").arg((uchar)fragment->data[j+k],2,16).replace(' ','0'));
125 }
122 }
126 line.append(QString("%1").arg((uchar)srecFile::lineCheckSum(line),2,16).replace(' ','0'));
123 line.append(QString("%1").arg((uchar)srecFile::lineCheckSum(line),2,16).replace(' ','0'));
127 line.append('\n');
124 line.append('\n');
128 stream << line.toUpper();
125 stream << line.toUpper();
129 }
126 }
130 int rem = fragment->size%16;
127 int rem = fragment->size%16;
131 if(rem)
128 if(rem)
132 {
129 {
133 line.clear();
130 line.clear();
134 line.append("S3");
131 line.append("S3");
135 line.append(QString("%1").arg(rem,2,16).replace(' ','0'));
132 line.append(QString("%1").arg(rem,2,16).replace(' ','0'));
136 line.append(QString("%1").arg(fragment->address+fragment->size-rem,8,16).replace(' ','0'));
133 line.append(QString("%1").arg(fragment->address+fragment->size-rem,8,16).replace(' ','0'));
137 for(int k=0;k<rem;k++)
134 for(int k=0;k<rem;k++)
138 {
135 {
139 line.append(QString("%1").arg((uchar)fragment->data[fragment->size-rem+k],2,16).replace(' ','0'));
136 line.append(QString("%1").arg((uchar)fragment->data[fragment->size-rem+k],2,16).replace(' ','0'));
140 }
137 }
141 line.append(QString("%1").arg((uchar)srecFile::lineCheckSum(line),2,16).replace(' ','0'));
138 line.append(QString("%1").arg((uchar)srecFile::lineCheckSum(line),2,16).replace(' ','0'));
142 line.append('\n');
139 line.append('\n');
143 stream << line.toUpper();
140 stream << line.toUpper();
144 }
141 }
145 line.clear();
142 line.clear();
146 line.append("S705");
143 line.append("S705");
147 line.append(QString("%1").arg(fragment->address,8,16).replace(' ','0'));
144 line.append(QString("%1").arg(fragment->address,8,16).replace(' ','0'));
148 line.append(QString("%1").arg((uchar)srecFile::lineCheckSum(line),2,16).replace(' ','0'));
145 line.append(QString("%1").arg((uchar)srecFile::lineCheckSum(line),2,16).replace(' ','0'));
149 line.append('\n');
146 line.append('\n');
150 stream << line.toUpper();
147 stream << line.toUpper();
151 }
148 }
152 file.close();
149 file.close();
153 return true;
150 return true;
154 }
151 }
155
152
156 return false;
153 return false;
157 }
154 }
158
155
156 bool srecFile::toSrec(const QString &File)
157 {
158 return toSrec(p_fragments,File);
159 }
160
161 bool srecFile::toBinary(const QString &File)
162 {
163 return binaryFile::toBinary(p_fragments,File);
164 }
165
159 int srecFile::lineCount()
166 int srecFile::lineCount()
160 {
167 {
161 return p_lineCount;
168 return p_lineCount;
162 }
169 }
163
170
164 int srecFile::getFragmentsCount()
171 int srecFile::getFragmentsCount()
165 {
172 {
166 return p_fragments.count();
173 return p_fragments.count();
167 }
174 }
168
175
169 int srecFile::getFragmentAddress(int index)
176 int srecFile::getFragmentAddress(int index)
170 {
177 {
171 if((index < p_fragments.count()) && (index>=0))
178 if((index < p_fragments.count()) && (index>=0))
172 {
179 {
173 return p_fragments.at(index)->address;
180 return p_fragments.at(index)->address;
174 }
181 }
175 return 0;
182 return 0;
176 }
183 }
177
184
178 int srecFile::getFragmentSize(int index)
185 int srecFile::getFragmentSize(int index)
179 {
186 {
180 if((index < p_fragments.count()) && (index>=0))
187 if((index < p_fragments.count()) && (index>=0))
181 {
188 {
182 return p_fragments.at(index)->size;
189 return p_fragments.at(index)->size;
183 }
190 }
184 return 0;
191 return 0;
185 }
192 }
186
193
194 codeFragment *srecFile::getFragment(int index)
195 {
196 if((index < p_fragments.count()) && (index>=0))
197 {
198 return p_fragments.at(index);
199 }
200 return NULL;
201 }
202
187 QString srecFile::getFragmentHeader(int index)
203 QString srecFile::getFragmentHeader(int index)
188 {
204 {
189 if((index < p_fragments.count()) && (index>=0))
205 if((index < p_fragments.count()) && (index>=0))
190 {
206 {
191 return p_fragments.at(index)->header;
207 return p_fragments.at(index)->header;
192 }
208 }
193 return "";
209 return "";
194 }
210 }
195
211
196 bool srecFile::getFragmentData(int index, char **buffer)
212 bool srecFile::getFragmentData(int index, char **buffer)
197 {
213 {
198
214
199 if((index < p_fragments.count()) && (index>=0))
215 if((index < p_fragments.count()) && (index>=0))
200 {
216 {
201 *buffer = (char *)this->p_fragments.at(index)->data;
217 *buffer = (char *)this->p_fragments.at(index)->data;
202 return true;
218 return true;
203 }
219 }
204 return false;
220 return false;
205 }
221 }
206
222
207 bool srecFile::isSREC()
223 bool srecFile::isSREC()
208 {
224 {
209 return p_isSrec & isopened();
225 return p_isSrec & isopened();
210 }
226 }
211
227
212 bool srecFile::isSREC(const QString &File)
228 bool srecFile::isSREC(const QString &File)
213 {
229 {
214 QFile file(File);
230 QFile file(File);
215 file.open(QIODevice::ReadOnly);
231 file.open(QIODevice::ReadOnly);
216 if(file.isOpen())
232 if(file.isOpen())
217 {
233 {
218 file.seek(0);
234 file.seek(0);
219 QString line=file.readLine();
235 QString line=file.readLine();
220 file.close();
236 file.close();
221 return ((line.at(0)=='S')&&(line.at(1)=='0'));
237 return ((line.at(0)=='S')&&(line.at(1)=='0'));
222 }
238 }
223 return false;
239 return false;
224 }
240 }
225
241
226 void srecFile::parseFile(QFile *file)
242 void srecFile::parseFile(QFile *file)
227 {
243 {
228 if(file->isOpen())
244 if(file->isOpen())
229 {
245 {
230 this->p_lineCount = 0;
246 this->p_lineCount = 0;
231 file->seek(0);
247 file->seek(0);
232 codeFragment* fragment=NULL;
248 codeFragment* fragment=NULL;
233 QByteArray data;
249 QByteArray data;
234 quint64 size=0;
250 quint64 size=0;
235 quint64 address=-1;
251 quint64 address=-1;
236 QString header;
252 QString header;
237 while (!file->atEnd())
253 while (!file->atEnd())
238 {
254 {
239 QString line = file->readLine();
255 QString line = file->readLine();
240 p_lineCount++;
256 p_lineCount++;
241 if(line.count()>4)
257 if(line.count()>4)
242 {
258 {
243 if(line.at(0)=='S')
259 if(line.at(0)=='S')
244 {
260 {
245 bool ok;
261 bool ok;
246 int count = line.mid(2,2).toInt(&ok,16);
262 int count = line.mid(2,2).toInt(&ok,16);
247 if(line.at(1)=='0')
263 if(line.at(1)=='0')
248 {
264 {
249 header.clear();
265 header.clear();
250 for(int i=0;i<(count-3);i++)
266 for(int i=0;i<(count-3);i++)
251 {
267 {
252 header.append((char)line.mid((2*i)+8,2).toInt(&ok,16));
268 header.append((char)line.mid((2*i)+8,2).toInt(&ok,16));
253 }
269 }
254 }
270 }
255 if(line.at(1)=='1')
271 if(line.at(1)=='1')
256 {
272 {
257 }
273 }
258 if(line.at(1)=='2')
274 if(line.at(1)=='2')
259 {
275 {
260
276
261 }
277 }
262 if(line.at(1)=='3')
278 if(line.at(1)=='3')
263 {
279 {
264 int naddress =line.mid(4,8).toInt(&ok,16);
280 int naddress =line.mid(4,8).toInt(&ok,16);
265 if(address !=naddress)
281 if(address !=naddress)
266 {
282 {
267 if(fragment!=NULL)
283 if(fragment!=NULL)
268 {
284 {
269 fragment->size = data.size();
285 fragment->size = data.size();
270 fragment->data = (char*)malloc(data.size());
286 fragment->data = (char*)malloc(data.size());
271 for(int i =0;i<data.size();i++)
287 for(int i =0;i<data.size();i++)
272 {
288 {
273 fragment->data[i]=data.at(i);
289 fragment->data[i]=data.at(i);
274 }
290 }
275 data.clear();
291 data.clear();
276 p_fragments.append(fragment);
292 p_fragments.append(fragment);
277 }
293 }
278 fragment = new codeFragment();
294 fragment = new codeFragment();
279 fragment->address = naddress;
295 fragment->address = naddress;
280 fragment->header = header;
296 fragment->header = header;
281 }
297 }
282 address = naddress+count-5;
298 address = naddress+count-5;
283 for(int i=0;i<(count-5);i++)
299 for(int i=0;i<(count-5);i++)
284 {
300 {
285 data.append((char)line.mid((2*i)+12,2).toInt(&ok,16));
301 data.append((char)line.mid((2*i)+12,2).toInt(&ok,16));
286 }
302 }
287 }
303 }
288 if(line.at(1)=='5')
304 if(line.at(1)=='5')
289 {
305 {
290
306
291 }
307 }
292 if(line.at(1)=='6')
308 if(line.at(1)=='6')
293 {
309 {
294
310
295 }
311 }
296 if(line.at(1)=='7')
312 if(line.at(1)=='7')
297 {
313 {
298
314
299 }
315 }
300 if(line.at(1)=='8')
316 if(line.at(1)=='8')
301 {
317 {
302
318
303 }
319 }
304 if(line.at(1)=='9')
320 if(line.at(1)=='9')
305 {
321 {
306
322
307 }
323 }
308 }
324 }
309 }
325 }
310 }
326 }
311 if(data.size()!=0)
327 if(data.size()!=0)
312 {
328 {
313 fragment->size = data.size();
329 fragment->size = data.size();
314 fragment->data = (char*)malloc(data.size());
330 fragment->data = (char*)malloc(data.size());
315 for(int i =0;i<data.size();i++)
331 for(int i =0;i<data.size();i++)
316 {
332 {
317 fragment->data[i]=data.at(i);
333 fragment->data[i]=data.at(i);
318 }
334 }
319 data.clear();
335 data.clear();
320 p_fragments.append(fragment);
336 p_fragments.append(fragment);
321 }
337 }
322
338
323 }
339 }
324 }
340 }
325
341
326 char srecFile::lineCheckSum(const QString &line)
342 char srecFile::lineCheckSum(const QString &line)
327 {
343 {
328 char sum=0;
344 char sum=0;
329 QString localLine = line;
345 QString localLine = line;
330 bool ok;
346 bool ok;
331 if(localLine.at(0)=='S') // then should skip the first two digits
347 if(localLine.at(0)=='S') // then should skip the first two digits
332 {
348 {
333 localLine.remove(0,2);
349 localLine.remove(0,2);
334 }
350 }
335 for(int i=0;i<localLine.count();i+=2)
351 for(int i=0;i<localLine.count();i+=2)
336 {
352 {
337 sum+=(char)(localLine.mid(i,2).toInt(&ok,16));
353 sum+=(char)(localLine.mid(i,2).toInt(&ok,16));
338 }
354 }
339 return ~sum;
355 return ~sum;
340 }
356 }
341
357
@@ -1,67 +1,70
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);
45 bool toBinary(const QString& File);
44 int lineCount();
46 int lineCount();
45 int getFragmentsCount();
47 int getFragmentsCount();
46 int getFragmentAddress(int index);
48 int getFragmentAddress(int index);
47 int getFragmentSize(int index);
49 int getFragmentSize(int index);
50 codeFragment *getFragment(int index);
48 QString getFragmentHeader(int index);
51 QString getFragmentHeader(int index);
49 bool getFragmentData(int index, char **buffer);
52 bool getFragmentData(int index, char **buffer);
50
53
51 bool isSREC();
54 bool isSREC();
52 static bool isSREC(const QString& File);
55 static bool isSREC(const QString& File);
53 signals:
56 signals:
54
57
55 public slots:
58 public slots:
56 private:
59 private:
57 void parseFile(QFile* file);
60 void parseFile(QFile* file);
58 static char lineCheckSum(const QString& line);
61 static char lineCheckSum(const QString& line);
59 QStringList p_fileNames;
62 QStringList p_fileNames;
60 QList<QFile*>p_files;
63 QList<QFile*>p_files;
61 QList<codeFragment*> p_fragments;
64 QList<codeFragment*> p_fragments;
62 int p_lineCount;
65 int p_lineCount;
63 bool p_isSrec;
66 bool p_isSrec;
64
67
65 };
68 };
66
69
67 #endif // SRECFILE_H
70 #endif // SRECFILE_H
@@ -1,91 +1,144
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 "srecfilewidget.h"
22 #include "srecfilewidget.h"
23 #include "ui_srecfilewidget.h"
23 #include "ui_srecfilewidget.h"
24 #include <QTableWidgetItem>
24 #include <QTableWidgetItem>
25 #include <qtablewidgetintitem.h>
25 #include <qtablewidgetintitem.h>
26 #include <QtWidgets/QFileDialog>
27 #include "binaryfile.h"
26
28
27 srecFileWidget::srecFileWidget(QWidget *parent) :
29 srecFileWidget::srecFileWidget(QWidget *parent) :
28 QWidget(parent),
30 abstractBinFileWidget(parent),
29 ui(new Ui::srecFileWidget)
31 ui(new Ui::srecFileWidget)
30 {
32 {
31 ui->setupUi(this);
33 ui->setupUi(this);
32 connect(this->ui->fragmentsList,SIGNAL(cellActivated(int,int)),this,SLOT(recordCellActivated(int,int)));
34 connect(this->ui->fragmentsList,SIGNAL(cellActivated(int,int)),this,SLOT(recordCellActivated(int,int)));
33 this->setWindowTitle("SocExplorer SREC viewer");
35 this->setWindowTitle("SocExplorer SREC viewer");
36 exportToSREC_action = new QAction(tr("Export to SREC"),this);
37 exportToBIN_action = new QAction(tr("Export to Binary"),this);
38 this->ui->fragmentsList->addAction(exportToBIN_action);
39 this->ui->fragmentsList->addAction(exportToSREC_action);
40 connect(this->exportToBIN_action,SIGNAL(triggered()),this,SLOT(exportToBIN()));
41 connect(this->exportToSREC_action,SIGNAL(triggered()),this,SLOT(exportToSREC()));
34 }
42 }
35
43
36 srecFileWidget::~srecFileWidget()
44 srecFileWidget::~srecFileWidget()
37 {
45 {
38 delete ui;
46 delete ui;
39 }
47 }
40
48
41 void srecFileWidget::updatSrecFile(srecFile *file)
49 void srecFileWidget::setFile(abstractBinFile *file)
42 {
50 {
43 this->p_srec = file;
51 this->p_srec = (srecFile*)file;
44 if(p_srec->isopened() && p_srec->isSREC())
52 if(p_srec->isopened() && p_srec->isSREC())
45 {
53 {
46 updateRecords();
54 reloadFile();
47 }
55 }
48 }
56 }
49
57
50 void srecFileWidget::updateRecords()
58 void srecFileWidget::reloadFile()
51 {
59 {
52 this->ui->fragmentsList->clear();
60 this->ui->fragmentsList->clear();
53 this->ui->fragmentsList->setRowCount(p_srec->getFragmentsCount());
61 this->ui->fragmentsList->setRowCount(p_srec->getFragmentsCount());
54 this->ui->fragmentsList->setHorizontalHeaderLabels(QStringList()<<"Index"<<"Address"<<"Size"<<"Header");
62 this->ui->fragmentsList->setHorizontalHeaderLabels(QStringList()<<"Index"<<"Address"<<"Size"<<"Header");
55 for(int i=0;i<p_srec->getFragmentsCount();i++)
63 for(int i=0;i<p_srec->getFragmentsCount();i++)
56 {
64 {
57 QTableWidgetItem *newItem = (QTableWidgetItem*)new QTableWidgetIntItem(QString("%1").arg(i),DecimalItem);
65 QTableWidgetItem *newItem = (QTableWidgetItem*)new QTableWidgetIntItem(QString("%1").arg(i),DecimalItem);
58 newItem->setFlags(newItem->flags() ^ Qt::ItemIsEditable);
66 newItem->setFlags(newItem->flags() ^ Qt::ItemIsEditable);
59 this->ui->fragmentsList->setItem(i, 0, newItem);
67 this->ui->fragmentsList->setItem(i, 0, newItem);
60
68
61 newItem = (QTableWidgetItem*)new QTableWidgetIntItem(QString("0x%1").arg(p_srec->getFragmentAddress(i),8,16).replace(" ","0"),HexaDecimalItem);
69 newItem = (QTableWidgetItem*)new QTableWidgetIntItem(QString("0x%1").arg(p_srec->getFragmentAddress(i),8,16).replace(" ","0"),HexaDecimalItem);
62 newItem->setFlags(newItem->flags() ^ Qt::ItemIsEditable);
70 newItem->setFlags(newItem->flags() ^ Qt::ItemIsEditable);
63 this->ui->fragmentsList->setItem(i, 1, newItem);
71 this->ui->fragmentsList->setItem(i, 1, newItem);
64
72
65 newItem = (QTableWidgetItem*)new QTableWidgetIntItem(QString("%1").arg(p_srec->getFragmentSize(i)),DecimalItem);
73 newItem = (QTableWidgetItem*)new QTableWidgetIntItem(QString("%1").arg(p_srec->getFragmentSize(i)),DecimalItem);
66 newItem->setFlags(newItem->flags() ^ Qt::ItemIsEditable);
74 newItem->setFlags(newItem->flags() ^ Qt::ItemIsEditable);
67 this->ui->fragmentsList->setItem(i, 2, newItem);
75 this->ui->fragmentsList->setItem(i, 2, newItem);
68
76
69 newItem = new QTableWidgetItem(p_srec->getFragmentHeader(i));
77 newItem = new QTableWidgetItem(p_srec->getFragmentHeader(i));
70 newItem->setFlags(newItem->flags() ^ Qt::ItemIsEditable);
78 newItem->setFlags(newItem->flags() ^ Qt::ItemIsEditable);
71 this->ui->fragmentsList->setItem(i, 3, newItem);
79 this->ui->fragmentsList->setItem(i, 3, newItem);
72
80
73 }
81 }
74 this->ui->fragmentsList->resizeColumnsToContents();
82 this->ui->fragmentsList->resizeColumnsToContents();
75 }
83 }
76
84
77 void srecFileWidget::recordCellActivated(int row, int column)
85 void srecFileWidget::recordCellActivated(int row, int column)
78 {
86 {
79 Q_UNUSED(column)
87 Q_UNUSED(column)
80 char* buff=NULL;
88 char* buff=NULL;
81 int index = this->ui->fragmentsList->item(row,0)->text().toInt();
89 int index = this->ui->fragmentsList->item(row,0)->text().toInt();
82 if(index!=-1)
90 if(index!=-1)
83 {
91 {
84 this->p_srec->getFragmentData(index,&buff);
92 this->p_srec->getFragmentData(index,&buff);
85 this->ui->fragmentHexView->setData(QByteArray(buff,this->p_srec->getFragmentSize(index)));
93 this->ui->fragmentHexView->setData(QByteArray(buff,this->p_srec->getFragmentSize(index)));
86 this->ui->fragmentHexView->setAddressOffset(this->p_srec->getFragmentAddress(index));
94 this->ui->fragmentHexView->setAddressOffset(this->p_srec->getFragmentAddress(index));
87 }
95 }
88
96
89 }
97 }
90
98
99 void srecFileWidget::exportToSREC()
100 {
101 QList<codeFragment *> SelectedFragmentsList=getSelectedFragments();
102 if(SelectedFragmentsList.count()>0)
103 {
104 QString fileName = QFileDialog::getSaveFileName(this, tr("Save File"),
105 NULL,
106 tr("SREC Files (*.srec)"));
107 if(!fileName.isEmpty())
108 {
109 srecFile::toSrec(SelectedFragmentsList,fileName);
110 }
111 }
112 }
91
113
114 void srecFileWidget::exportToBIN()
115 {
116 QList<codeFragment *> SelectedFragmentsList=getSelectedFragments();
117 if(SelectedFragmentsList.count()>0)
118 {
119 QString fileName = QFileDialog::getSaveFileName(this, tr("Save File"),
120 NULL,
121 tr("Binary Files (*.bin)"));
122 if(!fileName.isEmpty())
123 {
124 binaryFile::toBinary(SelectedFragmentsList,fileName);
125 }
126 }
127 }
128
129 QList<codeFragment *> srecFileWidget::getSelectedFragments()
130 {
131 QList<codeFragment *> SelectedFragmentsList;
132 QList<QTableWidgetItem*> items = this->ui->fragmentsList->selectedItems();
133 for(int i=0;i<items.count();i++)
134 {
135 codeFragment * fragment = p_srec->getFragment(items.at(i)->row());
136 if(!SelectedFragmentsList.contains(fragment))
137 {
138 SelectedFragmentsList.append(fragment);
139 }
140 }
141 return SelectedFragmentsList;
142 }
143
144
@@ -1,52 +1,58
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 SRECFILEWIDGET_H
22 #ifndef SRECFILEWIDGET_H
23 #define SRECFILEWIDGET_H
23 #define SRECFILEWIDGET_H
24
24
25 #include <QWidget>
25 #include <QWidget>
26 #include "srecfile.h"
26 #include "srecfile.h"
27 #include <QAction>
27
28
28 namespace Ui {
29 namespace Ui {
29 class srecFileWidget;
30 class srecFileWidget;
30 }
31 }
31
32
32 class srecFileWidget : public QWidget
33 class srecFileWidget : public abstractBinFileWidget
33 {
34 {
34 Q_OBJECT
35 Q_OBJECT
35
36
36 public:
37 public:
37 explicit srecFileWidget(QWidget *parent = 0);
38 explicit srecFileWidget(QWidget *parent = 0);
38 ~srecFileWidget();
39 ~srecFileWidget();
39
40
40 public slots:
41 public slots:
41 void updatSrecFile(srecFile* file);
42 void setFile(abstractBinFile* file);
42 void updateRecords();
43 void reloadFile();
43
44
44 private slots:
45 private slots:
45 void recordCellActivated(int row, int column);
46 void recordCellActivated(int row, int column);
47 void exportToSREC();
48 void exportToBIN();
46
49
47 private:
50 private:
51 QList<codeFragment *> getSelectedFragments();
48 Ui::srecFileWidget *ui;
52 Ui::srecFileWidget *ui;
49 srecFile* p_srec;
53 srecFile* p_srec;
54 QAction* exportToSREC_action;
55 QAction* exportToBIN_action;
50 };
56 };
51
57
52 #endif // SRECFILEWIDGET_H
58 #endif // SRECFILEWIDGET_H
@@ -1,84 +1,87
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">
47 <enum>Qt::ActionsContextMenu</enum>
48 </property>
46 <column>
49 <column>
47 <property name="text">
50 <property name="text">
48 <string>Index</string>
51 <string>Index</string>
49 </property>
52 </property>
50 </column>
53 </column>
51 <column>
54 <column>
52 <property name="text">
55 <property name="text">
53 <string>Address</string>
56 <string>Address</string>
54 </property>
57 </property>
55 </column>
58 </column>
56 <column>
59 <column>
57 <property name="text">
60 <property name="text">
58 <string>Size</string>
61 <string>Size</string>
59 </property>
62 </property>
60 </column>
63 </column>
61 <column>
64 <column>
62 <property name="text">
65 <property name="text">
63 <string>Header</string>
66 <string>Header</string>
64 </property>
67 </property>
65 </column>
68 </column>
66 </widget>
69 </widget>
67 </item>
70 </item>
68 </layout>
71 </layout>
69 </widget>
72 </widget>
70 </widget>
73 </widget>
71 </item>
74 </item>
72 </layout>
75 </layout>
73 </widget>
76 </widget>
74 <customwidgets>
77 <customwidgets>
75 <customwidget>
78 <customwidget>
76 <class>QHexEdit</class>
79 <class>QHexEdit</class>
77 <extends>QWidget</extends>
80 <extends>QWidget</extends>
78 <header location="global">qhexedit.h</header>
81 <header location="global">qhexedit.h</header>
79 <container>1</container>
82 <container>1</container>
80 </customwidget>
83 </customwidget>
81 </customwidgets>
84 </customwidgets>
82 <resources/>
85 <resources/>
83 <connections/>
86 <connections/>
84 </ui>
87 </ui>
General Comments 0
You need to be logged in to leave comments. Login now