mirror of
https://github.com/mappu/miqt.git
synced 2024-12-22 08:58:37 +00:00
94 lines
5.3 KiB
C++
94 lines
5.3 KiB
C++
#ifndef GEN_QSETTINGS_H
|
|
#define GEN_QSETTINGS_H
|
|
|
|
#include <stdbool.h>
|
|
#include <stddef.h>
|
|
#include <stdint.h>
|
|
|
|
#pragma GCC diagnostic ignored "-Wdeprecated-declarations"
|
|
|
|
#ifdef __cplusplus
|
|
extern "C" {
|
|
#endif
|
|
|
|
#ifdef __cplusplus
|
|
class QMetaObject;
|
|
class QObject;
|
|
class QSettings;
|
|
class QTextCodec;
|
|
class QVariant;
|
|
#else
|
|
typedef struct QMetaObject QMetaObject;
|
|
typedef struct QObject QObject;
|
|
typedef struct QSettings QSettings;
|
|
typedef struct QTextCodec QTextCodec;
|
|
typedef struct QVariant QVariant;
|
|
#endif
|
|
|
|
QSettings* QSettings_new(const char* organization, size_t organization_Strlen);
|
|
QSettings* QSettings_new2(uintptr_t scope, const char* organization, size_t organization_Strlen);
|
|
QSettings* QSettings_new3(uintptr_t format, uintptr_t scope, const char* organization, size_t organization_Strlen);
|
|
QSettings* QSettings_new4(const char* fileName, size_t fileName_Strlen, uintptr_t format);
|
|
QSettings* QSettings_new5();
|
|
QSettings* QSettings_new6(uintptr_t scope);
|
|
QSettings* QSettings_new7(const char* organization, size_t organization_Strlen, const char* application, size_t application_Strlen);
|
|
QSettings* QSettings_new8(const char* organization, size_t organization_Strlen, const char* application, size_t application_Strlen, QObject* parent);
|
|
QSettings* QSettings_new9(uintptr_t scope, const char* organization, size_t organization_Strlen, const char* application, size_t application_Strlen);
|
|
QSettings* QSettings_new10(uintptr_t scope, const char* organization, size_t organization_Strlen, const char* application, size_t application_Strlen, QObject* parent);
|
|
QSettings* QSettings_new11(uintptr_t format, uintptr_t scope, const char* organization, size_t organization_Strlen, const char* application, size_t application_Strlen);
|
|
QSettings* QSettings_new12(uintptr_t format, uintptr_t scope, const char* organization, size_t organization_Strlen, const char* application, size_t application_Strlen, QObject* parent);
|
|
QSettings* QSettings_new13(const char* fileName, size_t fileName_Strlen, uintptr_t format, QObject* parent);
|
|
QSettings* QSettings_new14(QObject* parent);
|
|
QSettings* QSettings_new15(uintptr_t scope, QObject* parent);
|
|
QMetaObject* QSettings_MetaObject(const QSettings* self);
|
|
void QSettings_Tr(const char* s, char** _out, int* _out_Strlen);
|
|
void QSettings_TrUtf8(const char* s, char** _out, int* _out_Strlen);
|
|
void QSettings_Clear(QSettings* self);
|
|
void QSettings_Sync(QSettings* self);
|
|
uintptr_t QSettings_Status(const QSettings* self);
|
|
bool QSettings_IsAtomicSyncRequired(const QSettings* self);
|
|
void QSettings_SetAtomicSyncRequired(QSettings* self, bool enable);
|
|
void QSettings_BeginGroup(QSettings* self, const char* prefix, size_t prefix_Strlen);
|
|
void QSettings_EndGroup(QSettings* self);
|
|
void QSettings_Group(const QSettings* self, char** _out, int* _out_Strlen);
|
|
int QSettings_BeginReadArray(QSettings* self, const char* prefix, size_t prefix_Strlen);
|
|
void QSettings_BeginWriteArray(QSettings* self, const char* prefix, size_t prefix_Strlen);
|
|
void QSettings_EndArray(QSettings* self);
|
|
void QSettings_SetArrayIndex(QSettings* self, int i);
|
|
void QSettings_AllKeys(const QSettings* self, char*** _out, int** _out_Lengths, size_t* _out_len);
|
|
void QSettings_ChildKeys(const QSettings* self, char*** _out, int** _out_Lengths, size_t* _out_len);
|
|
void QSettings_ChildGroups(const QSettings* self, char*** _out, int** _out_Lengths, size_t* _out_len);
|
|
bool QSettings_IsWritable(const QSettings* self);
|
|
void QSettings_SetValue(QSettings* self, const char* key, size_t key_Strlen, QVariant* value);
|
|
QVariant* QSettings_Value(const QSettings* self, const char* key, size_t key_Strlen);
|
|
void QSettings_Remove(QSettings* self, const char* key, size_t key_Strlen);
|
|
bool QSettings_Contains(const QSettings* self, const char* key, size_t key_Strlen);
|
|
void QSettings_SetFallbacksEnabled(QSettings* self, bool b);
|
|
bool QSettings_FallbacksEnabled(const QSettings* self);
|
|
void QSettings_FileName(const QSettings* self, char** _out, int* _out_Strlen);
|
|
uintptr_t QSettings_Format(const QSettings* self);
|
|
uintptr_t QSettings_Scope(const QSettings* self);
|
|
void QSettings_OrganizationName(const QSettings* self, char** _out, int* _out_Strlen);
|
|
void QSettings_ApplicationName(const QSettings* self, char** _out, int* _out_Strlen);
|
|
void QSettings_SetIniCodec(QSettings* self, QTextCodec* codec);
|
|
void QSettings_SetIniCodecWithCodecName(QSettings* self, const char* codecName);
|
|
QTextCodec* QSettings_IniCodec(const QSettings* self);
|
|
void QSettings_SetDefaultFormat(uintptr_t format);
|
|
uintptr_t QSettings_DefaultFormat();
|
|
void QSettings_SetSystemIniPath(const char* dir, size_t dir_Strlen);
|
|
void QSettings_SetUserIniPath(const char* dir, size_t dir_Strlen);
|
|
void QSettings_SetPath(uintptr_t format, uintptr_t scope, const char* path, size_t path_Strlen);
|
|
void QSettings_Tr2(const char* s, const char* c, char** _out, int* _out_Strlen);
|
|
void QSettings_Tr3(const char* s, const char* c, int n, char** _out, int* _out_Strlen);
|
|
void QSettings_TrUtf82(const char* s, const char* c, char** _out, int* _out_Strlen);
|
|
void QSettings_TrUtf83(const char* s, const char* c, int n, char** _out, int* _out_Strlen);
|
|
void QSettings_BeginWriteArray2(QSettings* self, const char* prefix, size_t prefix_Strlen, int size);
|
|
QVariant* QSettings_Value2(const QSettings* self, const char* key, size_t key_Strlen, QVariant* defaultValue);
|
|
void QSettings_Delete(QSettings* self);
|
|
|
|
#ifdef __cplusplus
|
|
} /* extern C */
|
|
#endif
|
|
|
|
#endif
|