-rw-r--r-- | noncore/multimedia/opierec/qtrec.cpp | 54 | ||||
-rw-r--r-- | noncore/multimedia/opierec/wavFile.cpp | 2 |
2 files changed, 28 insertions, 28 deletions
diff --git a/noncore/multimedia/opierec/qtrec.cpp b/noncore/multimedia/opierec/qtrec.cpp index 4223d93..8a0f8db 100644 --- a/noncore/multimedia/opierec/qtrec.cpp +++ b/noncore/multimedia/opierec/qtrec.cpp @@ -379,5 +379,5 @@ QtRec::QtRec( QWidget* parent, const char* name, WFlags fl ) if ( !name ) - setName( "QpeRec" ); + setName( "OpieRec" ); init(); initConfig(); @@ -441,5 +441,5 @@ void QtRec::init() { stopped=true; - setCaption( tr( "QpeRecord " ) + QString::number(VERSION) ); + setCaption( tr( "OpieRecord " ) + QString::number(VERSION) ); QGridLayout *layout = new QGridLayout( this ); layout->setSpacing( 2); @@ -736,5 +736,5 @@ void QtRec::init() { ///////////////////////////////////////////// FIXME change to a real helpfile path QString url="/index.html"; - HelpWindow *help = new HelpWindow( url, ".", tab_4, "qperec_help"); + HelpWindow *help = new HelpWindow( url, ".", tab_4, "opierec_help"); layout4->addMultiCellWidget( help, 0, 1, 0, 1); if( !QFile(url).exists()) { @@ -744,9 +744,9 @@ void QtRec::init() { helpLabel = new QLabel( tab_4, "TimeLabel" ); layout4->addMultiCellWidget( helpLabel, 0, 3, 0, 4 ); - helpLabel->setText( "<B>QpeRec</B><br>" + helpLabel->setText( "<B>OpieRec</B><br>" "Records files in standard wav format<br>" "or a compressed version<br>" "For help, please email the author<br>" - "<B>QpeRec</B> is copyright© 2002 by" + "<B>OpieRec</B> is copyright© 2002 by" " L.J. Potter<br>llornkcor@handhelds.org<BR>" "and is licensed under the <B>QPL</B>"); @@ -759,5 +759,5 @@ void QtRec::initIconView() { ListView1->clear(); - Config cfg("QpeRec"); + Config cfg("OpieRec"); cfg.setGroup("Sounds"); QString temp; @@ -824,5 +824,5 @@ void QtRec::initConnections() { void QtRec::initConfig() { int index, fred, i; - Config cfg("QpeRec"); + Config cfg("OpieRec"); cfg.setGroup("Settings"); @@ -936,5 +936,5 @@ bool QtRec::rec() { //record qDebug("Ok to start recording"); int fileSize=0; - Config cfg("QpeRec"); + Config cfg("OpieRec"); cfg.setGroup("Settings"); qDebug( "<<<<<<<Device bits %d, device rate %d, device channels %d", @@ -1136,5 +1136,5 @@ bool QtRec::setupAudio( bool b) { stopped=true; update(); - setCaption( tr( "QpeRecord " ) + QString::number(VERSION) ); + setCaption( tr( "OpieRecord " ) + QString::number(VERSION) ); stopped=true; return false; @@ -1332,5 +1332,5 @@ bool QtRec::doPlay() { void QtRec::changebitrateCombo(int i) { - Config cfg("QpeRec"); + Config cfg("OpieRec"); cfg.setGroup("Settings"); int bits=0; @@ -1343,5 +1343,5 @@ void QtRec::changebitrateCombo(int i) { void QtRec::changesamplerateCombo(int i) { - Config cfg("QpeRec"); + Config cfg("OpieRec"); cfg.setGroup("Settings"); int rate=0; @@ -1367,5 +1367,5 @@ void QtRec::changesamplerateCombo(int i) { void QtRec::changeDirCombo(int index) { - Config cfg("QpeRec"); + Config cfg("OpieRec"); cfg.setGroup("Settings"); QString sName = directoryComboBox->text(index); @@ -1389,5 +1389,5 @@ void QtRec::changeDirCombo(int index) { void QtRec::changeSizeLimitCombo(int) { - Config cfg("QpeRec"); + Config cfg("OpieRec"); cfg.setGroup("Settings"); cfg.writeEntry("sizeLimit", getCurrentSizeLimit() ); @@ -1408,9 +1408,9 @@ void QtRec::newSound() { void QtRec::itClick(QListViewItem *item) { currentFile=item->text(0); - setCaption("QpeRecord "+currentFile); + setCaption("OpieRecord "+currentFile); } void QtRec::deleteSound() { - Config cfg("QpeRec"); + Config cfg("OpieRec"); cfg.setGroup("Sounds"); if( ListView1->currentItem() == NULL) @@ -1465,5 +1465,5 @@ void QtRec::deleteSound() { }; #endif - setCaption( tr( "QpeRecord " ) + QString::number(VERSION) ); + setCaption( tr( "OpieRecord " ) + QString::number(VERSION) ); } @@ -1639,5 +1639,5 @@ void QtRec::endRecording() { qDebug("Just moved "+wavFile->currentFileName); - Config cfg("QpeRec"); + Config cfg("OpieRec"); cfg.setGroup("Sounds"); @@ -1705,10 +1705,10 @@ bool QtRec::openPlayFile() { qApp->processEvents(); if( currentFile.isEmpty()) { - QMessageBox::message(tr("Qperec"),tr("Please select file to play")); + QMessageBox::message(tr("Opierec"),tr("Please select file to play")); endPlaying(); return false; } QString currentFileName; - Config cfg("QpeRec"); + Config cfg("OpieRec"); cfg.setGroup("Sounds"); int nFiles = cfg.readNumEntry("NumberofFiles",0); @@ -1727,5 +1727,5 @@ bool QtRec::openPlayFile() { QString errorMsg=(QString)strerror(errno); monitoring=false; - setCaption( tr( "QpeRecord " ) + QString::number(VERSION) ); + setCaption( tr( "OpieRecord " ) + QString::number(VERSION) ); QMessageBox::message(tr("Note"),tr("Could not open audio file.\n") +errorMsg+"\n"+currentFile); @@ -1755,5 +1755,5 @@ void QtRec::listPressed( int mouse, QListViewItem *item, const QPoint &, int ) { currentFile=item->text(0); - setCaption( "QpeRecord "+currentFile); + setCaption( "OpieRecord "+currentFile); } break; @@ -1794,5 +1794,5 @@ void QtRec::doBeam() { if( ir.supported()) { QString file = ListView1->currentItem()->text(0); - Config cfg("QpeRec"); + Config cfg("OpieRec"); cfg.setGroup("Sounds"); @@ -1804,5 +1804,5 @@ void QtRec::doBeam() { Ir *file = new Ir(this, "IR"); connect(file, SIGNAL(done(Ir*)), this, SLOT( fileBeamFinished( Ir * ))); - file->send( filePath, "QpeRec audio file\n"+filePath ); + file->send( filePath, "OPieRec audio file\n"+filePath ); } } @@ -1846,5 +1846,5 @@ void QtRec::okRename() { return; - Config cfg("QpeRec"); + Config cfg("OpieRec"); cfg.setGroup("Sounds"); @@ -1933,5 +1933,5 @@ void QtRec::doMicMuting(bool b) { void QtRec::compressionSelected(bool b) { - Config cfg("QpeRec"); + Config cfg("OpieRec"); cfg.setGroup("Settings"); cfg.writeEntry("wavCompression", b); @@ -2194,5 +2194,5 @@ void QtRec::fillDirectoryCombo() { directoryComboBox->clear(); int index=0; - Config cfg("QpeRec"); + Config cfg("OpieRec"); cfg.setGroup("Settings"); QString dir= cfg.readEntry("directory", "/"); @@ -2225,5 +2225,5 @@ void QtRec::doMute(bool b) { void QtRec::slotAutoMute(bool b) { autoMute=b; - Config cfg("QpeRec"); + Config cfg("OpieRec"); cfg.setGroup("Settings"); cfg.writeEntry("useAutoMute",b); diff --git a/noncore/multimedia/opierec/wavFile.cpp b/noncore/multimedia/opierec/wavFile.cpp index 09695aa..0bb5736 100644 --- a/noncore/multimedia/opierec/wavFile.cpp +++ b/noncore/multimedia/opierec/wavFile.cpp @@ -45,5 +45,5 @@ bool WavFile::newFile() { qDebug("Set up new file"); - Config cfg("QpeRec"); + Config cfg("OpieRec"); cfg.setGroup("Settings"); |