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

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

There is a newer version: 6.8.0
Show newest version
package io.qt.core;

import io.qt.*;


/**
 * 

Interface for monitoring files and directories for modifications

*

Java wrapper for Qt class QFileSystemWatcher

*/ public class QFileSystemWatcher 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(QFileSystemWatcher.class); /** *

See QFileSystemWatcher::directoryChanged(QString)

*/ public final @NonNull PrivateSignal1 directoryChanged = new PrivateSignal1<>(); /** *

See QFileSystemWatcher::fileChanged(QString)

*/ public final @NonNull PrivateSignal1 fileChanged = new PrivateSignal1<>(); /** *

See QFileSystemWatcher::QFileSystemWatcher(QObject*)

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

See QFileSystemWatcher::QFileSystemWatcher(QStringList,QObject*)

*/ public QFileSystemWatcher(java.util.@NonNull Collection paths, io.qt.core.@Nullable QObject parent){ super((QPrivateConstructor)null); initialize_native(this, paths, parent); } private native static void initialize_native(QFileSystemWatcher instance, java.util.Collection paths, io.qt.core.QObject parent); /** *

See QFileSystemWatcher::addPath(QString)

*/ @QtUninvokable public final boolean addPath(java.lang.@NonNull String file){ return addPath_native_cref_QString(QtJambi_LibraryUtilities.internal.nativeId(this), file); } @QtUninvokable private native boolean addPath_native_cref_QString(long __this__nativeId, java.lang.String file); /** *

See QFileSystemWatcher::addPaths(QStringList)

*/ @QtUninvokable public final io.qt.core.@NonNull QStringList addPaths(java.util.@NonNull Collection files){ return addPaths_native_cref_QStringList(QtJambi_LibraryUtilities.internal.nativeId(this), files); } @QtUninvokable private native io.qt.core.QStringList addPaths_native_cref_QStringList(long __this__nativeId, java.util.Collection files); /** *

See QFileSystemWatcher::directories()const

*/ @QtUninvokable public final io.qt.core.@NonNull QStringList directories(){ return directories_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } @QtUninvokable private native io.qt.core.QStringList directories_native_constfct(long __this__nativeId); /** *

See QFileSystemWatcher::files()const

*/ @QtUninvokable public final io.qt.core.@NonNull QStringList files(){ return files_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } @QtUninvokable private native io.qt.core.QStringList files_native_constfct(long __this__nativeId); /** *

See QFileSystemWatcher::removePath(QString)

*/ @QtUninvokable public final boolean removePath(java.lang.@NonNull String file){ return removePath_native_cref_QString(QtJambi_LibraryUtilities.internal.nativeId(this), file); } @QtUninvokable private native boolean removePath_native_cref_QString(long __this__nativeId, java.lang.String file); /** *

See QFileSystemWatcher::removePaths(QStringList)

*/ @QtUninvokable public final io.qt.core.@NonNull QStringList removePaths(java.util.@NonNull Collection files){ return removePaths_native_cref_QStringList(QtJambi_LibraryUtilities.internal.nativeId(this), files); } @QtUninvokable private native io.qt.core.QStringList removePaths_native_cref_QStringList(long __this__nativeId, java.util.Collection files); /** * Constructor for internal use only. * @param p expected to be null. * @hidden */ @NativeAccess protected QFileSystemWatcher(QPrivateConstructor p) { super(p); } /** * Constructor for internal use only. * It is not allowed to call the declarative constructor from inside Java. * @hidden */ @NativeAccess protected QFileSystemWatcher(QDeclarativeConstructor constructor) { super((QPrivateConstructor)null); initialize_native(this, constructor); } @QtUninvokable private static native void initialize_native(QFileSystemWatcher instance, QDeclarativeConstructor constructor); /** *

Overloaded constructor for {@link #QFileSystemWatcher(io.qt.core.QObject)} * with parent = null.

*/ public QFileSystemWatcher() { this((io.qt.core.QObject)null); } /** *

Overloaded constructor for {@link #QFileSystemWatcher(java.util.Collection, io.qt.core.QObject)} * with parent = null.

*/ public QFileSystemWatcher(java.util.@NonNull Collection paths) { this(paths, (io.qt.core.QObject)null); } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy