diff options
author | Emanoil Kotsev <[email protected]> | 2016-10-12 15:20:02 +0900 |
---|---|---|
committer | Michele Calgaro <[email protected]> | 2016-10-12 15:20:02 +0900 |
commit | ee3091bc41f5cae8be2ba5f8335e0b866edb4711 (patch) | |
tree | 8ffc7ba391bb968e9de33674fa6caf5e9166e5eb /tdeioslave/trash/trashimpl.h | |
parent | 443c910570647f415838e65a1b8add30b00b7dbb (diff) | |
download | tdebase-ee3091bc41f5cae8be2ba5f8335e0b866edb4711.tar.gz tdebase-ee3091bc41f5cae8be2ba5f8335e0b866edb4711.zip |
Added trash limit configuration option
This work is based on original patch created by Tobias Koenig <[email protected]> for KDE 3.5.9 and later added to KDE 4.2, and available under GPL version 2 License, or any later version.
See also http://tokoe-kde.blogspot.com/2008/08/size-limits-for-trash.html
This relates to bug 1923.
Signed-off-by: Emanoil Kotsev <[email protected]>
Signed-off-by: Michele Calgaro <[email protected]>
Diffstat (limited to 'tdeioslave/trash/trashimpl.h')
-rw-r--r-- | tdeioslave/trash/trashimpl.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tdeioslave/trash/trashimpl.h b/tdeioslave/trash/trashimpl.h index 3a06dd9e8..b02ae4709 100644 --- a/tdeioslave/trash/trashimpl.h +++ b/tdeioslave/trash/trashimpl.h @@ -123,6 +123,8 @@ private: void fileAdded(); void fileRemoved(); + bool adaptTrashSize( const TQString& origPath, int trashId ); + // Warning, returns error code, not a bool int testDir( const TQString& name ) const; void error( int e, const TQString& s ); |