Added empty recycle bin.

This commit is contained in:
Martin Rotter 2015-12-09 18:36:31 +01:00
parent c33eb38e42
commit 250483295d
3 changed files with 74 additions and 0 deletions

View File

@ -441,6 +441,7 @@ set(APP_SOURCES
src/services/tt-rss/ttrssserviceroot.cpp
src/services/tt-rss/ttrssfeed.cpp
src/services/tt-rss/ttrsscategory.cpp
src/services/tt-rss/ttrssrecyclebin.cpp
src/services/tt-rss/gui/formeditaccount.cpp
src/services/tt-rss/network/ttrssnetworkfactory.cpp
@ -559,6 +560,9 @@ set(APP_HEADERS
# TT-RSS service headers.
src/services/tt-rss/ttrssserviceroot.h
src/services/tt-rss/ttrssrecyclebin.h
src/services/tt-rss/ttrssfeed.h
src/services/tt-rss/ttrsscategory.h
src/services/tt-rss/gui/formeditaccount.h
# NETWORK-WEB headers.

View File

@ -0,0 +1,35 @@
// This file is part of RSS Guard.
//
// Copyright (C) 2011-2015 by Martin Rotter <rotter.martinos@gmail.com>
//
// RSS Guard 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 3 of the License, or
// (at your option) any later version.
//
// RSS Guard 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 RSS Guard. If not, see <http://www.gnu.org/licenses/>.
#include "services/tt-rss/ttrssrecyclebin.h"
TtRssRecycleBin::TtRssRecycleBin(QObject *parent) : RecycleBin(parent) {
}
TtRssRecycleBin::~TtRssRecycleBin() {
}
bool TtRssRecycleBin::empty() {
return false;
}
bool TtRssRecycleBin::restore() {
return false;
}

View File

@ -0,0 +1,35 @@
// This file is part of RSS Guard.
//
// Copyright (C) 2011-2015 by Martin Rotter <rotter.martinos@gmail.com>
//
// RSS Guard 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 3 of the License, or
// (at your option) any later version.
//
// RSS Guard 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 RSS Guard. If not, see <http://www.gnu.org/licenses/>.
#ifndef TTRSSRECYCLEBIN_H
#define TTRSSRECYCLEBIN_H
#include "services/abstract/recyclebin.h"
class TtRssRecycleBin : public RecycleBin {
Q_OBJECT
public:
explicit TtRssRecycleBin(QObject *parent = 0);
virtual ~TtRssRecycleBin();
bool empty();
bool restore();
};
#endif // TTRSSRECYCLEBIN_H