]> cloud.milkyroute.net Git - dolphin.git/blobdiff - src/kitemviews/private/kdirectorycontentscounter.cpp
Compile with QT_NO_KEYWORDS
[dolphin.git] / src / kitemviews / private / kdirectorycontentscounter.cpp
index df45c417357b1709e3406d3dc0ba701e1a53e4d1..d33277a3b9d45c86bb9ecc69c5029023b3600aa6 100644 (file)
@@ -115,7 +115,7 @@ void KDirectoryContentsCounter::slotResult(const QString& path, int count, long
     }
 
     // sends the results
-    emit result(resolvedPath, count, size);
+    Q_EMIT result(resolvedPath, count, size);
 }
 
 void KDirectoryContentsCounter::slotDirWatchDirty(const QString& path)
@@ -165,7 +165,7 @@ void KDirectoryContentsCounter::startWorker(const QString& path)
         // fast path when in cache
         // will be updated later if result has changed
         const auto pair = s_cache->value(path);
-        emit result(path, pair.first, pair.second);
+        Q_EMIT result(path, pair.first, pair.second);
     }
 
     if (m_workerIsBusy) {
@@ -189,7 +189,7 @@ void KDirectoryContentsCounter::startWorker(const QString& path)
             options |= KDirectoryContentsCounterWorker::CountDirectoriesOnly;
         }
 
-        emit requestDirectoryContentsCount(path, options);
+        Q_EMIT requestDirectoryContentsCount(path, options);
         m_workerIsBusy = true;
     }
 }