fix logic
[personal-kdelibs.git] / khtml / test_regression_gui_main.cpp
blobc97854fbd601d4af8f74cc05c277608b6adf914b
1 /**
2 * This file is part of the KDE project
4 * Copyright (C) 2006 Nikolas Zimmermann <zimmermann@kde.org>
6 * Icons: Copyright (C) 2006 The Aquaosk-2.0 Team
8 * This library is free software; you can redistribute it and/or
9 * modify it under the terms of the GNU Library General Public
10 * License as published by the Free Software Foundation; either
11 * version 2 of the License, or (at your option) any later version.
13 * This library is distributed in the hope that it will be useful,
14 * but WITHOUT ANY WARRANTY; without even the implied warranty of
15 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
16 * Library General Public License for more details.
18 * You should have received a copy of the GNU Library General Public License
19 * along with this library; see the file COPYING.LIB. If not, write to
20 * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
21 * Boston, MA 02110-1301, USA.
25 #include <kapplication.h>
26 #include <kcmdlineargs.h>
28 #include "test_regression_gui_window.h"
30 int main(int argc, char *argv[])
32 KCmdLineOptions options;
34 KCmdLineArgs::init(argc, argv, "testregressiongui", 0, ki18n("TestRegressionGui"),
35 "1.0", ki18n("GUI for the khtml regression tester"));
37 KCmdLineArgs::addCmdLineOptions(options);
39 KApplication app;
41 TestRegressionWindow mainWindow;
42 mainWindow.show();
44 return app.exec();
47 // vim:ts=4:tw=4:noet