mirror of
https://github.com/martinrotter/rssguard.git
synced 2025-01-01 02:48:05 +01:00
Added empty recycle bin.
This commit is contained in:
parent
c33eb38e42
commit
250483295d
@ -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.
|
||||
|
35
src/services/tt-rss/ttrssrecyclebin.cpp
Normal file
35
src/services/tt-rss/ttrssrecyclebin.cpp
Normal 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;
|
||||
}
|
||||
|
35
src/services/tt-rss/ttrssrecyclebin.h
Normal file
35
src/services/tt-rss/ttrssrecyclebin.h
Normal 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
|
Loading…
Reference in New Issue
Block a user