void MaemoRunConfigurationWidget::fetchEnvironment() { disconnect(m_fetchEnv, SIGNAL(clicked()), this, SLOT(fetchEnvironment())); connect(m_fetchEnv, SIGNAL(clicked()), this, SLOT(stopFetchEnvironment())); m_fetchEnv->setText(tr("Cancel Fetch Operation")); m_deviceEnvReader->start(); }
void MaemoRunConfigurationWidget::fetchEnvironmentFinished() { disconnect(m_fetchEnv, SIGNAL(clicked()), this, SLOT(stopFetchEnvironment())); connect(m_fetchEnv, SIGNAL(clicked()), this, SLOT(fetchEnvironment())); m_fetchEnv->setText(FetchEnvButtonText); m_runConfiguration->setSystemEnvironment(m_deviceEnvReader->deviceEnvironment()); }
void RemoteLinuxEnvironmentAspectWidget::fetchEnvironmentFinished() { QPushButton *button = fetchButton(); disconnect(button, SIGNAL(clicked()), this, SLOT(stopFetchEnvironment())); connect(button, SIGNAL(clicked()), this, SLOT(fetchEnvironment())); button->setText(FetchEnvButtonText); aspect()->setRemoteEnvironment(deviceEnvReader->remoteEnvironment()); }
void RemoteLinuxEnvironmentAspectWidget::fetchEnvironment() { QPushButton *button = fetchButton(); disconnect(button, SIGNAL(clicked()), this, SLOT(fetchEnvironment())); connect(button, SIGNAL(clicked()), this, SLOT(stopFetchEnvironment())); button->setText(tr("Cancel Fetch Operation")); deviceEnvReader->start(aspect()->runConfiguration()->environmentPreparationCommand()); }