- connect(ui->actionOpen, SIGNAL(triggered()), this, SLOT(openActionTriggered()));
- connect(ui->actionAbout, SIGNAL(triggered()), this, SLOT(showAbout()));
- connect(ui->actionPreferences, SIGNAL(triggered()), this, SLOT(showPreferences()));
- connect(ui->actionCheckForUpdates, SIGNAL(triggered()), this, SLOT(checkUpdates()));
+ connect(ui->actionOpen, SIGNAL(triggered()), this, SLOT(openActionTriggered()));
+ connect(ui->actionCleanup_Finished, SIGNAL(triggered()), this, SLOT(cleanupActionTriggered()));
+ connect(ui->actionCleanup_Enqueued, SIGNAL(triggered()), this, SLOT(cleanupActionTriggered()));
+ connect(ui->actionPostOp_DoNothing, SIGNAL(triggered()), this, SLOT(postOpActionTriggered()));
+ connect(ui->actionPostOp_PowerDown, SIGNAL(triggered()), this, SLOT(postOpActionTriggered()));
+ connect(ui->actionPostOp_Hibernate, SIGNAL(triggered()), this, SLOT(postOpActionTriggered()));
+ connect(ui->actionAbout, SIGNAL(triggered()), this, SLOT(showAbout()));
+ connect(ui->actionPreferences, SIGNAL(triggered()), this, SLOT(showPreferences()));
+ connect(ui->actionCheckForUpdates, SIGNAL(triggered()), this, SLOT(checkUpdates()));
+ ui->actionCleanup_Finished->setData(QVariant(bool(0)));
+ ui->actionCleanup_Enqueued->setData(QVariant(bool(1)));
+ ui->actionPostOp_DoNothing->setData(QVariant(POST_OP_DONOTHING));
+ ui->actionPostOp_PowerDown->setData(QVariant(POST_OP_POWERDOWN));
+ ui->actionPostOp_Hibernate->setData(QVariant(POST_OP_HIBERNATE));
+ ui->actionPostOp_Hibernate->setEnabled(MUtils::OS::is_hibernation_supported());