-rw-r--r-- | noncore/multimedia/opierec/qtrec.cpp | 48 |
1 files changed, 24 insertions, 24 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 @@ -706,72 +706,72 @@ void QtRec::init() { // OutputSlider->setTickmarks(QSlider::Both); Layout15b->addWidget( OutputSlider ); outMuteCheckBox = new QCheckBox ( "mute", tab_3 ); Layout15->addWidget( outMuteCheckBox ); inMuteCheckBox = new QCheckBox ( "mute", tab_3 ); inMuteCheckBox-> setFocusPolicy ( QWidget::NoFocus ); Layout15b->addWidget( inMuteCheckBox ); Layout19->addLayout( Layout15 ); Layout19->addLayout( Layout15b ); fillDirectoryCombo(); TabWidget->insertTab( tab_3, tr( "Options" ) ); } ///**********<<<<<<<<<<<<>>>>>>>>>>>>*************** - 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© 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© 2002 by" +// " L.J. Potter<br>llornkcor@handhelds.org<BR>" +// "and is licensed under the <B>QPL</B>"); +// } ///**********<<<<<<<<<<<<>>>>>>>>>>>>*************** } void QtRec::initIconView() { ListView1->clear(); Config cfg("OpieRec"); cfg.setGroup("Sounds"); QString temp; QPixmap image0( ( const char** ) image0_data ); int nFiles = cfg.readNumEntry("NumberofFiles",0); for(int i=1;i<= nFiles;i++) { QListViewItem * item; QString fileS, mediaLocation, fileDate, filePath; // temp.sprintf("%d",i); temp=cfg.readEntry(temp,""); //reads currentFile filePath = cfg.readEntry(temp,""); //currentFileName QFileInfo info(filePath); |