X-Git-Url: https://git.toastfreeware.priv.at/toast/confclerk.git/blobdiff_plain/a0f3e328b3cf489002937fb2fa82c73706f480c3..080dc7d603d45ba0662aa731418993ddd45b5fe8:/src/mvc/eventmodel.h diff --git a/src/mvc/eventmodel.h b/src/mvc/eventmodel.h index 318cfde..1439edb 100644 --- a/src/mvc/eventmodel.h +++ b/src/mvc/eventmodel.h @@ -1,20 +1,21 @@ /* * Copyright (C) 2010 Ixonos Plc. + * Copyright (C) 2011-2024 Philipp Spitzer, gregor herrmann, Stefan Stahl * - * This file is part of fosdem-schedule. + * This file is part of ConfClerk. * - * fosdem-schedule is free software: you can redistribute it and/or modify it + * ConfClerk 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 2 of the License, or (at your option) * any later version. * - * fosdem-schedule is distributed in the hope that it will be useful, but + * ConfClerk 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 - * fosdem-schedule. If not, see . + * ConfClerk. If not, see . */ #ifndef EVENTMODEL_H #define EVENTMODEL_H @@ -38,7 +39,6 @@ public: void loadFavEvents(const QDate &aDate, int aConferenceId); // loads Favourite events from the DB void loadEventsByTrack(const QDate &aDate, int aConferenceId); // loads Events sorted by Track id and Event start from the DB int loadSearchResultEvents(const QDate &aDate, int aConferenceId); - void loadNowEvents(int aConferenceId); // loads Now events from the DB void loadEventsByRoom(const QDate &aDate, int aConferenceId); void loadConflictEvents(int aEventId, int aConferenceId); // loads events in conflict void clearModel(); @@ -57,6 +57,8 @@ private: QString mTitle; int mFirstEventIndex; int mChildCount; + + void setTitle(const QList& mEvents); }; private: @@ -71,7 +73,7 @@ public slots: private: QList mEvents; QList mGroups; - QHash mParents; + QHash mParents; ///< eventId, groupId }; #endif // EVENTMODEL_H