diff options
| author | Peter Penz <[email protected]> | 2011-09-06 23:42:42 +0200 |
|---|---|---|
| committer | Peter Penz <[email protected]> | 2011-09-06 23:45:41 +0200 |
| commit | b8c718a6fd9810f9e91303ed50402de4ab417a49 (patch) | |
| tree | f6e22b028cb0932c44dc29ea6c494f121c6f8dc9 /src/views/dolphinfileitemlistwidget.cpp | |
| parent | 7a91492cff931c0c4e0d38dd0aee77d9dcb29373 (diff) | |
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.
Diffstat (limited to 'src/views/dolphinfileitemlistwidget.cpp')
| -rw-r--r-- | src/views/dolphinfileitemlistwidget.cpp | 31 |
1 files changed, 31 insertions, 0 deletions
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 <[email protected]> * + * * + * 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" |
