/***************************************************************************
- * 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 *
#ifndef DOLPHINFILEITEMDELEGATE_H
#define DOLPHINFILEITEMDELEGATE_H
-#include <dolphinmodel.h>
-#include <kfileitemdelegate.h>
+#include <KFileItemDelegate>
+#include <views/dolphinmodel.h>
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
{
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)