/******************************************************************************* * retroshare-gui/src/gui/gxs/RsGxsUpdateBroadcastPage.cpp * * * * Copyright 2014 Retroshare Team * * * * This program is free software: you can redistribute it and/or modify * * it under the terms of the GNU Affero General Public License as * * published by the Free Software Foundation, either version 3 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 Affero General Public License for more details. * * * * You should have received a copy of the GNU Affero General Public License * * along with this program. If not, see . * * * *******************************************************************************/ #include "RsGxsUpdateBroadcastPage.h" #include "RsGxsUpdateBroadcastBase.h" RsGxsUpdateBroadcastPage::RsGxsUpdateBroadcastPage(RsGxsIfaceHelper *ifaceImpl, QWidget *parent, Qt::WindowFlags flags) : MainPage(parent, flags) { mBase = new RsGxsUpdateBroadcastBase(ifaceImpl, this); connect(mBase, SIGNAL(fillDisplay(bool)), this, SLOT(fillDisplay(bool))); } RsGxsUpdateBroadcastPage::~RsGxsUpdateBroadcastPage() { } void RsGxsUpdateBroadcastPage::fillComplete() { mBase->fillComplete(); } void RsGxsUpdateBroadcastPage::setUpdateWhenInvisible(bool update) { mBase->setUpdateWhenInvisible(update); } const std::set& RsGxsUpdateBroadcastPage::getSearchResults() { return mBase->getSearchResults(); } const std::set &RsGxsUpdateBroadcastPage::getGrpIdsMeta() { return mBase->getGrpIdsMeta(); } void RsGxsUpdateBroadcastPage::getAllGrpIds(std::set &grpIds) { mBase->getAllGrpIds(grpIds); } const std::set &RsGxsUpdateBroadcastPage::getGrpIds() { return mBase->getGrpIds(); } const std::map > &RsGxsUpdateBroadcastPage::getMsgIdsMeta() { return mBase->getMsgIdsMeta(); } void RsGxsUpdateBroadcastPage::getAllMsgIds(std::map > &msgIds) { mBase->getAllMsgIds(msgIds); } const std::map > &RsGxsUpdateBroadcastPage::getMsgIds() { return mBase->getMsgIds(); } void RsGxsUpdateBroadcastPage::fillDisplay(bool complete) { updateDisplay(complete); update(); // Qt flush } void RsGxsUpdateBroadcastPage::showEvent(QShowEvent *event) { mBase->showEvent(event); MainPage::showEvent(event); }