blob: d40cd1d3360256a425694e218a777aa6e9f3bd22 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
|
/***************************************************************************
krecconfig_fileswidget.h - description
-------------------
copyright : (C) 2003 by Arnold Krille
email : [email protected]
***************************************************************************/
/***************************************************************************
* *
* 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; version 2 of the License. *
* *
***************************************************************************/
#ifndef KREC_CONFIGURE_FILESWIDGET_H
#define KREC_CONFIGURE_FILESWIDGET_H
#include <tqhbox.h>
#include <tqvbox.h>
#include <tqstringlist.h>
#include <tqstring.h>
class TQRadioButton;
class TQCheckBox;
class TQButtonGroup;
class TQLineEdit;
class TQLabel;
class KRecConfigFilesWidget : public TQVBox {
TQ_OBJECT
public:
KRecConfigFilesWidget( TQWidget*, const char* =0 );
~KRecConfigFilesWidget();
void load();
void save();
void defaults();
signals:
void sRateChanged( int );
void sChannelsChanged( int );
void sBitsChanged( int );
void sUseDefaultsChanged( bool );
private slots:
void ratechanged( int );
void rateotherchanged( const TQString& );
void channelschanged( int );
void bitschanged( int );
void usedefaultschanged( bool );
private:
TQHBox *_hbox;
TQButtonGroup *_ratebox, *_channelsbox, *_bitsbox;
TQRadioButton *_rate48, *_rate44, *_rate22, *_rate11, *_rateother;
TQHBox *_rateotherbox;
TQLabel *_rateotherlabel;
TQLineEdit *_rateotherline;
TQRadioButton *_channels2, *_channels1;
TQRadioButton *_bits16, *_bits8;
TQCheckBox *_usedefaults;
int _samplingRate, _channels, _bits;
};
#endif
|