From deef75a57e49cb53695a40b559b24648edc352be Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Sun, 27 Jan 2013 16:02:28 -0600 Subject: Rename kioslaves --- configure.in.in | 2 +- doc/tdeioslave/audiocd.docbook | 2 +- juk/ktrm.cpp | 2 +- libkcddb/cddb.cpp | 2 +- noatun/library/Makefile.am | 2 +- noatun/modules/kjofol-skin/kjprefs.cpp | 2 +- tdeioslave/audiocd/Makefile.am | 8 ++++---- tdeioslave/audiocd/audiocd.cpp | 4 ++-- tdeioslave/audiocd/audiocd.h | 2 +- tdeioslave/audiocd/audiocd.protocol | 2 +- tdeioslave/audiocd/plugins/lame/encoderlame.cpp | 2 +- tdeioslave/audiocd/plugins/vorbis/encodervorbis.cpp | 2 +- 12 files changed, 16 insertions(+), 16 deletions(-) diff --git a/configure.in.in b/configure.in.in index bfaadb2e..3d1e15fd 100644 --- a/configure.in.in +++ b/configure.in.in @@ -492,7 +492,7 @@ fi AM_CONDITIONAL(include_tdeioslave_audiocd, test "x$have_cdparanoia" = xyes) AM_CONDITIONAL(include_kcm_audiocd, test "x$have_cdparanoia" = xyes) if test "x$have_cdparanoia" != xyes; then - # kaudiocreator depends on kio_audiocd + # kaudiocreator depends on tdeio_audiocd DO_NOT_COMPILE="$DO_NOT_COMPILE kaudiocreator" fi diff --git a/doc/tdeioslave/audiocd.docbook b/doc/tdeioslave/audiocd.docbook index 982e1f23..371d0aa4 100644 --- a/doc/tdeioslave/audiocd.docbook +++ b/doc/tdeioslave/audiocd.docbook @@ -199,7 +199,7 @@ generic SCSI device, which is probably /dev/sg0, /dev/sg1, &etc;. If it still doesn't work, try typing audiocd:/?device=/dev/sg0 (or similar) -to tell kio_audiocd which device your &CD-ROM; is. +to tell tdeio_audiocd which device your &CD-ROM; is. diff --git a/juk/ktrm.cpp b/juk/ktrm.cpp index 95d38e6d..45399ce2 100644 --- a/juk/ktrm.cpp +++ b/juk/ktrm.cpp @@ -140,7 +140,7 @@ protected: KProtocolManager::reparseConfiguration(); if(KProtocolManager::useProxy()) { - // split code copied from kcm_kio. + // split code copied from kcm_tdeio. TQString noProxiesFor = KProtocolManager::noProxyFor(); TQStringList noProxies = TQStringList::split(TQRegExp("[',''\t'' ']"), noProxiesFor); bool useProxy = true; diff --git a/libkcddb/cddb.cpp b/libkcddb/cddb.cpp index 7cdfee6e..e79f74a3 100644 --- a/libkcddb/cddb.cpp +++ b/libkcddb/cddb.cpp @@ -51,7 +51,7 @@ namespace KCDDB TQString CDDB::trackOffsetListToId( const TrackOffsetList & list ) { - // Taken from version by Michael Matz in kio_audiocd. + // Taken from version by Michael Matz in tdeio_audiocd. unsigned int id = 0; int numTracks = list.count() - 2; diff --git a/noatun/library/Makefile.am b/noatun/library/Makefile.am index e769964a..9e0961ed 100644 --- a/noatun/library/Makefile.am +++ b/noatun/library/Makefile.am @@ -29,7 +29,7 @@ libnoatun_la_LDFLAGS = \ -version-info 3:0:2 $(KDE_RPATH) $(all_libraries) libnoatun_la_LIBADD = $(top_builddir)/arts/gui/common/libartsgui.la \ $(top_builddir)/arts/gui/kde/libartsgui_kde.la $(top_builddir)/arts/modules/libartsmodules.la \ - -lkio -lqtmcop -lkmedia2_idl $(top_builddir)/noatun/library/noatunarts/libnoatunarts.la \ + -ltdeio -lqtmcop -lkmedia2_idl $(top_builddir)/noatun/library/noatunarts/libnoatunarts.la \ -lartsflow -lsoundserver_idl -lartskde $(LIBDL) $(LIB_QT) -lDCOP libnoatuncontrols_la_SOURCES = controls.cpp scrollinglabel.cpp diff --git a/noatun/modules/kjofol-skin/kjprefs.cpp b/noatun/modules/kjofol-skin/kjprefs.cpp index d93cc5dc..590d2f1a 100644 --- a/noatun/modules/kjofol-skin/kjprefs.cpp +++ b/noatun/modules/kjofol-skin/kjprefs.cpp @@ -409,7 +409,7 @@ void KJPrefs::installNewSkin( void ) TQString tmpUnpackPath = locateLocal("tmp", srcFile.fileName()+"/" ); kdDebug(66666) << "tmpUnpackPath: " << tmpUnpackPath.latin1() << endl; - // Our extract-process, TODO: wanna have kio_(un)zip instead :) + // Our extract-process, TODO: wanna have tdeio_(un)zip instead :) KShellProcess proc; // "unzip -d whereToUnpack whatToUnpack" diff --git a/tdeioslave/audiocd/Makefile.am b/tdeioslave/audiocd/Makefile.am index 8e190d4e..980cd6c9 100644 --- a/tdeioslave/audiocd/Makefile.am +++ b/tdeioslave/audiocd/Makefile.am @@ -10,13 +10,13 @@ INCLUDES = -I$(top_srcdir)/libkcddb \ KDE_CXXFLAGS=$(ENABLE_PERMISSIVE_FLAG) -kde_module_LTLIBRARIES = kio_audiocd.la +kde_module_LTLIBRARIES = tdeio_audiocd.la -kio_audiocd_la_SOURCES = audiocd.cpp +tdeio_audiocd_la_SOURCES = audiocd.cpp -kio_audiocd_la_LDFLAGS = $(all_libraries) -module $(KDE_PLUGIN) +tdeio_audiocd_la_LDFLAGS = $(all_libraries) -module $(KDE_PLUGIN) -kio_audiocd_la_LIBADD = ./plugins/libaudiocdplugins.la $(LIB_KIO) $(CDPARANOIA_LIBS) $(top_builddir)/libkcddb/libkcddb.la $(top_builddir)/kscd/libkcompactdisc.la +tdeio_audiocd_la_LIBADD = ./plugins/libaudiocdplugins.la $(LIB_KIO) $(CDPARANOIA_LIBS) $(top_builddir)/libkcddb/libkcddb.la $(top_builddir)/kscd/libkcompactdisc.la noinst_HEADERS = audiocd.h diff --git a/tdeioslave/audiocd/audiocd.cpp b/tdeioslave/audiocd/audiocd.cpp index 7898be5a..68192e3d 100644 --- a/tdeioslave/audiocd/audiocd.cpp +++ b/tdeioslave/audiocd/audiocd.cpp @@ -80,7 +80,7 @@ int kdemain(int argc, char ** argv) // with the user putenv(strdup("SESSION_MANAGER=")); TDEApplication::disableAutoDcopRegistration(); - TDECmdLineArgs::init(argc, argv, "kio_audiocd", 0, 0, 0, 0); + TDECmdLineArgs::init(argc, argv, "tdeio_audiocd", 0, 0, 0, 0); TDECmdLineArgs::addCmdLineOptions(options); TDEApplication app(false, true); @@ -758,7 +758,7 @@ struct cdrom_drive *AudioCDProtocol::getDrive() else if(!fi.exists()) error(TDEIO::ERR_DOES_NOT_EXIST, d->device); else error(TDEIO::ERR_SLAVE_DEFINED, -i18n("Unknown error. If you have a cd in the drive try running cdparanoia -vsQ as yourself (not root). Do you see a track list? If not, make sure you have permission to access the CD device. If you are using SCSI emulation (possible if you have an IDE CD writer) then make sure you check that you have read and write permissions on the generic SCSI device, which is probably /dev/sg0, /dev/sg1, etc.. If it still does not work, try typing audiocd:/?device=/dev/sg0 (or similar) to tell kio_audiocd which device your CD-ROM is.")); +i18n("Unknown error. If you have a cd in the drive try running cdparanoia -vsQ as yourself (not root). Do you see a track list? If not, make sure you have permission to access the CD device. If you are using SCSI emulation (possible if you have an IDE CD writer) then make sure you check that you have read and write permissions on the generic SCSI device, which is probably /dev/sg0, /dev/sg1, etc.. If it still does not work, try typing audiocd:/?device=/dev/sg0 (or similar) to tell tdeio_audiocd which device your CD-ROM is.")); return 0; } diff --git a/tdeioslave/audiocd/audiocd.h b/tdeioslave/audiocd/audiocd.h index 75b9bfd2..be805376 100644 --- a/tdeioslave/audiocd/audiocd.h +++ b/tdeioslave/audiocd/audiocd.h @@ -97,7 +97,7 @@ class AudioCDProtocol : public TDEIO::SlaveBase * NOTE: if you want to add a file which is the whole CD, give * trackNo = -1 * NOTE2: you can safely add MP3 or OGG files always. the function - * will check if kio_audiocd was compiled with support for those, + * will check if tdeio_audiocd was compiled with support for those, * so NO NEED to wrap your calls with #ifdef for lame or vorbis. * this function will do the right thing. */ diff --git a/tdeioslave/audiocd/audiocd.protocol b/tdeioslave/audiocd/audiocd.protocol index eb462539..f8963cbb 100644 --- a/tdeioslave/audiocd/audiocd.protocol +++ b/tdeioslave/audiocd/audiocd.protocol @@ -1,5 +1,5 @@ [Protocol] -exec=kio_audiocd +exec=tdeio_audiocd protocol=audiocd input=none output=filesystem diff --git a/tdeioslave/audiocd/plugins/lame/encoderlame.cpp b/tdeioslave/audiocd/plugins/lame/encoderlame.cpp index 8984bb33..a9a6233f 100644 --- a/tdeioslave/audiocd/plugins/lame/encoderlame.cpp +++ b/tdeioslave/audiocd/plugins/lame/encoderlame.cpp @@ -307,7 +307,7 @@ long EncoderLame::readCleanup(){ usleep(1); } - // Now copy the file out of the temp into kio + // Now copy the file out of the temp into tdeio TQFile file( d->tempFile->name() ); if ( file.open( IO_ReadOnly ) ) { TQByteArray output; diff --git a/tdeioslave/audiocd/plugins/vorbis/encodervorbis.cpp b/tdeioslave/audiocd/plugins/vorbis/encodervorbis.cpp index 048a46e0..f1a5bad5 100644 --- a/tdeioslave/audiocd/plugins/vorbis/encodervorbis.cpp +++ b/tdeioslave/audiocd/plugins/vorbis/encodervorbis.cpp @@ -96,7 +96,7 @@ bool EncoderVorbis::init(){ ( &d->vc, const_cast("kde-encoder"), - const_cast("kio_audiocd") + const_cast("tdeio_audiocd") ); return true; } -- cgit v1.2.1