miqt/qt6/gen_qdiriterator.h

50 lines
1.7 KiB
C
Raw Normal View History

#pragma once
#ifndef MIQT_QT6_GEN_QDIRITERATOR_H
#define MIQT_QT6_GEN_QDIRITERATOR_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 QDir;
class QDirIterator;
class QFileInfo;
#else
typedef struct QDir QDir;
typedef struct QDirIterator QDirIterator;
typedef struct QFileInfo QFileInfo;
#endif
2024-12-07 04:15:57 +00:00
QDirIterator* QDirIterator_new(QDir* dir);
QDirIterator* QDirIterator_new2(struct miqt_string path);
QDirIterator* QDirIterator_new3(struct miqt_string path, int filter);
QDirIterator* QDirIterator_new4(struct miqt_string path, struct miqt_array /* of struct miqt_string */ nameFilters);
QDirIterator* QDirIterator_new5(QDir* dir, int flags);
QDirIterator* QDirIterator_new6(struct miqt_string path, int flags);
QDirIterator* QDirIterator_new7(struct miqt_string path, int filter, int flags);
QDirIterator* QDirIterator_new8(struct miqt_string path, struct miqt_array /* of struct miqt_string */ nameFilters, int filters);
QDirIterator* QDirIterator_new9(struct miqt_string path, struct miqt_array /* of struct miqt_string */ nameFilters, int filters, int flags);
2024-10-20 05:21:03 +00:00
struct miqt_string QDirIterator_Next(QDirIterator* self);
QFileInfo* QDirIterator_NextFileInfo(QDirIterator* self);
bool QDirIterator_HasNext(const QDirIterator* self);
struct miqt_string QDirIterator_FileName(const QDirIterator* self);
struct miqt_string QDirIterator_FilePath(const QDirIterator* self);
QFileInfo* QDirIterator_FileInfo(const QDirIterator* self);
struct miqt_string QDirIterator_Path(const QDirIterator* self);
2024-11-19 06:29:06 +00:00
void QDirIterator_Delete(QDirIterator* self, bool isSubclass);
2024-10-20 05:21:03 +00:00
#ifdef __cplusplus
} /* extern C */
#endif
#endif