From b8c718a6fd9810f9e91303ed50402de4ab417a49 Mon Sep 17 00:00:00 2001 From: Peter Penz Date: Tue, 6 Sep 2011 23:42:42 +0200 Subject: First step to reactivate version control plugin functionality - Add a DolphinFileItemListWidget that provides icon-overlays and colored text for the version state (implementation is missing yet) - Allow KFileItemListWidget to have custom text colors - Update interface of VersionControlObserver to work with KFileItemModel instead of the old model-interface. --- src/views/dolphinfileitemlistwidget.cpp | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 src/views/dolphinfileitemlistwidget.cpp (limited to 'src/views/dolphinfileitemlistwidget.cpp') diff --git a/src/views/dolphinfileitemlistwidget.cpp b/src/views/dolphinfileitemlistwidget.cpp new file mode 100644 index 000000000..dd391ac9a --- /dev/null +++ b/src/views/dolphinfileitemlistwidget.cpp @@ -0,0 +1,31 @@ +/*************************************************************************** + * Copyright (C) 2011 by Peter Penz * + * * + * 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 * + * the Free Software Foundation; either version 2 of the License, or * + * (at your option) any later version. * + * * + * This program is distributed in the hope that it will be useful, * + * but WITHOUT ANY WARRANTY; without even the implied warranty of * + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * + * GNU General Public License for more details. * + * * + * You should have received a copy of the GNU General Public License * + * along with this program; if not, write to the * + * Free Software Foundation, Inc., * + * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA * + ***************************************************************************/ + +#include "dolphinfileitemlistwidget.h" + +DolphinFileItemListWidget::DolphinFileItemListWidget(QGraphicsItem* parent) : + KFileItemListWidget(parent) +{ +} + +DolphinFileItemListWidget::~DolphinFileItemListWidget() +{ +} + +#include "dolphinfileitemlistwidget.moc" -- cgit v1.3