File indexing completed on 2024-05-26 04:47:03
0001 /* 0002 SPDX-FileCopyrightText: 2013-2024 Laurent Montel <montel@kde.org> 0003 0004 SPDX-License-Identifier: GPL-2.0-or-later 0005 */ 0006 0007 #include "translator/widgets/translatorwidget.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 QCommandLineParser parser; 0018 parser.addVersionOption(); 0019 parser.addHelpOption(); 0020 parser.process(app); 0021 0022 auto w = new TextTranslator::TranslatorWidget(); 0023 w->show(); 0024 app.exec(); 0025 delete w; 0026 return 0; 0027 }