summaryrefslogtreecommitdiffstats
path: root/tdeioslave/trash/ktrashpropsdlgplugin.h
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2019-04-14 21:43:08 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2019-04-14 21:43:08 +0900
commit85e0371c0e2a969d01347ddb5ec8f0e273084994 (patch)
treef92ad4960996a639a69421c5fee7b11a2f1213a9 /tdeioslave/trash/ktrashpropsdlgplugin.h
parentc53dbf95cb42a7bb22e8690bf699fda32e657845 (diff)
downloadtdebase-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.h42
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