@ -7,26 +7,26 @@
+ void slotVibrateUnlock( bool );
+ void slotVibrateUnlock( bool );
void slotUseUnmanagedLockWindows( bool );
void slotUseUnmanagedLockWindows( bool );
void slotHideActiveWindowsFromSaver( bool );
void slotHideActiveWindowsFromSaver( bool );
void processLockouts( );
void slotHideCancelButton( bool );
@@ -10 1,6 +102 ,7 @@
@@ -10 2,6 +103 ,7 @@
TQGroupBox *mSettingsGroup;
TQGroupBox *mSettingsGroup;
TQCheckBox *mDelaySaverStartCheckBox;
TQCheckBox *mDelaySaverStartCheckBox;
TQCheckBox *mUseTSAKCheckBox;
TQCheckBox *mUseTSAKCheckBox;
+ TQCheckBox *mVibrateUnlockCheckBox;
+ TQCheckBox *mVibrateUnlockCheckBox;
TQCheckBox *mUseUnmanagedLockWindowsCheckBox;
TQCheckBox *mUseUnmanagedLockWindowsCheckBox;
TQCheckBox *mHideActiveWindowsFromSaverCheckBox;
TQCheckBox *mHideActiveWindowsFromSaverCheckBox;
TQCheckBox *mHideCancelButtonCheckBox;
@@ -1 19,6 +121 ,7 @@
@@ -1 21,6 +123 ,7 @@
bool mImmutable;
bool mImmutable;
bool mDelaySaverStart;
bool mDelaySaverStart;
bool mUseTSAK;
bool mUseTSAK;
+ bool mVibrateUnlock;
+ bool mVibrateUnlock;
bool mUseUnmanagedLockWindows;
bool mUseUnmanagedLockWindows;
bool mHideActiveWindowsFromSaver;
bool mHideActiveWindowsFromSaver;
bool mHideCancelButton;
--- trinity-tdebase-3.5.13.2~pre102+43d29f86/kcontrol/screensaver/scrnsave.cpp.vibrate_dialog 2013-04-26 22:15:23.000000000 +0200
--- trinity-tdebase-3.5.13.2~pre102+43d29f86/kcontrol/screensaver/scrnsave.cpp.vibrate_dialog 2013-04-26 22:15:23.000000000 +0200
+++ trinity-tdebase-3.5.13.2~pre102+43d29f86/kcontrol/screensaver/scrnsave.cpp 2013-05-14 22:24:37.354375502 +0200
+++ trinity-tdebase-3.5.13.2~pre102+43d29f86/kcontrol/screensaver/scrnsave.cpp 2013-05-14 22:24:37.354375502 +0200
@@ -27 0,6 +270 ,13 @@
@@ -27 1,6 +271 ,13 @@
settingsGroupLayout->addWidget(mHideActiveWindowsFromSaverCheckBox, 3, 1);
settingsGroupLayout->addWidget(mHideActiveWindowsFromSaverCheckBox, 3, 1);
TQWhatsThis::add( mHideActiveWindowsFromSaverCheckBox, i18n("Hide all active windows from the screen saver and use the desktop background as the screen saver input.") );
TQWhatsThis::add( mHideActiveWindowsFromSaverCheckBox, i18n("Hide all active windows from the screen saver and use the desktop background as the screen saver input.") );
@ -37,26 +37,26 @@
+ settingsGroupLayout->addWidget(mVibrateUnlockCheckBox, 4, 1);
+ settingsGroupLayout->addWidget(mVibrateUnlockCheckBox, 4, 1);
+ TQWhatsThis::add( mVibrateUnlockCheckBox, i18n("Makes the unlock dialog box vibrate when entering an incorrect password.") );
+ TQWhatsThis::add( mVibrateUnlockCheckBox, i18n("Makes the unlock dialog box vibrate when entering an incorrect password.") );
+
+
// right column
mHideCancelButtonCheckBox = new TQCheckBox( i18n("&Hide Cancel &button"), mSettingsGroup );
TQBoxLayout* rightColumnLayout = new TQVBoxLayout(topLayout, KDialog::spacingHint() );
mHideCancelButtonCheckBox->setEnabled( true );
mHideCancelButtonCheckBox->setChecked( mHideCancelButton );
@@ -4 29,6 +436 ,7 @@
@@ -4 37,6 +444 ,7 @@
mLock = config->readBoolEntry("Lock", false);
mLock = config->readBoolEntry("Lock", false);
mDelaySaverStart = config->readBoolEntry("DelaySaverStart", true);
mDelaySaverStart = config->readBoolEntry("DelaySaverStart", true);
mUseTSAK = config->readBoolEntry("UseTDESAK", true);
mUseTSAK = config->readBoolEntry("UseTDESAK", true);
+ mVibrateUnlock = config->readBoolEntry("VibrateUnlock", true);
+ mVibrateUnlock = config->readBoolEntry("VibrateUnlock", true);
mUseUnmanagedLockWindows = config->readBoolEntry("UseUnmanagedLockWindows", false);
mUseUnmanagedLockWindows = config->readBoolEntry("UseUnmanagedLockWindows", false);
mHideActiveWindowsFromSaver = config->readBoolEntry("HideActiveWindowsFromSaver", true);
mHideActiveWindowsFromSaver = config->readBoolEntry("HideActiveWindowsFromSaver", true);
mSaver = config->readEntry("Saver" );
mHideCancelButton = config->readBoolEntry("HideCancelButton", false );
@@ -4 81,6 +489 ,7 @@
@@ -4 90,6 +498 ,7 @@
config->writeEntry("Lock", mLock);
config->writeEntry("Lock", mLock);
config->writeEntry("DelaySaverStart", mDelaySaverStart);
config->writeEntry("DelaySaverStart", mDelaySaverStart);
config->writeEntry("UseTDESAK", mUseTSAK);
config->writeEntry("UseTDESAK", mUseTSAK);
+ config->writeEntry("VibrateUnlock", mVibrateUnlock);
+ config->writeEntry("VibrateUnlock", mVibrateUnlock);
config->writeEntry("UseUnmanagedLockWindows", mUseUnmanagedLockWindows);
config->writeEntry("UseUnmanagedLockWindows", mUseUnmanagedLockWindows);
config->writeEntry("HideActiveWindowsFromSaver", mHideActiveWindowsFromSaver);
config->writeEntry("HideActiveWindowsFromSaver", mHideActiveWindowsFromSaver);
config->writeEntry("HideCancelButton", mHideCancelButton);
@@ - 688,10 +697 ,14 @@
@@ - 705,10 +714 ,14 @@
mUseTSAKCheckBox->setChecked( false );
mUseTSAKCheckBox->setChecked( false );
}
}
if (!mUseUnmanagedLockWindows) {
if (!mUseUnmanagedLockWindows) {
@ -71,7 +71,7 @@
mHideActiveWindowsFromSaverCheckBox->setEnabled( false );
mHideActiveWindowsFromSaverCheckBox->setEnabled( false );
mHideActiveWindowsFromSaverCheckBox->setChecked( false );
mHideActiveWindowsFromSaverCheckBox->setChecked( false );
}
}
@@ -9 36,6 +949 ,16 @@
@@ -9 69,6 +982 ,16 @@
processLockouts();
processLockouts();
mChanged = true;
mChanged = true;
emit changed(true);
emit changed(true);
@ -178,7 +178,7 @@
// Handle timer events.
// Handle timer events.
@@ -442,6 +479,7 @@
@@ -442,6 +479,7 @@
ok->setEnabled(false);
ok->setEnabled(false);
cancel->setEnabled(false);
// cancel->setEnabled(false);
mNewSessButton->setEnabled( false );
mNewSessButton->setEnabled( false );
+ badPasswordLogin();
+ badPasswordLogin();
return;
return;