Prepare for late enqueuing of jobs to the JobQueue.

main
Teo Mrnjavac 11 years ago
parent 023ed99aca
commit b98c071f94

@ -22,6 +22,7 @@
#include <QObject>
#include "../UiDllMacro.h"
#include "Typedefs.h"
namespace Calamares
{
@ -46,6 +47,8 @@ public:
virtual bool isAtBeginning() const = 0;
virtual bool isAtEnd() const = 0;
virtual QList< Calamares::job_ptr > jobs() const = 0;
signals:
void nextStatusChanged( bool status );
void done();

@ -81,3 +81,10 @@ GreetingViewStep::isAtEnd() const
return true;
}
QList< Calamares::job_ptr >
GreetingViewStep::jobs() const
{
return QList< Calamares::job_ptr >();
}

@ -49,6 +49,8 @@ public:
bool isAtBeginning() const override;
bool isAtEnd() const override;
QList< Calamares::job_ptr > jobs() const override;
private:
GreetingPage* m_widget;
};

@ -85,3 +85,10 @@ KeyboardViewStep::isAtEnd() const
{
return true;
}
QList< Calamares::job_ptr >
KeyboardViewStep::jobs() const
{
return QList< Calamares::job_ptr >();
}

@ -49,6 +49,8 @@ public:
bool isAtBeginning() const override;
bool isAtEnd() const override;
QList< Calamares::job_ptr > jobs() const override;
private:
KeyboardPage* m_widget;
bool m_nextEnabled;

@ -142,3 +142,10 @@ LocaleViewStep::isAtEnd() const
{
return true;
}
QList< Calamares::job_ptr >
LocaleViewStep::jobs() const
{
return QList< Calamares::job_ptr >();
}

@ -51,6 +51,8 @@ public:
bool isAtBeginning() const override;
bool isAtEnd() const override;
QList< Calamares::job_ptr > jobs() const override;
private:
QWidget* m_widget;
QFutureWatcher< void > m_initWatcher;

@ -78,3 +78,10 @@ PartitionViewStep::isAtEnd() const
{
return true;
}
QList< Calamares::job_ptr >
PartitionViewStep::jobs() const
{
return QList< Calamares::job_ptr >();
}

@ -48,6 +48,8 @@ public:
bool isAtBeginning() const override;
bool isAtEnd() const override;
QList< Calamares::job_ptr > jobs() const override;
private:
PartitionCoreModule* m_core;
PartitionPage* m_widget;

Loading…
Cancel
Save