FvUpdater::FvUpdater() : QObject(0) { m_reply = 0; #ifdef FV_GUI m_updaterWindow = 0; #endif m_proposedUpdate = 0; m_requiredSslFingerprint = ""; htAuthUsername = ""; htAuthPassword = ""; skipVersionAllowed = true; remindLaterAllowed = true; connect(&m_qnam, SIGNAL(authenticationRequired(QNetworkReply*, QAuthenticator*)),this, SLOT(authenticationRequired(QNetworkReply*, QAuthenticator*))); // Translation mechanism installTranslator(); #ifdef FV_DEBUG // Unit tests FvVersionComparatorTest* test = new FvVersionComparatorTest(); test->runAll(); delete test; #endif }
FvUpdater::FvUpdater() : QObject(0), m_autoUpdater(new FvAutoUpdater()), m_updateTimer(new QTimer(this)) { m_reply = 0; m_updaterWindow = 0; m_updateConfirmationDialog = 0; m_autoupdateConfirmationDialog = 0; m_updateCheckingDialog = 0; m_proposedUpdate = 0; // Translation mechanism installTranslator(); connect(m_updateTimer, SIGNAL(timeout()), this, SLOT(updateTimerPerformer())); #ifdef FV_DEBUG // Unit tests FvVersionComparatorTest* test = new FvVersionComparatorTest(); test->runAll(); delete test; #endif }
FvUpdater::FvUpdater() : QObject(0) { m_reply = 0; m_updaterWindow = 0; m_updateConfirmationDialog = 0; m_proposedUpdate = 0; // Translation mechanism installTranslator(); #ifdef FV_DEBUG // Unit tests FvVersionComparatorTest* test = new FvVersionComparatorTest(); test->runAll(); delete test; #endif }