kwave  18.07.70
SelectRangePlugin.h
Go to the documentation of this file.
1 /***************************************************************************
2  SelectRangePlugin.h - Plugin for selecting a range of samples
3  -------------------
4  begin : Sat Jun 15 2002
5  copyright : (C) 2002 by Thomas Eschenbacher
6  email : Thomas.Eschenbacher@gmx.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 SELECT_RANGE_PLUGIN_H
19 #define SELECT_RANGE_PLUGIN_H
20 
21 #include "config.h"
22 
23 #include <QObject>
24 #include <QString>
25 #include <QStringList>
26 
28 #include "libkwave/Plugin.h"
29 
30 class QStringList;
31 
32 namespace Kwave
33 {
35  {
36  Q_OBJECT
37 
38  public:
39 
45  SelectRangePlugin(QObject *parent, const QVariantList &args);
46 
48  virtual ~SelectRangePlugin() Q_DECL_OVERRIDE;
49 
55  virtual QStringList *setup(QStringList &previous_params)
56  Q_DECL_OVERRIDE;
57 
62  virtual int start(QStringList &params) Q_DECL_OVERRIDE;
63 
64  protected:
65 
67  int interpreteParameters(QStringList &params);
68 
69  private:
70 
73 
76 
78  unsigned int m_start;
79 
81  unsigned int m_range;
82 
83  };
84 }
85 
86 #endif /* SELECT_RANGE_PLUGIN_H */
87 
88 //***************************************************************************
89 //***************************************************************************
int interpreteParameters(QStringList &params)
Definition: App.h:33
Kwave::SelectTimeWidget::Mode m_start_mode
virtual ~SelectRangePlugin() Q_DECL_OVERRIDE
virtual QStringList * setup(QStringList &previous_params) Q_DECL_OVERRIDE
virtual int start(QStringList &params) Q_DECL_OVERRIDE
SelectRangePlugin(QObject *parent, const QVariantList &args)
Kwave::SelectTimeWidget::Mode m_range_mode