summaryrefslogtreecommitdiffstats
path: root/kcontrol/screensaver/scrnsave.h
diff options
context:
space:
mode:
authorMichele Calgaro <[email protected]>2014-04-29 16:46:10 +0900
committerMichele Calgaro <[email protected]>2014-04-29 16:46:10 +0900
commit59ef38d29164cfb93c8137c6245d402182aa9157 (patch)
tree05960f07d71c05e60ed28ee06ba16a553f402553 /kcontrol/screensaver/scrnsave.h
parentdb8c0a13638bfe74653f47b9d4465a8648596d0a (diff)
downloadtdebase-59ef38d29164cfb93c8137c6245d402182aa9157.tar.gz
tdebase-59ef38d29164cfb93c8137c6245d402182aa9157.zip
Added possibility to hide the Cancel button from the Desktop Session Locked dialog.
This relates to bug 1584.
Diffstat (limited to 'kcontrol/screensaver/scrnsave.h')
-rw-r--r--kcontrol/screensaver/scrnsave.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/kcontrol/screensaver/scrnsave.h b/kcontrol/screensaver/scrnsave.h
index a8f6e53b0..d52c81227 100644
--- a/kcontrol/screensaver/scrnsave.h
+++ b/kcontrol/screensaver/scrnsave.h
@@ -60,6 +60,7 @@ protected slots:
void slotUseTSAK( bool );
void slotUseUnmanagedLockWindows( bool );
void slotHideActiveWindowsFromSaver( bool );
+ void slotHideCancelButton( bool );
void processLockouts();
void slotSetupDone(TDEProcess*);
// when selecting a new screensaver, the old preview will
@@ -103,6 +104,7 @@ protected:
TQCheckBox *mUseTSAKCheckBox;
TQCheckBox *mUseUnmanagedLockWindowsCheckBox;
TQCheckBox *mHideActiveWindowsFromSaverCheckBox;
+ TQCheckBox *mHideCancelButtonCheckBox;
int mSelected;
int mPrevSelected;
@@ -121,6 +123,7 @@ protected:
bool mUseTSAK;
bool mUseUnmanagedLockWindows;
bool mHideActiveWindowsFromSaver;
+ bool mHideCancelButton;
KSimpleConfig* mTDMConfig;
};