Rename KCModule, KConfig, KIO, KServer, and KSocket to avoid conflicts with KDE4

pull/1/head
Timothy Pearson 12 years ago
parent bece9aa3ad
commit 87e49a06e2

@ -58,7 +58,7 @@ void Config::read()
loadPlugins(); loadPlugins();
readProfiles(); readProfiles();
KConfig *conf = kapp->config(); TDEConfig *conf = kapp->config();
TQStringList listDefaults; TQStringList listDefaults;
int intDefault; int intDefault;
bool boolDefault; bool boolDefault;
@ -266,7 +266,7 @@ void Config::write( bool sync )
writeServiceMenu(); writeServiceMenu();
writeAmarokScript(); writeAmarokScript();
KConfig *conf = kapp->config(); TDEConfig *conf = kapp->config();
conf->setGroup( "Ripper" ); conf->setGroup( "Ripper" );
conf->writeEntry( "ripper", (currentRipper)?currentRipper->rip.bin:"kio_audiocd" ); conf->writeEntry( "ripper", (currentRipper)?currentRipper->rip.bin:"kio_audiocd" );
@ -640,10 +640,10 @@ void Config::writeAmarokScript()
KStandardDirs* stdDirs = new KStandardDirs(); KStandardDirs* stdDirs = new KStandardDirs();
if( !TQFile::exists(locateLocal("data","amarok/scripts/soundKonverter/soundKonverter.rb")) ) { if( !TQFile::exists(locateLocal("data","amarok/scripts/soundKonverter/soundKonverter.rb")) ) {
KIO::NetAccess::file_copy( stdDirs->findResource("data","soundkonverter/amarokscript/soundKonverter.rb"), locateLocal("data","amarok/scripts/soundKonverter/soundKonverter.rb"), 0755, true ); TDEIO::NetAccess::file_copy( stdDirs->findResource("data","soundkonverter/amarokscript/soundKonverter.rb"), locateLocal("data","amarok/scripts/soundKonverter/soundKonverter.rb"), 0755, true );
} }
if( !TQFile::exists(locateLocal("data","amarok/scripts/soundKonverter/README")) ) { if( !TQFile::exists(locateLocal("data","amarok/scripts/soundKonverter/README")) ) {
KIO::NetAccess::file_copy( stdDirs->findResource("data","soundkonverter/amarokscript/README"), locateLocal("data","amarok/scripts/soundKonverter/README"), -1, true ); TDEIO::NetAccess::file_copy( stdDirs->findResource("data","soundkonverter/amarokscript/README"), locateLocal("data","amarok/scripts/soundKonverter/README"), -1, true );
} }
delete stdDirs; delete stdDirs;
} }

@ -230,14 +230,14 @@ void ConfigPluginsPage::getPlugin()
TQString filePathName = KURL::decode_string( url ); TQString filePathName = KURL::decode_string( url );
TQString fileName = filePathName.right( filePathName.length() - filePathName.findRev("/") ); TQString fileName = filePathName.right( filePathName.length() - filePathName.findRev("/") );
getPluginFilePathName = locateLocal("data","soundkonverter/plugins/") + fileName; getPluginFilePathName = locateLocal("data","soundkonverter/plugins/") + fileName;
getPluginJob = KIO::file_copy( url, getPluginFilePathName, -1, true, false, false ); getPluginJob = TDEIO::file_copy( url, getPluginFilePathName, -1, true, false, false );
connect( getPluginJob, TQT_SIGNAL(result(KIO::Job*)), connect( getPluginJob, TQT_SIGNAL(result(TDEIO::Job*)),
this, TQT_SLOT(getPluginFinished(KIO::Job*)) this, TQT_SLOT(getPluginFinished(TDEIO::Job*))
); );
} }
} }
void ConfigPluginsPage::getPluginFinished( KIO::Job* job ) void ConfigPluginsPage::getPluginFinished( TDEIO::Job* job )
{ {
if( job->error() == 0 ) { if( job->error() == 0 ) {
ConvertPluginLoader* convertPluginLoader = new ConvertPluginLoader(); ConvertPluginLoader* convertPluginLoader = new ConvertPluginLoader();
@ -248,7 +248,7 @@ void ConfigPluginsPage::getPluginFinished( KIO::Job* job )
replaygainPluginLoader->verifyFile(getPluginFilePathName) == -1 && replaygainPluginLoader->verifyFile(getPluginFilePathName) == -1 &&
ripperPluginLoader->verifyFile(getPluginFilePathName) == -1 ) ripperPluginLoader->verifyFile(getPluginFilePathName) == -1 )
{ {
KIO::del( getPluginFilePathName, false, false ); TDEIO::del( getPluginFilePathName, false, false );
KMessageBox::error( this, KMessageBox::error( this,
i18n("The plugin could not be installed. Please ensure that you have selected a valid soundKonverter plugin file."), i18n("The plugin could not be installed. Please ensure that you have selected a valid soundKonverter plugin file."),
i18n("Error while installing plugin") ); i18n("Error while installing plugin") );
@ -428,14 +428,14 @@ void ConfigPluginsPage::refreshOnlinePlugins()
{ {
pRefreshOnlinePlugins->setEnabled( false ); pRefreshOnlinePlugins->setEnabled( false );
refreshOnlinePluginsJob = KIO::file_copy( "http://kaligames.de/downloads/soundkonverter/plugins/download.php?version=" + TQString::number(config->data.app.configVersion), refreshOnlinePluginsJob = TDEIO::file_copy( "http://kaligames.de/downloads/soundkonverter/plugins/download.php?version=" + TQString::number(config->data.app.configVersion),
locateLocal("data","soundkonverter/pluginlist.txt"), -1, true, false, false ); locateLocal("data","soundkonverter/pluginlist.txt"), -1, true, false, false );
connect( refreshOnlinePluginsJob, TQT_SIGNAL(result(KIO::Job*)), connect( refreshOnlinePluginsJob, TQT_SIGNAL(result(TDEIO::Job*)),
this, TQT_SLOT(refreshOnlinePluginsFinished(KIO::Job*)) this, TQT_SLOT(refreshOnlinePluginsFinished(TDEIO::Job*))
); );
} }
void ConfigPluginsPage::refreshOnlinePluginsFinished( KIO::Job* job ) void ConfigPluginsPage::refreshOnlinePluginsFinished( TDEIO::Job* job )
{ {
if( job->error() == 0 ) { if( job->error() == 0 ) {
lOnlinePlugins->clear(); lOnlinePlugins->clear();
@ -503,14 +503,14 @@ void ConfigPluginsPage::getOnlinePlugin()
name.replace( "Ü", "Ü" ); name.replace( "Ü", "Ü" );
name.replace( "ß", "ß" ); name.replace( "ß", "ß" );
KURL::encode_string( name ); KURL::encode_string( name );
getOnlinePluginJob = KIO::file_copy( "http://kaligames.de/downloads/soundkonverter/plugins/getfile.php?version=" + TQString::number(config->data.app.configVersion) + "&file=" + name, getOnlinePluginJob = TDEIO::file_copy( "http://kaligames.de/downloads/soundkonverter/plugins/getfile.php?version=" + TQString::number(config->data.app.configVersion) + "&file=" + name,
locateLocal("data","soundkonverter/plugins/newplugin.xml"), -1, true, false, false ); locateLocal("data","soundkonverter/plugins/newplugin.xml"), -1, true, false, false );
connect( getOnlinePluginJob, TQT_SIGNAL(result(KIO::Job*)), connect( getOnlinePluginJob, TQT_SIGNAL(result(TDEIO::Job*)),
this, TQT_SLOT(getOnlinePluginFinished(KIO::Job*)) this, TQT_SLOT(getOnlinePluginFinished(TDEIO::Job*))
); );
} }
void ConfigPluginsPage::getOnlinePluginFinished( KIO::Job* job ) void ConfigPluginsPage::getOnlinePluginFinished( TDEIO::Job* job )
{ {
if( job->error() == 0 ) { if( job->error() == 0 ) {
TQString name; TQString name;
@ -541,7 +541,7 @@ void ConfigPluginsPage::getOnlinePluginFinished( KIO::Job* job )
replaygainPluginLoader->verifyFile(getPluginFilePathName) == -1 && replaygainPluginLoader->verifyFile(getPluginFilePathName) == -1 &&
ripperPluginLoader->verifyFile(getPluginFilePathName) == -1 ) ripperPluginLoader->verifyFile(getPluginFilePathName) == -1 )
{ {
KIO::del( getPluginFilePathName, false, false ); TDEIO::del( getPluginFilePathName, false, false );
KMessageBox::error( this, KMessageBox::error( this,
i18n("The plugin could not be installed. Please ensure that you have selected a valid soundKonverter plugin file."), i18n("The plugin could not be installed. Please ensure that you have selected a valid soundKonverter plugin file."),
i18n("Error while installing plugin") ); i18n("Error while installing plugin") );
@ -602,14 +602,14 @@ void ConfigPluginsPage::aboutOnlinePlugin()
name.replace( "Ü", "Ü" ); name.replace( "Ü", "Ü" );
name.replace( "ß", "ß" ); name.replace( "ß", "ß" );
KURL::encode_string( name ); KURL::encode_string( name );
aboutOnlinePluginJob = KIO::file_copy( "http://kaligames.de/downloads/soundkonverter/plugins/info.php?file=" + name + "&lang=" + TQLocale::languageToString(TQLocale::system().language()), aboutOnlinePluginJob = TDEIO::file_copy( "http://kaligames.de/downloads/soundkonverter/plugins/info.php?file=" + name + "&lang=" + TQLocale::languageToString(TQLocale::system().language()),
locateLocal("data","soundkonverter/plugin_info.txt"), -1, true, false, false ); locateLocal("data","soundkonverter/plugin_info.txt"), -1, true, false, false );
connect( aboutOnlinePluginJob, TQT_SIGNAL(result(KIO::Job*)), connect( aboutOnlinePluginJob, TQT_SIGNAL(result(TDEIO::Job*)),
this, TQT_SLOT(aboutOnlinePluginFinished(KIO::Job*)) this, TQT_SLOT(aboutOnlinePluginFinished(TDEIO::Job*))
); );
} }
void ConfigPluginsPage::aboutOnlinePluginFinished( KIO::Job* job ) void ConfigPluginsPage::aboutOnlinePluginFinished( TDEIO::Job* job )
{ {
if( job->error() == 0 ) { if( job->error() == 0 ) {
TQString name = lOnlinePlugins->currentText(); TQString name = lOnlinePlugins->currentText();

@ -34,17 +34,17 @@ public:
private: private:
KListBox* lPlugins; KListBox* lPlugins;
KPushButton* pAddPlugin; KPushButton* pAddPlugin;
KIO::FileCopyJob* getPluginJob; TDEIO::FileCopyJob* getPluginJob;
KPushButton* pRemovePlugin; KPushButton* pRemovePlugin;
KPushButton* pAboutPlugin; KPushButton* pAboutPlugin;
KListBox* lOnlinePlugins; KListBox* lOnlinePlugins;
KPushButton* pRefreshOnlinePlugins; KPushButton* pRefreshOnlinePlugins;
KIO::FileCopyJob* refreshOnlinePluginsJob; TDEIO::FileCopyJob* refreshOnlinePluginsJob;
KPushButton* pInstallOnlinePlugin; KPushButton* pInstallOnlinePlugin;
KIO::FileCopyJob* getOnlinePluginJob; TDEIO::FileCopyJob* getOnlinePluginJob;
KPushButton* pUpgradeOnlinePlugins; KPushButton* pUpgradeOnlinePlugins;
KPushButton* pAboutOnlinePlugin; KPushButton* pAboutOnlinePlugin;
KIO::FileCopyJob* aboutOnlinePluginJob; TDEIO::FileCopyJob* aboutOnlinePluginJob;
TQCheckBox* cCheckOnlinePlugins; TQCheckBox* cCheckOnlinePlugins;
TQString getPluginFilePathName; TQString getPluginFilePathName;
@ -65,17 +65,17 @@ private slots:
void pluginsSelectionChanged( int ); void pluginsSelectionChanged( int );
void refreshPlugins(); void refreshPlugins();
void getPlugin(); void getPlugin();
void getPluginFinished( KIO::Job* ); void getPluginFinished( TDEIO::Job* );
void removePlugin(); void removePlugin();
void aboutPlugin(); void aboutPlugin();
void onlinePluginsSelectionChanged( int ); void onlinePluginsSelectionChanged( int );
void refreshOnlinePlugins(); void refreshOnlinePlugins();
void refreshOnlinePluginsFinished( KIO::Job* ); void refreshOnlinePluginsFinished( TDEIO::Job* );
void getOnlinePlugin(); void getOnlinePlugin();
void getOnlinePluginFinished( KIO::Job* ); void getOnlinePluginFinished( TDEIO::Job* );
void aboutOnlinePlugin(); void aboutOnlinePlugin();
void aboutOnlinePluginFinished( KIO::Job* ); void aboutOnlinePluginFinished( TDEIO::Job* );
}; };

@ -101,12 +101,12 @@ void Convert::get( ConvertItem* item )
item->convertProcess->start( TDEProcess::NotifyOnExit, TDEProcess::AllOutput ); item->convertProcess->start( TDEProcess::NotifyOnExit, TDEProcess::AllOutput );
} }
else { else {
item->moveJob = new KIO::FileCopyJob( source, destination, -1, false, true, false, false ); item->moveJob = new TDEIO::FileCopyJob( source, destination, -1, false, true, false, false );
connect( item->moveJob, TQT_SIGNAL(percent(KIO::Job*,unsigned long)), connect( item->moveJob, TQT_SIGNAL(percent(TDEIO::Job*,unsigned long)),
this, TQT_SLOT(moveProgress(KIO::Job*,unsigned long)) this, TQT_SLOT(moveProgress(TDEIO::Job*,unsigned long))
); );
connect( item->moveJob, TQT_SIGNAL(result(KIO::Job*)), connect( item->moveJob, TQT_SIGNAL(result(TDEIO::Job*)),
this, TQT_SLOT(moveFinished(KIO::Job*)) this, TQT_SLOT(moveFinished(TDEIO::Job*))
); );
} }
} }
@ -142,12 +142,12 @@ void Convert::getCorrection( ConvertItem* item )
item->convertProcess->start( TDEProcess::NotifyOnExit, TDEProcess::AllOutput ); item->convertProcess->start( TDEProcess::NotifyOnExit, TDEProcess::AllOutput );
} }
else { else {
item->moveJob = new KIO::FileCopyJob( source, destination, -1, false, true, false, false ); item->moveJob = new TDEIO::FileCopyJob( source, destination, -1, false, true, false, false );
connect( item->moveJob, TQT_SIGNAL(percent(KIO::Job*,unsigned long)), connect( item->moveJob, TQT_SIGNAL(percent(TDEIO::Job*,unsigned long)),
this, TQT_SLOT(moveProgress(KIO::Job*,unsigned long)) this, TQT_SLOT(moveProgress(TDEIO::Job*,unsigned long))
); );
connect( item->moveJob, TQT_SIGNAL(result(KIO::Job*)), connect( item->moveJob, TQT_SIGNAL(result(TDEIO::Job*)),
this, TQT_SLOT(moveFinished(KIO::Job*)) this, TQT_SLOT(moveFinished(TDEIO::Job*))
); );
} }
} }
@ -190,12 +190,12 @@ void Convert::rip( ConvertItem* item )
item->fileListItem->setText( fileList->columnByName(i18n("State")), i18n("Ripping")+"... 00 %" ); item->fileListItem->setText( fileList->columnByName(i18n("State")), i18n("Ripping")+"... 00 %" );
item->fileListItem->ripping = true; item->fileListItem->ripping = true;
item->moveJob = new KIO::FileCopyJob( source, dest, -1, false, true, false, false ); item->moveJob = new TDEIO::FileCopyJob( source, dest, -1, false, true, false, false );
connect( item->moveJob, TQT_SIGNAL(percent(KIO::Job*,unsigned long)), connect( item->moveJob, TQT_SIGNAL(percent(TDEIO::Job*,unsigned long)),
this, TQT_SLOT(moveProgress(KIO::Job*,unsigned long)) this, TQT_SLOT(moveProgress(TDEIO::Job*,unsigned long))
); );
connect( item->moveJob, TQT_SIGNAL(result(KIO::Job*)), connect( item->moveJob, TQT_SIGNAL(result(TDEIO::Job*)),
this, TQT_SLOT(moveFinished(KIO::Job*)) this, TQT_SLOT(moveFinished(TDEIO::Job*))
); );
} }
else { else {
@ -634,12 +634,12 @@ void Convert::put( ConvertItem* item )
item->convertProcess->start( TDEProcess::NotifyOnExit, TDEProcess::AllOutput ); item->convertProcess->start( TDEProcess::NotifyOnExit, TDEProcess::AllOutput );
} }
else { else {
item->moveJob = new KIO::FileCopyJob( source, destination, -1, false, false, false, false ); item->moveJob = new TDEIO::FileCopyJob( source, destination, -1, false, false, false, false );
connect( item->moveJob, TQT_SIGNAL(percent(KIO::Job*,unsigned long)), connect( item->moveJob, TQT_SIGNAL(percent(TDEIO::Job*,unsigned long)),
this, TQT_SLOT(moveProgress(KIO::Job*,unsigned long)) this, TQT_SLOT(moveProgress(TDEIO::Job*,unsigned long))
); );
connect( item->moveJob, TQT_SIGNAL(result(KIO::Job*)), connect( item->moveJob, TQT_SIGNAL(result(TDEIO::Job*)),
this, TQT_SLOT(moveFinished(KIO::Job*)) this, TQT_SLOT(moveFinished(TDEIO::Job*))
); );
} }
} }
@ -673,12 +673,12 @@ void Convert::putCorrection( ConvertItem* item )
item->convertProcess->start( TDEProcess::NotifyOnExit, TDEProcess::AllOutput ); item->convertProcess->start( TDEProcess::NotifyOnExit, TDEProcess::AllOutput );
} }
else { else {
item->moveJob = new KIO::FileCopyJob( source, destination, -1, false, false, false, false ); item->moveJob = new TDEIO::FileCopyJob( source, destination, -1, false, false, false, false );
connect( item->moveJob, TQT_SIGNAL(percent(KIO::Job*,unsigned long)), connect( item->moveJob, TQT_SIGNAL(percent(TDEIO::Job*,unsigned long)),
this, TQT_SLOT(moveProgress(KIO::Job*,unsigned long)) this, TQT_SLOT(moveProgress(TDEIO::Job*,unsigned long))
); );
connect( item->moveJob, TQT_SIGNAL(result(KIO::Job*)), connect( item->moveJob, TQT_SIGNAL(result(TDEIO::Job*)),
this, TQT_SLOT(moveFinished(KIO::Job*)) this, TQT_SLOT(moveFinished(TDEIO::Job*))
); );
} }
} }
@ -830,7 +830,7 @@ void Convert::executeNextStep( ConvertItem* item )
} }
} }
void Convert::moveProgress( KIO::Job* job, unsigned long percent ) void Convert::moveProgress( TDEIO::Job* job, unsigned long percent )
{ {
// search the item list for our item // search the item list for our item
for( TQValueList<ConvertItem*>::Iterator item = items.begin(); item != items.end(); item++ ) { for( TQValueList<ConvertItem*>::Iterator item = items.begin(); item != items.end(); item++ ) {
@ -840,7 +840,7 @@ void Convert::moveProgress( KIO::Job* job, unsigned long percent )
} }
} }
void Convert::moveFinished( KIO::Job* job ) void Convert::moveFinished( TDEIO::Job* job )
{ {
// search the item list for our item // search the item list for our item
for( TQValueList<ConvertItem*>::Iterator item = items.begin(); item != items.end(); item++ ) { for( TQValueList<ConvertItem*>::Iterator item = items.begin(); item != items.end(); item++ ) {

@ -69,7 +69,7 @@ public:
/** if we need to encode, decode, etc. here we have our processes */ /** if we need to encode, decode, etc. here we have our processes */
TDEProcess* convertProcess; TDEProcess* convertProcess;
/** for moving the file to the temporary or output directory */ /** for moving the file to the temporary or output directory */
KIO::Job* moveJob; TDEIO::Job* moveJob;
KTempFile* tempInFile; KTempFile* tempInFile;
KTempFile* tempWavFile; KTempFile* tempWavFile;
@ -213,13 +213,13 @@ private slots:
* The file is being moved * The file is being moved
* @p job The pinter to the job * @p job The pinter to the job
*/ */
void moveProgress( KIO::Job* job, unsigned long percent ); void moveProgress( TDEIO::Job* job, unsigned long percent );
/** /**
* The file has been moved * The file has been moved
* @p job The pinter to the job * @p job The pinter to the job
*/ */
void moveFinished( KIO::Job* job ); void moveFinished( TDEIO::Job* job );
/** /**
* Get the process' output * Get the process' output

@ -143,10 +143,10 @@ Options::Options( Config* _config, const TQString &text, TQWidget *parent, const
/* NOTE kaligames.de is down /* NOTE kaligames.de is down
if( config->data.plugins.checkForUpdates ) { if( config->data.plugins.checkForUpdates ) {
config->onlinePluginsChanged = false; config->onlinePluginsChanged = false;
getPluginListJob = KIO::file_copy("http://kaligames.de/downloads/soundkonverter/plugins/download.php?version=" + TQString::number(config->data.app.configVersion), getPluginListJob = TDEIO::file_copy("http://kaligames.de/downloads/soundkonverter/plugins/download.php?version=" + TQString::number(config->data.app.configVersion),
locateLocal("data","soundkonverter/pluginlist_new.txt"), -1, true, false, false ); locateLocal("data","soundkonverter/pluginlist_new.txt"), -1, true, false, false );
connect( getPluginListJob, TQT_SIGNAL(result(KIO::Job*)), connect( getPluginListJob, TQT_SIGNAL(result(TDEIO::Job*)),
this, TQT_SLOT(getPluginListFinished(KIO::Job*)) this, TQT_SLOT(getPluginListFinished(TDEIO::Job*))
); );
} }
*/ */
@ -162,7 +162,7 @@ Options::Options( Config* _config, const TQString &text, TQWidget *parent, const
Options::~Options() Options::~Options()
{} {}
// void Options::getPluginListFinished( KIO::Job* job ) // void Options::getPluginListFinished( TDEIO::Job* job )
// { // {
// if( job->error() == 0 ) { // if( job->error() == 0 ) {
// TQFile file( locateLocal("data","soundkonverter/pluginlist.txt") ); // TQFile file( locateLocal("data","soundkonverter/pluginlist.txt") );
@ -170,7 +170,7 @@ Options::~Options()
// //
// if( !file.exists() ) { // TODO check against the installed plugins // if( !file.exists() ) { // TODO check against the installed plugins
// pPluginsNotify->show(); // pPluginsNotify->show();
// KIO::file_move( locateLocal("data","soundkonverter/pluginlist_new.txt"), locateLocal("data","soundkonverter/pluginlist.txt"), -1, true, false, false ); // TDEIO::file_move( locateLocal("data","soundkonverter/pluginlist_new.txt"), locateLocal("data","soundkonverter/pluginlist.txt"), -1, true, false, false );
// config->onlinePluginsChanged = true; // config->onlinePluginsChanged = true;
// return; // return;
// } // }
@ -183,7 +183,7 @@ Options::~Options()
// file.close(); // file.close();
// newFile.close(); // newFile.close();
// pPluginsNotify->show(); // pPluginsNotify->show();
// KIO::file_move( locateLocal("data","soundkonverter/pluginlist_new.txt"), locateLocal("data","soundkonverter/pluginlist.txt"), -1, true, false, false ); // TDEIO::file_move( locateLocal("data","soundkonverter/pluginlist_new.txt"), locateLocal("data","soundkonverter/pluginlist.txt"), -1, true, false, false );
// config->onlinePluginsChanged = true; // config->onlinePluginsChanged = true;
// return; // return;
// } // }
@ -192,7 +192,7 @@ Options::~Options()
// file.close(); // file.close();
// newFile.close(); // newFile.close();
// pPluginsNotify->show(); // pPluginsNotify->show();
// KIO::file_move( locateLocal("data","soundkonverter/pluginlist_new.txt"), locateLocal("data","soundkonverter/pluginlist.txt"), -1, true, false, false ); // TDEIO::file_move( locateLocal("data","soundkonverter/pluginlist_new.txt"), locateLocal("data","soundkonverter/pluginlist.txt"), -1, true, false, false );
// config->onlinePluginsChanged = true; // config->onlinePluginsChanged = true;
// return; // return;
// } // }

@ -102,7 +102,7 @@ private:
Config *config; Config *config;
KIO::FileCopyJob* getPluginListJob; TDEIO::FileCopyJob* getPluginListJob;
// /** Copy all options from the detailed tab to the simple tab / find the matching profile */ // /** Copy all options from the detailed tab to the simple tab / find the matching profile */
//void updateSimpleTab(); //void updateSimpleTab();
@ -111,7 +111,7 @@ private slots:
void tabChanged( TQWidget* ); void tabChanged( TQWidget* );
void somethingChanged(); void somethingChanged();
void configChanged(); void configChanged();
// void getPluginListFinished( KIO::Job* job ); // void getPluginListFinished( TDEIO::Job* job );
// void showConfigDialogPlugins(); // void showConfigDialogPlugins();
void showConfigDialogBackends(); void showConfigDialogBackends();

@ -75,13 +75,13 @@ soundKonverter::soundKonverter()
// (re)move the 0.2 config file // (re)move the 0.2 config file
if( config->data.app.configVersion < 280 ) { if( config->data.app.configVersion < 280 ) {
KIO::rename( locateLocal("config","soundkonverterrc"), locateLocal("config","soundkonverterrc.back"), true ); TDEIO::rename( locateLocal("config","soundkonverterrc"), locateLocal("config","soundkonverterrc.back"), true );
// KMessageBox::information( this, "You are using a pre-release of soundKonverter. This version is designed for testing only.\nThere are a few things not implemented at the moment but it should run without crashes and big problems. So feel free to report such an error if you find one.\nPlease have a look at the README.\n\nYour old configuration file has been moved to soundkonverterrc.back." ); // KMessageBox::information( this, "You are using a pre-release of soundKonverter. This version is designed for testing only.\nThere are a few things not implemented at the moment but it should run without crashes and big problems. So feel free to report such an error if you find one.\nPlease have a look at the README.\n\nYour old configuration file has been moved to soundkonverterrc.back." );
} }
// if( config->data.app.configVersion < 290 ) { // if( config->data.app.configVersion < 290 ) {
// TQFile plugin_dir( locateLocal("data","soundkonverter/plugins") ); // TQFile plugin_dir( locateLocal("data","soundkonverter/plugins") );
// if( plugin_dir.exists() ) { // if( plugin_dir.exists() ) {
// KIO::rename( locateLocal("data","soundkonverter/plugins"), locateLocal("data","soundkonverter/plugins.back"), true ); // TDEIO::rename( locateLocal("data","soundkonverter/plugins"), locateLocal("data","soundkonverter/plugins.back"), true );
// int ret = KMessageBox::questionYesNo( this, i18n("soundKonverter has cleaned up it's old installation. It seems to be necessary to restart soundKonverter!\n\nDo you want to restart soundKonverter now?") ); // int ret = KMessageBox::questionYesNo( this, i18n("soundKonverter has cleaned up it's old installation. It seems to be necessary to restart soundKonverter!\n\nDo you want to restart soundKonverter now?") );
// if( ret == KMessageBox::Yes ) { // if( ret == KMessageBox::Yes ) {
// config->write(); // config->write();

Loading…
Cancel
Save