File indexing completed on 2024-12-15 04:44:00

0001 /*
0002   SPDX-FileCopyrightText: 2014-2024 Laurent Montel <montel@kde.org>
0003 
0004   SPDX-License-Identifier: GPL-2.0-or-later
0005 */
0006 
0007 #include "../akonadisearchdebugdialog.h"
0008 
0009 #include <QApplication>
0010 #include <QCommandLineParser>
0011 #include <QStandardPaths>
0012 
0013 int main(int argc, char **argv)
0014 {
0015     QApplication app(argc, argv);
0016     QStandardPaths::setTestModeEnabled(true);
0017 
0018     QCommandLineParser parser;
0019     parser.addVersionOption();
0020     parser.addHelpOption();
0021     parser.process(app);
0022 
0023     auto dlg = new Akonadi::Search::AkonadiSearchDebugDialog();
0024     dlg->resize(800, 600);
0025     dlg->show();
0026     app.exec();
0027     delete dlg;
0028     return 0;
0029 }