2024-11-17 06:21:37 +00:00
# pragma once
# ifndef MIQT_QT6_GEN_QFILEDIALOG_H
# define MIQT_QT6_GEN_QFILEDIALOG_H
2024-10-20 05:21:03 +00:00
# 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 QAbstractFileIconProvider ;
class QAbstractItemDelegate ;
class QAbstractProxyModel ;
2024-11-19 06:29:06 +00:00
class QCloseEvent ;
class QContextMenuEvent ;
class QDialog ;
2024-10-20 05:21:03 +00:00
class QDir ;
2024-11-19 06:29:06 +00:00
class QEvent ;
2024-10-20 05:21:03 +00:00
class QFileDialog ;
2024-11-19 06:29:06 +00:00
class QKeyEvent ;
2024-10-20 05:21:03 +00:00
class QMetaObject ;
2024-11-19 06:29:06 +00:00
class QObject ;
class QPaintDevice ;
class QResizeEvent ;
class QShowEvent ;
class QSize ;
2024-10-20 05:21:03 +00:00
class QUrl ;
class QWidget ;
# else
typedef struct QAbstractFileIconProvider QAbstractFileIconProvider ;
typedef struct QAbstractItemDelegate QAbstractItemDelegate ;
typedef struct QAbstractProxyModel QAbstractProxyModel ;
2024-11-19 06:29:06 +00:00
typedef struct QCloseEvent QCloseEvent ;
typedef struct QContextMenuEvent QContextMenuEvent ;
typedef struct QDialog QDialog ;
2024-10-20 05:21:03 +00:00
typedef struct QDir QDir ;
2024-11-19 06:29:06 +00:00
typedef struct QEvent QEvent ;
2024-10-20 05:21:03 +00:00
typedef struct QFileDialog QFileDialog ;
2024-11-19 06:29:06 +00:00
typedef struct QKeyEvent QKeyEvent ;
2024-10-20 05:21:03 +00:00
typedef struct QMetaObject QMetaObject ;
2024-11-19 06:29:06 +00:00
typedef struct QObject QObject ;
typedef struct QPaintDevice QPaintDevice ;
typedef struct QResizeEvent QResizeEvent ;
typedef struct QShowEvent QShowEvent ;
typedef struct QSize QSize ;
2024-10-20 05:21:03 +00:00
typedef struct QUrl QUrl ;
typedef struct QWidget QWidget ;
# endif
2024-12-07 04:15:57 +00:00
QFileDialog * QFileDialog_new ( QWidget * parent ) ;
QFileDialog * QFileDialog_new2 ( QWidget * parent , int f ) ;
QFileDialog * QFileDialog_new3 ( ) ;
QFileDialog * QFileDialog_new4 ( QWidget * parent , struct miqt_string caption ) ;
QFileDialog * QFileDialog_new5 ( QWidget * parent , struct miqt_string caption , struct miqt_string directory ) ;
QFileDialog * QFileDialog_new6 ( QWidget * parent , struct miqt_string caption , struct miqt_string directory , struct miqt_string filter ) ;
void QFileDialog_virtbase ( QFileDialog * src , QDialog * * outptr_QDialog ) ;
2024-10-20 05:21:03 +00:00
QMetaObject * QFileDialog_MetaObject ( const QFileDialog * self ) ;
void * QFileDialog_Metacast ( QFileDialog * self , const char * param1 ) ;
struct miqt_string QFileDialog_Tr ( const char * s ) ;
void QFileDialog_SetDirectory ( QFileDialog * self , struct miqt_string directory ) ;
void QFileDialog_SetDirectoryWithDirectory ( QFileDialog * self , QDir * directory ) ;
QDir * QFileDialog_Directory ( const QFileDialog * self ) ;
void QFileDialog_SetDirectoryUrl ( QFileDialog * self , QUrl * directory ) ;
QUrl * QFileDialog_DirectoryUrl ( const QFileDialog * self ) ;
void QFileDialog_SelectFile ( QFileDialog * self , struct miqt_string filename ) ;
2024-11-17 06:21:37 +00:00
struct miqt_array /* of struct miqt_string */ QFileDialog_SelectedFiles ( const QFileDialog * self ) ;
2024-10-20 05:21:03 +00:00
void QFileDialog_SelectUrl ( QFileDialog * self , QUrl * url ) ;
2024-11-17 06:21:37 +00:00
struct miqt_array /* of QUrl* */ QFileDialog_SelectedUrls ( const QFileDialog * self ) ;
2024-10-20 05:21:03 +00:00
void QFileDialog_SetNameFilter ( QFileDialog * self , struct miqt_string filter ) ;
2024-11-17 06:21:37 +00:00
void QFileDialog_SetNameFilters ( QFileDialog * self , struct miqt_array /* of struct miqt_string */ filters ) ;
struct miqt_array /* of struct miqt_string */ QFileDialog_NameFilters ( const QFileDialog * self ) ;
2024-10-20 05:21:03 +00:00
void QFileDialog_SelectNameFilter ( QFileDialog * self , struct miqt_string filter ) ;
struct miqt_string QFileDialog_SelectedMimeTypeFilter ( const QFileDialog * self ) ;
struct miqt_string QFileDialog_SelectedNameFilter ( const QFileDialog * self ) ;
2024-11-17 06:21:37 +00:00
void QFileDialog_SetMimeTypeFilters ( QFileDialog * self , struct miqt_array /* of struct miqt_string */ filters ) ;
struct miqt_array /* of struct miqt_string */ QFileDialog_MimeTypeFilters ( const QFileDialog * self ) ;
2024-10-20 05:21:03 +00:00
void QFileDialog_SelectMimeTypeFilter ( QFileDialog * self , struct miqt_string filter ) ;
int QFileDialog_Filter ( const QFileDialog * self ) ;
void QFileDialog_SetFilter ( QFileDialog * self , int filters ) ;
void QFileDialog_SetViewMode ( QFileDialog * self , int mode ) ;
int QFileDialog_ViewMode ( const QFileDialog * self ) ;
void QFileDialog_SetFileMode ( QFileDialog * self , int mode ) ;
int QFileDialog_FileMode ( const QFileDialog * self ) ;
void QFileDialog_SetAcceptMode ( QFileDialog * self , int mode ) ;
int QFileDialog_AcceptMode ( const QFileDialog * self ) ;
2024-11-17 06:21:37 +00:00
void QFileDialog_SetSidebarUrls ( QFileDialog * self , struct miqt_array /* of QUrl* */ urls ) ;
struct miqt_array /* of QUrl* */ QFileDialog_SidebarUrls ( const QFileDialog * self ) ;
2024-10-20 05:21:03 +00:00
struct miqt_string QFileDialog_SaveState ( const QFileDialog * self ) ;
bool QFileDialog_RestoreState ( QFileDialog * self , struct miqt_string state ) ;
void QFileDialog_SetDefaultSuffix ( QFileDialog * self , struct miqt_string suffix ) ;
struct miqt_string QFileDialog_DefaultSuffix ( const QFileDialog * self ) ;
2024-11-17 06:21:37 +00:00
void QFileDialog_SetHistory ( QFileDialog * self , struct miqt_array /* of struct miqt_string */ paths ) ;
struct miqt_array /* of struct miqt_string */ QFileDialog_History ( const QFileDialog * self ) ;
2024-10-20 05:21:03 +00:00
void QFileDialog_SetItemDelegate ( QFileDialog * self , QAbstractItemDelegate * delegate ) ;
QAbstractItemDelegate * QFileDialog_ItemDelegate ( const QFileDialog * self ) ;
void QFileDialog_SetIconProvider ( QFileDialog * self , QAbstractFileIconProvider * provider ) ;
QAbstractFileIconProvider * QFileDialog_IconProvider ( const QFileDialog * self ) ;
void QFileDialog_SetLabelText ( QFileDialog * self , int label , struct miqt_string text ) ;
struct miqt_string QFileDialog_LabelText ( const QFileDialog * self , int label ) ;
2024-11-17 06:21:37 +00:00
void QFileDialog_SetSupportedSchemes ( QFileDialog * self , struct miqt_array /* of struct miqt_string */ schemes ) ;
struct miqt_array /* of struct miqt_string */ QFileDialog_SupportedSchemes ( const QFileDialog * self ) ;
2024-10-20 05:21:03 +00:00
void QFileDialog_SetProxyModel ( QFileDialog * self , QAbstractProxyModel * model ) ;
QAbstractProxyModel * QFileDialog_ProxyModel ( const QFileDialog * self ) ;
void QFileDialog_SetOption ( QFileDialog * self , int option ) ;
bool QFileDialog_TestOption ( const QFileDialog * self , int option ) ;
void QFileDialog_SetOptions ( QFileDialog * self , int options ) ;
int QFileDialog_Options ( const QFileDialog * self ) ;
void QFileDialog_SetVisible ( QFileDialog * self , bool visible ) ;
void QFileDialog_FileSelected ( QFileDialog * self , struct miqt_string file ) ;
void QFileDialog_connect_FileSelected ( QFileDialog * self , intptr_t slot ) ;
2024-11-17 06:21:37 +00:00
void QFileDialog_FilesSelected ( QFileDialog * self , struct miqt_array /* of struct miqt_string */ files ) ;
2024-10-20 05:21:03 +00:00
void QFileDialog_connect_FilesSelected ( QFileDialog * self , intptr_t slot ) ;
void QFileDialog_CurrentChanged ( QFileDialog * self , struct miqt_string path ) ;
void QFileDialog_connect_CurrentChanged ( QFileDialog * self , intptr_t slot ) ;
void QFileDialog_DirectoryEntered ( QFileDialog * self , struct miqt_string directory ) ;
void QFileDialog_connect_DirectoryEntered ( QFileDialog * self , intptr_t slot ) ;
void QFileDialog_UrlSelected ( QFileDialog * self , QUrl * url ) ;
void QFileDialog_connect_UrlSelected ( QFileDialog * self , intptr_t slot ) ;
2024-11-17 06:21:37 +00:00
void QFileDialog_UrlsSelected ( QFileDialog * self , struct miqt_array /* of QUrl* */ urls ) ;
2024-10-20 05:21:03 +00:00
void QFileDialog_connect_UrlsSelected ( QFileDialog * self , intptr_t slot ) ;
void QFileDialog_CurrentUrlChanged ( QFileDialog * self , QUrl * url ) ;
void QFileDialog_connect_CurrentUrlChanged ( QFileDialog * self , intptr_t slot ) ;
void QFileDialog_DirectoryUrlEntered ( QFileDialog * self , QUrl * directory ) ;
void QFileDialog_connect_DirectoryUrlEntered ( QFileDialog * self , intptr_t slot ) ;
void QFileDialog_FilterSelected ( QFileDialog * self , struct miqt_string filter ) ;
void QFileDialog_connect_FilterSelected ( QFileDialog * self , intptr_t slot ) ;
struct miqt_string QFileDialog_GetOpenFileName ( ) ;
QUrl * QFileDialog_GetOpenFileUrl ( ) ;
struct miqt_string QFileDialog_GetSaveFileName ( ) ;
QUrl * QFileDialog_GetSaveFileUrl ( ) ;
struct miqt_string QFileDialog_GetExistingDirectory ( ) ;
QUrl * QFileDialog_GetExistingDirectoryUrl ( ) ;
2024-11-17 06:21:37 +00:00
struct miqt_array /* of struct miqt_string */ QFileDialog_GetOpenFileNames ( ) ;
struct miqt_array /* of QUrl* */ QFileDialog_GetOpenFileUrls ( ) ;
2024-10-25 21:42:03 +00:00
void QFileDialog_SaveFileContent ( struct miqt_string fileContent , struct miqt_string fileNameHint ) ;
2024-11-19 06:29:06 +00:00
void QFileDialog_Done ( QFileDialog * self , int result ) ;
void QFileDialog_Accept ( QFileDialog * self ) ;
void QFileDialog_ChangeEvent ( QFileDialog * self , QEvent * e ) ;
2024-10-20 05:21:03 +00:00
struct miqt_string QFileDialog_Tr2 ( const char * s , const char * c ) ;
struct miqt_string QFileDialog_Tr3 ( const char * s , const char * c , int n ) ;
void QFileDialog_SetOption2 ( QFileDialog * self , int option , bool on ) ;
struct miqt_string QFileDialog_GetOpenFileName1 ( QWidget * parent ) ;
struct miqt_string QFileDialog_GetOpenFileName2 ( QWidget * parent , struct miqt_string caption ) ;
struct miqt_string QFileDialog_GetOpenFileName3 ( QWidget * parent , struct miqt_string caption , struct miqt_string dir ) ;
struct miqt_string QFileDialog_GetOpenFileName4 ( QWidget * parent , struct miqt_string caption , struct miqt_string dir , struct miqt_string filter ) ;
QUrl * QFileDialog_GetOpenFileUrl1 ( QWidget * parent ) ;
QUrl * QFileDialog_GetOpenFileUrl2 ( QWidget * parent , struct miqt_string caption ) ;
QUrl * QFileDialog_GetOpenFileUrl3 ( QWidget * parent , struct miqt_string caption , QUrl * dir ) ;
QUrl * QFileDialog_GetOpenFileUrl4 ( QWidget * parent , struct miqt_string caption , QUrl * dir , struct miqt_string filter ) ;
struct miqt_string QFileDialog_GetSaveFileName1 ( QWidget * parent ) ;
struct miqt_string QFileDialog_GetSaveFileName2 ( QWidget * parent , struct miqt_string caption ) ;
struct miqt_string QFileDialog_GetSaveFileName3 ( QWidget * parent , struct miqt_string caption , struct miqt_string dir ) ;
struct miqt_string QFileDialog_GetSaveFileName4 ( QWidget * parent , struct miqt_string caption , struct miqt_string dir , struct miqt_string filter ) ;
QUrl * QFileDialog_GetSaveFileUrl1 ( QWidget * parent ) ;
QUrl * QFileDialog_GetSaveFileUrl2 ( QWidget * parent , struct miqt_string caption ) ;
QUrl * QFileDialog_GetSaveFileUrl3 ( QWidget * parent , struct miqt_string caption , QUrl * dir ) ;
QUrl * QFileDialog_GetSaveFileUrl4 ( QWidget * parent , struct miqt_string caption , QUrl * dir , struct miqt_string filter ) ;
struct miqt_string QFileDialog_GetExistingDirectory1 ( QWidget * parent ) ;
struct miqt_string QFileDialog_GetExistingDirectory2 ( QWidget * parent , struct miqt_string caption ) ;
struct miqt_string QFileDialog_GetExistingDirectory3 ( QWidget * parent , struct miqt_string caption , struct miqt_string dir ) ;
struct miqt_string QFileDialog_GetExistingDirectory4 ( QWidget * parent , struct miqt_string caption , struct miqt_string dir , int options ) ;
QUrl * QFileDialog_GetExistingDirectoryUrl1 ( QWidget * parent ) ;
QUrl * QFileDialog_GetExistingDirectoryUrl2 ( QWidget * parent , struct miqt_string caption ) ;
QUrl * QFileDialog_GetExistingDirectoryUrl3 ( QWidget * parent , struct miqt_string caption , QUrl * dir ) ;
QUrl * QFileDialog_GetExistingDirectoryUrl4 ( QWidget * parent , struct miqt_string caption , QUrl * dir , int options ) ;
2024-11-17 06:21:37 +00:00
QUrl * QFileDialog_GetExistingDirectoryUrl5 ( QWidget * parent , struct miqt_string caption , QUrl * dir , int options , struct miqt_array /* of struct miqt_string */ supportedSchemes ) ;
struct miqt_array /* of struct miqt_string */ QFileDialog_GetOpenFileNames1 ( QWidget * parent ) ;
struct miqt_array /* of struct miqt_string */ QFileDialog_GetOpenFileNames2 ( QWidget * parent , struct miqt_string caption ) ;
struct miqt_array /* of struct miqt_string */ QFileDialog_GetOpenFileNames3 ( QWidget * parent , struct miqt_string caption , struct miqt_string dir ) ;
struct miqt_array /* of struct miqt_string */ QFileDialog_GetOpenFileNames4 ( QWidget * parent , struct miqt_string caption , struct miqt_string dir , struct miqt_string filter ) ;
struct miqt_array /* of QUrl* */ QFileDialog_GetOpenFileUrls1 ( QWidget * parent ) ;
struct miqt_array /* of QUrl* */ QFileDialog_GetOpenFileUrls2 ( QWidget * parent , struct miqt_string caption ) ;
struct miqt_array /* of QUrl* */ QFileDialog_GetOpenFileUrls3 ( QWidget * parent , struct miqt_string caption , QUrl * dir ) ;
struct miqt_array /* of QUrl* */ QFileDialog_GetOpenFileUrls4 ( QWidget * parent , struct miqt_string caption , QUrl * dir , struct miqt_string filter ) ;
2024-11-19 06:29:06 +00:00
void QFileDialog_override_virtual_SetVisible ( void * self , intptr_t slot ) ;
void QFileDialog_virtualbase_SetVisible ( void * self , bool visible ) ;
void QFileDialog_override_virtual_Done ( void * self , intptr_t slot ) ;
void QFileDialog_virtualbase_Done ( void * self , int result ) ;
void QFileDialog_override_virtual_Accept ( void * self , intptr_t slot ) ;
void QFileDialog_virtualbase_Accept ( void * self ) ;
void QFileDialog_override_virtual_ChangeEvent ( void * self , intptr_t slot ) ;
void QFileDialog_virtualbase_ChangeEvent ( void * self , QEvent * e ) ;
void QFileDialog_override_virtual_SizeHint ( void * self , intptr_t slot ) ;
QSize * QFileDialog_virtualbase_SizeHint ( const void * self ) ;
void QFileDialog_override_virtual_MinimumSizeHint ( void * self , intptr_t slot ) ;
QSize * QFileDialog_virtualbase_MinimumSizeHint ( const void * self ) ;
void QFileDialog_override_virtual_Open ( void * self , intptr_t slot ) ;
void QFileDialog_virtualbase_Open ( void * self ) ;
void QFileDialog_override_virtual_Exec ( void * self , intptr_t slot ) ;
int QFileDialog_virtualbase_Exec ( void * self ) ;
void QFileDialog_override_virtual_Reject ( void * self , intptr_t slot ) ;
void QFileDialog_virtualbase_Reject ( void * self ) ;
void QFileDialog_override_virtual_KeyPressEvent ( void * self , intptr_t slot ) ;
void QFileDialog_virtualbase_KeyPressEvent ( void * self , QKeyEvent * param1 ) ;
void QFileDialog_override_virtual_CloseEvent ( void * self , intptr_t slot ) ;
void QFileDialog_virtualbase_CloseEvent ( void * self , QCloseEvent * param1 ) ;
void QFileDialog_override_virtual_ShowEvent ( void * self , intptr_t slot ) ;
void QFileDialog_virtualbase_ShowEvent ( void * self , QShowEvent * param1 ) ;
void QFileDialog_override_virtual_ResizeEvent ( void * self , intptr_t slot ) ;
void QFileDialog_virtualbase_ResizeEvent ( void * self , QResizeEvent * param1 ) ;
void QFileDialog_override_virtual_ContextMenuEvent ( void * self , intptr_t slot ) ;
void QFileDialog_virtualbase_ContextMenuEvent ( void * self , QContextMenuEvent * param1 ) ;
void QFileDialog_override_virtual_EventFilter ( void * self , intptr_t slot ) ;
bool QFileDialog_virtualbase_EventFilter ( void * self , QObject * param1 , QEvent * param2 ) ;
void QFileDialog_Delete ( QFileDialog * self , bool isSubclass ) ;
2024-10-20 05:21:03 +00:00
# ifdef __cplusplus
} /* extern C */
# endif
# endif