Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages

QtRec Class Reference

#include </home/clem/local/src/opie/noncore/multimedia/opierec/qtrec.h>

Collaboration diagram for QtRec:

Collaboration graph
[legend]
List of all members.

Signals

void stopRecording ()
void startRecording ()
void stopPlaying ()
void startPlaying ()

Public Member Functions

 QtRec (QWidget *parent=0, const char *name=0, WFlags fl=0)
 ~QtRec ()

Static Public Member Functions

static QString appName ()

Public Attributes

QSlider * OutputSlider
QSlider * InputSlider

Protected Member Functions

bool doPlay ()
 <<<<<<<<<<<<<<<< PLAY >>>>>>>>>>>>>>>>>>>
bool openPlayFile ()
bool setUpFile ()
bool setupAudio (bool b)
void fileBeamFinished (Ir *ir)
void keyPressEvent (QKeyEvent *e)
void keyReleaseEvent (QKeyEvent *e)
void receive (const QCString &, const QByteArray &)
void showListMenu (QListViewItem *)
void quickRec ()
void playIt ()
 END quickRec().

Protected Attributes

WavFilewavFile
QButtonGroup * ButtonGroup1
QCheckBox * outMuteCheckBox
QCheckBox * inMuteCheckBox
QCheckBox * compressionCheckBox
QCheckBox * autoMuteCheckBox
QCheckBox * stereoCheckBox
QComboBox * sampleRateComboBox
QComboBox * bitRateComboBox
QComboBox * directoryComboBox
QComboBox * sizeLimitCombo
QHBoxLayout * Layout12
QHBoxLayout * Layout13
QHBoxLayout * Layout14
QHBoxLayout * Layout16
QHBoxLayout * Layout17
QHBoxLayout * Layout19
QIconView * IconView1
QLabel * NewSoundLabel
QLabel * playLabel2
QLabel * TextLabel3
QLabel * TextLabel1
QLabel * TextLabel2
QListView * ListView1
QPushButton * Stop_PushButton
QPushButton * Play_PushButton
QPushButton * Rec_PushButton
QPushButton * NewSoundButton
QPushButton * deleteSoundButton
QPushButton * toBeginningButton
QPushButton * toEndButton
QString recDir
QTabWidget * TabWidget
QTimer * t
QTimer * rewindTimer
QTimer * forwardTimer
QVBoxLayout * Layout15
QVBoxLayout * Layout15b
QVBoxLayout * Layout18
QWidget * tab
QWidget * tab_2
QWidget * tab_3
QWidget * tab_4
QWidget * tab_5
int sliderPos
int total
QGroupBox * sampleGroup
QGroupBox * bitGroup
QGroupBox * dirGroup
QGroupBox * sizeGroup

Private Slots

void endPlaying ()
void endRecording ()
void FastforwardPressed ()
void FastforwardReleased ()
void changeDirCombo (int)
void changeSizeLimitCombo (int)
void changeTimeSlider (int)
void changebitrateCombo (int)
void changeStereoCheck (bool)
void changedInVolume ()
void changedOutVolume ()
void changesamplerateCombo (int)
void cleanUp ()
void compressionSelected (bool)
void deleteSound ()
void doBeam ()
void doMenuPlay ()
void doMicMuting (bool)
void doPlayBtn ()
void doRename ()
void doVolMuting (bool)
void forwardTimerTimeout ()
void itClick (QListViewItem *item)
void listPressed (int, QListViewItem *, const QPoint &, int)
void newSound ()
void rewindPressed ()
void rewindReleased ()
void rewindTimerTimeout ()
void slotAutoMute (bool)
void thisTab (QWidget *)
void timeSliderPressed ()
void timeSliderReleased ()
void timerBreak ()
void initIconView ()

Private Member Functions

bool eventFilter (QObject *, QEvent *)
void okRename ()
void cancelRename ()
QString getStorage (const QString &)
bool rec ()
int getCurrentSizeLimit ()
long checkDiskSpace (const QString &)
void doMute (bool)
void errorStop ()
void fillDirectoryCombo ()
void getInVol ()
void getOutVol ()
void init ()
void initConfig ()
void initConnections ()
void selectItemByName (const QString &)
void setRecordButton (bool)
void start ()
void stop ()
void timerEvent (QTimerEvent *e)

Private Attributes

int fd1
int secCount
QString timeString
QLineEdit * renameBox
QGroupBox * GroupBox1
QString currentFile
QString date
QString currentFileName
QString tmpFileName
QTimer * t_timer
bool needsStereoOut
bool paused
bool useTmpFile
bool autoMute

Constructor & Destructor Documentation

QtRec::QtRec QWidget *  parent = 0,
const char *  name = 0,
WFlags  fl = 0
 

Definition at line 412 of file qtrec.cpp.

References autoMute, Device::closeDevice(), doMute(), getInVol(), getOutVol(), init(), initConfig(), initConnections(), initIconView(), playing, renameBox, Device::sd, Config::setGroup(), and wavFile.

QtRec::~QtRec  ) 
 

Definition at line 445 of file qtrec.cpp.


Member Function Documentation

static QString QtRec::appName  )  [inline, static]
 

Definition at line 58 of file qtrec.h.

References QString::fromLatin1().

void QtRec::cancelRename  )  [private]
 

Definition at line 1653 of file qtrec.cpp.

References ListView1, and renameBox.

Referenced by eventFilter(), listPressed(), and okRename().

void QtRec::changebitrateCombo int   )  [private, slot]
 

Definition at line 1152 of file qtrec.cpp.

References bits, fileParameters::resolution, Config::setGroup(), Config::write(), and Config::writeEntry().

Referenced by initConnections().

void QtRec::changedInVolume  )  [private, slot]
 

Definition at line 975 of file qtrec.cpp.

References Device::changedInVolume(), and InputSlider.

Referenced by initConnections().

void QtRec::changeDirCombo int   )  [private, slot]
 

Definition at line 1178 of file qtrec.cpp.

References directoryComboBox, StorageInfo::fileSystems(), odebug, oendl, recDir, Config::setGroup(), Config::write(), and Config::writeEntry().

Referenced by initConnections().

void QtRec::changedOutVolume  )  [private, slot]
 

Definition at line 971 of file qtrec.cpp.

References Device::changedOutVolume(), and OutputSlider.

Referenced by initConnections().

void QtRec::changesamplerateCombo int   )  [private, slot]
 

Definition at line 1165 of file qtrec.cpp.

References odebug, oendl, fileParameters::sampleRate, sampleRateComboBox, Config::setGroup(), Config::write(), and Config::writeEntry().

Referenced by initConnections().

void QtRec::changeSizeLimitCombo int   )  [private, slot]
 

Definition at line 1200 of file qtrec.cpp.

References getCurrentSizeLimit(), Config::setGroup(), Config::write(), and Config::writeEntry().

Referenced by initConnections().

void QtRec::changeStereoCheck bool   )  [private, slot]
 

Definition at line 2041 of file qtrec.cpp.

References fileParameters::channels, Config::setGroup(), Config::write(), and Config::writeEntry().

Referenced by initConnections().

void QtRec::changeTimeSlider int   )  [private, slot]
 

Definition at line 1792 of file qtrec.cpp.

References QIODevice::isOpen(), ListView1, fileParameters::numberOfRecordedSeconds, odebug, oendl, paused, fileParameters::sampleRate, secCount, sliderPos, QString::sprintf(), stopped, timeString, WavFile::track, and wavFile.

Referenced by initConnections().

long QtRec::checkDiskSpace const QString  )  [private]
 

Definition at line 1727 of file qtrec.cpp.

References mult().

Referenced by rec().

void QtRec::cleanUp  )  [private, slot]
 

Definition at line 450 of file qtrec.cpp.

References autoMute, doMute(), endRecording(), ListView1, and stopped.

Referenced by initConnections().

void QtRec::compressionSelected bool   )  [private, slot]
 

Definition at line 1709 of file qtrec.cpp.

References bitRateComboBox, qWarning(), fileParameters::resolution, Config::setGroup(), Config::write(), and Config::writeEntry().

Referenced by initConnections().

void QtRec::deleteSound  )  [private, slot]
 

Definition at line 1219 of file qtrec.cpp.

References QFile::exists(), f, i, initIconView(), ListView1, message, NULL, QString::number(), Config::readEntry(), Config::readNumEntry(), QFile::remove(), Config::removeEntry(), Config::setGroup(), tr, Config::write(), and Config::writeEntry().

Referenced by initConnections(), keyReleaseEvent(), newSound(), and showListMenu().

void QtRec::doBeam  )  [private, slot]
 

Definition at line 1566 of file qtrec.cpp.

References fileBeamFinished(), i, ListView1, NULL, QString::number(), qApp, Config::readEntry(), Config::readNumEntry(), Ir::send(), Config::setGroup(), and Ir::supported().

Referenced by showListMenu().

void QtRec::doMenuPlay  )  [private, slot]
 

Definition at line 1590 of file qtrec.cpp.

References currentFile, ListView1, and qApp.

Referenced by showListMenu().

void QtRec::doMicMuting bool   )  [private, slot]
 

Definition at line 1700 of file qtrec.cpp.

References Config::write(), and Config::writeEntry().

Referenced by doMute(), and initConnections().

void QtRec::doMute bool   )  [private]
 

Definition at line 1992 of file qtrec.cpp.

References doMicMuting(), and doVolMuting().

Referenced by cleanUp(), endPlaying(), endRecording(), QtRec(), setupAudio(), and slotAutoMute().

bool QtRec::doPlay  )  [protected]
 

<<<<<<<<<<<<<<<< PLAY >>>>>>>>>>>>>>>>>>>

Definition at line 1107 of file qtrec.cpp.

References fileParameters::channels, NULL, fileParameters::numberOfRecordedSeconds, fileParameters::numberSamples, odebug, oendl, paused, playing, playIt(), recording, fileParameters::resolution, fileParameters::sampleRate, secCount, QString::sprintf(), stopped, timeString, toBeginningButton, toEndButton, and total.

Referenced by FastforwardReleased(), rewindReleased(), start(), and timeSliderReleased().

void QtRec::doPlayBtn  )  [private, slot]
 

Definition at line 829 of file qtrec.cpp.

References currentFile, ListView1, start(), stop(), and stopped.

Referenced by initConnections(), and keyReleaseEvent().

void QtRec::doRename  )  [private, slot]
 

Definition at line 1595 of file qtrec.cpp.

References ListView1, and renameBox.

Referenced by showListMenu().

void QtRec::doVolMuting bool   )  [private, slot]
 

Definition at line 1692 of file qtrec.cpp.

References Config::write(), and Config::writeEntry().

Referenced by doMute(), and initConnections().

void QtRec::endPlaying  )  [private, slot]
 

Definition at line 1437 of file qtrec.cpp.

References autoMute, Device::closeDevice(), doMute(), fileParameters::fd, monitoring, fileParameters::numberSamples, odebug, oendl, playing, recording, Waveform::reset(), fileParameters::sd, Device::sd, setRecordButton(), stopped, timeSlider, toBeginningButton, toEndButton, and total.

Referenced by openPlayFile(), stop(), and timerBreak().

void QtRec::endRecording  )  [private, slot]
 

Definition at line 1373 of file qtrec.cpp.

References WavFile::adjustHeaders(), autoMute, Device::closeDevice(), WavFile::closeFile(), currentFile, currentFileName, WavFile::currentFileName, doMute(), fileParameters::fd, initIconView(), QIODevice::isOpen(), WavFile::isTempFile(), QString::latin1(), QString::left(), QString::length(), monitoring, QString::number(), fileParameters::numberOfRecordedSeconds, fileParameters::numberSamples, odebug, oendl, Config::readNumEntry(), recording, Waveform::reset(), selectItemByName(), Config::setGroup(), setRecordButton(), QString::sprintf(), stopped, timeSlider, toBeginningButton, toEndButton, tr, WavFile::track, WavFile::trackName(), wavFile, Config::write(), and Config::writeEntry().

Referenced by cleanUp(), newSound(), and stop().

void QtRec::errorStop  )  [private]
 

Definition at line 1986 of file qtrec.cpp.

References WavFile::closeFile(), stopped, and wavFile.

bool QtRec::eventFilter QObject *  ,
QEvent * 
[private]
 

Definition at line 1663 of file qtrec.cpp.

References cancelRename(), KeyPress, and okRename().

void QtRec::FastforwardPressed  )  [private, slot]
 

Definition at line 1868 of file qtrec.cpp.

References forwardTimer, QIODevice::isOpen(), ListView1, openPlayFile(), paused, setupAudio(), stopped, WavFile::track, and wavFile.

Referenced by initConnections(), and keyPressEvent().

void QtRec::FastforwardReleased  )  [private, slot]
 

Definition at line 1897 of file qtrec.cpp.

References doPlay(), fileParameters::fd, forwardTimer, QIODevice::isOpen(), fileParameters::numberOfRecordedSeconds, fileParameters::sampleRate, sliderPos, stopped, timeSlider, total, WavFile::track, and wavFile.

Referenced by initConnections(), and keyReleaseEvent().

void QtRec::fileBeamFinished Ir ir  )  [protected]
 

Definition at line 1560 of file qtrec.cpp.

References message, and tr.

Referenced by doBeam().

void QtRec::fillDirectoryCombo  )  [private]
 

Definition at line 1964 of file qtrec.cpp.

References directoryComboBox, StorageInfo::fileSystems(), name, Config::readEntry(), and Config::setGroup().

Referenced by init(), and thisTab().

void QtRec::forwardTimerTimeout  )  [private, slot]
 

Definition at line 1884 of file qtrec.cpp.

References fileParameters::numberOfRecordedSeconds, fileParameters::numberSamples, fileParameters::sampleRate, QString::sprintf(), timeSlider, and timeString.

Referenced by init().

int QtRec::getCurrentSizeLimit  )  [private]
 

Definition at line 1684 of file qtrec.cpp.

References sizeLimitCombo.

Referenced by changeSizeLimitCombo(), and rec().

void QtRec::getInVol  )  [private]
 

Definition at line 965 of file qtrec.cpp.

References Device::getInVolume(), InputSlider, and fileParameters::inVol.

Referenced by QtRec().

void QtRec::getOutVol  )  [private]
 

Definition at line 959 of file qtrec.cpp.

References Device::getOutVolume(), OutputSlider, and fileParameters::outVol.

Referenced by QtRec().

QString QtRec::getStorage const QString  )  [private]
 

Definition at line 1911 of file qtrec.cpp.

References StorageInfo::fileSystems(), QString::find(), and name.

Referenced by initIconView().

void QtRec::init  )  [private]
 

**********<<<<<<<<<<<<>>>>>>>>>>>>***************

**********<<<<<<<<<<<<>>>>>>>>>>>>***************

Definition at line 466 of file qtrec.cpp.

References autoMuteCheckBox, bitGroup, bitRateComboBox, compressionCheckBox, deleteSoundButton, deviceBitRates, deviceSampleRates, directoryComboBox, dirGroup, fillDirectoryCombo(), forwardTimer, forwardTimerTimeout(), i, image3_data, image4_data, image6_data, inMuteCheckBox, InputSlider, Layout15, Layout15b, ListView1, Opie::Core::OResource::loadPixmap(), needsStereoOut, QString::number(), outMuteCheckBox, OutputSlider, Rec_PushButton, rewindTimer, rewindTimerTimeout(), QPEApplication::RightOnHold, s, sampleGroup, sampleRateComboBox, QString::setNum(), QPEApplication::setStylusOperation(), sizeGroup, sizeLimitCombo, Opie::Core::OResource::SmallIcon, stereoCheckBox, Stop_PushButton, stopped, t, tab, tab_3, tab_5, TextLabel2, TextLabel3, timerBreak(), timeSlider, toBeginningButton, toEndButton, and tr.

Referenced by QtRec().

void QtRec::initConfig  )  [private]
 

Definition at line 757 of file qtrec.cpp.

References autoMuteCheckBox, bitRateComboBox, fileParameters::channels, compressionCheckBox, i, inMuteCheckBox, outMuteCheckBox, Config::readBoolEntry(), Config::readNumEntry(), fileParameters::resolution, fileParameters::sampleRate, sampleRateComboBox, Config::setGroup(), sizeLimitCombo, slotAutoMute(), stereoCheckBox, and ws().

Referenced by QtRec().

void QtRec::initConnections  )  [private]
 

Definition at line 716 of file qtrec.cpp.

References autoMuteCheckBox, bitRateComboBox, changebitrateCombo(), changedInVolume(), changeDirCombo(), changedOutVolume(), changesamplerateCombo(), changeSizeLimitCombo(), changeStereoCheck(), changeTimeSlider(), cleanUp(), compressionCheckBox, compressionSelected(), deleteSound(), deleteSoundButton, directoryComboBox, doMicMuting(), doPlayBtn(), doVolMuting(), FastforwardPressed(), FastforwardReleased(), inMuteCheckBox, InputSlider, itClick(), listPressed(), ListView1, newSound(), outMuteCheckBox, OutputSlider, qApp, Rec_PushButton, rewindPressed(), rewindReleased(), sampleRateComboBox, sizeLimitCombo, slotAutoMute(), stereoCheckBox, Stop_PushButton, thisTab(), timeSlider, timeSliderPressed(), timeSliderReleased(), toBeginningButton, and toEndButton.

Referenced by QtRec().

void QtRec::initIconView  )  [private, slot]
 

Definition at line 682 of file qtrec.cpp.

References currentFileName, QFileInfo::exists(), getStorage(), i, image0_data, QFileInfo::lastModified(), ListView1, Config::readEntry(), Config::readNumEntry(), Config::setGroup(), and QString::sprintf().

Referenced by deleteSound(), endRecording(), okRename(), and QtRec().

void QtRec::itClick QListViewItem *  item  )  [private, slot]
 

Definition at line 1214 of file qtrec.cpp.

References currentFile.

Referenced by initConnections().

void QtRec::keyPressEvent QKeyEvent *  e  )  [protected]
 

Definition at line 1259 of file qtrec.cpp.

References FastforwardPressed(), Key_F10, Key_F11, Key_F12, Key_F13, Key_F9, odebug, oendl, and rewindPressed().

void QtRec::keyReleaseEvent QKeyEvent *  e  )  [protected]
 

Definition at line 1314 of file qtrec.cpp.

References deleteSound(), doPlayBtn(), FastforwardReleased(), Key_F10, Key_F11, Key_F12, Key_F13, Key_F9, newSound(), odebug, oendl, recording, rewindReleased(), stop(), and stopped.

void QtRec::listPressed int  ,
QListViewItem *  ,
const QPoint &  ,
int 
[private, slot]
 

Definition at line 1525 of file qtrec.cpp.

References cancelRename(), currentFile, ListView1, NULL, renameBox, and showListMenu().

Referenced by initConnections().

void QtRec::newSound  )  [private, slot]
 

Definition at line 1207 of file qtrec.cpp.

References deleteSound(), endRecording(), and rec().

Referenced by initConnections(), and keyReleaseEvent().

void QtRec::okRename  )  [private]
 

Definition at line 1617 of file qtrec.cpp.

References cancelRename(), i, initIconView(), ListView1, NULL, QString::number(), odebug, oendl, Config::readEntry(), Config::readNumEntry(), Config::removeEntry(), renameBox, Config::setGroup(), Config::write(), and Config::writeEntry().

Referenced by eventFilter().

bool QtRec::openPlayFile  )  [protected]
 

Definition at line 1474 of file qtrec.cpp.

References fileParameters::channels, currentFile, currentFileName, endPlaying(), fileParameters::fd, fileParameters::format, WavFile::getChannels(), WavFile::getFormat(), WavFile::getNumberSamples(), WavFile::getResolution(), WavFile::getSampleRate(), i, QString::isEmpty(), message, monitoring, QString::number(), fileParameters::numberSamples, odebug, oendl, qApp, qWarning(), Config::readEntry(), Config::readNumEntry(), fileParameters::resolution, fileParameters::sampleRate, Config::setGroup(), timeSlider, tr, wavFile, and WavFile::wavHandle().

Referenced by FastforwardPressed(), rewindPressed(), and start().

void QtRec::playIt  )  [protected]
 

END quickRec().

Definition at line 277 of file qtrec.cpp.

References BUFSIZE, fileParameters::fd, fileParameters::format, Waveform::newSamples(), fileParameters::numberOfRecordedSeconds, fileParameters::numberSamples, oendl, owarn, qApp, fileParameters::resolution, fileParameters::sampleRate, fileParameters::sd, Device::sd, stopped, timeSlider, WAVE_FORMAT_DVI_ADPCM, and write().

Referenced by doPlay().

void QtRec::quickRec  )  [protected]
 

Definition at line 104 of file qtrec.cpp.

References bits, BUFSIZE, fileParameters::channels, Device::devRead(), fileParameters::fd, fileParameters::fileName, fileParameters::format, message, Waveform::newSamples(), fileParameters::numberOfRecordedSeconds, fileParameters::numberSamples, odebug, oendl, Opie::Core::perror(), printf, qApp, fileParameters::resolution, fileParameters::sampleRate, fileParameters::samplesToRecord, Device::sd, fileParameters::sd, fileParameters::SecondsToRecord, stopped, timeSlider, WAVE_FORMAT_DVI_ADPCM, and write().

Referenced by rec().

bool QtRec::rec  )  [private]
 

Definition at line 857 of file qtrec.cpp.

References fileParameters::channels, checkDiskSpace(), currentFile, fileParameters::fileName, fileParameters::format, getCurrentSizeLimit(), QString::latin1(), monitoring, NULL, odebug, oendl, paused, quickRec(), fileParameters::resolution, fileParameters::sampleRate, fileParameters::samplesToRecord, secCount, fileParameters::SecondsToRecord, Config::setGroup(), setRecordButton(), setupAudio(), setUpFile(), QString::sprintf(), stop(), stopped, timeSlider, timeString, toBeginningButton, toEndButton, tr, WavFile::trackName(), warning(), WAVE_FORMAT_PCM, and wavFile.

Referenced by newSound().

void QtRec::receive const QCString ,
const QByteArray
[protected]
 

Definition at line 1757 of file qtrec.cpp.

References odebug, and oendl.

void QtRec::rewindPressed  )  [private, slot]
 

Definition at line 1827 of file qtrec.cpp.

References QIODevice::isOpen(), ListView1, openPlayFile(), paused, rewindTimer, setupAudio(), stopped, WavFile::track, and wavFile.

Referenced by initConnections(), and keyPressEvent().

void QtRec::rewindReleased  )  [private, slot]
 

Definition at line 1855 of file qtrec.cpp.

References doPlay(), fileParameters::fd, QIODevice::isOpen(), odebug, oendl, rewindTimer, sliderPos, stopped, timeSlider, total, WavFile::track, and wavFile.

Referenced by initConnections(), and keyReleaseEvent().

void QtRec::rewindTimerTimeout  )  [private, slot]
 

Definition at line 1843 of file qtrec.cpp.

References fileParameters::numberOfRecordedSeconds, fileParameters::numberSamples, odebug, oendl, fileParameters::sampleRate, QString::sprintf(), timeSlider, and timeString.

Referenced by init().

void QtRec::selectItemByName const QString  )  [private]
 

Definition at line 2007 of file qtrec.cpp.

References ListView1.

Referenced by endRecording().

void QtRec::setRecordButton bool   )  [private]
 

Definition at line 1941 of file qtrec.cpp.

References image3_data, image4_data, Rec_PushButton, and Stop_PushButton.

Referenced by endPlaying(), endRecording(), rec(), and stop().

bool QtRec::setupAudio bool  b  )  [protected]
 

Definition at line 980 of file qtrec.cpp.

References autoMute, bitRateComboBox, Waveform::changeSettings(), fileParameters::channels, compressionCheckBox, doMute(), flags, fileParameters::format, FRAGSIZE, Device::getDeviceFragSize(), monitoring, QString::number(), odebug, oendl, owarn, recording, Device::reset(), fileParameters::resolution, fileParameters::sampleRate, fileParameters::sd, Device::sd, Device::setDeviceChannels(), Device::setDeviceFormat(), Device::setDeviceRate(), Device::setFragSize(), stopped, tr, VERSION, WAVE_FORMAT_DVI_ADPCM, and WAVE_FORMAT_PCM.

Referenced by FastforwardPressed(), rec(), rewindPressed(), and start().

bool QtRec::setUpFile  )  [protected]
 

Definition at line 1090 of file qtrec.cpp.

References fileParameters::channels, fileParameters::fd, fileParameters::format, fileParameters::resolution, fileParameters::sampleRate, wavFile, and WavFile::wavHandle().

Referenced by rec().

void QtRec::showListMenu QListViewItem *   )  [protected]
 

Definition at line 1544 of file qtrec.cpp.

References deleteSound(), doBeam(), doMenuPlay(), doRename(), NULL, pos, qApp, Ir::supported(), and tr.

Referenced by listPressed().

void QtRec::slotAutoMute bool   )  [private, slot]
 

Definition at line 1997 of file qtrec.cpp.

References autoMute, doMute(), inMuteCheckBox, outMuteCheckBox, Config::setGroup(), and Config::writeEntry().

Referenced by initConfig(), and initConnections().

void QtRec::start  )  [private]
 

Definition at line 842 of file qtrec.cpp.

References doPlay(), image3_data, openPlayFile(), paused, secCount, setupAudio(), Stop_PushButton, and stopped.

Referenced by doPlayBtn().

void QtRec::startPlaying  )  [signal]
 

void QtRec::startRecording  )  [signal]
 

void QtRec::stop  )  [private]
 

Definition at line 815 of file qtrec.cpp.

References endPlaying(), endRecording(), recording, setRecordButton(), stopPlaying(), stopRecording(), and timeSlider.

Referenced by doPlayBtn(), keyReleaseEvent(), rec(), and timerEvent().

void QtRec::stopPlaying  )  [signal]
 

Referenced by stop().

void QtRec::stopRecording  )  [signal]
 

Referenced by stop().

void QtRec::thisTab QWidget *   )  [private, slot]
 

Definition at line 938 of file qtrec.cpp.

References fillDirectoryCombo(), NULL, and qApp.

Referenced by initConnections().

void QtRec::timerBreak  )  [private, slot]
 

Definition at line 1688 of file qtrec.cpp.

References endPlaying().

Referenced by init().

void QtRec::timerEvent QTimerEvent *  e  )  [private]
 

Definition at line 1764 of file qtrec.cpp.

References odebug, oendl, playing, recording, secCount, fileParameters::SecondsToRecord, QString::sprintf(), stop(), stopped, and timeString.

void QtRec::timeSliderPressed  )  [private, slot]
 

Definition at line 1807 of file qtrec.cpp.

References ListView1, odebug, oendl, paused, and stopped.

Referenced by initConnections().

void QtRec::timeSliderReleased  )  [private, slot]
 

Definition at line 1814 of file qtrec.cpp.

References doPlay(), fileParameters::fd, ListView1, fileParameters::numberOfRecordedSeconds, odebug, oendl, fileParameters::sampleRate, sliderPos, stopped, timeSlider, and total.

Referenced by initConnections().


Member Data Documentation

bool QtRec::autoMute [private]
 

Definition at line 83 of file qtrec.h.

Referenced by cleanUp(), endPlaying(), endRecording(), QtRec(), setupAudio(), and slotAutoMute().

QCheckBox * QtRec::autoMuteCheckBox [protected]
 

Definition at line 152 of file qtrec.h.

Referenced by init(), initConfig(), and initConnections().

QGroupBox * QtRec::bitGroup [protected]
 

Definition at line 175 of file qtrec.h.

Referenced by init().

QComboBox * QtRec::bitRateComboBox [protected]
 

Definition at line 153 of file qtrec.h.

Referenced by compressionSelected(), init(), initConfig(), initConnections(), and setupAudio().

QButtonGroup* QtRec::ButtonGroup1 [protected]
 

Definition at line 151 of file qtrec.h.

QCheckBox * QtRec::compressionCheckBox [protected]
 

Definition at line 152 of file qtrec.h.

Referenced by init(), initConfig(), initConnections(), and setupAudio().

QString QtRec::currentFile [private]
 

Definition at line 79 of file qtrec.h.

Referenced by doMenuPlay(), doPlayBtn(), endRecording(), itClick(), listPressed(), openPlayFile(), and rec().

QString QtRec::currentFileName [private]
 

Definition at line 80 of file qtrec.h.

Referenced by endRecording(), initIconView(), and openPlayFile().

QString QtRec::date [private]
 

Definition at line 80 of file qtrec.h.

QPushButton * QtRec::deleteSoundButton [protected]
 

Definition at line 164 of file qtrec.h.

Referenced by init(), and initConnections().

QComboBox * QtRec::directoryComboBox [protected]
 

Definition at line 153 of file qtrec.h.

Referenced by changeDirCombo(), fillDirectoryCombo(), init(), and initConnections().

QGroupBox * QtRec::dirGroup [protected]
 

Definition at line 175 of file qtrec.h.

Referenced by init().

int QtRec::fd1 [private]
 

Definition at line 73 of file qtrec.h.

QTimer * QtRec::forwardTimer [protected]
 

Definition at line 167 of file qtrec.h.

Referenced by FastforwardPressed(), FastforwardReleased(), and init().

QGroupBox* QtRec::GroupBox1 [private]
 

Definition at line 78 of file qtrec.h.

QIconView* QtRec::IconView1 [protected]
 

Definition at line 160 of file qtrec.h.

QCheckBox * QtRec::inMuteCheckBox [protected]
 

Definition at line 152 of file qtrec.h.

Referenced by init(), initConfig(), initConnections(), and slotAutoMute().

QSlider * QtRec::InputSlider
 

Definition at line 61 of file qtrec.h.

Referenced by changedInVolume(), getInVol(), init(), and initConnections().

QHBoxLayout* QtRec::Layout12 [protected]
 

Definition at line 154 of file qtrec.h.

QHBoxLayout* QtRec::Layout13 [protected]
 

Definition at line 155 of file qtrec.h.

QHBoxLayout* QtRec::Layout14 [protected]
 

Definition at line 156 of file qtrec.h.

QVBoxLayout* QtRec::Layout15 [protected]
 

Definition at line 168 of file qtrec.h.

Referenced by init().

QVBoxLayout* QtRec::Layout15b [protected]
 

Definition at line 169 of file qtrec.h.

Referenced by init().

QHBoxLayout* QtRec::Layout16 [protected]
 

Definition at line 157 of file qtrec.h.

QHBoxLayout* QtRec::Layout17 [protected]
 

Definition at line 158 of file qtrec.h.

QVBoxLayout* QtRec::Layout18 [protected]
 

Definition at line 170 of file qtrec.h.

QHBoxLayout* QtRec::Layout19 [protected]
 

Definition at line 159 of file qtrec.h.

QListView* QtRec::ListView1 [protected]
 

Definition at line 163 of file qtrec.h.

Referenced by cancelRename(), changeTimeSlider(), cleanUp(), deleteSound(), doBeam(), doMenuPlay(), doPlayBtn(), doRename(), FastforwardPressed(), init(), initConnections(), initIconView(), listPressed(), okRename(), rewindPressed(), selectItemByName(), timeSliderPressed(), and timeSliderReleased().

bool QtRec::needsStereoOut [private]
 

Definition at line 82 of file qtrec.h.

Referenced by init().

QPushButton * QtRec::NewSoundButton [protected]
 

Definition at line 164 of file qtrec.h.

QLabel* QtRec::NewSoundLabel [protected]
 

Definition at line 161 of file qtrec.h.

QCheckBox* QtRec::outMuteCheckBox [protected]
 

Definition at line 152 of file qtrec.h.

Referenced by init(), initConfig(), initConnections(), and slotAutoMute().

QSlider* QtRec::OutputSlider
 

Definition at line 61 of file qtrec.h.

Referenced by changedOutVolume(), getOutVol(), init(), and initConnections().

bool QtRec::paused [private]
 

Definition at line 82 of file qtrec.h.

Referenced by changeTimeSlider(), doPlay(), FastforwardPressed(), rec(), rewindPressed(), start(), and timeSliderPressed().

QPushButton * QtRec::Play_PushButton [protected]
 

Definition at line 164 of file qtrec.h.

QLabel * QtRec::playLabel2 [protected]
 

Definition at line 161 of file qtrec.h.

QPushButton * QtRec::Rec_PushButton [protected]
 

Definition at line 164 of file qtrec.h.

Referenced by init(), initConnections(), and setRecordButton().

QString QtRec::recDir [protected]
 

Definition at line 165 of file qtrec.h.

Referenced by changeDirCombo().

QLineEdit* QtRec::renameBox [private]
 

Definition at line 77 of file qtrec.h.

Referenced by cancelRename(), doRename(), listPressed(), okRename(), and QtRec().

QTimer * QtRec::rewindTimer [protected]
 

Definition at line 167 of file qtrec.h.

Referenced by init(), rewindPressed(), and rewindReleased().

QGroupBox* QtRec::sampleGroup [protected]
 

Definition at line 175 of file qtrec.h.

Referenced by init().

QComboBox* QtRec::sampleRateComboBox [protected]
 

Definition at line 153 of file qtrec.h.

Referenced by changesamplerateCombo(), init(), initConfig(), and initConnections().

int QtRec::secCount [private]
 

Definition at line 74 of file qtrec.h.

Referenced by changeTimeSlider(), doPlay(), rec(), start(), and timerEvent().

QGroupBox * QtRec::sizeGroup [protected]
 

Definition at line 175 of file qtrec.h.

Referenced by init().

QComboBox * QtRec::sizeLimitCombo [protected]
 

Definition at line 153 of file qtrec.h.

Referenced by getCurrentSizeLimit(), init(), initConfig(), and initConnections().

int QtRec::sliderPos [protected]
 

Definition at line 172 of file qtrec.h.

Referenced by changeTimeSlider(), FastforwardReleased(), rewindReleased(), and timeSliderReleased().

QCheckBox * QtRec::stereoCheckBox [protected]
 

Definition at line 152 of file qtrec.h.

Referenced by init(), initConfig(), and initConnections().

QPushButton* QtRec::Stop_PushButton [protected]
 

Definition at line 164 of file qtrec.h.

Referenced by init(), initConnections(), setRecordButton(), and start().

QTimer* QtRec::t [protected]
 

Definition at line 167 of file qtrec.h.

Referenced by init().

QTimer* QtRec::t_timer [private]
 

Definition at line 81 of file qtrec.h.

QWidget* QtRec::tab [protected]
 

Definition at line 171 of file qtrec.h.

Referenced by init().

QWidget * QtRec::tab_2 [protected]
 

Definition at line 171 of file qtrec.h.

QWidget * QtRec::tab_3 [protected]
 

Definition at line 171 of file qtrec.h.

Referenced by init().

QWidget * QtRec::tab_4 [protected]
 

Definition at line 171 of file qtrec.h.

QWidget * QtRec::tab_5 [protected]
 

Definition at line 171 of file qtrec.h.

Referenced by init().

QTabWidget* QtRec::TabWidget [protected]
 

Definition at line 166 of file qtrec.h.

QLabel * QtRec::TextLabel1 [protected]
 

Definition at line 162 of file qtrec.h.

QLabel * QtRec::TextLabel2 [protected]
 

Definition at line 162 of file qtrec.h.

Referenced by init().

QLabel* QtRec::TextLabel3 [protected]
 

Definition at line 162 of file qtrec.h.

Referenced by init().

QString QtRec::timeString [private]
 

Definition at line 75 of file qtrec.h.

Referenced by changeTimeSlider(), doPlay(), forwardTimerTimeout(), rec(), rewindTimerTimeout(), and timerEvent().

QString QtRec::tmpFileName [private]
 

Definition at line 80 of file qtrec.h.

QPushButton * QtRec::toBeginningButton [protected]
 

Definition at line 164 of file qtrec.h.

Referenced by doPlay(), endPlaying(), endRecording(), init(), initConnections(), and rec().

QPushButton * QtRec::toEndButton [protected]
 

Definition at line 164 of file qtrec.h.

Referenced by doPlay(), endPlaying(), endRecording(), init(), initConnections(), and rec().

int QtRec::total [protected]
 

Definition at line 172 of file qtrec.h.

Referenced by doPlay(), endPlaying(), FastforwardReleased(), rewindReleased(), and timeSliderReleased().

bool QtRec::useTmpFile [private]
 

Definition at line 83 of file qtrec.h.

WavFile* QtRec::wavFile [protected]
 

Definition at line 150 of file qtrec.h.

Referenced by changeTimeSlider(), endRecording(), errorStop(), FastforwardPressed(), FastforwardReleased(), openPlayFile(), QtRec(), rec(), rewindPressed(), rewindReleased(), and setUpFile().


The documentation for this class was generated from the following files:
Generated on Sat Nov 5 17:49:53 2005 for OPIE by  doxygen 1.4.2