]> ToastFreeware Gitweb - toast/confclerk.git/blobdiff - src/gui/eventdialog.h
Bump copyright years.
[toast/confclerk.git] / src / gui / eventdialog.h
index f2a74d7cd64e1a1979dcf4cc5b396e519dabe3b4..1e4393e405931627c070dff7ce959c1e1b44c2ab 100644 (file)
@@ -1,6 +1,6 @@
 /*
  * Copyright (C) 2010 Ixonos Plc.
- * Copyright (C) 2011-2012 Philipp Spitzer, gregor herrmann
+ * Copyright (C) 2011-2024 Philipp Spitzer, gregor herrmann, Stefan Stahl
  *
  * This file is part of ConfClerk.
  *
 
 #include <QDialog>
 #include "ui_eventdialog.h"
-#include <event.h>
+#include "event.h"
 
 class EventDialog : public QDialog, Ui::EventDialog
 { 
     Q_OBJECT
 public:
-    EventDialog(const int &aEventId, QWidget *aParent = NULL);
+    EventDialog(int conferencdId, int eventId, QWidget *parent = 0);
     ~EventDialog() {}
 private slots:
     void favouriteClicked();
@@ -36,7 +36,9 @@ private slots:
 signals:
     void eventChanged(int aEventId, bool favouriteChanged); // emited when user changes some event details, eg. sets it Favourite
 private:
+    int mConferenceId;
     int mEventId;
+    void updateFavouriteButton(const Event& event);
 };
 
 #endif /* EVENTDIALOG_H */