From e654398e46e37abf457b2b1122ab898d2c51c49f Mon Sep 17 00:00:00 2001 From: tpearson Date: Sat, 31 Jul 2010 19:43:15 +0000 Subject: Trinity Qt initial conversion git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdemultimedia@1157644 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- krec/krecexport_wave.cpp | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) (limited to 'krec/krecexport_wave.cpp') diff --git a/krec/krecexport_wave.cpp b/krec/krecexport_wave.cpp index 80ea63d7..6224283e 100644 --- a/krec/krecexport_wave.cpp +++ b/krec/krecexport_wave.cpp @@ -18,15 +18,15 @@ #include #include -#include -#include +#include +#include #include K_EXPORT_COMPONENT_FACTORY( libkrecexport_wave, KGenericFactory ) KRecExport_Wave krecExportWave( 0 ); -KRecExport_Wave::KRecExport_Wave( QObject* p, const char* n, const QStringList& ) +KRecExport_Wave::KRecExport_Wave( TQObject* p, const char* n, const TQStringList& ) : KRecExportItem( p,n ) , _file( 0 ) { @@ -43,17 +43,17 @@ kdDebug( 60005 ) << k_funcinfo << endl; return new KRecExport_Wave( 0 ); } -QStringList KRecExport_Wave::extensions() { +TQStringList KRecExport_Wave::extensions() { //kdDebug( 60005 ) << k_funcinfo << endl; - QStringList tmp; + TQStringList tmp; tmp << "*.wav" << "*.WAV"; return tmp; } -bool KRecExport_Wave::initialize( const QString &filename ) { +bool KRecExport_Wave::initialize( const TQString &filename ) { kdDebug( 60005 ) << k_funcinfo << endl; if ( !_file ) { - _file = new QFile( filename ); + _file = new TQFile( filename ); if ( _file->open( IO_Raw|IO_WriteOnly ) ) { /// Write an empty Wave-header... for ( int i=0; i<44; i++ ) @@ -66,10 +66,10 @@ bool KRecExport_Wave::process() { //kdDebug( 60005 ) << k_funcinfo << running << endl; if ( _file ) { if ( running() ) { - QByteArray bytearray( 4096 ); + TQByteArray bytearray( 4096 ); emit getData( bytearray ); _file->writeBlock( bytearray ); - QTimer::singleShot( 10, this, SLOT( process() ) ); + TQTimer::singleShot( 10, this, TQT_SLOT( process() ) ); } return true; } else return false; -- cgit v1.2.1