diff options
| author | Peter Penz <[email protected]> | 2009-07-27 05:31:48 +0000 |
|---|---|---|
| committer | Peter Penz <[email protected]> | 2009-07-27 05:31:48 +0000 |
| commit | 66ad27aba14cdfea777b9ebe1beb161f80f26463 (patch) | |
| tree | b320f98d7b7c98a65beaca752365ee0345c1d345 /src/dolphinfileitemdelegate.h | |
| parent | 47d50032839e70f847adc1cc0de784f001936954 (diff) | |
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
Diffstat (limited to 'src/dolphinfileitemdelegate.h')
| -rw-r--r-- | src/dolphinfileitemdelegate.h | 4 |
1 files changed, 3 insertions, 1 deletions
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) |
