io.qt.core.QSettings Maven / Gradle / Ivy
Show all versions of qtjambi Show documentation
package io.qt.core;
import io.qt.*;
/**
* Persistent platform-independent application settings
* Java wrapper for Qt class QSettings
*/
public class QSettings extends io.qt.core.QObject
{
/**
* This variable stores the meta-object for the class.
*/
public static final io.qt.core.@NonNull QMetaObject staticMetaObject = io.qt.core.QMetaObject.forType(QSettings.class);
/**
* Java wrapper for Qt enum QSettings::Format
*/
public enum Format implements QtEnumerator {
/**
* Representing QSettings:: NativeFormat
*/
NativeFormat(0),
/**
* Representing QSettings:: IniFormat
*/
IniFormat(1),
/**
* Representing QSettings:: Registry32Format
*/
Registry32Format(2),
/**
* Representing QSettings:: Registry64Format
*/
Registry64Format(3),
/**
* Representing QSettings:: InvalidFormat
*/
InvalidFormat(16),
/**
* Representing QSettings:: CustomFormat1
*/
CustomFormat1(17),
/**
* Representing QSettings:: CustomFormat2
*/
CustomFormat2(18),
/**
* Representing QSettings:: CustomFormat3
*/
CustomFormat3(19),
/**
* Representing QSettings:: CustomFormat4
*/
CustomFormat4(20),
/**
* Representing QSettings:: CustomFormat5
*/
CustomFormat5(21),
/**
* Representing QSettings:: CustomFormat6
*/
CustomFormat6(22),
/**
* Representing QSettings:: CustomFormat7
*/
CustomFormat7(23),
/**
* Representing QSettings:: CustomFormat8
*/
CustomFormat8(24),
/**
* Representing QSettings:: CustomFormat9
*/
CustomFormat9(25),
/**
* Representing QSettings:: CustomFormat10
*/
CustomFormat10(26),
/**
* Representing QSettings:: CustomFormat11
*/
CustomFormat11(27),
/**
* Representing QSettings:: CustomFormat12
*/
CustomFormat12(28),
/**
* Representing QSettings:: CustomFormat13
*/
CustomFormat13(29),
/**
* Representing QSettings:: CustomFormat14
*/
CustomFormat14(30),
/**
* Representing QSettings:: CustomFormat15
*/
CustomFormat15(31),
/**
* Representing QSettings:: CustomFormat16
*/
CustomFormat16(32);
static {
QtJambi_LibraryUtilities.initialize();
}
private Format(int value) {
this.value = value;
}
/**
* {@inheritDoc}
*/
@Override
public int value() {
return value;
}
/**
* Returns the corresponding enum entry for the given value.
* @param value
* @return enum entry
*/
public static @NonNull Format resolve(int value) {
switch (value) {
case 0: return NativeFormat;
case 1: return IniFormat;
case 2: return Registry32Format;
case 3: return Registry64Format;
case 16: return InvalidFormat;
case 17: return CustomFormat1;
case 18: return CustomFormat2;
case 19: return CustomFormat3;
case 20: return CustomFormat4;
case 21: return CustomFormat5;
case 22: return CustomFormat6;
case 23: return CustomFormat7;
case 24: return CustomFormat8;
case 25: return CustomFormat9;
case 26: return CustomFormat10;
case 27: return CustomFormat11;
case 28: return CustomFormat12;
case 29: return CustomFormat13;
case 30: return CustomFormat14;
case 31: return CustomFormat15;
case 32: return CustomFormat16;
default: throw new QNoSuchEnumValueException(value);
}
}
private final int value;
}
/**
* Java wrapper for Qt enum QSettings::Scope
*/
public enum Scope implements QtEnumerator {
/**
* Representing QSettings:: UserScope
*/
UserScope(0),
/**
* Representing QSettings:: SystemScope
*/
SystemScope(1);
static {
QtJambi_LibraryUtilities.initialize();
}
private Scope(int value) {
this.value = value;
}
/**
* {@inheritDoc}
*/
@Override
public int value() {
return value;
}
/**
* Returns the corresponding enum entry for the given value.
* @param value
* @return enum entry
*/
public static @NonNull Scope resolve(int value) {
switch (value) {
case 0: return UserScope;
case 1: return SystemScope;
default: throw new QNoSuchEnumValueException(value);
}
}
private final int value;
}
/**
* Java wrapper for Qt enum QSettings::Status
*/
public enum Status implements QtEnumerator {
/**
* Representing QSettings:: NoError
*/
NoError(0),
/**
* Representing QSettings:: AccessError
*/
AccessError(1),
/**
* Representing QSettings:: FormatError
*/
FormatError(2);
static {
QtJambi_LibraryUtilities.initialize();
}
private Status(int value) {
this.value = value;
}
/**
* {@inheritDoc}
*/
@Override
public int value() {
return value;
}
/**
* Returns the corresponding enum entry for the given value.
* @param value
* @return enum entry
*/
public static @NonNull Status resolve(int value) {
switch (value) {
case 0: return NoError;
case 1: return AccessError;
case 2: return FormatError;
default: throw new QNoSuchEnumValueException(value);
}
}
private final int value;
}
/**
* Java wrapper for Qt callable QSettings::ReadFunc
*/
@FunctionalInterface
public interface ReadFunc extends QtObjectInterface, java.util.function.BiPredicate> {
@Override
public boolean test(io.qt.core.@NonNull QIODevice device, java.util.@NonNull Map map);
/**
* @hidden
* Implementor class for interface {@link ReadFunc}
*/
public static abstract class Impl extends QtObject implements ReadFunc{
static {
QtJambi_LibraryUtilities.initialize();
}
public Impl(){
super((QPrivateConstructor)null);
initialize_native(this);
}
protected Impl(QPrivateConstructor p){
super(p);
}
private static native void initialize_native(ReadFunc instance);
@NativeAccess
private final static class ConcreteWrapper extends Impl {
private ConcreteWrapper(QPrivateConstructor c){
super(c);
}
@Override
public boolean test(io.qt.core.@NonNull QIODevice device, java.util.@NonNull Map map){
return test_native(QtJambi_LibraryUtilities.internal.checkedNativeId(device), map);
}
private native boolean test_native(long device, java.util.Map map);
}
}
}
/**
* Java wrapper for Qt callable QSettings::WriteFunc
*/
@FunctionalInterface
public interface WriteFunc extends QtObjectInterface, java.util.function.BiPredicate> {
@Override
public boolean test(io.qt.core.@NonNull QIODevice device, java.util.@NonNull Map map);
/**
* @hidden
* Implementor class for interface {@link WriteFunc}
*/
public static abstract class Impl extends QtObject implements WriteFunc{
static {
QtJambi_LibraryUtilities.initialize();
}
public Impl(){
super((QPrivateConstructor)null);
initialize_native(this);
}
protected Impl(QPrivateConstructor p){
super(p);
}
private static native void initialize_native(WriteFunc instance);
@NativeAccess
private final static class ConcreteWrapper extends Impl {
private ConcreteWrapper(QPrivateConstructor c){
super(c);
}
@Override
public boolean test(io.qt.core.@NonNull QIODevice device, java.util.@NonNull Map map){
return test_native(QtJambi_LibraryUtilities.internal.checkedNativeId(device), map);
}
private native boolean test_native(long device, java.util.Map map);
}
}
}
/**
* See QSettings:: QSettings(QObject*)
*/
public QSettings(io.qt.core.@Nullable QObject parent){
super((QPrivateConstructor)null);
initialize_native(this, parent);
}
private native static void initialize_native(QSettings instance, io.qt.core.QObject parent);
/**
* See QSettings:: QSettings(QSettings::Format, QSettings::Scope, QString, QString, QObject*)
*/
public QSettings(io.qt.core.QSettings.@NonNull Format format, io.qt.core.QSettings.@NonNull Scope scope, java.lang.@NonNull String organization, java.lang.@NonNull String application, io.qt.core.@Nullable QObject parent){
super((QPrivateConstructor)null);
initialize_native(this, format, scope, organization, application, parent);
}
private native static void initialize_native(QSettings instance, io.qt.core.QSettings.Format format, io.qt.core.QSettings.Scope scope, java.lang.String organization, java.lang.String application, io.qt.core.QObject parent);
/**
* See QSettings:: QSettings(QSettings::Scope, QObject*)
*/
public QSettings(io.qt.core.QSettings.@NonNull Scope scope, io.qt.core.@Nullable QObject parent){
super((QPrivateConstructor)null);
initialize_native(this, scope, parent);
}
private native static void initialize_native(QSettings instance, io.qt.core.QSettings.Scope scope, io.qt.core.QObject parent);
/**
* See QSettings:: QSettings(QSettings::Scope, QString, QString, QObject*)
*/
public QSettings(io.qt.core.QSettings.@NonNull Scope scope, java.lang.@NonNull String organization, java.lang.@NonNull String application, io.qt.core.@Nullable QObject parent){
super((QPrivateConstructor)null);
initialize_native(this, scope, organization, application, parent);
}
private native static void initialize_native(QSettings instance, io.qt.core.QSettings.Scope scope, java.lang.String organization, java.lang.String application, io.qt.core.QObject parent);
/**
* See QSettings:: QSettings(QString, QSettings::Format, QObject*)
*/
public QSettings(java.lang.@NonNull String fileName, io.qt.core.QSettings.@NonNull Format format, io.qt.core.@Nullable QObject parent){
super((QPrivateConstructor)null);
initialize_native(this, fileName, format, parent);
}
private native static void initialize_native(QSettings instance, java.lang.String fileName, io.qt.core.QSettings.Format format, io.qt.core.QObject parent);
/**
* See QSettings:: QSettings(QString, QString, QObject*)
*/
public QSettings(java.lang.@NonNull String organization, java.lang.@NonNull String application, io.qt.core.@Nullable QObject parent){
super((QPrivateConstructor)null);
initialize_native(this, organization, application, parent);
}
private native static void initialize_native(QSettings instance, java.lang.String organization, java.lang.String application, io.qt.core.QObject parent);
/**
*
*/
@QtUninvokable
public final io.qt.core.@NonNull QStringList allKeys(){
return allKeys_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native io.qt.core.QStringList allKeys_native_constfct(long __this__nativeId);
/**
* See QSettings:: applicationName()const
*/
@QtUninvokable
public final java.lang.@NonNull String applicationName(){
return applicationName_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native java.lang.String applicationName_native_constfct(long __this__nativeId);
/**
* See QSettings:: beginGroup(QAnyStringView)
*/
@QtUninvokable
public final void beginGroup(java.lang.@NonNull String prefix){
beginGroup_native_QAnyStringView(QtJambi_LibraryUtilities.internal.nativeId(this), prefix);
}
@QtUninvokable
private native void beginGroup_native_QAnyStringView(long __this__nativeId, java.lang.String prefix);
/**
* See QSettings:: beginReadArray(QAnyStringView)
*/
@QtUninvokable
public final int beginReadArray(java.lang.@NonNull String prefix){
return beginReadArray_native_QAnyStringView(QtJambi_LibraryUtilities.internal.nativeId(this), prefix);
}
@QtUninvokable
private native int beginReadArray_native_QAnyStringView(long __this__nativeId, java.lang.String prefix);
/**
* See QSettings:: beginWriteArray(QAnyStringView, int)
*/
@QtUninvokable
public final void beginWriteArray(java.lang.@NonNull String prefix, int size){
beginWriteArray_native_QAnyStringView_int(QtJambi_LibraryUtilities.internal.nativeId(this), prefix, size);
}
@QtUninvokable
private native void beginWriteArray_native_QAnyStringView_int(long __this__nativeId, java.lang.String prefix, int size);
/**
* See QSettings:: childGroups()const
*/
@QtUninvokable
public final io.qt.core.@NonNull QStringList childGroups(){
return childGroups_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native io.qt.core.QStringList childGroups_native_constfct(long __this__nativeId);
/**
* See QSettings:: childKeys()const
*/
@QtUninvokable
public final io.qt.core.@NonNull QStringList childKeys(){
return childKeys_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native io.qt.core.QStringList childKeys_native_constfct(long __this__nativeId);
/**
*
*/
@QtUninvokable
public final void clear(){
clear_native(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native void clear_native(long __this__nativeId);
/**
* See QSettings:: contains(QAnyStringView)const
*/
@QtUninvokable
public final boolean contains(java.lang.@NonNull String key){
return contains_native_QAnyStringView_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), key);
}
@QtUninvokable
private native boolean contains_native_QAnyStringView_constfct(long __this__nativeId, java.lang.String key);
/**
*
*/
@QtUninvokable
public final void endArray(){
endArray_native(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native void endArray_native(long __this__nativeId);
/**
*
*/
@QtUninvokable
public final void endGroup(){
endGroup_native(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native void endGroup_native(long __this__nativeId);
/**
* See QSettings:: fallbacksEnabled()const
*/
@QtUninvokable
public final boolean fallbacksEnabled(){
return fallbacksEnabled_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native boolean fallbacksEnabled_native_constfct(long __this__nativeId);
/**
* See QSettings:: fileName()const
*/
@QtUninvokable
public final java.lang.@NonNull String fileName(){
return fileName_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native java.lang.String fileName_native_constfct(long __this__nativeId);
/**
*
*/
@QtUninvokable
public final io.qt.core.QSettings.@NonNull Format format(){
return io.qt.core.QSettings.Format.resolve(format_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)));
}
@QtUninvokable
private native int format_native_constfct(long __this__nativeId);
/**
*
*/
@QtUninvokable
public final java.lang.@NonNull String group(){
return group_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native java.lang.String group_native_constfct(long __this__nativeId);
/**
* See QSettings:: isAtomicSyncRequired()const
*/
@QtUninvokable
public final boolean isAtomicSyncRequired(){
return isAtomicSyncRequired_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native boolean isAtomicSyncRequired_native_constfct(long __this__nativeId);
/**
* See QSettings:: isWritable()const
*/
@QtUninvokable
public final boolean isWritable(){
return isWritable_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native boolean isWritable_native_constfct(long __this__nativeId);
/**
* See QSettings:: organizationName()const
*/
@QtUninvokable
public final java.lang.@NonNull String organizationName(){
return organizationName_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native java.lang.String organizationName_native_constfct(long __this__nativeId);
/**
* See QSettings:: remove(QAnyStringView)
*/
@QtUninvokable
public final void remove(java.lang.@NonNull String key){
remove_native_QAnyStringView(QtJambi_LibraryUtilities.internal.nativeId(this), key);
}
@QtUninvokable
private native void remove_native_QAnyStringView(long __this__nativeId, java.lang.String key);
/**
*
*/
@QtUninvokable
public final io.qt.core.QSettings.@NonNull Scope scope(){
return io.qt.core.QSettings.Scope.resolve(scope_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)));
}
@QtUninvokable
private native int scope_native_constfct(long __this__nativeId);
/**
* See QSettings:: setArrayIndex(int)
*/
@QtUninvokable
public final void setArrayIndex(int i){
setArrayIndex_native_int(QtJambi_LibraryUtilities.internal.nativeId(this), i);
}
@QtUninvokable
private native void setArrayIndex_native_int(long __this__nativeId, int i);
/**
* See QSettings:: setAtomicSyncRequired(bool)
*/
@QtUninvokable
public final void setAtomicSyncRequired(boolean enable){
setAtomicSyncRequired_native_bool(QtJambi_LibraryUtilities.internal.nativeId(this), enable);
}
@QtUninvokable
private native void setAtomicSyncRequired_native_bool(long __this__nativeId, boolean enable);
/**
* See QSettings:: setFallbacksEnabled(bool)
*/
@QtUninvokable
public final void setFallbacksEnabled(boolean b){
setFallbacksEnabled_native_bool(QtJambi_LibraryUtilities.internal.nativeId(this), b);
}
@QtUninvokable
private native void setFallbacksEnabled_native_bool(long __this__nativeId, boolean b);
/**
* See QSettings:: setValue(QAnyStringView, QVariant)
*/
@QtUninvokable
public final void setValue(java.lang.@NonNull String key, java.lang.@Nullable Object value){
setValue_native_QAnyStringView_cref_QVariant(QtJambi_LibraryUtilities.internal.nativeId(this), key, value);
}
@QtUninvokable
private native void setValue_native_QAnyStringView_cref_QVariant(long __this__nativeId, java.lang.String key, java.lang.Object value);
/**
*
*/
@QtUninvokable
public final io.qt.core.QSettings.@NonNull Status status(){
return io.qt.core.QSettings.Status.resolve(status_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)));
}
@QtUninvokable
private native int status_native_constfct(long __this__nativeId);
/**
*
*/
@QtUninvokable
public final void sync(){
sync_native(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native void sync_native(long __this__nativeId);
/**
* See QSettings:: value(QAnyStringView)const
*/
@QtUninvokable
public final java.lang.Object value(java.lang.@NonNull String key){
return value_native_QAnyStringView_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), key);
}
@QtUninvokable
private native java.lang.Object value_native_QAnyStringView_constfct(long __this__nativeId, java.lang.String key);
/**
* See QSettings:: value(QAnyStringView, QVariant)const
*/
@QtUninvokable
public final java.lang.Object value(java.lang.@NonNull String key, java.lang.Object defaultValue){
return value_native_QAnyStringView_cref_QVariant_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), key, defaultValue);
}
@QtUninvokable
private native java.lang.Object value_native_QAnyStringView_cref_QVariant_constfct(long __this__nativeId, java.lang.String key, java.lang.Object defaultValue);
/**
*
*/
@QtUninvokable
@Override
public boolean event(io.qt.core.@Nullable QEvent event){
java.util.Objects.requireNonNull(event, "Argument 'event': null not expected.");
return event_native_QEvent_ptr(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(event));
}
@QtUninvokable
private native boolean event_native_QEvent_ptr(long __this__nativeId, long event);
/**
* See QSettings:: defaultFormat()
*/
public static io.qt.core.QSettings.@NonNull Format defaultFormat(){
return io.qt.core.QSettings.Format.resolve(defaultFormat_native());
}
private native static int defaultFormat_native();
/**
* See QSettings:: registerFormat(QString, QSettings::ReadFunc, QSettings::WriteFunc, Qt::CaseSensitivity)
*/
public static io.qt.core.QSettings.@NonNull Format registerFormat(java.lang.@NonNull String extension, io.qt.core.QSettings.@Nullable ReadFunc readFunc, io.qt.core.QSettings.@Nullable WriteFunc writeFunc, io.qt.core.Qt.@NonNull CaseSensitivity caseSensitivity){
return io.qt.core.QSettings.Format.resolve(registerFormat_native_cref_QString_QSettings_ReadFunc_QSettings_WriteFunc_Qt_CaseSensitivity(extension, readFunc, writeFunc, caseSensitivity.value()));
}
private native static int registerFormat_native_cref_QString_QSettings_ReadFunc_QSettings_WriteFunc_Qt_CaseSensitivity(java.lang.String extension, io.qt.core.QSettings.ReadFunc readFunc, io.qt.core.QSettings.WriteFunc writeFunc, int caseSensitivity);
/**
* See QSettings:: setDefaultFormat(QSettings::Format)
*/
public static void setDefaultFormat(io.qt.core.QSettings.@NonNull Format format){
setDefaultFormat_native_QSettings_Format(format.value());
}
private native static void setDefaultFormat_native_QSettings_Format(int format);
/**
* See QSettings:: setPath(QSettings::Format, QSettings::Scope, QString)
*/
public static void setPath(io.qt.core.QSettings.@NonNull Format format, io.qt.core.QSettings.@NonNull Scope scope, java.lang.@NonNull String path){
setPath_native_QSettings_Format_QSettings_Scope_cref_QString(format.value(), scope.value(), path);
}
private native static void setPath_native_QSettings_Format_QSettings_Scope_cref_QString(int format, int scope, java.lang.String path);
/**
* Constructor for internal use only.
* @param p expected to be null
.
* @hidden
*/
@NativeAccess
protected QSettings(QPrivateConstructor p) { super(p); }
/**
* Constructor for internal use only.
* It is not allowed to call the declarative constructor from inside Java.
* @hidden
*/
@NativeAccess
protected QSettings(QDeclarativeConstructor constructor) {
super((QPrivateConstructor)null);
initialize_native(this, constructor);
}
@QtUninvokable
private static native void initialize_native(QSettings instance, QDeclarativeConstructor constructor);
/**
* Overloaded constructor for {@link #QSettings(io.qt.core.QObject)}
* with parent = null
.
*/
public QSettings() {
this((io.qt.core.QObject)null);
}
/**
* Overloaded constructor for {@link #QSettings(io.qt.core.QSettings.Format, io.qt.core.QSettings.Scope, java.lang.String, java.lang.String, io.qt.core.QObject)}
* with parent = null
.
*/
public QSettings(io.qt.core.QSettings.@NonNull Format format, io.qt.core.QSettings.@NonNull Scope scope, java.lang.@NonNull String organization, java.lang.@NonNull String application) {
this(format, scope, organization, application, (io.qt.core.QObject)null);
}
/**
* Overloaded constructor for {@link #QSettings(io.qt.core.QSettings.Format, io.qt.core.QSettings.Scope, java.lang.String, java.lang.String, io.qt.core.QObject)}
* with:
* application = (String)null
* parent = null
*
*/
public QSettings(io.qt.core.QSettings.@NonNull Format format, io.qt.core.QSettings.@NonNull Scope scope, java.lang.@NonNull String organization) {
this(format, scope, organization, (String)null, (io.qt.core.QObject)null);
}
/**
* Overloaded constructor for {@link #QSettings(io.qt.core.QSettings.Scope, io.qt.core.QObject)}
* with parent = null
.
*/
public QSettings(io.qt.core.QSettings.@NonNull Scope scope) {
this(scope, (io.qt.core.QObject)null);
}
/**
* Overloaded constructor for {@link #QSettings(io.qt.core.QSettings.Scope, java.lang.String, java.lang.String, io.qt.core.QObject)}
* with parent = null
.
*/
public QSettings(io.qt.core.QSettings.@NonNull Scope scope, java.lang.@NonNull String organization, java.lang.@NonNull String application) {
this(scope, organization, application, (io.qt.core.QObject)null);
}
/**
* Overloaded constructor for {@link #QSettings(io.qt.core.QSettings.Scope, java.lang.String, java.lang.String, io.qt.core.QObject)}
* with:
* application = (String)null
* parent = null
*
*/
public QSettings(io.qt.core.QSettings.@NonNull Scope scope, java.lang.@NonNull String organization) {
this(scope, organization, (String)null, (io.qt.core.QObject)null);
}
/**
* Overloaded constructor for {@link #QSettings(java.lang.String, io.qt.core.QSettings.Format, io.qt.core.QObject)}
* with parent = null
.
*/
public QSettings(java.lang.@NonNull String fileName, io.qt.core.QSettings.@NonNull Format format) {
this(fileName, format, (io.qt.core.QObject)null);
}
/**
* Overloaded constructor for {@link #QSettings(java.lang.String, java.lang.String, io.qt.core.QObject)}
* with parent = null
.
*/
public QSettings(java.lang.@NonNull String organization, java.lang.@NonNull String application) {
this(organization, application, (io.qt.core.QObject)null);
}
/**
* Overloaded constructor for {@link #QSettings(java.lang.String, java.lang.String, io.qt.core.QObject)}
* with:
* application = (String)null
* parent = null
*
*/
public QSettings(java.lang.@NonNull String organization) {
this(organization, (String)null, (io.qt.core.QObject)null);
}
/**
* Overloaded function for {@link #beginWriteArray(java.lang.String, int)}
* with size = -1
.
*/
@QtUninvokable
public final void beginWriteArray(java.lang.@NonNull String prefix) {
beginWriteArray(prefix, (int)-1);
}
/**
* Overloaded function for {@link #registerFormat(java.lang.String, io.qt.core.QSettings.ReadFunc, io.qt.core.QSettings.WriteFunc, io.qt.core.Qt.CaseSensitivity)}
* with caseSensitivity = io.qt.core.Qt.CaseSensitivity.CaseSensitive
.
*/
public static io.qt.core.QSettings.@NonNull Format registerFormat(java.lang.@NonNull String extension, io.qt.core.QSettings.@Nullable ReadFunc readFunc, io.qt.core.QSettings.@Nullable WriteFunc writeFunc) {
return registerFormat(extension, readFunc, writeFunc, io.qt.core.Qt.CaseSensitivity.CaseSensitive);
}
}