2
* This file is a part of KleanSweep.
4
* Copyright (C) 2005 Pawel Stolowski <pawel.stolowski@wp.pl>
6
* KleanSweep is free software; you can redestribute it and/or modify it
7
* under terms of GNU General Public License by Free Software Foundation.
9
* This program is distributed in the hope that it will be useful, but
10
* WITHOUT ANY WARRANTY. See GPL for more details.
13
#include "sweepfileinfo.h"
20
SweepFileInfo::SweepFileInfo(const KURL &path, char score): KFileItem(KFileItem::Unknown, KFileItem::Unknown, path, false), remove(false), target(QString::null), scre(score)
24
SweepFileInfo::~SweepFileInfo()
28
void SweepFileInfo::markForRemoval(bool f)
31
std::cerr << __PRETTY_FUNCTION__ << " " << name() << " " << f << std::endl;
37
bool SweepFileInfo::isMarkedForRemoval() const
42
void SweepFileInfo::setTarget(const QString &path)
47
QString SweepFileInfo::getTarget() const
52
int SweepFileInfo::getScore() const