From e2de64d6f1beb9e492daf5b886e19933c1fa41dd Mon Sep 17 00:00:00 2001 From: toma Date: Wed, 25 Nov 2009 17:56:58 +0000 Subject: Copy the KDE 3.5 branch to branches/trinity for new KDE 3.5 features. BUG:215923 git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdemultimedia@1054174 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- krec/krecnewproperties.h | 60 ++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 60 insertions(+) create mode 100644 krec/krecnewproperties.h (limited to 'krec/krecnewproperties.h') diff --git a/krec/krecnewproperties.h b/krec/krecnewproperties.h new file mode 100644 index 00000000..f398033b --- /dev/null +++ b/krec/krecnewproperties.h @@ -0,0 +1,60 @@ +/*************************************************************************** + 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 + +class KConfig; +class QBoxLayout; +class QButtonGroup; +class QRadioButton; +class KPushButton; +class QHBox; +class QVBox; + +class KRecConfigFilesWidget; + +class KRecNewProperties : public QDialog { + Q_OBJECT +public: + KRecNewProperties( QWidget*, const char* =0 ); + ~KRecNewProperties(); + + QString 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: + QString _filename; + KRecConfigFilesWidget *_filewidget; + + int _samplerate, _channels, _bits; + bool _usedefaults; + + QBoxLayout *_layout, *_layoutbuttons; + KPushButton *_btnok; +}; + +#endif + +// vim:sw=4:ts=4 -- cgit v1.2.1