Changeset View
Changeset View
Standalone View
Standalone View
src/file/extractorprocess.cpp
Show All 14 Lines | |||||
15 | * You should have received a copy of the GNU Lesser General Public | 15 | * You should have received a copy of the GNU Lesser General Public | ||
16 | * License along with this library; if not, write to the Free Software | 16 | * License along with this library; if not, write to the Free Software | ||
17 | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA | 17 | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA | ||
18 | * | 18 | * | ||
19 | */ | 19 | */ | ||
20 | 20 | | |||
21 | #include "extractorprocess.h" | 21 | #include "extractorprocess.h" | ||
22 | 22 | | |||
23 | #include "baloodebug.h" | ||||
24 | | ||||
23 | #include <QStandardPaths> | 25 | #include <QStandardPaths> | ||
24 | #include <QDebug> | | |||
25 | #include <QDataStream> | 26 | #include <QDataStream> | ||
26 | 27 | | |||
27 | using namespace Baloo; | 28 | using namespace Baloo; | ||
28 | 29 | | |||
29 | ExtractorProcess::ExtractorProcess(QObject* parent) | 30 | ExtractorProcess::ExtractorProcess(QObject* parent) | ||
30 | : QObject(parent) | 31 | : QObject(parent) | ||
31 | , m_extractorPath(QStandardPaths::findExecutable(QStringLiteral("baloo_file_extractor"))) | 32 | , m_extractorPath(QStandardPaths::findExecutable(QStringLiteral("baloo_file_extractor"))) | ||
32 | , m_extractorProcess(this) | 33 | , m_extractorProcess(this) | ||
▲ Show 20 Lines • Show All 53 Lines • ▼ Show 20 Line(s) | 86 | case 'F': | |||
86 | Q_EMIT finishedIndexingFile(arg); | 87 | Q_EMIT finishedIndexingFile(arg); | ||
87 | break; | 88 | break; | ||
88 | 89 | | |||
89 | case 'B': | 90 | case 'B': | ||
90 | Q_EMIT done(); | 91 | Q_EMIT done(); | ||
91 | break; | 92 | break; | ||
92 | 93 | | |||
93 | default: | 94 | default: | ||
94 | qCritical() << "Got unknown result from extractor" << command << arg; | 95 | qCritical(BALOO) << "Got unknown result from extractor" << command << arg; | ||
95 | } | 96 | } | ||
96 | } | 97 | } | ||
97 | } | 98 | } |