diff options
Diffstat (limited to 'kmid/kmidclient.cpp')
-rw-r--r-- | kmid/kmidclient.cpp | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/kmid/kmidclient.cpp b/kmid/kmidclient.cpp index cc89e36b..284aa40e 100644 --- a/kmid/kmidclient.cpp +++ b/kmid/kmidclient.cpp @@ -69,7 +69,7 @@ kmidClient::kmidClient(TQWidget *parent, KActionCollection *ac, const char *name : DCOPObject("KMidIface"), TQWidget(parent,name) { actionCollection=ac; - KConfig *cfg=kapp->config(); + TDEConfig *cfg=kapp->config(); cfg->setGroup("KMid"); midifile_opened=0L; loopsong=cfg->readNumEntry("Loop",0); @@ -79,7 +79,7 @@ kmidClient::kmidClient(TQWidget *parent, KActionCollection *ac, const char *name noteArray=0L; shuttingdown=false; - KConfig *kconf=TDEGlobal::instance()->config(); + TDEConfig *kconf=TDEGlobal::instance()->config(); kconf->setGroup("KMid"); TQString tmp2 = locateLocal("appdata", "collections"); @@ -370,9 +370,9 @@ int kmidClient::openURL(const TQString _url) if (!u.isLocalFile()) { filename = TQString("/tmp/") + u.filename(); - KIO::Job *iojob = KIO::copy( u, KURL::fromPathOrURL( filename ) ); + TDEIO::Job *iojob = TDEIO::copy( u, KURL::fromPathOrURL( filename ) ); downloaded=false; - connect( iojob, TQT_SIGNAL( result( KIO::Job *) ), this, TQT_SLOT(downloadFinished( KIO::Job * ) ) ); + connect( iojob, TQT_SIGNAL( result( TDEIO::Job *) ), this, TQT_SLOT(downloadFinished( TDEIO::Job * ) ) ); if (!downloaded) kapp->enter_loop(); @@ -390,7 +390,7 @@ int kmidClient::openURL(const TQString _url) { r=openFile(filename_8bit.data()); - KConfig *cfg=TDEGlobal::instance()->config(); + TDEConfig *cfg=TDEGlobal::instance()->config(); if (cfg->readBoolEntry("deleteTmpNonLocalFiles",false)) { unlink(filename_8bit.data()); @@ -1208,7 +1208,7 @@ void kmidClient::setSLManager(SLManager *slm) void kmidClient::setActiveCollection(int i) { activecollection=i; - KConfig *kconf=TDEGlobal::instance()->config(); + TDEConfig *kconf=TDEGlobal::instance()->config(); kconf->setGroup("KMid"); kconf->writeEntry("ActiveCollection",activecollection); @@ -1516,7 +1516,7 @@ void kmidClient::slotSetTempo(double value) } -void kmidClient::downloadFinished(KIO::Job *) +void kmidClient::downloadFinished(TDEIO::Job *) { downloaded=true; kapp->exit_loop(); |