File indexing completed on 2024-12-01 03:37:00

0001 // SPDX-License-Identifier: LGPL-2.1-or-later
0002 //
0003 // SPDX-FileCopyrightText: 2008 Patrick Spendrin <ps_ml@gmx.de>
0004 //
0005 
0006 #include "tccore.h"
0007 
0008 using namespace Marble;
0009 
0010 TCCoreApplication::TCCoreApplication( int & argc, char ** argv ) : QCoreApplication( argc, argv )
0011 {
0012     if( !(argc < 5) )
0013     {
0014         m_tilecreator = new TileCreator( argv [1], argv[2], argv[3], argv[4] );
0015         connect(m_tilecreator, SIGNAL(finished()), this, SLOT(quit()));
0016         m_tilecreator->start();
0017     }
0018 }