From ee3091bc41f5cae8be2ba5f8335e0b866edb4711 Mon Sep 17 00:00:00 2001 From: Emanoil Kotsev Date: Wed, 12 Oct 2016 15:20:02 +0900 Subject: Added trash limit configuration option This work is based on original patch created by Tobias Koenig 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 Signed-off-by: Michele Calgaro --- tdeioslave/trash/trashimpl.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'tdeioslave/trash/trashimpl.h') 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 ); -- cgit v1.2.1