68 lines
2.1 KiB
C++
Executable File
68 lines
2.1 KiB
C++
Executable File
// 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/ttrssserviceentrypoint.h"
|
|
|
|
#include "definitions/definitions.h"
|
|
#include "miscellaneous/application.h"
|
|
#include "miscellaneous/iconfactory.h"
|
|
|
|
|
|
TtRssServiceEntryPoint::TtRssServiceEntryPoint(){
|
|
}
|
|
|
|
|
|
TtRssServiceEntryPoint::~TtRssServiceEntryPoint() {
|
|
|
|
}
|
|
|
|
bool TtRssServiceEntryPoint::isSingleInstanceService() {
|
|
return false;
|
|
}
|
|
|
|
QString TtRssServiceEntryPoint::name() {
|
|
return QSL("Tiny Tiny RSS");
|
|
}
|
|
|
|
QString TtRssServiceEntryPoint::description() {
|
|
return QSL("This service offers integration with Tiny Tiny RSS.\n\nTiny Tiny RSS is an open source web-based news feed (RSS/Atom) reader and aggregator, designed to allow you to read news from any location, while feeling as close to a real desktop application as possible.");
|
|
}
|
|
|
|
QString TtRssServiceEntryPoint::version() {
|
|
return QSL("0.0.2");
|
|
}
|
|
|
|
QString TtRssServiceEntryPoint::author() {
|
|
return APP_AUTHOR;
|
|
}
|
|
|
|
QIcon TtRssServiceEntryPoint::icon() {
|
|
return qApp->icons()->fromTheme(QSL("application-ttrss"));
|
|
}
|
|
|
|
QString TtRssServiceEntryPoint::code() {
|
|
return SERVICE_CODE_TT_RSS;
|
|
}
|
|
|
|
ServiceRoot *TtRssServiceEntryPoint::createNewRoot(FeedsModel *main_model) {
|
|
return NULL;
|
|
}
|
|
|
|
QList<ServiceRoot*> TtRssServiceEntryPoint::initializeSubtree(FeedsModel *main_model) {
|
|
return QList<ServiceRoot*>();
|
|
}
|