]> git.sesse.net Git - kdenlive/blob - src/events.h
Rewrote the handling of timeline in QGraphicsView. Now we use the built in zoom featu...
[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 public:
27     ProgressEvent(int value, QEvent::Type eventType)
28             : QEvent(eventType), m_val(value) {};
29     int value() const {
30         return m_val;
31     };
32 private:
33     int m_val;
34
35 };
36
37 #endif