ToastFreeware
/
toast
/
confclerk.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
bump version after release.
[toast/confclerk.git]
/
src
/
mvc
/
conferencemodel.h
diff --git
a/src/mvc/conferencemodel.h
b/src/mvc/conferencemodel.h
index 37cff64acefeefb8fc466d06064a05377bd02ace..4ff9ecdaec58317fa0365088ed47aadf4d92a70c 100644
(file)
--- a/
src/mvc/conferencemodel.h
+++ b/
src/mvc/conferencemodel.h
@@
-1,6
+1,6
@@
/*
* Copyright (C) 2010 Ixonos Plc.
/*
* Copyright (C) 2010 Ixonos Plc.
- * Copyright (C) 2011-20
13
Philipp Spitzer, gregor herrmann, Stefan Stahl
+ * Copyright (C) 2011-20
21
Philipp Spitzer, gregor herrmann, Stefan Stahl
*
* This file is part of ConfClerk.
*
*
* This file is part of ConfClerk.
*
@@
-29,7
+29,8
@@
It also provides typed access to the conferences from ConferenceEditor.
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()
*/
\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;
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();
QModelIndex indexFromId(int id) const;
public slots:
void newConferenceBegin();