diff options
Diffstat (limited to 'src/soundkonverterapp.cpp')
-rwxr-xr-x | src/soundkonverterapp.cpp | 38 |
1 files changed, 19 insertions, 19 deletions
diff --git a/src/soundkonverterapp.cpp b/src/soundkonverterapp.cpp index 91ea877..79d7bfc 100755 --- a/src/soundkonverterapp.cpp +++ b/src/soundkonverterapp.cpp @@ -2,9 +2,9 @@ #include "soundkonverterapp.h" #include "soundkonverter.h" -#include <qstringlist.h> -#include <qfile.h> -#include <qmovie.h> +#include <tqstringlist.h> +#include <tqfile.h> +#include <tqmovie.h> #include <kglobal.h> #include <kstartupinfo.h> @@ -45,32 +45,32 @@ int soundKonverterApp::newInstance() else KStartupInfo::setNewStartupId( mainWidget(), kapp->startupId()); - soundKonverter *widget = ::qt_cast<soundKonverter*>( mainWidget() ); + soundKonverter *widget = ::tqqt_cast<soundKonverter*>( mainWidget() ); widget->increaseInstances(); - QCString notify = args->getOption( "command" ); - if( notify ) { + TQCString notify = args->getOption( "command" ); + if( !notify.isNull() ) { widget->setNotify( notify ); } - QCString profile = args->getOption( "profile" ); - if( profile ) { + TQCString profile = args->getOption( "profile" ); + if( !profile.isNull() ) { widget->profile = profile; } - QCString format = args->getOption( "format" ); - if( format ) { + TQCString format = args->getOption( "format" ); + if( !format.isNull() ) { widget->format = format; } - QCString directory = args->getOption( "output" ); - if( directory ) { + TQCString directory = args->getOption( "output" ); + if( !directory.isNull() ) { widget->directory = directory; } - QCString device = args->getOption( "rip" ); - if( device ) { + TQCString device = args->getOption( "rip" ); + if( !device.isNull() ) { if( !args->isSet( "invisible" ) ) { widget->visible = true; widget->show(); @@ -89,7 +89,7 @@ int soundKonverterApp::newInstance() widget->hide(); widget->systemTray->show(); KStandardDirs* stdDirs = new KStandardDirs(); - widget->systemTray->setMovie( QMovie(stdDirs->findResource("data","soundkonverter/pics/systray.mng")) ); + widget->systemTray->setMovie( TQMovie(stdDirs->findResource("data","soundkonverter/pics/systray.mng")) ); delete stdDirs; } else { @@ -101,7 +101,7 @@ int soundKonverterApp::newInstance() // add the files to the file lists depending on the used switch if( args->isSet( "replaygain" ) ) { - QStringList replayGainFiles; + TQStringList replayGainFiles; for( int i = 0; i < args->count(); i++ ) { replayGainFiles.append(KURL::encode_string(args->arg(i))); } @@ -109,15 +109,15 @@ int soundKonverterApp::newInstance() widget->openArgReplayGainFiles(replayGainFiles); } // else if( args->isSet( "repair" ) ) { -// QStringList repairFiles; +// TQStringList repairFiles; // for( int i = 0; i < args->count(); i++ ) { -// repairFiles.append(QFile::decodeName(args->arg(i))); +// repairFiles.append(TQFile::decodeName(args->arg(i))); // } // if(!repairFiles.isEmpty()) // widget->openArgRepairFiles(repairFiles); // } else { - QStringList files; + TQStringList files; for( int i = 0; i < args->count(); i++ ) { files.append(KURL::encode_string(args->arg(i))); |