mirror of
https://github.com/mappu/miqt.git
synced 2025-02-01 19:10:21 +00:00
160 lines
10 KiB
C++
160 lines
10 KiB
C++
#pragma once
|
|
#ifndef MIQT_QT6_GEN_QITEMSELECTIONMODEL_H
|
|
#define MIQT_QT6_GEN_QITEMSELECTIONMODEL_H
|
|
|
|
#include <stdbool.h>
|
|
#include <stddef.h>
|
|
#include <stdint.h>
|
|
|
|
#pragma GCC diagnostic ignored "-Wdeprecated-declarations"
|
|
|
|
#include "../libmiqt/libmiqt.h"
|
|
|
|
#ifdef __cplusplus
|
|
extern "C" {
|
|
#endif
|
|
|
|
#ifdef __cplusplus
|
|
class QAbstractItemModel;
|
|
class QChildEvent;
|
|
class QEvent;
|
|
class QItemSelection;
|
|
class QItemSelectionModel;
|
|
class QItemSelectionRange;
|
|
class QMetaMethod;
|
|
class QMetaObject;
|
|
class QModelIndex;
|
|
class QObject;
|
|
class QPersistentModelIndex;
|
|
class QTimerEvent;
|
|
#else
|
|
typedef struct QAbstractItemModel QAbstractItemModel;
|
|
typedef struct QChildEvent QChildEvent;
|
|
typedef struct QEvent QEvent;
|
|
typedef struct QItemSelection QItemSelection;
|
|
typedef struct QItemSelectionModel QItemSelectionModel;
|
|
typedef struct QItemSelectionRange QItemSelectionRange;
|
|
typedef struct QMetaMethod QMetaMethod;
|
|
typedef struct QMetaObject QMetaObject;
|
|
typedef struct QModelIndex QModelIndex;
|
|
typedef struct QObject QObject;
|
|
typedef struct QPersistentModelIndex QPersistentModelIndex;
|
|
typedef struct QTimerEvent QTimerEvent;
|
|
#endif
|
|
|
|
QItemSelectionRange* QItemSelectionRange_new();
|
|
QItemSelectionRange* QItemSelectionRange_new2(QModelIndex* topL, QModelIndex* bottomR);
|
|
QItemSelectionRange* QItemSelectionRange_new3(QModelIndex* index);
|
|
QItemSelectionRange* QItemSelectionRange_new4(QItemSelectionRange* param1);
|
|
void QItemSelectionRange_swap(QItemSelectionRange* self, QItemSelectionRange* other);
|
|
int QItemSelectionRange_top(const QItemSelectionRange* self);
|
|
int QItemSelectionRange_left(const QItemSelectionRange* self);
|
|
int QItemSelectionRange_bottom(const QItemSelectionRange* self);
|
|
int QItemSelectionRange_right(const QItemSelectionRange* self);
|
|
int QItemSelectionRange_width(const QItemSelectionRange* self);
|
|
int QItemSelectionRange_height(const QItemSelectionRange* self);
|
|
QPersistentModelIndex* QItemSelectionRange_topLeft(const QItemSelectionRange* self);
|
|
QPersistentModelIndex* QItemSelectionRange_bottomRight(const QItemSelectionRange* self);
|
|
QModelIndex* QItemSelectionRange_parent(const QItemSelectionRange* self);
|
|
QAbstractItemModel* QItemSelectionRange_model(const QItemSelectionRange* self);
|
|
bool QItemSelectionRange_contains(const QItemSelectionRange* self, QModelIndex* index);
|
|
bool QItemSelectionRange_contains2(const QItemSelectionRange* self, int row, int column, QModelIndex* parentIndex);
|
|
bool QItemSelectionRange_intersects(const QItemSelectionRange* self, QItemSelectionRange* other);
|
|
QItemSelectionRange* QItemSelectionRange_intersected(const QItemSelectionRange* self, QItemSelectionRange* other);
|
|
bool QItemSelectionRange_operatorEqual(const QItemSelectionRange* self, QItemSelectionRange* other);
|
|
bool QItemSelectionRange_operatorNotEqual(const QItemSelectionRange* self, QItemSelectionRange* other);
|
|
bool QItemSelectionRange_isValid(const QItemSelectionRange* self);
|
|
bool QItemSelectionRange_isEmpty(const QItemSelectionRange* self);
|
|
struct miqt_array /* of QModelIndex* */ QItemSelectionRange_indexes(const QItemSelectionRange* self);
|
|
void QItemSelectionRange_delete(QItemSelectionRange* self);
|
|
|
|
QItemSelectionModel* QItemSelectionModel_new();
|
|
QItemSelectionModel* QItemSelectionModel_new2(QAbstractItemModel* model, QObject* parent);
|
|
QItemSelectionModel* QItemSelectionModel_new3(QAbstractItemModel* model);
|
|
void QItemSelectionModel_virtbase(QItemSelectionModel* src, QObject** outptr_QObject);
|
|
QMetaObject* QItemSelectionModel_metaObject(const QItemSelectionModel* self);
|
|
void* QItemSelectionModel_metacast(QItemSelectionModel* self, const char* param1);
|
|
struct miqt_string QItemSelectionModel_tr(const char* s);
|
|
QModelIndex* QItemSelectionModel_currentIndex(const QItemSelectionModel* self);
|
|
bool QItemSelectionModel_isSelected(const QItemSelectionModel* self, QModelIndex* index);
|
|
bool QItemSelectionModel_isRowSelected(const QItemSelectionModel* self, int row);
|
|
bool QItemSelectionModel_isColumnSelected(const QItemSelectionModel* self, int column);
|
|
bool QItemSelectionModel_rowIntersectsSelection(const QItemSelectionModel* self, int row);
|
|
bool QItemSelectionModel_columnIntersectsSelection(const QItemSelectionModel* self, int column);
|
|
bool QItemSelectionModel_hasSelection(const QItemSelectionModel* self);
|
|
struct miqt_array /* of QModelIndex* */ QItemSelectionModel_selectedIndexes(const QItemSelectionModel* self);
|
|
struct miqt_array /* of QModelIndex* */ QItemSelectionModel_selectedRows(const QItemSelectionModel* self);
|
|
struct miqt_array /* of QModelIndex* */ QItemSelectionModel_selectedColumns(const QItemSelectionModel* self);
|
|
QItemSelection* QItemSelectionModel_selection(const QItemSelectionModel* self);
|
|
QAbstractItemModel* QItemSelectionModel_model(const QItemSelectionModel* self);
|
|
QAbstractItemModel* QItemSelectionModel_model2(QItemSelectionModel* self);
|
|
void QItemSelectionModel_setModel(QItemSelectionModel* self, QAbstractItemModel* model);
|
|
void QItemSelectionModel_setCurrentIndex(QItemSelectionModel* self, QModelIndex* index, int command);
|
|
void QItemSelectionModel_select(QItemSelectionModel* self, QModelIndex* index, int command);
|
|
void QItemSelectionModel_select2(QItemSelectionModel* self, QItemSelection* selection, int command);
|
|
void QItemSelectionModel_clear(QItemSelectionModel* self);
|
|
void QItemSelectionModel_reset(QItemSelectionModel* self);
|
|
void QItemSelectionModel_clearSelection(QItemSelectionModel* self);
|
|
void QItemSelectionModel_clearCurrentIndex(QItemSelectionModel* self);
|
|
void QItemSelectionModel_selectionChanged(QItemSelectionModel* self, QItemSelection* selected, QItemSelection* deselected);
|
|
void QItemSelectionModel_connect_selectionChanged(QItemSelectionModel* self, intptr_t slot);
|
|
void QItemSelectionModel_currentChanged(QItemSelectionModel* self, QModelIndex* current, QModelIndex* previous);
|
|
void QItemSelectionModel_connect_currentChanged(QItemSelectionModel* self, intptr_t slot);
|
|
void QItemSelectionModel_currentRowChanged(QItemSelectionModel* self, QModelIndex* current, QModelIndex* previous);
|
|
void QItemSelectionModel_connect_currentRowChanged(QItemSelectionModel* self, intptr_t slot);
|
|
void QItemSelectionModel_currentColumnChanged(QItemSelectionModel* self, QModelIndex* current, QModelIndex* previous);
|
|
void QItemSelectionModel_connect_currentColumnChanged(QItemSelectionModel* self, intptr_t slot);
|
|
void QItemSelectionModel_modelChanged(QItemSelectionModel* self, QAbstractItemModel* model);
|
|
void QItemSelectionModel_connect_modelChanged(QItemSelectionModel* self, intptr_t slot);
|
|
struct miqt_string QItemSelectionModel_tr2(const char* s, const char* c);
|
|
struct miqt_string QItemSelectionModel_tr3(const char* s, const char* c, int n);
|
|
bool QItemSelectionModel_isRowSelected2(const QItemSelectionModel* self, int row, QModelIndex* parent);
|
|
bool QItemSelectionModel_isColumnSelected2(const QItemSelectionModel* self, int column, QModelIndex* parent);
|
|
bool QItemSelectionModel_rowIntersectsSelection2(const QItemSelectionModel* self, int row, QModelIndex* parent);
|
|
bool QItemSelectionModel_columnIntersectsSelection2(const QItemSelectionModel* self, int column, QModelIndex* parent);
|
|
struct miqt_array /* of QModelIndex* */ QItemSelectionModel_selectedRows1(const QItemSelectionModel* self, int column);
|
|
struct miqt_array /* of QModelIndex* */ QItemSelectionModel_selectedColumns1(const QItemSelectionModel* self, int row);
|
|
bool QItemSelectionModel_override_virtual_setCurrentIndex(void* self, intptr_t slot);
|
|
void QItemSelectionModel_virtualbase_setCurrentIndex(void* self, QModelIndex* index, int command);
|
|
bool QItemSelectionModel_override_virtual_select(void* self, intptr_t slot);
|
|
void QItemSelectionModel_virtualbase_select(void* self, QModelIndex* index, int command);
|
|
bool QItemSelectionModel_override_virtual_select2(void* self, intptr_t slot);
|
|
void QItemSelectionModel_virtualbase_select2(void* self, QItemSelection* selection, int command);
|
|
bool QItemSelectionModel_override_virtual_clear(void* self, intptr_t slot);
|
|
void QItemSelectionModel_virtualbase_clear(void* self);
|
|
bool QItemSelectionModel_override_virtual_reset(void* self, intptr_t slot);
|
|
void QItemSelectionModel_virtualbase_reset(void* self);
|
|
bool QItemSelectionModel_override_virtual_clearCurrentIndex(void* self, intptr_t slot);
|
|
void QItemSelectionModel_virtualbase_clearCurrentIndex(void* self);
|
|
bool QItemSelectionModel_override_virtual_event(void* self, intptr_t slot);
|
|
bool QItemSelectionModel_virtualbase_event(void* self, QEvent* event);
|
|
bool QItemSelectionModel_override_virtual_eventFilter(void* self, intptr_t slot);
|
|
bool QItemSelectionModel_virtualbase_eventFilter(void* self, QObject* watched, QEvent* event);
|
|
bool QItemSelectionModel_override_virtual_timerEvent(void* self, intptr_t slot);
|
|
void QItemSelectionModel_virtualbase_timerEvent(void* self, QTimerEvent* event);
|
|
bool QItemSelectionModel_override_virtual_childEvent(void* self, intptr_t slot);
|
|
void QItemSelectionModel_virtualbase_childEvent(void* self, QChildEvent* event);
|
|
bool QItemSelectionModel_override_virtual_customEvent(void* self, intptr_t slot);
|
|
void QItemSelectionModel_virtualbase_customEvent(void* self, QEvent* event);
|
|
bool QItemSelectionModel_override_virtual_connectNotify(void* self, intptr_t slot);
|
|
void QItemSelectionModel_virtualbase_connectNotify(void* self, QMetaMethod* signal);
|
|
bool QItemSelectionModel_override_virtual_disconnectNotify(void* self, intptr_t slot);
|
|
void QItemSelectionModel_virtualbase_disconnectNotify(void* self, QMetaMethod* signal);
|
|
void QItemSelectionModel_delete(QItemSelectionModel* self);
|
|
|
|
QItemSelection* QItemSelection_new(QModelIndex* topLeft, QModelIndex* bottomRight);
|
|
QItemSelection* QItemSelection_new2();
|
|
QItemSelection* QItemSelection_new3(QItemSelection* param1);
|
|
void QItemSelection_select(QItemSelection* self, QModelIndex* topLeft, QModelIndex* bottomRight);
|
|
bool QItemSelection_contains(const QItemSelection* self, QModelIndex* index);
|
|
struct miqt_array /* of QModelIndex* */ QItemSelection_indexes(const QItemSelection* self);
|
|
void QItemSelection_merge(QItemSelection* self, QItemSelection* other, int command);
|
|
void QItemSelection_split(QItemSelectionRange* range, QItemSelectionRange* other, QItemSelection* result);
|
|
void QItemSelection_delete(QItemSelection* self);
|
|
|
|
#ifdef __cplusplus
|
|
} /* extern C */
|
|
#endif
|
|
|
|
#endif
|