summaryrefslogtreecommitdiff
authorllornkcor <llornkcor>2003-04-27 13:28:37 (UTC)
committer llornkcor <llornkcor>2003-04-27 13:28:37 (UTC)
commit1d7eb1dd34ce10b01dddc65b3bfd34363969b987 (patch) (side-by-side diff)
treef00b7e2c8f14e0ceb0a7862955683f83aa22f5cc
parent6d032a24be12c13e10723dc27cbedc1a30628428 (diff)
downloadopie-1d7eb1dd34ce10b01dddc65b3bfd34363969b987.zip
opie-1d7eb1dd34ce10b01dddc65b3bfd34363969b987.tar.gz
opie-1d7eb1dd34ce10b01dddc65b3bfd34363969b987.tar.bz2
remove help tab
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/multimedia/opierec/qtrec.cpp78
1 files changed, 39 insertions, 39 deletions
diff --git a/noncore/multimedia/opierec/qtrec.cpp b/noncore/multimedia/opierec/qtrec.cpp
index 8a0f8db..28f6546 100644
--- a/noncore/multimedia/opierec/qtrec.cpp
+++ b/noncore/multimedia/opierec/qtrec.cpp
@@ -204,3 +204,3 @@ void quickRec() {
}
-
+
@@ -282,3 +282,3 @@ outbuffer[i]=inbuffer[i]>>1; // no clippy, please
}
-
+
@@ -292,3 +292,3 @@ outbuffer[i]=inbuffer[i]>>1; // no clippy, please
// qDebug("%d, %d", info.bytes, ( info.bytes / filePara.sampleRate) / 2);
-
+
filePara.numberOfRecordedSeconds = (float)total / (float)filePara.sampleRate / (float)2;
@@ -560,3 +560,3 @@ void QtRec::init() {
//#ifndef QT_QWS_VERCEL_IDR
- sampleRateComboBox->insertItem( tr( "16000"));
+ sampleRateComboBox->insertItem( tr( "16000"));
sampleRateComboBox->insertItem( tr( "11025"));
@@ -729,26 +729,26 @@ void QtRec::init() {
- tab_4 = new QWidget( TabWidget, "tab_4" );
- QGridLayout *layout4 = new QGridLayout( tab_4);
- layout4->setSpacing( 2);
- layout4->setMargin( 2);
- TabWidget->insertTab( tab_4, tr( "Help"));
-
- ///////////////////////////////////////////// FIXME change to a real helpfile path
- QString url="/index.html";
- HelpWindow *help = new HelpWindow( url, ".", tab_4, "opierec_help");
- layout4->addMultiCellWidget( help, 0, 1, 0, 1);
- if( !QFile(url).exists()) {
- help->hide();
- //help->showMaximized();
- QLabel *helpLabel;
- helpLabel = new QLabel( tab_4, "TimeLabel" );
- layout4->addMultiCellWidget( helpLabel, 0, 3, 0, 4 );
- 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>OpieRec</B> is copyright&copy; 2002 by"
- " L.J. Potter<br>llornkcor@handhelds.org<BR>"
- "and is licensed under the <B>QPL</B>");
- }
+// tab_4 = new QWidget( TabWidget, "tab_4" );
+// QGridLayout *layout4 = new QGridLayout( tab_4);
+// layout4->setSpacing( 2);
+// layout4->setMargin( 2);
+// TabWidget->insertTab( tab_4, tr( "Help"));
+
+// ///////////////////////////////////////////// FIXME change to a real helpfile path
+// QString url="/index.html";
+// HelpWindow *help = new HelpWindow( url, ".", tab_4, "opierec_help");
+// layout4->addMultiCellWidget( help, 0, 1, 0, 1);
+// if( !QFile(url).exists()) {
+// help->hide();
+// //help->showMaximized();
+// QLabel *helpLabel;
+// helpLabel = new QLabel( tab_4, "TimeLabel" );
+// layout4->addMultiCellWidget( helpLabel, 0, 3, 0, 4 );
+// 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>OpieRec</B> is copyright&copy; 2002 by"
+// " L.J. Potter<br>llornkcor@handhelds.org<BR>"
+// "and is licensed under the <B>QPL</B>");
+// }
///**********<<<<<<<<<<<<>>>>>>>>>>>>***************
@@ -850,3 +850,3 @@ void QtRec::initConfig() {
// temp = sizeLimitCombo->text(i);
-
+
// sizeLimitCombo->insertItem( QString::number(i*5)+tr(" secs"));
@@ -932,4 +932,4 @@ bool QtRec::rec() { //record
stopped=false;
-
- if( setupAudio( true))
+
+ if( setupAudio( true))
if(setUpFile()) {
@@ -1002,3 +1002,3 @@ bool QtRec::rec() { //record
// _exit( 0);
-
+
// ///* default:
@@ -1118,3 +1118,3 @@ bool QtRec::setupAudio( bool b) {
qDebug("device has been made %d", soundDevice->sd);
-
+
////////////////// <<<<<<<<<<<<>>>>>>>>>>>>
@@ -1124,3 +1124,3 @@ bool QtRec::setupAudio( bool b) {
soundDevice->getDeviceFragSize();
-#ifdef QT_QWS_EBX
+#ifdef QT_QWS_EBX
int frag = FRAGSIZE;
@@ -1128,3 +1128,3 @@ bool QtRec::setupAudio( bool b) {
soundDevice->getDeviceFragSize();
-#endif
+#endif
/////////////////
@@ -1353,3 +1353,3 @@ void QtRec::changesamplerateCombo(int i) {
soundDevice->openDsp();*/
-//
+//
// soundDevice->setDeviceFormat(AFMT_S16_LE);
@@ -1357,3 +1357,3 @@ void QtRec::changesamplerateCombo(int i) {
// soundDevice->setDeviceRate(filePara.sampleRate);
-//
+//
// soundDevice->closeDevice( true);
@@ -1991,3 +1991,3 @@ void QtRec::timerEvent( QTimerEvent *e ) {
msg.sprintf("%d, %d, %d", filePara.sampleRate, filePara.channels, filePara.resolution);
- setCaption( msg +" :: "+QString::number(secCount));
+ setCaption( msg +" :: "+QString::number(secCount));
#endif
@@ -2260,3 +2260,3 @@ long findPeak(long input ) {
output = output * scalar;
-//
+//
// When current gets close to 0.0, set current to 0.0 to prevent FP underflow