summaryrefslogtreecommitdiffstats
path: root/krec/krecnewproperties.h
blob: 59bf7f55695392e11059fed75568835538d69dae (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
/***************************************************************************
    copyright            : (C) 2003 by Arnold Krille
    email                : arnold@arnoldarts.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; version 2 of the License.               *
 *                                                                         *
 ***************************************************************************/

#ifndef KREC_NEW_PROPERTIES_H
#define KREC_NEW_PROPERTIES_H

#include <tqdialog.h>

class TDEConfig;
class TQBoxLayout;
class TQButtonGroup;
class TQRadioButton;
class KPushButton;
class TQHBox;
class TQVBox;

class KRecConfigFilesWidget;

class KRecNewProperties : public TQDialog {
   Q_OBJECT
  
public:
	KRecNewProperties( TQWidget*, const char* =0 );
	~KRecNewProperties();

	TQString filename();
	int samplerate();
	int channels();
	int bits();
	bool usedefaults();

	void done( int );
private slots:
	void ratechanged( int );
	void channelschanged( int );
	void bitschanged( int );
	void usedefaultschanged( bool );
private:
	TQString _filename;
	KRecConfigFilesWidget *_filewidget;

	int _samplerate, _channels, _bits;
	bool _usedefaults;

	TQBoxLayout *_layout, *_layoutbuttons;
	KPushButton *_btnok;
};

#endif