Home
last modified time | relevance | path

Searched refs:KDirWatch (Results 1 – 25 of 188) sorted by relevance

12345678

/dports/devel/kf5-kcoreaddons/kcoreaddons-5.89.0/autotests/
H A Dkdirwatch_unittest.cpp34 case KDirWatch::FAM: in methodToString()
38 case KDirWatch::Stat: in methodToString()
49 KDirWatch m_dirWatch;
378 KDirWatch watch; in touchOneFile()
395 KDirWatch watch; in touch1000Files()
421 KDirWatch watch; in watchAndModifyOneFile()
434 KDirWatch watch; in removeAndReAdd()
457 KDirWatch watch; in watchNonExistent()
523 KDirWatch watch; in testDelete()
546 KDirWatch watch; in testDeleteAndRecreateFile()
[all …]
/dports/devel/kf5-kcoreaddons/kcoreaddons-5.89.0/src/lib/io/
H A Dkdirwatch_p.h77 Client(KDirWatch *inst, KDirWatch::WatchModes watchModes) in Client()
93 KDirWatch *instance;
99 KDirWatch::WatchModes m_watchModes;
124 void addClient(KDirWatch *, KDirWatch::WatchModes);
125 void removeClient(KDirWatch *);
169 void resetList(KDirWatch *instance, bool skippedToo);
171 …void addEntry(KDirWatch *instance, const QString &_path, Entry *sub_entry, bool isDir, KDirWatch::…
174 bool stopEntryScan(KDirWatch *instance, Entry *e);
176 void stopScan(KDirWatch *instance);
179 void removeEntries(KDirWatch *instance);
[all …]
H A Dkdirwatch.cpp120 case KDirWatch::FAM: in methodToString()
124 case KDirWatch::Stat: in methodToString()
386KDirWatch::WatchModes flag = isDir ? KDirWatch::WatchSubDirs : KDirWatch::WatchFiles; in inotifyEventReceived()
513 const KDirWatch::WatchModes flag = *isDir ? KDirWatch::WatchSubDirs : KDirWatch::WatchFiles; in clientsForFileOrDir()
533 const KDirWatch::WatchModes flag = isDir ? KDirWatch::WatchSubDirs : KDirWatch::WatchFiles; in inotifyClientsForFileOrDir()
954 case KDirWatch::FAM: in addWatch()
958 case KDirWatch::FAM: in addWatch()
1852 KDirWatch *KDirWatch::self() in Q_GLOBAL_STATIC()
1871 KDirWatch::KDirWatch(QObject *parent) in KDirWatch() function in KDirWatch
1886 KDirWatch::~KDirWatch() in ~KDirWatch()
[all …]
H A Dkdirwatch.h56 class KCOREADDONS_EXPORT KDirWatch : public QObject
82 explicit KDirWatch(QObject *parent = nullptr);
89 ~KDirWatch() override;
242 static KDirWatch *self();
306 Q_DECLARE_OPERATORS_FOR_FLAGS(KDirWatch::WatchModes)
/dports/devel/kf5-kcoreaddons/kcoreaddons-5.89.0/tests/
H A Dkdirwatchtest_gui.cpp47 w1 = new KDirWatch(); in KDirWatchTest_GUI()
49 w2 = new KDirWatch(); in KDirWatchTest_GUI()
51 w3 = new KDirWatch(); in KDirWatchTest_GUI()
53 connect(w1, &KDirWatch::dirty, this, &KDirWatchTest_GUI::slotDir1); in KDirWatchTest_GUI()
54 connect(w2, &KDirWatch::dirty, this, &KDirWatchTest_GUI::slotDir2); in KDirWatchTest_GUI()
55 connect(w3, &KDirWatch::dirty, this, &KDirWatchTest_GUI::slotDir3); in KDirWatchTest_GUI()
60 KDirWatch *w4 = new KDirWatch(this); in KDirWatchTest_GUI()
62 w4->addDir(dir, KDirWatch::WatchFiles | KDirWatch::WatchSubDirs); in KDirWatchTest_GUI()
63 connect(w1, &KDirWatch::dirty, this, &KDirWatchTest_GUI::slotDirty); in KDirWatchTest_GUI()
67 KDirWatch *w5 = new KDirWatch(this); in KDirWatchTest_GUI()
[all …]
H A Dkdirwatchtest.cpp27 KDirWatch *dirwatch1 = KDirWatch::self(); in main()
28 KDirWatch *dirwatch2 = new KDirWatch; in main()
30 testObject.connect(dirwatch1, &KDirWatch::dirty, &myTest::dirty); in main()
31 testObject.connect(dirwatch1, &KDirWatch::created, &myTest::created); in main()
32 testObject.connect(dirwatch1, &KDirWatch::deleted, &myTest::deleted); in main()
69 KDirWatch::statistics(); in main()
73 KDirWatch::statistics(); in main()
H A Dkdirwatchtest_gui.h33 class KDirWatch *w1;
34 class KDirWatch *w2;
35 class KDirWatch *w3;
/dports/net-p2p/ktorrent/ktorrent-21.12.3/plugins/scanfolder/
H A Dscanfolder.cpp39 watch = new KDirWatch(this); in ScanFolder()
40 connect(watch, &KDirWatch::dirty, this, &ScanFolder::scanDir); in ScanFolder()
41 connect(watch, &KDirWatch::created, this, &ScanFolder::scanDir); in ScanFolder()
43 watch->addDir(dir.toLocalFile(), recursive ? KDirWatch::WatchSubDirs : KDirWatch::WatchDirOnly); in ScanFolder()
74 …watch->addDir(scan_directory.toLocalFile(), recursive ? KDirWatch::WatchSubDirs : KDirWatch::Watch… in setRecursive()
/dports/x11/plasma5-plasma-workspace/plasma-workspace-5.23.5/ktimezoned/
H A Dktimezoned.cpp67 m_dirWatch = new KDirWatch(this); in init()
71 connect(m_dirWatch, &KDirWatch::dirty, this, &KTimeZoned::updateLocalZone); in init()
72 connect(m_dirWatch, &KDirWatch::deleted, this, &KTimeZoned::updateLocalZone); in init()
73 connect(m_dirWatch, &KDirWatch::created, this, &KTimeZoned::updateLocalZone); in init()
84 m_zoneTabWatch = new KDirWatch(this); in init()
85 m_zoneTabWatch->addDir(m_zoneinfoDir, KDirWatch::WatchFiles); in init()
87 connect(m_dirWatch, &KDirWatch::dirty, this, &KTimeZoned::updateLocalZone); in init()
88 connect(m_dirWatch, &KDirWatch::created, this, &KTimeZoned::updateLocalZone); in init()
89 connect(m_dirWatch, &KDirWatch::deleted, this, &KTimeZoned::updateLocalZone); in init()
H A Dktimezoned.h14 class KDirWatch; variable
32 KDirWatch *m_dirWatch = nullptr; // watcher for timezone config changes
33 KDirWatch *m_zoneTabWatch = nullptr; // watcher for zone.tab changes
/dports/deskutils/ktimetracker/ktimetracker-5.0.1/src/
H A Dtimetrackerstorage.cpp70 if (KDirWatch::self()->contains(m_url.toLocalFile())) { in load()
71 KDirWatch::self()->removeFile(m_url.toLocalFile()); in load()
78 KDirWatch::self()->addFile(m_url.toLocalFile()); in load()
90 connect(KDirWatch::self(), &KDirWatch::dirty, this, &TimeTrackerStorage::onFileModified); in load()
91 if (!KDirWatch::self()->contains(url.toLocalFile())) { in load()
92 KDirWatch::self()->addFile(url.toLocalFile()); in load()
110 KDirWatch::self()->addFile(m_url.toLocalFile()); in load()
248 if (KDirWatch::self()->contains(m_url.toLocalFile())) { in save()
249 KDirWatch::self()->removeFile(m_url.toLocalFile()); in save()
277 KDirWatch::self()->addFile(m_url.toLocalFile()); in save()
/dports/devel/kf5-kio/kio-5.89.0/src/ioslaves/remote/kdedmodule/
H A Dremotedirnotify.cpp20 m_dirWatch = new KDirWatch(this); in RemoteDirNotify()
21 m_dirWatch->addDir(path, KDirWatch::WatchFiles); in RemoteDirNotify()
23 connect(m_dirWatch, &KDirWatch::created, this, &RemoteDirNotify::slotRemoteChanged); in RemoteDirNotify()
24 connect(m_dirWatch, &KDirWatch::deleted, this, &RemoteDirNotify::slotRemoteChanged); in RemoteDirNotify()
25 connect(m_dirWatch, &KDirWatch::dirty, this, &RemoteDirNotify::slotRemoteChanged); in RemoteDirNotify()
/dports/devel/kio-extras/kio-extras-21.12.3/recentdocuments/
H A Drecentdocumentsnotifier.cpp15 dirWatch = new KDirWatch(this); in RecentDocumentsNotifier()
16 dirWatch->addDir(KRecentDocument::recentDocumentDirectory(), KDirWatch::WatchFiles); in RecentDocumentsNotifier()
17 connect(dirWatch, &KDirWatch::created, this, &RecentDocumentsNotifier::dirty); in RecentDocumentsNotifier()
18 connect(dirWatch, &KDirWatch::deleted, this, &RecentDocumentsNotifier::dirty); in RecentDocumentsNotifier()
19 connect(dirWatch, &KDirWatch::dirty, this, &RecentDocumentsNotifier::dirty); in RecentDocumentsNotifier()
/dports/finance/skrooge/skrooge-2.26.1/skroogeakonadi/
H A Dskroogeakonadiresource.cpp43 if (!KDirWatch::self()->contains(Settings::self()->path())) { in skroogeakonadiResource()
44 KDirWatch::self()->addFile(Settings::self()->path()); in skroogeakonadiResource()
46 QObject::connect(KDirWatch::self(), &KDirWatch::dirty, this, &skroogeakonadiResource::refresh); in skroogeakonadiResource()
68 if (!KDirWatch::self()->contains(Settings::self()->path())) { in retrieveCollections()
69 KDirWatch::self()->addFile(Settings::self()->path()); in retrieveCollections()
170 KDirWatch::self()->removeDir(oldPath); in configure()
171 KDirWatch::self()->addFile(newPath); in configure()
/dports/audio/amarok/amarok-3e11ccdd1417e70486eaaa84d8475182eec44c20/src/scanner/
H A DAbstractDirectoryWatcher.cpp46 m_watcher = new KDirWatch( this ); in AbstractDirectoryWatcher()
48 connect( m_watcher, &KDirWatch::dirty, in AbstractDirectoryWatcher()
50 connect( m_watcher, &KDirWatch::created, in AbstractDirectoryWatcher()
52 connect( m_watcher, &KDirWatch::deleted, in AbstractDirectoryWatcher()
99 KDirWatch::WatchSubDirs : KDirWatch::WatchDirOnly ); in run()
/dports/deskutils/latte-dock/latte-dock-0.10.6/app/plasma/extended/
H A Dscreenpool.cpp37 KDirWatch::self()->addFile(plasmaSettingsFile); in ScreenPool()
39 …connect(KDirWatch::self(), &KDirWatch::dirty, this, [ &, plasmaSettingsFile](const QString & path)… in ScreenPool()
45 …connect(KDirWatch::self(), &KDirWatch::created, this, [ &, plasmaSettingsFile](const QString & pat… in ScreenPool()
/dports/deskutils/latte-dock/latte-dock-0.10.6/app/wm/tracker/
H A Dschemes.cpp58 KDirWatch::self()->addFile(kdeSettingsFile); in init()
60 … connect(KDirWatch::self(), &KDirWatch::dirty, this, [ &, kdeSettingsFile](const QString & path) { in init()
66 …connect(KDirWatch::self(), &KDirWatch::created, this, [ &, kdeSettingsFile](const QString & path) { in init()
/dports/devel/okteta/okteta-0.26.6/libs/kasten/core/io/filesystem/
H A Dabstractmodelfilesystemsynchronizer_p.cpp28 mDirWatch = new KDirWatch(q); in startFileWatching()
29 QObject::connect(mDirWatch, &KDirWatch::dirty, in startFileWatching()
32 QObject::connect(mDirWatch, &KDirWatch::created, in startFileWatching()
35 QObject::connect(mDirWatch, &KDirWatch::deleted, in startFileWatching()
/dports/deskutils/latte-dock/latte-dock-0.10.6/app/shortcuts/
H A Dshortcutstracker.cpp50 KDirWatch::self()->addFile(globalShortcutsFilePath); in initGlobalShortcutsWatcher()
52 …connect(KDirWatch::self(), &KDirWatch::dirty, this, &ShortcutsTracker::shortcutsFileChanged, Qt::Q… in initGlobalShortcutsWatcher()
53 …connect(KDirWatch::self(), &KDirWatch::created, this, &ShortcutsTracker::shortcutsFileChanged, Qt:… in initGlobalShortcutsWatcher()
/dports/net/kpeoplevcard/kpeoplevcard-0.1/src/
H A Dkpeoplevcard.cpp150 , m_fs(new KDirWatch(this)) in KPeopleVCard()
156 connect(m_fs, &KDirWatch::dirty, this, [this](const QString& path) { in KPeopleVCard()
163 connect(m_fs, &KDirWatch::created, this, [this] (const QString &path) { in KPeopleVCard()
170 connect(m_fs, &KDirWatch::deleted, this, &KPeopleVCard::deleteVCard); in KPeopleVCard()
198 …m_fs->addDir(dir.absolutePath(), KDirWatch::WatchDirOnly | KDirWatch::WatchSubDirs | KDirWatch::Wa… in processDirectory()
/dports/x11-toolkits/plasma5-kdeplasma-addons/kdeplasma-addons-5.23.5/applets/notes/plugin/
H A Dfilesystemnoteloader.cpp29 KDirWatch *m_watcher;
64 , m_watcher(new KDirWatch(this)) in FileNote()
68 connect(m_watcher, &KDirWatch::created, this, &FileNote::fileSystemChanged); in FileNote()
69 connect(m_watcher, &KDirWatch::dirty, this, &FileNote::fileSystemChanged); in FileNote()
/dports/multimedia/kdenlive/kdenlive-21.12.3/src/bin/
H A Dfilewatcher.cpp12 , m_fileWatcher(new KDirWatch()) in FileWatcher()
16 connect(m_fileWatcher.get(), &KDirWatch::dirty, this, &FileWatcher::slotUrlModified); in FileWatcher()
17 connect(m_fileWatcher.get(), &KDirWatch::deleted, this, &FileWatcher::slotUrlMissing); in FileWatcher()
18 connect(m_fileWatcher.get(), &KDirWatch::created, this, &FileWatcher::slotUrlAdded); in FileWatcher()
/dports/x11/kf5-kdelibs4support/kdelibs4support-5.89.0/src/kio/
H A Dkfileshare.cpp63 KDirWatch::self()->addFile(FILESHARECONF); in KFileSharePrivate()
64 connect(KDirWatch::self(), SIGNAL(dirty(QString)), this, in KFileSharePrivate()
66 connect(KDirWatch::self(), SIGNAL(created(QString)), this, in KFileSharePrivate()
68 connect(KDirWatch::self(), SIGNAL(deleted(QString)), this, in KFileSharePrivate()
74 KDirWatch::self()->removeFile(FILESHARECONF); in ~KFileSharePrivate()
/dports/deskutils/latte-dock/latte-dock-0.10.6/app/templates/
H A Dtemplatesmanager.cpp31 KDirWatch::self()->addDir(Latte::configPath() + "/latte/templates", KDirWatch::WatchFiles); in Manager()
32 connect(KDirWatch::self(), &KDirWatch::created, this, &Manager::onCustomTemplatesCountChanged); in Manager()
33 connect(KDirWatch::self(), &KDirWatch::deleted, this, &Manager::onCustomTemplatesCountChanged); in Manager()
34 connect(KDirWatch::self(), &KDirWatch::dirty, this, &Manager::onCustomTemplatesCountChanged); in Manager()
/dports/math/rkward-kde/rkward-0.7.1/rkward/misc/
H A Drkxmlguisyncer_p.h47 file_watcher = KDirWatch::self (); in RKXMLGUISyncerPrivate()
48 connect (file_watcher, &KDirWatch::dirty, this, &RKXMLGUISyncerPrivate::uiRcFileChanged); in RKXMLGUISyncerPrivate()
62 KDirWatch *file_watcher;

12345678