1 | /* |
2 | This file is part of the Nepomuk KDE project. |
3 | SPDX-FileCopyrightText: 2010-14 Vishesh Handa <handa.vish@gmail.com> |
4 | SPDX-FileCopyrightText: 2010-2011 Sebastian Trueg <trueg@kde.org> |
5 | |
6 | SPDX-License-Identifier: LGPL-2.1-only OR LGPL-3.0-only OR LicenseRef-KDE-Accepted-LGPL |
7 | */ |
8 | |
9 | #include "app.h" |
10 | #include "../priority.h" |
11 | |
12 | #include <KCrash> |
13 | #include <KAboutData> |
14 | #include <KLocalizedString> |
15 | #include <QStandardPaths> |
16 | |
17 | #include <QCoreApplication> |
18 | |
19 | int main(int argc, char* argv[]) |
20 | { |
21 | lowerIOPriority(); |
22 | setIdleSchedulingPriority(); |
23 | lowerPriority(); |
24 | |
25 | QCoreApplication app(argc, argv); |
26 | |
27 | KAboutData aboutData(QStringLiteral("baloo" ), i18n("Baloo File Extractor" ), QLatin1String(PROJECT_VERSION)); |
28 | KAboutData::setApplicationData(aboutData); |
29 | |
30 | KCrash::initialize(); |
31 | |
32 | Baloo::App appObject; |
33 | return app.exec(); |
34 | } |
35 | |