]> ToastFreeware Gitweb - toast/confclerk.git/blobdiff - src/mvc/conference.h
add buttons for refreshm new url and delete and partly implement corresponding actions
[toast/confclerk.git] / src / mvc / conference.h
index 26ea87bdcf7783e20f89ab2a1504ebcea711b15d..c16ac747023a916a568e7496a7c774f2e0b2e48d 100644 (file)
@@ -59,6 +59,7 @@ public:
         }
     }
 
+    #if 0
     void setId(int id) { setValue("id", id); }
     void setTitle(const QString& title) { setValue("title", title); }
     void setSubtitle(const QString& subtitle) { setValue("subtitle", subtitle); }
@@ -70,7 +71,12 @@ public:
     void setDayChange(int dayChange) { setValue("day_change", dayChange); }
     void setTimeslotDuration(int timeslotDuration) { setValue("timeslot_duration", timeslotDuration); }
     void setActive(bool active) { setValue("active", (int)((active))); }
-    void setUrl(const QString& url) { setValue("url", url.isNull() ? QVariant() : url); }
+    #endif
+    void setUrl(const QString& url)
+    {
+        setValue("url", url.isNull() ? QVariant() : url);
+        update("url");
+    }
 };
 
 #endif /* CONFERENCE_H */