summaryrefslogtreecommitdiff
authorllornkcor <llornkcor>2003-04-21 23:58:24 (UTC)
committer llornkcor <llornkcor>2003-04-21 23:58:24 (UTC)
commit2d4cf8a85edc83b72855854b0bd337d2993df95b (patch) (side-by-side diff)
treea4d1909771e181a984b00cc573669de0985ac179
parente951446d52d2a89dd919b1665b034516567384ee (diff)
downloadopie-2d4cf8a85edc83b72855854b0bd337d2993df95b.zip
opie-2d4cf8a85edc83b72855854b0bd337d2993df95b.tar.gz
opie-2d4cf8a85edc83b72855854b0bd337d2993df95b.tar.bz2
no defaults in constructors
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/multimedia/opierec/device.h2
-rw-r--r--noncore/multimedia/opierec/helpwindow.h2
-rw-r--r--noncore/multimedia/opierec/qtrec.h2
-rw-r--r--noncore/multimedia/opierec/wavFile.h4
4 files changed, 5 insertions, 5 deletions
diff --git a/noncore/multimedia/opierec/device.h b/noncore/multimedia/opierec/device.h
index c9a7491..2d4d2fc 100644
--- a/noncore/multimedia/opierec/device.h
+++ b/noncore/multimedia/opierec/device.h
@@ -2,17 +2,17 @@
#ifndef DEVICE_H
#define DEVICE_H
#include <qobject.h>
#include <sys/soundcard.h>
class Device : public QObject {
Q_OBJECT
public:
- Device( QObject * parent=0, const char * dspStr=0, const char * mixerStr=0, bool record=false );
+ Device( QObject * parent, const char * dspStr, const char * mixerStr, bool record );
~Device() {};
bool closeDevice( bool);
int getChannels();
int getFormat();
int getInVolume();
int getOutVolume();
int getRate();
int getRes();
diff --git a/noncore/multimedia/opierec/helpwindow.h b/noncore/multimedia/opierec/helpwindow.h
index 76b672a..bd8fbdf 100644
--- a/noncore/multimedia/opierec/helpwindow.h
+++ b/noncore/multimedia/opierec/helpwindow.h
@@ -20,17 +20,17 @@
class QComboBox;
class QPopupMenu;
class HelpWindow : public QMainWindow
{
Q_OBJECT
public:
- HelpWindow( const QString& home_, const QString& path, QWidget* parent = 0, const char *name=0 );
+ HelpWindow( const QString& home_, const QString& path, QWidget* parent, const char *name );
~HelpWindow();
private slots:
void addBookmark();
void bookmChosen( int );
void histChosen( int );
void newWindow();
diff --git a/noncore/multimedia/opierec/qtrec.h b/noncore/multimedia/opierec/qtrec.h
index d0623d0..1a51151 100644
--- a/noncore/multimedia/opierec/qtrec.h
+++ b/noncore/multimedia/opierec/qtrec.h
@@ -51,17 +51,17 @@ class QLineEdit;
#define WAVE_FORMAT_PCM (0x0001)
//AFMT_IMA_ADPCM
class QtRec : public QWidget
{
Q_OBJECT
public:
- QtRec( QWidget* parent = 0, const char* name = 0, WFlags fl = 0 );
+ QtRec( QWidget* parent, const char* name, WFlags fl );
~QtRec();
QSlider *OutputSlider,*InputSlider;
public slots:
private:
// int fragment;
int fd1;
int secCount;
diff --git a/noncore/multimedia/opierec/wavFile.h b/noncore/multimedia/opierec/wavFile.h
index 51366ec..53740e0 100644
--- a/noncore/multimedia/opierec/wavFile.h
+++ b/noncore/multimedia/opierec/wavFile.h
@@ -22,18 +22,18 @@ typedef struct {
char dataID[4];
unsigned long dataLen;
} wavhdr;
class WavFile : public QObject {
Q_OBJECT
public:
- WavFile( QObject * parent=0,const QString &fileName=0, bool newFile=true, int sampleRate = 0,
- int channels = 0, int resolution = 0, int format=0);
+ WavFile( QObject * parent,const QString &fileName, bool newFile, int sampleRate,
+ int channels , int resolution, int format);
~WavFile();
wavhdr hdr;
bool adjustHeaders(int fd, int total);
QString currentFileName;
QString trackName();
QFile track;
int wavHandle();