All Downloads are FREE. Search and download functionalities are using the official Maven repository.

io.qt.core.QTemporaryFile Maven / Gradle / Ivy

The newest version!
package io.qt.core;


/**
 * 

I/O device that operates on temporary files

*

Java wrapper for Qt class QTemporaryFile

*/ public class QTemporaryFile extends io.qt.core.QFile { /** * This variable stores the meta-object for the class. */ public static final io.qt.core.QMetaObject staticMetaObject = io.qt.core.QMetaObject.forType(QTemporaryFile.class); /** *

See QTemporaryFile::QTemporaryFile()

*/ public QTemporaryFile(){ super((QPrivateConstructor)null); initialize_native(this); } private native static void initialize_native(QTemporaryFile instance); /** *

See QTemporaryFile::QTemporaryFile(QObject*)

*/ public QTemporaryFile(io.qt.core.QObject parent){ super((QPrivateConstructor)null); initialize_native(this, parent); } private native static void initialize_native(QTemporaryFile instance, io.qt.core.QObject parent); /** *

See QTemporaryFile::QTemporaryFile(QString)

*/ public QTemporaryFile(java.lang.String templateName){ super((QPrivateConstructor)null); initialize_native(this, templateName); } private native static void initialize_native(QTemporaryFile instance, java.lang.String templateName); /** *

See QTemporaryFile::QTemporaryFile(QString,QObject*)

*/ public QTemporaryFile(java.lang.String templateName, io.qt.core.QObject parent){ super((QPrivateConstructor)null); initialize_native(this, templateName, parent); } private native static void initialize_native(QTemporaryFile instance, java.lang.String templateName, io.qt.core.QObject parent); /** *

See QTemporaryFile::autoRemove()const

*/ @io.qt.QtUninvokable public final boolean autoRemove(){ return autoRemove_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } @io.qt.QtUninvokable private native boolean autoRemove_native_constfct(long __this__nativeId); /** *

See QTemporaryFile::fileName()const

*/ @io.qt.QtUninvokable public final java.lang.String uniqueFilename(){ return uniqueFilename_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } @io.qt.QtUninvokable private native java.lang.String uniqueFilename_native_constfct(long __this__nativeId); /** *

See QTemporaryFile::fileTemplate()const

*/ @io.qt.QtUninvokable public final java.lang.String fileTemplate(){ return fileTemplate_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } @io.qt.QtUninvokable private native java.lang.String fileTemplate_native_constfct(long __this__nativeId); /** *

See QTemporaryFile::open()

*/ @io.qt.QtUninvokable public final boolean open(){ return open_native(QtJambi_LibraryUtilities.internal.nativeId(this)); } @io.qt.QtUninvokable private native boolean open_native(long __this__nativeId); /** *

See QFile::rename(QString)

*/ @io.qt.QtUninvokable public final boolean rename(java.lang.String newName){ return rename_native_cref_QString(QtJambi_LibraryUtilities.internal.nativeId(this), newName); } @io.qt.QtUninvokable private native boolean rename_native_cref_QString(long __this__nativeId, java.lang.String newName); /** *

See QTemporaryFile::setAutoRemove(bool)

*/ @io.qt.QtUninvokable public final void setAutoRemove(boolean b){ setAutoRemove_native_bool(QtJambi_LibraryUtilities.internal.nativeId(this), b); } @io.qt.QtUninvokable private native void setAutoRemove_native_bool(long __this__nativeId, boolean b); /** *

See QTemporaryFile::setFileTemplate(QString)

*/ @io.qt.QtUninvokable public final void setFileTemplate(java.lang.String name){ setFileTemplate_native_cref_QString(QtJambi_LibraryUtilities.internal.nativeId(this), name); } @io.qt.QtUninvokable private native void setFileTemplate_native_cref_QString(long __this__nativeId, java.lang.String name); /** *

See QIODevice::open(OpenMode)

*/ @io.qt.QtUninvokable public boolean open(io.qt.core.QIODeviceBase.OpenMode flags){ return open_native_QFlags_QIODeviceBase_OpenModeFlag_(QtJambi_LibraryUtilities.internal.nativeId(this), flags.value()); } @io.qt.QtUninvokable private native boolean open_native_QFlags_QIODeviceBase_OpenModeFlag_(long __this__nativeId, int flags); /** *

See QTemporaryFile::createNativeFile(QFile&)

*/ public static io.qt.core.QTemporaryFile createNativeFile(io.qt.core.QFile file){ return createNativeFile_native_ref_QFile(QtJambi_LibraryUtilities.internal.checkedNativeId(file)); } private native static io.qt.core.QTemporaryFile createNativeFile_native_ref_QFile(long file); /** *

See QTemporaryFile::createNativeFile(QString)

*/ public native static io.qt.core.QTemporaryFile createNativeFile(java.lang.String fileName); /** * Constructor for internal use only. * @param p expected to be null. */ @io.qt.NativeAccess protected QTemporaryFile(QPrivateConstructor p) { super(p); } /** * Constructor for internal use only. * It is not allowed to call the declarative constructor from inside Java. */ @io.qt.NativeAccess protected QTemporaryFile(QDeclarativeConstructor constructor) { super((QPrivateConstructor)null); initialize_native(this, constructor); } @io.qt.QtUninvokable private static native void initialize_native(QTemporaryFile instance, QDeclarativeConstructor constructor); }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy