if(QMessageBox::question(this,tr("Rule deletion confirmation"),tr("Are you sure you want to remove the download rule named %1?").arg(item->text()))!=QMessageBox::Yes)
if(QMessageBox::question(this,tr("Rule deletion confirmation"),tr("Are you sure you want to remove the download rule named %1?").arg(item->text()),QMessageBox::Yes,QMessageBox::No)!=QMessageBox::Yes)
QStringsave_path=QFileDialog::getSaveFileName(this,tr("Where would you like to save the list?"),QDir::homePath(),tr("Rule list (*.rssrules *.filters)"));
QStringsave_path=QFileDialog::getSaveFileName(this,tr("Where would you like to save the list?"),QDir::homePath(),tr("Rules list (*.rssrules)"));
QStringload_path=QFileDialog::getOpenFileName(this,tr("Please point to the RSS download rules file"),QDir::homePath(),tr("Rules list (*.rssrules *.filters)"));