Baloo
8#ifndef BALOOMONITOR_MONITOR_H
9#define BALOOMONITOR_MONITOR_H
11#include <QDeadlineTimer>
15#include "indexerstate.h"
16#include "schedulerinterface.h"
17#include "fileindexerinterface.h"
36 QString filePath()
const {
return m_filePath; }
38 QString remainingTime()
const {
return m_remainingTime; }
39 QString stateString()
const {
return Baloo::stateString(m_indexerState); }
40 Baloo::IndexerState state()
const {
return m_indexerState; }
47 void newFileIndexed();
48 void balooStateChanged();
49 void totalFilesChanged();
50 void remainingTimeChanged();
51 void indexerStateChanged();
54 void newFile(
const QString& filePath);
56 void slotIndexerStateChanged(
int state);
59 void fetchTotalFiles();
60 void updateRemainingTime();
65 bool m_balooRunning =
false;
66 Baloo::IndexerState m_indexerState = Baloo::Unavailable;
69 org::kde::baloo::scheduler* m_scheduler;
70 org::kde::baloo::fileindexer* m_fileindexer;
72 uint m_totalFiles = 0;
73 uint m_filesIndexed = 0;
75 uint m_remainingTimeSeconds = 0;
Implements storage for docIds without any associated data Instantiated for:
QObject * parent() const const
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Tue Mar 26 2024 11:20:16 by
doxygen 1.10.0 written
by
Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.