]> git.sesse.net Git - kdenlive/blobdiff - src/events.h
show progress of auido thumb creation
[kdenlive] / src / events.h
diff --git a/src/events.h b/src/events.h
new file mode 100644 (file)
index 0000000..ecc11f9
--- /dev/null
@@ -0,0 +1,33 @@
+/***************************************************************************
+                          events.h  -  description
+                             -------------------
+    begin                : Feb 15 2008
+    copyright            : (C) 2008 by Marco Gittler
+    email                : g.marco@freenet.de
+ ***************************************************************************/
+
+/***************************************************************************
+ *                                                                         *
+ *   This program 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.                                   *
+ *                                                                         *
+ ***************************************************************************/
+
+#ifndef EVENTS_H
+#define EVENTS_H
+
+#include <QEvent>
+
+class ProgressEvent : public QEvent {
+public:
+       ProgressEvent( int value, QEvent::Type eventType  )
+               : QEvent( eventType ), m_val( value ) {};
+       int value() const { return m_val; };
+private:
+       int m_val;
+       
+};
+
+#endif