From 66ad27aba14cdfea777b9ebe1beb161f80f26463 Mon Sep 17 00:00:00 2001 From: Peter Penz Date: Mon, 27 Jul 2009 05:31:48 +0000 Subject: Improved Subversion test plugin to allow committing, updating, diffing, adding and removing of files. As soon as the test plugin gets moved to kdesdk, the code should be improved to use the libsvn interface. svn path=/trunk/KDE/kdebase/apps/; revision=1002839 --- src/dolphinfileitemdelegate.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/dolphinfileitemdelegate.h') diff --git a/src/dolphinfileitemdelegate.h b/src/dolphinfileitemdelegate.h index 2f8d3c35f..bd6bfdf07 100644 --- a/src/dolphinfileitemdelegate.h +++ b/src/dolphinfileitemdelegate.h @@ -66,10 +66,12 @@ private: const DolphinModel* dolphinModel, const QModelIndex& index); - static QPixmap emblemForState(RevisionControlPlugin::RevisionState state, const QSize& size); + QPixmap emblemForState(RevisionControlPlugin::RevisionState state, const QSize& size) const; private: bool m_hasMinimizedNameColumn; + mutable QSize m_cachedSize; + mutable QPixmap m_cachedEmblems[RevisionControlPlugin::ConflictingRevision + 1]; }; inline void DolphinFileItemDelegate::setMinimizedNameColumn(bool minimized) -- cgit v1.3