xlang
v4.0 Release
程序设计语言基础库文档
载入中...
搜索中...
未找到
xlibrarys
Qt5
Qt5
qt5
widgets
QFileSystemWatcher.xcsm
浏览该文件的文档.
1
//xlang Source, Name:QFileSystemWatcher.xcsm
2
//Date: Tue Nov 21:50:30 2018
3
4
package
Qt{
5
@SuppressWarnings public class QFileSystemWatcher : QObject{
6
7
public QFileSystemWatcher(){
8
9
}
10
11
public QFileSystemWatcher(long handle){
12
super(handle);
13
}
14
15
public
bool
create
(@NotNilptr QWidget parent){
16
nativehandle = QtXnl.createQObject(QType.qtFileWatch,
this
, parent != nilptr ? parent.nativehandle : 0l);
17
if
(nativehandle == 0){
18
return
false
;
19
}
20
return
true
;
21
}
22
23
public
bool
addPath
(
String
path){
24
return
1 == QtXnl.widget_set_intstring_value(nativehandle, Constant.FSWADDFILE, 0, path);
25
}
26
27
public
bool
removePath
(
String
path){
28
return
1 == QtXnl.widget_set_intstring_value(nativehandle, Constant.FSWREMFILE, 0, path);
29
}
30
31
32
};
33
};
Qt.QFileSystemWatcher.create
bool create(@NotNilptr QWidget parent)
Definition
QFileSystemWatcher.xcsm:15
Qt.QFileSystemWatcher.removePath
bool removePath(String path)
Definition
QFileSystemWatcher.xcsm:27
Qt.QFileSystemWatcher.addPath
bool addPath(String path)
Definition
QFileSystemWatcher.xcsm:23
String
字符串类
Definition
BuiltinObjects.x:65
制作者
1.9.8