summaryrefslogtreecommitdiffstats
path: root/tdeioslave/trash/trashimpl.h
diff options
context:
space:
mode:
authorEmanoil Kotsev <deloptes@gmail.com>2016-10-12 15:20:02 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2016-10-12 15:20:02 +0900
commitee3091bc41f5cae8be2ba5f8335e0b866edb4711 (patch)
tree8ffc7ba391bb968e9de33674fa6caf5e9166e5eb /tdeioslave/trash/trashimpl.h
parent443c910570647f415838e65a1b8add30b00b7dbb (diff)
downloadtdebase-ee3091bc41f5cae8be2ba5f8335e0b866edb4711.tar.gz
tdebase-ee3091bc41f5cae8be2ba5f8335e0b866edb4711.zip
Added trash limit configuration option
This work is based on original patch created by Tobias Koenig <tokoe@kde.org> 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 <deloptes@gmail.com> Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'tdeioslave/trash/trashimpl.h')
-rw-r--r--tdeioslave/trash/trashimpl.h2
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 );