]> ToastFreeware Gitweb - toast/confclerk.git/blobdiff - src/mvc/conference.h
We added the conferenceId to some alarm related methods (ticket #41).
[toast/confclerk.git] / src / mvc / conference.h
index 1b3157f4340cec346d51ffb383c7a2893bc7a59b..4c7984a06ad0330dbc7097369dafabd56e754efd 100644 (file)
@@ -35,7 +35,10 @@ public:
 public:
     static Conference getById(int id);
     static QList<Conference> getAll();
-    static int activeConference(); ///< returns -1 if no conference is active
+
+    /// Returns the active conference. If no active conference can be found, it returns the conference with the lowest id.
+    /// If no conference exists or database errors occur, it returns -1.
+    static int activeConference();
 
 public:
     int id() const { return value("id").toInt(); }