source: src/gui/tabcontainer.h @ 6df32f2

qt5
Last change on this file since 6df32f2 was 6df32f2, checked in by gregor herrmann <gregoa@…>, 10 years ago

Update GPL blurb in source files.

  • Property mode set to 100644
File size: 1.7 KB
RevLine 
[ca90cb1]1/*
2 * Copyright (C) 2010 Ixonos Plc.
3 *
[6df32f2]4 * This file is part of ConfClerk.
[ca90cb1]5 *
[6df32f2]6 * ConfClerk is free software: you can redistribute it and/or modify it
[ca90cb1]7 * under the terms of the GNU General Public License as published by the Free
8 * Software Foundation, either version 2 of the License, or (at your option)
9 * any later version.
10 *
[6df32f2]11 * ConfClerk is distributed in the hope that it will be useful, but
[ca90cb1]12 * WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
13 * or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License for
14 * more details.
15 *
16 * You should have received a copy of the GNU General Public License along with
[6df32f2]17 * ConfClerk.  If not, see <http://www.gnu.org/licenses/>.
[ca90cb1]18 */
[05afe5f]19#ifndef TABCONTAINER_H
20#define TABCONTAINER_H
21
22#include <QWidget>
23#include "ui_tabcontainer.h"
24
[0bb39f5]25#include <conference.h>
[07ae23a]26#include <sqlengine.h>
27#include <conference.h>
28#include <eventmodel.h>
29
30class TabContainer : public QWidget, public Ui::TabContainer
[05afe5f]31{
32    Q_OBJECT
33public:
34
[07ae23a]35    TabContainer(QWidget *aParent = NULL);
36    virtual ~TabContainer() {}
37
[04acaf9]38    void clearModel();
[07ae23a]39protected:
40    virtual void loadEvents( const QDate &aDate, const int aConferenceId )
[05afe5f]41    {
[07ae23a]42        Q_UNUSED(aDate);
43        Q_UNUSED(aConferenceId);
[a0f3e32]44    }
[05afe5f]45
46signals:
[872aeaa]47    void eventHasChanged(int aEventId, bool aReloadModel);
[05afe5f]48
49public slots:
[872aeaa]50    virtual void updateTreeViewModel(int aEventId, bool aReloadModel = false);
[05afe5f]51    void setDates(const QDate &aStart, const QDate &aEnd);
52
[07ae23a]53protected slots:
[0401cc2]54    virtual void updateTreeView(const QDate &aDate);
[05afe5f]55    void itemClicked(const QModelIndex &aIndex);
56    void displayMap(const QModelIndex &aIndex);
[ea638ef]57    void displayConflicts(const QModelIndex &aIndex);
[05afe5f]58};
59
60#endif /* TABCONTAINER_H */
61
Note: See TracBrowser for help on using the repository browser.