/*******************************************************************
 This file is part of iTest
 Copyright (C) 2007 Michal Tomlein (michal.tomlein@gmail.com)

 iTest is free software; you can redistribute it and/or
 modify it under the terms of the GNU General Public Licence
 as published by the Free Software Foundation; either version 2
 of the Licence, or (at your option) any later version.

 iTest is distributed in the hope that it will be useful,
 but WITHOUT ANY WARRANTY; without even the implied warranty of
 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 GNU General Public Licence for more details.

 You should have received a copy of the GNU General Public Licence
 along with iTest; if not, write to the Free Software Foundation,
 Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA.
********************************************************************/

#include "main_window.h"

void MainWindow::varinit()
{
    // GLOBAL
        // iTestServer version
        ver = "1.3.0"; f_ver = 1.3;
        // iTest ITDB file version
        itdb_ver = "1.3"; f_itdb_ver = 1.3;
        // iTest ITOS file version
        itos_ver = "1.3"; f_itos_ver = 1.3;
        // URLs
        itest_url = "itest.sourceforge.net";
        docs_url = tr("http://itest.sourceforge.net/documentation/%1/en/").arg("1.3");
        // i18n
        itest_i18n.insert(tr("English"), "English");
        itest_i18n.insert(tr("Slovak"), "Slovak");
        itest_i18n.insert(tr("Russian"), "Russian");
        itest_i18n.insert(tr("Turkish"), "Turkish");
        itest_i18n.insert(tr("Portuguese"), "Portuguese");
        itest_i18n.insert(tr("Spanish"), "Spanish");
    // CURRENT_DB
        current_db_open = false;
}