]> git.sesse.net Git - kdenlive/blobdiff - src/audiosignal.h
Apply patch from P. Fleury to improve jog shuttle speed handling.
[kdenlive] / src / audiosignal.h
index d0ab44c237c8030bfa9ad290100575f370b9c8ef..f216bdf1da05de5216f38f8c59c60f929dacc22b 100644 (file)
@@ -1,3 +1,22 @@
+/***************************************************************************
+ *   Copyright (C) 2010 by Marco Gittler (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.                                   *
+ *                                                                         *
+ *   This program 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 this program; if not, write to the                         *
+ *   Free Software Foundation, Inc.,                                       *
+ *   51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA          *
+ ***************************************************************************/
+
 #ifndef AUDIOSIGNAL_H
 #define AUDIOSIGNAL_H
 
 class QLabel;
 
 #include  <QWidget>
-class AudioSignal : public QWidget 
+class AudioSignal : public QWidget
 {
-       Q_OBJECT
-       public:
-               AudioSignal (QWidget *parent=0);
-       private:
-               QLabel* label;
-               QByteArray channels;
-               QList<QColor> col;
-       protected:
-               void paintEvent(QPaintEvent* );
-       public slots:
-               void showAudio(QByteArray);
-
+    Q_OBJECT
+public:
+    AudioSignal(QWidget *parent = 0);
+private:
+    QLabel* label;
+    QByteArray channels,peeks,peekage;
+    QList<QColor> col;
+protected:
+    void paintEvent(QPaintEvent*);
+public slots:
+    void showAudio(const QByteArray);
+private slots:
+  void slotSwitchAudioMonitoring(bool isOn);
+signals:
+  void updateAudioMonitoring();
 
 };