File indexing completed on 2024-11-10 04:41:10

0001 /*
0002     SPDX-FileCopyrightText: 2017-2024 Laurent Montel <montel@kde.org>
0003 
0004     SPDX-License-Identifier: LGPL-2.0-or-later
0005 */
0006 
0007 #include "../src/widgets/conflictresolvedialog_p.h"
0008 
0009 #include <KAboutData>
0010 #include <QApplication>
0011 #include <QCommandLineParser>
0012 #include <QStandardPaths>
0013 
0014 int main(int argc, char **argv)
0015 {
0016     QApplication app(argc, argv);
0017     KAboutData aboutData(QStringLiteral("conflictresolvedialogtest_gui"), QStringLiteral("conflictresolvedialogtest_gui"), QStringLiteral("0.10"));
0018     KAboutData::setApplicationData(aboutData);
0019 
0020     QCommandLineParser parser;
0021     aboutData.setupCommandLine(&parser);
0022     parser.process(app);
0023     aboutData.processCommandLine(&parser);
0024 
0025     QStandardPaths::setTestModeEnabled(true);
0026     Akonadi::ConflictResolveDialog dlg;
0027     dlg.exec();
0028 
0029     return 0;
0030 }