/*
* Copyright (C) 2010 Ixonos Plc.
*
* This file is part of fosdem-schedule.
*
* fosdem-schedule 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
* 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 .
*/
#ifndef MAINWINDOW_H
#define MAINWINDOW_H
#include
#include
class MainWindow : public QMainWindow, private Ui::MainWindow
{
Q_OBJECT
public:
// aEventId is used to inform widget to automatically open
// Event dialog for given Event ID
MainWindow(int aEventId = 0, QWidget *aParent = NULL);
~MainWindow() {}
private slots:
void scheduleImported(int aConfId);
void aboutApp();
void conferenceMapClicked();
void eventHasChanged(int aEventId, bool aReloadModel);
void conferenceChanged(int aIndex);
private:
void fillAndShowConferenceHeader();
void initTabs();
};
#endif /* MAINWINDOW_H */