indexDisabled = false;
indexRunning = false;
logger.log(logger.EXTREME, "Setting sync thread & timers");
syncThreadsReady=1;
syncRunner = new SyncRunner("syncRunner.log",
Global.getDatabaseUrl(), Global.getIndexDatabaseUrl(), Global.getResourceDatabaseUrl(),
Global.getDatabaseUserid(), Global.getDatabaseUserPassword(), Global.cipherPassword);
syncTime = new SyncTimes().timeValue(Global.getSyncInterval());
syncTimer = new QTimer();
syncTimer.timeout.connect(this, "syncTimer()");