io.qt.core.QFileSystemWatcher Maven / Gradle / Ivy
package io.qt.core;
/**
* 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.QMetaObject staticMetaObject = io.qt.core.QMetaObject.forType(QFileSystemWatcher.class);
/**
* See QFileSystemWatcher::directoryChanged(QString)
*/
public final PrivateSignal1 directoryChanged = new PrivateSignal1<>();
/**
* See QFileSystemWatcher::fileChanged(QString)
*/
public final PrivateSignal1 fileChanged = new PrivateSignal1<>();
/**
* Overloaded constructor for {@link #QFileSystemWatcher(io.qt.core.QObject)}
* with parent = null
.
*/
public QFileSystemWatcher() {
this((io.qt.core.QObject)null);
}
/**
* See QFileSystemWatcher::QFileSystemWatcher(QObject*)
*/
public QFileSystemWatcher(io.qt.core.QObject parent){
super((QPrivateConstructor)null);
initialize_native(this, parent);
}
private native static void initialize_native(QFileSystemWatcher instance, io.qt.core.QObject parent);
/**
* Overloaded constructor for {@link #QFileSystemWatcher(java.util.Collection, io.qt.core.QObject)}
* with parent = null
.
*/
public QFileSystemWatcher(java.util.Collection paths) {
this(paths, (io.qt.core.QObject)null);
}
/**
* See QFileSystemWatcher::QFileSystemWatcher(QStringList,QObject*)
*/
public QFileSystemWatcher(java.util.Collection paths, io.qt.core.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)
*/
@io.qt.QtUninvokable
public final boolean addPath(java.lang.String file){
return addPath_native_cref_QString(QtJambi_LibraryUtilities.internal.nativeId(this), file);
}
@io.qt.QtUninvokable
private native boolean addPath_native_cref_QString(long __this__nativeId, java.lang.String file);
/**
* See QFileSystemWatcher::addPaths(QStringList)
*/
@io.qt.QtUninvokable
public final io.qt.core.QStringList addPaths(java.util.Collection files){
return addPaths_native_cref_QStringList(QtJambi_LibraryUtilities.internal.nativeId(this), files);
}
@io.qt.QtUninvokable
private native io.qt.core.QStringList addPaths_native_cref_QStringList(long __this__nativeId, java.util.Collection files);
/**
* See QFileSystemWatcher::directories()const
*/
@io.qt.QtUninvokable
public final io.qt.core.QStringList directories(){
return directories_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@io.qt.QtUninvokable
private native io.qt.core.QStringList directories_native_constfct(long __this__nativeId);
/**
* See QFileSystemWatcher::files()const
*/
@io.qt.QtUninvokable
public final io.qt.core.QStringList files(){
return files_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@io.qt.QtUninvokable
private native io.qt.core.QStringList files_native_constfct(long __this__nativeId);
/**
* See QFileSystemWatcher::removePath(QString)
*/
@io.qt.QtUninvokable
public final boolean removePath(java.lang.String file){
return removePath_native_cref_QString(QtJambi_LibraryUtilities.internal.nativeId(this), file);
}
@io.qt.QtUninvokable
private native boolean removePath_native_cref_QString(long __this__nativeId, java.lang.String file);
/**
* See QFileSystemWatcher::removePaths(QStringList)
*/
@io.qt.QtUninvokable
public final io.qt.core.QStringList removePaths(java.util.Collection files){
return removePaths_native_cref_QStringList(QtJambi_LibraryUtilities.internal.nativeId(this), files);
}
@io.qt.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
.
*/
@io.qt.NativeAccess
protected QFileSystemWatcher(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 QFileSystemWatcher(QDeclarativeConstructor constructor) {
super((QPrivateConstructor)null);
initialize_native(this, constructor);
}
@io.qt.QtUninvokable
private static native void initialize_native(QFileSystemWatcher instance, QDeclarativeConstructor constructor);
}