]> git.sesse.net Git - kdenlive/blob - src/events.h
Fix label
[kdenlive] / src / events.h
1 /***************************************************************************
2                           events.h  -  description
3                              -------------------
4     begin                : Feb 15 2008
5     copyright            : (C) 2008 by Marco Gittler
6     email                : g.marco@freenet.de
7  ***************************************************************************/
8
9 /***************************************************************************
10  *                                                                         *
11  *   This program is free software; you can redistribute it and/or modify  *
12  *   it under the terms of the GNU General Public License as published by  *
13  *   the Free Software Foundation; either version 2 of the License, or     *
14  *   (at your option) any later version.                                   *
15  *                                                                         *
16  ***************************************************************************/
17
18 #ifndef EVENTS_H
19 #define EVENTS_H
20
21 #include <QEvent>
22
23 #include "gentime.h"
24
25 class ProgressEvent : public QEvent
26 {
27 public:
28     ProgressEvent(int value, QEvent::Type eventType)
29             : QEvent(eventType), m_val(value) {};
30     int value() const {
31         return m_val;
32     };
33 private:
34     int m_val;
35
36 };
37
38 #endif