mirror of
https://github.com/mappu/miqt.git
synced 2024-12-22 17:08:38 +00:00
113 lines
6.1 KiB
C++
113 lines
6.1 KiB
C++
#pragma once
|
|
#ifndef MIQT_QT6_GEN_QSETTINGS_H
|
|
#define MIQT_QT6_GEN_QSETTINGS_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 QAnyStringView;
|
|
class QChildEvent;
|
|
class QEvent;
|
|
class QMetaMethod;
|
|
class QMetaObject;
|
|
class QObject;
|
|
class QSettings;
|
|
class QTimerEvent;
|
|
class QVariant;
|
|
#else
|
|
typedef struct QAnyStringView QAnyStringView;
|
|
typedef struct QChildEvent QChildEvent;
|
|
typedef struct QEvent QEvent;
|
|
typedef struct QMetaMethod QMetaMethod;
|
|
typedef struct QMetaObject QMetaObject;
|
|
typedef struct QObject QObject;
|
|
typedef struct QSettings QSettings;
|
|
typedef struct QTimerEvent QTimerEvent;
|
|
typedef struct QVariant QVariant;
|
|
#endif
|
|
|
|
void QSettings_new(struct miqt_string organization, QSettings** outptr_QSettings, QObject** outptr_QObject);
|
|
void QSettings_new2(int scope, struct miqt_string organization, QSettings** outptr_QSettings, QObject** outptr_QObject);
|
|
void QSettings_new3(int format, int scope, struct miqt_string organization, QSettings** outptr_QSettings, QObject** outptr_QObject);
|
|
void QSettings_new4(struct miqt_string fileName, int format, QSettings** outptr_QSettings, QObject** outptr_QObject);
|
|
void QSettings_new5(QSettings** outptr_QSettings, QObject** outptr_QObject);
|
|
void QSettings_new6(int scope, QSettings** outptr_QSettings, QObject** outptr_QObject);
|
|
void QSettings_new7(struct miqt_string organization, struct miqt_string application, QSettings** outptr_QSettings, QObject** outptr_QObject);
|
|
void QSettings_new8(struct miqt_string organization, struct miqt_string application, QObject* parent, QSettings** outptr_QSettings, QObject** outptr_QObject);
|
|
void QSettings_new9(int scope, struct miqt_string organization, struct miqt_string application, QSettings** outptr_QSettings, QObject** outptr_QObject);
|
|
void QSettings_new10(int scope, struct miqt_string organization, struct miqt_string application, QObject* parent, QSettings** outptr_QSettings, QObject** outptr_QObject);
|
|
void QSettings_new11(int format, int scope, struct miqt_string organization, struct miqt_string application, QSettings** outptr_QSettings, QObject** outptr_QObject);
|
|
void QSettings_new12(int format, int scope, struct miqt_string organization, struct miqt_string application, QObject* parent, QSettings** outptr_QSettings, QObject** outptr_QObject);
|
|
void QSettings_new13(struct miqt_string fileName, int format, QObject* parent, QSettings** outptr_QSettings, QObject** outptr_QObject);
|
|
void QSettings_new14(QObject* parent, QSettings** outptr_QSettings, QObject** outptr_QObject);
|
|
void QSettings_new15(int scope, QObject* parent, QSettings** outptr_QSettings, QObject** outptr_QObject);
|
|
QMetaObject* QSettings_MetaObject(const QSettings* self);
|
|
void* QSettings_Metacast(QSettings* self, const char* param1);
|
|
struct miqt_string QSettings_Tr(const char* s);
|
|
void QSettings_Clear(QSettings* self);
|
|
void QSettings_Sync(QSettings* self);
|
|
int QSettings_Status(const QSettings* self);
|
|
bool QSettings_IsAtomicSyncRequired(const QSettings* self);
|
|
void QSettings_SetAtomicSyncRequired(QSettings* self, bool enable);
|
|
void QSettings_BeginGroup(QSettings* self, QAnyStringView* prefix);
|
|
void QSettings_EndGroup(QSettings* self);
|
|
struct miqt_string QSettings_Group(const QSettings* self);
|
|
int QSettings_BeginReadArray(QSettings* self, QAnyStringView* prefix);
|
|
void QSettings_BeginWriteArray(QSettings* self, QAnyStringView* prefix);
|
|
void QSettings_EndArray(QSettings* self);
|
|
void QSettings_SetArrayIndex(QSettings* self, int i);
|
|
struct miqt_array /* of struct miqt_string */ QSettings_AllKeys(const QSettings* self);
|
|
struct miqt_array /* of struct miqt_string */ QSettings_ChildKeys(const QSettings* self);
|
|
struct miqt_array /* of struct miqt_string */ QSettings_ChildGroups(const QSettings* self);
|
|
bool QSettings_IsWritable(const QSettings* self);
|
|
void QSettings_SetValue(QSettings* self, QAnyStringView* key, QVariant* value);
|
|
QVariant* QSettings_Value(const QSettings* self, QAnyStringView* key, QVariant* defaultValue);
|
|
QVariant* QSettings_ValueWithKey(const QSettings* self, QAnyStringView* key);
|
|
void QSettings_Remove(QSettings* self, QAnyStringView* key);
|
|
bool QSettings_Contains(const QSettings* self, QAnyStringView* key);
|
|
void QSettings_SetFallbacksEnabled(QSettings* self, bool b);
|
|
bool QSettings_FallbacksEnabled(const QSettings* self);
|
|
struct miqt_string QSettings_FileName(const QSettings* self);
|
|
int QSettings_Format(const QSettings* self);
|
|
int QSettings_Scope(const QSettings* self);
|
|
struct miqt_string QSettings_OrganizationName(const QSettings* self);
|
|
struct miqt_string QSettings_ApplicationName(const QSettings* self);
|
|
void QSettings_SetDefaultFormat(int format);
|
|
int QSettings_DefaultFormat();
|
|
void QSettings_SetPath(int format, int scope, struct miqt_string path);
|
|
bool QSettings_Event(QSettings* self, QEvent* event);
|
|
struct miqt_string QSettings_Tr2(const char* s, const char* c);
|
|
struct miqt_string QSettings_Tr3(const char* s, const char* c, int n);
|
|
void QSettings_BeginWriteArray2(QSettings* self, QAnyStringView* prefix, int size);
|
|
void QSettings_override_virtual_Event(void* self, intptr_t slot);
|
|
bool QSettings_virtualbase_Event(void* self, QEvent* event);
|
|
void QSettings_override_virtual_EventFilter(void* self, intptr_t slot);
|
|
bool QSettings_virtualbase_EventFilter(void* self, QObject* watched, QEvent* event);
|
|
void QSettings_override_virtual_TimerEvent(void* self, intptr_t slot);
|
|
void QSettings_virtualbase_TimerEvent(void* self, QTimerEvent* event);
|
|
void QSettings_override_virtual_ChildEvent(void* self, intptr_t slot);
|
|
void QSettings_virtualbase_ChildEvent(void* self, QChildEvent* event);
|
|
void QSettings_override_virtual_CustomEvent(void* self, intptr_t slot);
|
|
void QSettings_virtualbase_CustomEvent(void* self, QEvent* event);
|
|
void QSettings_override_virtual_ConnectNotify(void* self, intptr_t slot);
|
|
void QSettings_virtualbase_ConnectNotify(void* self, QMetaMethod* signal);
|
|
void QSettings_override_virtual_DisconnectNotify(void* self, intptr_t slot);
|
|
void QSettings_virtualbase_DisconnectNotify(void* self, QMetaMethod* signal);
|
|
void QSettings_Delete(QSettings* self, bool isSubclass);
|
|
|
|
#ifdef __cplusplus
|
|
} /* extern C */
|
|
#endif
|
|
|
|
#endif
|