[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-devel
Subject:    qt newbie
From:       pat knoob <pknoob () yahoo ! com>
Date:       2003-02-26 17:44:35
[Download RAW message or body]

I would like to use oggenc.
 I have a qfiledialogue to select a wav file and
display it in a klineedit and a button to encode that
file.
 
 this is the slot used by the first button to browse
and connect to the klineedit:
 
 void myapp::selectFile()
 {
 QString chosen = QFileDialog::getOpenFileName
(QString::null, "Wav files(*.wav)", this );
 if (chosen != "") { 
 kLineEdit1->setText (chosen);
 }
 }
 
 /* this is the second slot for the encode button
 I want to use to encode:*/
 void myapp::encodeFile()
 { /*here I would like to use the command line "oggenc
selected_file_from_KLineEdit1.wav"
 
 }
 if u could help me filling that encodeFile() slot or
u know any tutorial...

 thanx in advance

 

__________________________________________________
Do you Yahoo!?
Yahoo! Tax Center - forms, calculators, tips, more
http://taxes.yahoo.com/
 
>> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic