X-Git-Url: https://git.toastfreeware.priv.at/toast/confclerk.git/blobdiff_plain/58eb7cc4677845238dc7c36dca26b8af4b3d1d94..080dc7d603d45ba0662aa731418993ddd45b5fe8:/src/mvc/room.h
diff --git a/src/mvc/room.h b/src/mvc/room.h
index 11544a2..c65539f 100644
--- a/src/mvc/room.h
+++ b/src/mvc/room.h
@@ -1,26 +1,27 @@
/*
* 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 ROOM_H_
#define ROOM_H_
-#include
+#include "ormrecord.h"
class Room : public OrmRecord
{
@@ -34,8 +35,6 @@ public:
void setId(int id) { setValue("id", id); }
QString name() const { return value("name").toString(); }
void setName(const QString & type) { setValue("name", type); }
- // TODO: make naming consistent - either "picture" or "map"
- QVariant map() const { return value("picture"); }
int insert();
public:
static QList getAll();