]> cloud.milkyroute.net Git - dolphin.git/blobdiff - src/views/dolphinfileitemdelegate.h
Update e-mail address from peter.penz@gmx.at to peter.penz19@gmail.com
[dolphin.git] / src / views / dolphinfileitemdelegate.h
index 405f24916f2743f01aae7e6ba100aeadc30e3dcd..5eb559a7909a50afef8a67a8706ac3106dab38bb 100644 (file)
@@ -1,5 +1,5 @@
 /***************************************************************************
- *   Copyright (C) 2008 by Peter Penz <peter.penz@gmx.at>                  *
+ *   Copyright (C) 2008 by Peter Penz <peter.penz19@gmail.com>             *
  *                                                                         *
  *   This program is free software; you can redistribute it and/or modify  *
  *   it under the terms of the GNU General Public License as published by  *
@@ -20,8 +20,8 @@
 #ifndef DOLPHINFILEITEMDELEGATE_H
 #define DOLPHINFILEITEMDELEGATE_H
 
-#include <dolphinmodel.h>
-#include <kfileitemdelegate.h>
+#include <KFileItemDelegate>
+#include <views/dolphinmodel.h>
 
 class QAbstractProxyModel;
 
@@ -33,7 +33,7 @@ class QAbstractProxyModel;
  * Note that this is a workaround, as Qt does not support having custom
  * shapes within the visual rect of an item view. The visual part of
  * workaround is handled inside DolphinFileItemDelegate, the behavior
- * changes are handled in DolphinDetailsView.
+ * changes are handled in DolphinTreeView.
  */
 class DolphinFileItemDelegate : public KFileItemDelegate
 {
@@ -74,7 +74,7 @@ private:
 private:
     bool m_hasMinimizedNameColumn;
     mutable QSize m_cachedSize;
-    mutable QPixmap m_cachedEmblems[KVersionControlPlugin::ConflictingVersion + 1];
+    mutable QPixmap m_cachedEmblems[KVersionControlPlugin::LocallyModifiedUnstagedVersion + 1];
 };
 
 inline void DolphinFileItemDelegate::setMinimizedNameColumn(bool minimized)