|
|
@ -25,13 +25,14 @@
|
|
|
|
#include "PackageTreeItem.h"
|
|
|
|
#include "PackageTreeItem.h"
|
|
|
|
#include "Typedefs.h"
|
|
|
|
#include "Typedefs.h"
|
|
|
|
|
|
|
|
|
|
|
|
#include <QWidget>
|
|
|
|
|
|
|
|
#include <QAbstractButton>
|
|
|
|
#include <QAbstractButton>
|
|
|
|
#include <QNetworkAccessManager>
|
|
|
|
#include <QNetworkAccessManager>
|
|
|
|
|
|
|
|
#include <QWidget>
|
|
|
|
|
|
|
|
|
|
|
|
// required forward declarations
|
|
|
|
// required forward declarations
|
|
|
|
class QByteArray;
|
|
|
|
class QByteArray;
|
|
|
|
class QNetworkReply;
|
|
|
|
class QNetworkReply;
|
|
|
|
|
|
|
|
class QString;
|
|
|
|
|
|
|
|
|
|
|
|
namespace Ui
|
|
|
|
namespace Ui
|
|
|
|
{
|
|
|
|
{
|
|
|
@ -46,10 +47,12 @@ public:
|
|
|
|
|
|
|
|
|
|
|
|
void onActivate();
|
|
|
|
void onActivate();
|
|
|
|
|
|
|
|
|
|
|
|
// Retrieves the groups, with name, description and packages, from
|
|
|
|
/** @brief Retrieves the groups, with name, description and packages
|
|
|
|
// the remote URL configured in the settings. Assumes the URL is already
|
|
|
|
*
|
|
|
|
// in the global storage. This should be called before displaying the page.
|
|
|
|
* Loads data from the given URL. This should be called before
|
|
|
|
void loadGroupList();
|
|
|
|
* displaying the page.
|
|
|
|
|
|
|
|
*/
|
|
|
|
|
|
|
|
void loadGroupList( const QString& url );
|
|
|
|
|
|
|
|
|
|
|
|
// Sets the "required" state of netinstall data. Influences whether
|
|
|
|
// Sets the "required" state of netinstall data. Influences whether
|
|
|
|
// corrupt or unavailable data causes checkReady() to be emitted
|
|
|
|
// corrupt or unavailable data causes checkReady() to be emitted
|
|
|
|