VBoxUpdateDlg.h revision e2de40b4b54a8ea51348be768ddcd3ecd753d7b6
/** @file
*
* VBox frontends: Qt4 GUI ("VirtualBox"):
* VBoxUpdateDlg class declaration
*/
/*
* Copyright (C) 2006-2008 Sun Microsystems, Inc.
*
* This file is part of VirtualBox Open Source Edition (OSE), as
* available from http://www.virtualbox.org. This file is free software;
* General Public License (GPL) as published by the Free Software
* Foundation, in version 2 as it comes in the "COPYING" file of the
* VirtualBox OSE distribution. VirtualBox OSE is distributed in the
* hope that it will be useful, but WITHOUT ANY WARRANTY of any kind.
*
* Please contact Sun Microsystems, Inc., 4150 Network Circle, Santa
* Clara, CA 95054 USA or visit http://www.sun.com if you need
* additional information or have any questions.
*/
#ifndef __VBoxUpdateDlg_h__
#define __VBoxUpdateDlg_h__
#include "QIAbstractWizard.h"
#include "QIWithRetranslateUI.h"
#include "VBoxUpdateDlg.gen.h"
/* Qt includes */
#include <QUrl>
#include <QDate>
/**
* This structure is used to store retranslated reminder values.
*/
struct UpdateDay
{
{
}
};
/**
*/
{
enum PeriodType
{
PeriodNever = -2,
PeriodUndefined = -1,
Period1Day = 0,
Period2Days = 1,
Period3Days = 2,
Period4Days = 3,
Period5Days = 4,
Period6Days = 5,
Period1Week = 6,
Period2Weeks = 7,
Period3Weeks = 8,
Period1Month = 9
};
enum BranchType
{
BranchStable = 0,
BranchAllRelease = 1,
BranchWithBetas = 2
};
static void populate();
static QStringList list();
bool isNecessary();
bool isNoNeedToCheck();
PeriodType periodIndex() const;
BranchType branchIndex() const;
QString branchName() const;
/* Private functions */
void decode();
void encode();
/* Private variables */
};
{
static bool isNecessary();
~VBoxUpdateDlg();
void search();
void retranslateUi();
void accept();
void searchResponse (bool aError);
void onPageShow();
/* Private variables */
bool mForceRun;
};
#endif // __VBoxUpdateDlg_h__