diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2019-04-14 21:43:08 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2019-04-14 21:43:08 +0900 |
commit | 85e0371c0e2a969d01347ddb5ec8f0e273084994 (patch) | |
tree | f92ad4960996a639a69421c5fee7b11a2f1213a9 /tdeioslave/trash/ktrashpropsdlgplugin.h | |
parent | c53dbf95cb42a7bb22e8690bf699fda32e657845 (diff) | |
download | tdebase-85e0371c0e2a969d01347ddb5ec8f0e273084994.tar.gz tdebase-85e0371c0e2a969d01347ddb5ec8f0e273084994.zip |
Unified widget code for trash property dialog and TDE control module.
This resolves bug 1923.
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'tdeioslave/trash/ktrashpropsdlgplugin.h')
-rw-r--r-- | tdeioslave/trash/ktrashpropsdlgplugin.h | 42 |
1 files changed, 0 insertions, 42 deletions
diff --git a/tdeioslave/trash/ktrashpropsdlgplugin.h b/tdeioslave/trash/ktrashpropsdlgplugin.h index 9eab58eb1..b839f6428 100644 --- a/tdeioslave/trash/ktrashpropsdlgplugin.h +++ b/tdeioslave/trash/ktrashpropsdlgplugin.h @@ -44,50 +44,8 @@ class KTrashPropsDlgPlugin : public KPropsDlgPlugin virtual void applyChanges(); - private slots: - void percentSizeChanged( double ); - void fixedSizeChanged( double ); - void fixedSizeUnitActivated ( int ); - void rbPercentSizeToggled( bool ); - void rbFixedSizeToggled( bool ); - void trashChanged( int ); - void useTypeChanged(); - private: KTrashPropsWidget *policyWidget; - - void readConfig(); - void writeConfig(); - void setupGui( TQFrame *frame ); - - TQCheckBox *mUseTimeLimit; - TQSpinBox *mDays; - TQCheckBox *mUseSizeLimit; - int mSizeLimitType; - TQWidget *mSizeWidget; - TQRadioButton *mRbPercentSize, *mRbFixedSize; - KDoubleSpinBox *mPercentSize; - KDoubleSpinBox *mFixedSize; - TQComboBox *mFixedSizeUnit; - TQLabel *mSizeLabel; - TQComboBox *mLimitReachedAction; - - TrashImpl *mTrashImpl; - TQString mCurrentTrash; - - typedef struct { - bool useTimeLimit; - int days; - bool useSizeLimit; - int sizeLimitType; - double percent; - double fixedSize; - int fixedSizeUnit; - int actionType; - } ConfigEntry; - - typedef TQMap<TQString, ConfigEntry> ConfigMap; - ConfigMap mConfigMap; }; #endif |