forked from qt-creator/qt-creator
Maemo: Put package creation widget into its own class.
It will grow.
This commit is contained in:
@@ -42,6 +42,7 @@
|
||||
#include "maemopackagecreationstep.h"
|
||||
|
||||
#include "maemoconstants.h"
|
||||
#include "maemopackagecreationwidget.h"
|
||||
#include "maemotoolchain.h"
|
||||
|
||||
#include <qt4buildconfiguration.h>
|
||||
@@ -58,22 +59,9 @@
|
||||
using ProjectExplorer::BuildConfiguration;
|
||||
using ProjectExplorer::BuildStepConfigWidget;
|
||||
|
||||
|
||||
namespace Qt4ProjectManager {
|
||||
namespace Internal {
|
||||
|
||||
class MaemoPackageCreationWidget : public ProjectExplorer::BuildStepConfigWidget
|
||||
{
|
||||
public:
|
||||
MaemoPackageCreationWidget(MaemoPackageCreationStep *step)
|
||||
: ProjectExplorer::BuildStepConfigWidget(), m_step(step) {}
|
||||
virtual void init() {}
|
||||
virtual QString summaryText() const { return tr("Package Creation"); }
|
||||
virtual QString displayName() const { return m_step->displayName(); }
|
||||
private:
|
||||
MaemoPackageCreationStep *m_step;
|
||||
};
|
||||
|
||||
MaemoPackageCreationStep::MaemoPackageCreationStep(BuildConfiguration *buildConfig)
|
||||
: ProjectExplorer::BuildStep(buildConfig, CreatePackageId)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user