|
|
@ -193,7 +193,6 @@ options_imp::options_imp(QWidget *parent):QDialog(parent){ |
|
|
|
// General tab
|
|
|
|
// General tab
|
|
|
|
connect(comboI18n, SIGNAL(currentIndexChanged(int)), this, SLOT(enableApplyButton())); |
|
|
|
connect(comboI18n, SIGNAL(currentIndexChanged(int)), this, SLOT(enableApplyButton())); |
|
|
|
connect(comboStyle, SIGNAL(currentIndexChanged(int)), this, SLOT(enableApplyButton())); |
|
|
|
connect(comboStyle, SIGNAL(currentIndexChanged(int)), this, SLOT(enableApplyButton())); |
|
|
|
connect(checkConfirmExit, SIGNAL(toggled(bool)), this, SLOT(enableApplyButton())); |
|
|
|
|
|
|
|
connect(checkSpeedInTitle, SIGNAL(toggled(bool)), this, SLOT(enableApplyButton())); |
|
|
|
connect(checkSpeedInTitle, SIGNAL(toggled(bool)), this, SLOT(enableApplyButton())); |
|
|
|
connect(checkAltRowColors, SIGNAL(toggled(bool)), this, SLOT(enableApplyButton())); |
|
|
|
connect(checkAltRowColors, SIGNAL(toggled(bool)), this, SLOT(enableApplyButton())); |
|
|
|
connect(checkNoSystray, SIGNAL(toggled(bool)), this, SLOT(enableApplyButton())); |
|
|
|
connect(checkNoSystray, SIGNAL(toggled(bool)), this, SLOT(enableApplyButton())); |
|
|
@ -386,7 +385,6 @@ void options_imp::saveOptions(){ |
|
|
|
settings.beginGroup("General"); |
|
|
|
settings.beginGroup("General"); |
|
|
|
settings.setValue(QString::fromUtf8("Locale"), getLocale()); |
|
|
|
settings.setValue(QString::fromUtf8("Locale"), getLocale()); |
|
|
|
settings.setValue(QString::fromUtf8("Style"), getStyle()); |
|
|
|
settings.setValue(QString::fromUtf8("Style"), getStyle()); |
|
|
|
settings.setValue(QString::fromUtf8("ExitConfirm"), confirmOnExit()); |
|
|
|
|
|
|
|
settings.setValue(QString::fromUtf8("SpeedInTitleBar"), speedInTitleBar()); |
|
|
|
settings.setValue(QString::fromUtf8("SpeedInTitleBar"), speedInTitleBar()); |
|
|
|
settings.setValue(QString::fromUtf8("AlternatingRowColors"), checkAltRowColors->isChecked()); |
|
|
|
settings.setValue(QString::fromUtf8("AlternatingRowColors"), checkAltRowColors->isChecked()); |
|
|
|
settings.setValue(QString::fromUtf8("SystrayEnabled"), systrayIntegration()); |
|
|
|
settings.setValue(QString::fromUtf8("SystrayEnabled"), systrayIntegration()); |
|
|
@ -617,7 +615,6 @@ void options_imp::loadOptions(){ |
|
|
|
// General preferences
|
|
|
|
// General preferences
|
|
|
|
setLocale(Preferences::getLocale()); |
|
|
|
setLocale(Preferences::getLocale()); |
|
|
|
setStyle(Preferences::getStyle()); |
|
|
|
setStyle(Preferences::getStyle()); |
|
|
|
checkConfirmExit->setChecked(Preferences::confirmOnExit()); |
|
|
|
|
|
|
|
checkSpeedInTitle->setChecked(Preferences::speedInTitleBar()); |
|
|
|
checkSpeedInTitle->setChecked(Preferences::speedInTitleBar()); |
|
|
|
checkAltRowColors->setChecked(Preferences::useAlternatingRowColors()); |
|
|
|
checkAltRowColors->setChecked(Preferences::useAlternatingRowColors()); |
|
|
|
checkNoSystray->setChecked(!Preferences::systrayIntegration()); |
|
|
|
checkNoSystray->setChecked(!Preferences::systrayIntegration()); |
|
|
@ -982,10 +979,6 @@ bool options_imp::closeToTray() const{ |
|
|
|
return checkCloseToSystray->isChecked(); |
|
|
|
return checkCloseToSystray->isChecked(); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
bool options_imp::confirmOnExit() const{ |
|
|
|
|
|
|
|
return checkConfirmExit->isChecked(); |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
bool options_imp::isQueueingSystemEnabled() const { |
|
|
|
bool options_imp::isQueueingSystemEnabled() const { |
|
|
|
return checkEnableQueueing->isChecked(); |
|
|
|
return checkEnableQueueing->isChecked(); |
|
|
|
} |
|
|
|
} |
|
|
|