summaryrefslogtreecommitdiffstats
path: root/src/configpluginspage.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-01-25 00:14:05 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-01-25 00:14:05 -0600
commit87e49a06e2f4ee153caeabfa4240e9ab94fbd135 (patch)
treee4569b2b2451b0ed73dda25a4402fa1aed389a75 /src/configpluginspage.cpp
parentbece9aa3ad05fe774bf89d9a840235ee8adfd4da (diff)
downloadsoundkonverter-87e49a06e2f4ee153caeabfa4240e9ab94fbd135.tar.gz
soundkonverter-87e49a06e2f4ee153caeabfa4240e9ab94fbd135.zip
Rename KCModule, KConfig, KIO, KServer, and KSocket to avoid conflicts with KDE4
Diffstat (limited to 'src/configpluginspage.cpp')
-rwxr-xr-xsrc/configpluginspage.cpp36
1 files changed, 18 insertions, 18 deletions
diff --git a/src/configpluginspage.cpp b/src/configpluginspage.cpp
index bab0491..f848def 100755
--- a/src/configpluginspage.cpp
+++ b/src/configpluginspage.cpp
@@ -230,14 +230,14 @@ void ConfigPluginsPage::getPlugin()
TQString filePathName = KURL::decode_string( url );
TQString fileName = filePathName.right( filePathName.length() - filePathName.findRev("/") );
getPluginFilePathName = locateLocal("data","soundkonverter/plugins/") + fileName;
- getPluginJob = KIO::file_copy( url, getPluginFilePathName, -1, true, false, false );
- connect( getPluginJob, TQT_SIGNAL(result(KIO::Job*)),
- this, TQT_SLOT(getPluginFinished(KIO::Job*))
+ getPluginJob = TDEIO::file_copy( url, getPluginFilePathName, -1, true, false, false );
+ connect( getPluginJob, TQT_SIGNAL(result(TDEIO::Job*)),
+ this, TQT_SLOT(getPluginFinished(TDEIO::Job*))
);
}
}
-void ConfigPluginsPage::getPluginFinished( KIO::Job* job )
+void ConfigPluginsPage::getPluginFinished( TDEIO::Job* job )
{
if( job->error() == 0 ) {
ConvertPluginLoader* convertPluginLoader = new ConvertPluginLoader();
@@ -248,7 +248,7 @@ void ConfigPluginsPage::getPluginFinished( KIO::Job* job )
replaygainPluginLoader->verifyFile(getPluginFilePathName) == -1 &&
ripperPluginLoader->verifyFile(getPluginFilePathName) == -1 )
{
- KIO::del( getPluginFilePathName, false, false );
+ TDEIO::del( getPluginFilePathName, false, false );
KMessageBox::error( this,
i18n("The plugin could not be installed. Please ensure that you have selected a valid soundKonverter plugin file."),
i18n("Error while installing plugin") );
@@ -428,14 +428,14 @@ void ConfigPluginsPage::refreshOnlinePlugins()
{
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 );
- connect( refreshOnlinePluginsJob, TQT_SIGNAL(result(KIO::Job*)),
- this, TQT_SLOT(refreshOnlinePluginsFinished(KIO::Job*))
+ connect( refreshOnlinePluginsJob, TQT_SIGNAL(result(TDEIO::Job*)),
+ this, TQT_SLOT(refreshOnlinePluginsFinished(TDEIO::Job*))
);
}
-void ConfigPluginsPage::refreshOnlinePluginsFinished( KIO::Job* job )
+void ConfigPluginsPage::refreshOnlinePluginsFinished( TDEIO::Job* job )
{
if( job->error() == 0 ) {
lOnlinePlugins->clear();
@@ -503,14 +503,14 @@ void ConfigPluginsPage::getOnlinePlugin()
name.replace( "Ü", "&Uuml;" );
name.replace( "ß", "&szlig;" );
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 );
- connect( getOnlinePluginJob, TQT_SIGNAL(result(KIO::Job*)),
- this, TQT_SLOT(getOnlinePluginFinished(KIO::Job*))
+ connect( getOnlinePluginJob, TQT_SIGNAL(result(TDEIO::Job*)),
+ this, TQT_SLOT(getOnlinePluginFinished(TDEIO::Job*))
);
}
-void ConfigPluginsPage::getOnlinePluginFinished( KIO::Job* job )
+void ConfigPluginsPage::getOnlinePluginFinished( TDEIO::Job* job )
{
if( job->error() == 0 ) {
TQString name;
@@ -541,7 +541,7 @@ void ConfigPluginsPage::getOnlinePluginFinished( KIO::Job* job )
replaygainPluginLoader->verifyFile(getPluginFilePathName) == -1 &&
ripperPluginLoader->verifyFile(getPluginFilePathName) == -1 )
{
- KIO::del( getPluginFilePathName, false, false );
+ TDEIO::del( getPluginFilePathName, false, false );
KMessageBox::error( this,
i18n("The plugin could not be installed. Please ensure that you have selected a valid soundKonverter plugin file."),
i18n("Error while installing plugin") );
@@ -602,14 +602,14 @@ void ConfigPluginsPage::aboutOnlinePlugin()
name.replace( "Ü", "&Uuml;" );
name.replace( "ß", "&szlig;" );
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 );
- connect( aboutOnlinePluginJob, TQT_SIGNAL(result(KIO::Job*)),
- this, TQT_SLOT(aboutOnlinePluginFinished(KIO::Job*))
+ connect( aboutOnlinePluginJob, TQT_SIGNAL(result(TDEIO::Job*)),
+ this, TQT_SLOT(aboutOnlinePluginFinished(TDEIO::Job*))
);
}
-void ConfigPluginsPage::aboutOnlinePluginFinished( KIO::Job* job )
+void ConfigPluginsPage::aboutOnlinePluginFinished( TDEIO::Job* job )
{
if( job->error() == 0 ) {
TQString name = lOnlinePlugins->currentText();