From 32de9b20387f7237914d8d9b9f1ac733287a08a1 Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Thu, 31 Jan 2013 13:28:49 -0600 Subject: Rename KStandard for enhanced compatibility with KDE4 --- tdeioslave/audiocd/plugins/audiocdencoder.cpp | 4 ++-- tdeioslave/audiocd/plugins/audiocdencoder.h | 2 +- tdeioslave/audiocd/plugins/lame/encoderlame.cpp | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) (limited to 'tdeioslave/audiocd') diff --git a/tdeioslave/audiocd/plugins/audiocdencoder.cpp b/tdeioslave/audiocd/plugins/audiocdencoder.cpp index 26c108b8..05a1c145 100644 --- a/tdeioslave/audiocd/plugins/audiocdencoder.cpp +++ b/tdeioslave/audiocd/plugins/audiocdencoder.cpp @@ -62,12 +62,12 @@ void *loadPlugin(const TQString &libFileName) void AudioCDEncoder::findAllPlugins(TDEIO::SlaveBase *slave, TQPtrList &encoders){ TQString foundEncoders; - KStandardDirs standardDirs; + TDEStandardDirs standardDirs; TQStringList dirs = standardDirs.findDirs("module", ""); for (TQStringList::Iterator it = dirs.begin(); it != dirs.end(); ++it) { TQDir dir(*it); if (!dir.exists()) { - kdDebug(7117) << "Directory given by KStandardDirs: " << dir.path() << " doesn't exists!" << endl; + kdDebug(7117) << "Directory given by TDEStandardDirs: " << dir.path() << " doesn't exists!" << endl; continue; } dir.setFilter(TQDir::Files | TQDir::Hidden); diff --git a/tdeioslave/audiocd/plugins/audiocdencoder.h b/tdeioslave/audiocd/plugins/audiocdencoder.h index 56fe7aa5..164c7aec 100644 --- a/tdeioslave/audiocd/plugins/audiocdencoder.h +++ b/tdeioslave/audiocd/plugins/audiocdencoder.h @@ -124,7 +124,7 @@ public: /** * Helper function to load all of the AudioCD Encoders from libraries. - * Uses KStandardDirs to find where libraries could be, opens all of the ones + * Uses TDEStandardDirs to find where libraries could be, opens all of the ones * that we might own audiocd_encoder_* and then uses the symbol * create_audiocd_encoders to obtain the encoders from that library. * @param slave ioslave needed if the plugin is going to be used to encode something. diff --git a/tdeioslave/audiocd/plugins/lame/encoderlame.cpp b/tdeioslave/audiocd/plugins/lame/encoderlame.cpp index a9a6233f..6040f9a4 100644 --- a/tdeioslave/audiocd/plugins/lame/encoderlame.cpp +++ b/tdeioslave/audiocd/plugins/lame/encoderlame.cpp @@ -79,7 +79,7 @@ TQWidget* EncoderLame::getConfigureWidget(TDEConfigSkeleton** manager) const { bool EncoderLame::init(){ // Determine if lame is installed on the system or not. - if ( KStandardDirs::findExe( "lame" ).isEmpty() ) + if ( TDEStandardDirs::findExe( "lame" ).isEmpty() ) return false; // Ask lame for the list of genres it knows; otherwise it barfs when doing -- cgit v1.2.1