/* * Copyright (c) 2021 Belledonne Communications SARL. * * This file is part of linphone-desktop * (see https://www.linphone.org). * * This program 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. * * 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 General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program. If not, see . */ #include #include #include #include "app/App.hpp" #include "components/conference/ConferenceAddModel.hpp" #include "components/conference/ConferenceHelperModel.hpp" #include "components/core/CoreHandlers.hpp" #include "components/core/CoreManager.hpp" #include "components/settings/SettingsModel.hpp" #include "utils/Utils.hpp" #include "ConferenceInfoListModel.hpp" #include "ConferenceInfoModel.hpp" // ============================================================================= ConferenceInfoListModel::ConferenceInfoListModel (QObject *parent) : ProxyListModel(parent) { //auto conferenceInfos = CoreManager::getInstance()->getCore()->getConferenceInformationList(); //for(auto conferenceInfo : conferenceInfos){ //auto conferenceInfoModel = ConferenceInfoModel::create( conferenceInfo ); //mList << conferenceInfoModel; //mMappedList[conferenceInfoModel->getDateTime().date()].push_back(conferenceInfoModel.get()); //} } /* ConferenceInfoModel* ConferenceInfoListModel::getAt(const int& index) const { return ProxyListModel::getAt(index).objectCast().get(); } */ // -----------------------------------------------------------------------------