xlang v4.0 Release
程序设计语言基础库文档
载入中...
搜索中...
未找到
Public 成员函数
QFileSystemWatcher类 参考
类 QFileSystemWatcher 继承关系图:
QObject

Public 成员函数

额外继承的成员函数

详细描述

在文件 QFileSystemWatcher.xcsm5 行定义.

构造及析构函数说明

◆ QFileSystemWatcher() [1/2]

QFileSystemWatcher ( )

在文件 QFileSystemWatcher.xcsm7 行定义.

7 {
8
9 }

◆ QFileSystemWatcher() [2/2]

QFileSystemWatcher ( long  handle)

在文件 QFileSystemWatcher.xcsm11 行定义.

11 {
12 super(handle);
13 }

成员函数说明

◆ addPath()

bool addPath ( String  path)

在文件 QFileSystemWatcher.xcsm23 行定义.

23 {
24 return 1 == QtXnl.widget_set_intstring_value(nativehandle, Constant.FSWADDFILE, 0, path);
25 }

◆ create()

bool create ( @NotNilptr QWidget  parent)

在文件 QFileSystemWatcher.xcsm15 行定义.

15 {
16 nativehandle = QtXnl.createQObject(QType.qtFileWatch, this, parent != nilptr ? parent.nativehandle : 0l);
17 if (nativehandle == 0){
18 return false;
19 }
20 return true;
21 }
long nativehandle
Definition QNative.xcsm:91

◆ removePath()

bool removePath ( String  path)

在文件 QFileSystemWatcher.xcsm27 行定义.

27 {
28 return 1 == QtXnl.widget_set_intstring_value(nativehandle, Constant.FSWREMFILE, 0, path);
29 }