- qtgui
- qtdbus
- qtwidgets
- qtcore
- dtkcore
- qsettingbackend_zh
- dobject_zh
- abstractappender_zh
- abstractstringappender_zh
- dfilewatcher_zh
- outputdebugappender_zh
- dsettingsbackend_zh
- drecentmanager_zh
- ddesktopentry_zh
- consoleappender_zh
- gsettingsbackend_zh
- dsettingsgroup_zh
- dlogmanager_zh
- fileappender_zh
- dsettings_zh
- dfilesystemwatcher_zh
- dfilewatchermanager_zh
- dbasefilewatcher_zh
- dtkgui
- dtkwidget
- dviewitemaction_zh
- dstandarditem_zh
- dfiledialog_zh
- dclipeffectwidget_zh
- danchors_zh
- dgraphicsclipeffect_zh
- dstyle_zh
- dcoloredprogressbar_zh
- dbuttonboxbutton_zh
- dlabel_zh
- dtiplabel_zh
- darrowlinedrawer_zh
- daboutdialog_zh
- dsettingswidgetfactory_zh
- dsearchcombobox_zh
- dcrumbedit_zh
- dcommandlinkbutton_zh
- dsettingsdialog_zh
- dwindowoptionbutton_zh
- dspinner_zh
- dsimplelistview_zh
- dwaterprogress_zh
- dmainwindow_zh
- dhidpihelper_zh
- dslider_zh
- dpasswordedit_zh
- danchorinfo_zh
- dmpriscontrol_zh
- darrowbutton_zh
- dbackgroundgroup_zh
- dcircleprogress_zh
- dwarningbutton_zh
- dwindowclosebutton_zh
- dvideowidget_zh
- dfilechooseredit_zh
- dblureffectwidget_zh
- darrowrectangle_zh
- dsearchedit_zh
- dfloatingmessage_zh
- dswitchlineexpand_zh
- dtabbar_zh
- dlineedit_zh
- danchorsbase_zh
- dstylediconengine_zh
- dwindowmaxbutton_zh
- dpageindicator_zh
- dsuggestbutton_zh
- dapplicationsettings_zh
- dtooltip_zh
- dwindowminbutton_zh
- ddrawer_zh
- dtitlebar_zh
- dsimplelistitem_zh
- dpicturesequenceview_zh
dbasefilewatcher_zh
Class::DBaseFileWatcher
暂无该属性
Detailed Description
~chinese ~chinese
DBaseFileWatcher 类提供了一系列接口可供监视文件和目录的变动。
DBaseFileWatcher::metaObject
const QMetaObject * metaObject() const
DBaseFileWatcher::qt_metacast
void * qt_metacast(const char *)
DBaseFileWatcher::qt_metacall
int qt_metacall(QMetaObject::Call , int , void **)
DBaseFileWatcher::tr
QString tr(const char *s, const char *c, int n)
DBaseFileWatcher::trUtf8
QString trUtf8(const char *s, const char *c, int n)
DBaseFileWatcher::qt_static_metacall
void qt_static_metacall(QObject *, QMetaObject::Call , int , void **)
Class::QPrivateSignal
DBaseFileWatcher::QPrivateSignal
Detailed Description
DBaseFileWatcher::~DBaseFileWatcher
~DBaseFileWatcher()
DBaseFileWatcher::fileUrl
QUrl fileUrl() const
DBaseFileWatcher::startWatcher
bool startWatcher() ~chinese
开始文件变动监视 ~english
Let file watcher start watching file changes. See also stopWatcher() restartWatcher()
DBaseFileWatcher::stopWatcher
bool stopWatcher() ~chinese
停止文件变动监视 ~english
Stop watching file changes. See also startWatcher() restartWatcher()
DBaseFileWatcher::restartWatcher
bool restartWatcher() ~chinese
重新开始文件变动监视 ~english
Stop file watcher and then restart it to watching file changes. See also startWatcher() stopWatcher()
DBaseFileWatcher::setEnabledSubfileWatcher
void setEnabledSubfileWatcher(const QUrl &subfileUrl, bool enabled) ~chinese
设置是否对 subfileUrl 目录启用文件监视 ~english
Set enable file watcher for subfileUrl or not ~chinese subfileUrl 设置所针对的 Url ~english subfileUrl The given url
~chinese enabled 是否启用文件变动监视 ~english enabled Enable file change watching or not.
typedef DBaseFileWatcher::SignalType1
typedef DBaseFileWatcher::SignalType2
DBaseFileWatcher::ghostSignal
bool ghostSignal(const QUrl &targetUrl, DBaseFileWatcher::SignalType1 signal, const QUrl &arg1) ~chinese
发送一个信号表示目标目录 targetUrl 得到了一个 signal 信号,包含参数 arg1 。 ~english
Emit a signal about targetUrl got a signal with arg1 ~chinese 示例用法: ~english Example usage:
~
{.cpp}
DBaseFileWatcher::ghostSignal(QUrl("bookmark:///"), &DBaseFileWatcher::fileDeleted, QUrl("bookmark:///bookmarkFile1"));
DBaseFileWatcher::ghostSignal
bool ghostSignal(const QUrl &targetUrl, DBaseFileWatcher::SignalType2 signal, const QUrl &arg1, const QUrl &arg2) ~chinese
发送一个信号表示目标目录 targetUrl 得到了一个 signal 信号,包含参数 arg1 和 UnknownCommand。 ~english
Emit a signal about targetUrl got a signal with arg1 and arg2 ~chinese 示例用法: ~english Example usage:
~
{.cpp}
DBaseFileWatcher::ghostSignal(QUrl("bookmark:///"), &DBaseFileWatcher::fileMoved, QUrl("bookmark:///bookmarkFile1"), QUrl("bookmark:///NewNameFile1"));
DBaseFileWatcher::fileDeleted
void fileDeleted(const QUrl &url)
DBaseFileWatcher::fileAttributeChanged
void fileAttributeChanged(const QUrl &url)
DBaseFileWatcher::fileMoved
void fileMoved(const QUrl &fromUrl, const QUrl &toUrl)
DBaseFileWatcher::subfileCreated
void subfileCreated(const QUrl &url)
DBaseFileWatcher::fileModified
void fileModified(const QUrl &url)
DBaseFileWatcher::fileClosed
void fileClosed(const QUrl &url)
DBaseFileWatcher::DBaseFileWatcher
DBaseFileWatcher(DBaseFileWatcherPrivate &dd, const QUrl &url, QObject *parent)
DBaseFileWatcher::DBaseFileWatcher
DBaseFileWatcher(const DBaseFileWatcher &)
DBaseFileWatcher::operator=
DBaseFileWatcher & operator=(const DBaseFileWatcher &)
DBaseFileWatcher::d_func
DBaseFileWatcherPrivate * d_func()
DBaseFileWatcher::d_func
const DBaseFileWatcherPrivate * d_func() const