@@ -58,13 +58,13 @@ virtual bool canFetchMore(const QModelIndex& parent) const;
58
58
virtual void childEvent (QChildEvent* arg__1);
59
59
virtual int columnCount (const QModelIndex& parent = QModelIndex()) const ;
60
60
virtual void customEvent (QEvent* arg__1);
61
- virtual QVariant data (const QModelIndex& proxyIndex, int role) const ;
61
+ virtual QVariant data (const QModelIndex& proxyIndex, int role = Qt::DisplayRole ) const ;
62
62
virtual bool dropMimeData (const QMimeData* data, Qt::DropAction action, int row, int column, const QModelIndex& parent);
63
63
virtual bool event (QEvent* arg__1);
64
64
virtual bool eventFilter (QObject* arg__1, QEvent* arg__2);
65
65
virtual void fetchMore (const QModelIndex& parent);
66
66
virtual Qt::ItemFlags flags (const QModelIndex& index) const ;
67
- virtual bool hasChildren (const QModelIndex& parent) const ;
67
+ virtual bool hasChildren (const QModelIndex& parent = QModelIndex() ) const ;
68
68
virtual QVariant headerData (int section, Qt::Orientation orientation, int role) const ;
69
69
virtual QModelIndex index (int row, int column, const QModelIndex& parent = QModelIndex()) const ;
70
70
virtual bool insertColumns (int column, int count, const QModelIndex& parent = QModelIndex());
@@ -85,12 +85,12 @@ virtual bool removeRows(int row, int count, const QModelIndex& parent = QMod
85
85
virtual void revert ();
86
86
virtual QHash<int , QByteArray > roleNames () const ;
87
87
virtual int rowCount (const QModelIndex& parent = QModelIndex()) const ;
88
- virtual bool setData (const QModelIndex& index, const QVariant& value, int role);
89
- virtual bool setHeaderData (int section, Qt::Orientation orientation, const QVariant& value, int role);
88
+ virtual bool setData (const QModelIndex& index, const QVariant& value, int role = Qt::EditRole );
89
+ virtual bool setHeaderData (int section, Qt::Orientation orientation, const QVariant& value, int role = Qt::EditRole );
90
90
virtual bool setItemData (const QModelIndex& index, const QMap<int , QVariant >& roles);
91
91
virtual void setSourceModel (QAbstractItemModel* sourceModel);
92
92
virtual QModelIndex sibling (int row, int column, const QModelIndex& idx) const ;
93
- virtual void sort (int column, Qt::SortOrder order);
93
+ virtual void sort (int column, Qt::SortOrder order = Qt::AscendingOrder );
94
94
virtual QSize span (const QModelIndex& index) const ;
95
95
virtual bool submit ();
96
96
virtual Qt::DropActions supportedDragActions () const ;
@@ -814,6 +814,9 @@ inline void promoted_childEvent(QChildEvent* arg__1) { QObject::childEvent(arg_
814
814
inline void promoted_customEvent (QEvent* arg__1) { QObject::customEvent (arg__1); }
815
815
inline bool promoted_event (QEvent* arg__1) { return QObject::event (arg__1); }
816
816
inline bool promoted_eventFilter (QObject* arg__1, QEvent* arg__2) { return QObject::eventFilter (arg__1, arg__2); }
817
+ inline bool promoted_isSignalConnected (const QMetaMethod& signal) const { return QObject::isSignalConnected (signal ); }
818
+ inline QObject* promoted_sender () const { return QObject::sender (); }
819
+ inline int promoted_senderSignalIndex () const { return QObject::senderSignalIndex (); }
817
820
inline void promoted_timerEvent (QTimerEvent* arg__1) { QObject::timerEvent (arg__1); }
818
821
};
819
822
@@ -833,12 +836,15 @@ void delete_QObject(QObject* obj) { delete obj; }
833
836
bool event (QObject* theWrappedObject, QEvent* arg__1);
834
837
bool eventFilter (QObject* theWrappedObject, QObject* arg__1, QEvent* arg__2);
835
838
void installEventFilter (QObject* theWrappedObject, QObject* arg__1);
839
+ bool isSignalConnected (QObject* theWrappedObject, const QMetaMethod& signal) const ;
836
840
bool isWidgetType (QObject* theWrappedObject) const ;
837
841
bool isWindowType (QObject* theWrappedObject) const ;
838
842
void killTimer (QObject* theWrappedObject, int id);
839
843
void moveToThread (QObject* theWrappedObject, QThread* thread);
840
844
QString objectName (QObject* theWrappedObject) const ;
841
845
void removeEventFilter (QObject* theWrappedObject, QObject* arg__1);
846
+ QObject* sender (QObject* theWrappedObject) const ;
847
+ int senderSignalIndex (QObject* theWrappedObject) const ;
842
848
void setObjectName (QObject* theWrappedObject, const QString& name);
843
849
bool signalsBlocked (QObject* theWrappedObject) const ;
844
850
int startTimer (QObject* theWrappedObject, int interval, Qt::TimerType timerType = Qt::CoarseTimer);
@@ -1015,6 +1021,7 @@ inline bool promoted_canReadLine() const { return QProcess::canReadLine(); }
1015
1021
inline void promoted_close () { QProcess::close (); }
1016
1022
inline bool promoted_isSequential () const { return QProcess::isSequential (); }
1017
1023
inline qint64 promoted_readData (char * data, qint64 maxlen) { return QProcess::readData (data, maxlen); }
1024
+ inline void promoted_setProcessState (QProcess::ProcessState state) { QProcess::setProcessState (state); }
1018
1025
inline void promoted_setupChildProcess () { QProcess::setupChildProcess (); }
1019
1026
inline bool promoted_waitForBytesWritten (int msecs = 30000 ) { return QProcess::waitForBytesWritten (msecs); }
1020
1027
inline bool promoted_waitForReadyRead (int msecs = 30000 ) { return QProcess::waitForReadyRead (msecs); }
@@ -1063,6 +1070,7 @@ void delete_QProcess(QProcess* obj) { delete obj; }
1063
1070
void setEnvironment (QProcess* theWrappedObject, const QStringList& environment);
1064
1071
void setProcessChannelMode (QProcess* theWrappedObject, QProcess::ProcessChannelMode mode);
1065
1072
void setProcessEnvironment (QProcess* theWrappedObject, const QProcessEnvironment& environment);
1073
+ void setProcessState (QProcess* theWrappedObject, QProcess::ProcessState state);
1066
1074
void setReadChannel (QProcess* theWrappedObject, QProcess::ProcessChannel channel);
1067
1075
void setStandardErrorFile (QProcess* theWrappedObject, const QString& fileName, QIODevice::OpenMode mode = QIODevice::Truncate);
1068
1076
void setStandardInputFile (QProcess* theWrappedObject, const QString& fileName);
0 commit comments