X-Git-Url: https://git.toastfreeware.priv.at/toast/confclerk.git/blobdiff_plain/280f29b1e52958d36d17fe2a8f2e4686e68a01a8..5b7fa79bd7a4f4b468a82947cc1659e866084c73:/src/mvc/conferencemodel.h diff --git a/src/mvc/conferencemodel.h b/src/mvc/conferencemodel.h index b7297ba..34cfa35 100644 --- a/src/mvc/conferencemodel.h +++ b/src/mvc/conferencemodel.h @@ -29,7 +29,8 @@ It also provides typed access to the conferences from ConferenceEditor. -It does not actually modify anything in DB, this is performed by other classes. +It does not actually modify anything in DB (unless methods changing the conference instance returned by conferenceFromIndex are used), +this is performed by other classes. \see ConferenceEditor, MainWindow::showConferences() */ @@ -43,6 +44,7 @@ public: virtual QVariant data(const QModelIndex& index, int role = Qt::DisplayRole) const; const Conference& conferenceFromIndex(const QModelIndex&) const; + Conference& conferenceFromIndex(const QModelIndex&); QModelIndex indexFromId(int id) const; public slots: void newConferenceBegin();