Clazy fix++
[kdepim.git] / kaddressbook / kaddressbook_options.h
blob8d9b2bbb5b9a267169fb2021e95aaf099fa1dadf
1 /*
2 Copyright (c) 2013, 2014 Montel Laurent <montel@kde.org>
4 This program is free software; you can redistribute it and/or modify it
5 under the terms of the GNU General Public License, version 2, as
6 published by the Free Software Foundation.
8 This program is distributed in the hope that it will be useful, but
9 WITHOUT ANY WARRANTY; without even the implied warranty of
10 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
11 General Public License for more details.
13 You should have received a copy of the GNU General Public License along
14 with this program; if not, write to the Free Software Foundation, Inc.,
15 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
18 #ifndef KADDRESSBOOK_OPTIONS_H
19 #define KADDRESSBOOK_OPTIONS_H
21 #include <QCommandLineParser>
22 #include <QCommandLineOption>
23 #include <KLocalizedString>
25 static void kaddressbook_options(QCommandLineParser *parser)
27 parser->addOption(
28 QCommandLineOption(
29 QStringLiteral("import"),
30 i18n("Import the given file")));
32 parser->addPositionalArgument(
33 QStringLiteral("urls"),
34 i18n("Files or URLs. The user will be asked whether to import."),
35 QStringLiteral("[urls...]"));
38 #endif // KADDRESSBOOK_OPTIONS_H