summaryrefslogtreecommitdiffstats
path: root/tdeioslave
diff options
context:
space:
mode:
authorTimothy Pearson <[email protected]>2013-02-01 08:17:52 -0600
committerTimothy Pearson <[email protected]>2013-02-01 08:17:52 -0600
commit59d153016be1e09cb31cdb18bef0a649acfc6292 (patch)
treefafdc23d953adf8367366eeb74ea9b67b23c11ae /tdeioslave
parent8bc199f487aad2badc9a54c2105f13fff3da7295 (diff)
downloadtdelibs-59d153016be1e09cb31cdb18bef0a649acfc6292.tar.gz
tdelibs-59d153016be1e09cb31cdb18bef0a649acfc6292.zip
Rename KLocale to enhance compatibility with KDE4
Diffstat (limited to 'tdeioslave')
-rw-r--r--tdeioslave/file/file.cc2
-rw-r--r--tdeioslave/ftp/ftp.cc4
-rw-r--r--tdeioslave/http/http.cc2
-rw-r--r--tdeioslave/http/http_cache_cleaner.cpp2
-rw-r--r--tdeioslave/http/kcookiejar/main.cpp2
5 files changed, 6 insertions, 6 deletions
diff --git a/tdeioslave/file/file.cc b/tdeioslave/file/file.cc
index 61be4a521..477db8754 100644
--- a/tdeioslave/file/file.cc
+++ b/tdeioslave/file/file.cc
@@ -112,7 +112,7 @@ extern "C" { KDE_EXPORT int kdemain(int argc, char **argv); }
int kdemain( int argc, char **argv )
{
- KLocale::setMainCatalogue("tdelibs");
+ TDELocale::setMainCatalogue("tdelibs");
TDEInstance instance( "tdeio_file" );
( void ) TDEGlobal::locale();
diff --git a/tdeioslave/ftp/ftp.cc b/tdeioslave/ftp/ftp.cc
index dfe0f338e..5b582d376 100644
--- a/tdeioslave/ftp/ftp.cc
+++ b/tdeioslave/ftp/ftp.cc
@@ -139,7 +139,7 @@ extern "C" { KDE_EXPORT int kdemain(int argc, char **argv); }
int kdemain( int argc, char **argv )
{
- KLocale::setMainCatalogue("tdelibs");
+ TDELocale::setMainCatalogue("tdelibs");
TDEInstance instance( "tdeio_ftp" );
( void ) TDEGlobal::locale();
@@ -1926,7 +1926,7 @@ bool Ftp::ftpReadDir(FtpEntry& de)
// Get day number (always second field)
tmptr->tm_mday = atoi( p_date_2 );
// Get month from first field
- // NOTE : no, we don't want to use KLocale here
+ // NOTE : no, we don't want to use TDELocale here
// It seems all FTP servers use the English way
//kdDebug(7102) << "Looking for month " << p_date_1 << endl;
static const char * s_months[12] = { "Jan", "Feb", "Mar", "Apr", "May", "Jun",
diff --git a/tdeioslave/http/http.cc b/tdeioslave/http/http.cc
index 32ee24ad3..2dd5cc143 100644
--- a/tdeioslave/http/http.cc
+++ b/tdeioslave/http/http.cc
@@ -98,7 +98,7 @@ extern "C" {
int kdemain( int argc, char **argv )
{
- KLocale::setMainCatalogue("tdelibs");
+ TDELocale::setMainCatalogue("tdelibs");
TDEInstance instance( "tdeio_http" );
( void ) TDEGlobal::locale();
diff --git a/tdeioslave/http/http_cache_cleaner.cpp b/tdeioslave/http/http_cache_cleaner.cpp
index b4d235c1c..991dbc0aa 100644
--- a/tdeioslave/http/http_cache_cleaner.cpp
+++ b/tdeioslave/http/http_cache_cleaner.cpp
@@ -189,7 +189,7 @@ void scanDirectory(FileInfoList &fileEntries, const TQString &name, const TQStri
extern "C" KDE_EXPORT int kdemain(int argc, char **argv)
{
- KLocale::setMainCatalogue("tdelibs");
+ TDELocale::setMainCatalogue("tdelibs");
TDECmdLineArgs::init( argc, argv, appName,
I18N_NOOP("TDE HTTP cache maintenance tool"),
description, version, true);
diff --git a/tdeioslave/http/kcookiejar/main.cpp b/tdeioslave/http/kcookiejar/main.cpp
index e24112888..6542dc5af 100644
--- a/tdeioslave/http/kcookiejar/main.cpp
+++ b/tdeioslave/http/kcookiejar/main.cpp
@@ -42,7 +42,7 @@ static const KCmdLineOptions options[] =
extern "C" KDE_EXPORT int kdemain(int argc, char *argv[])
{
- KLocale::setMainCatalogue("tdelibs");
+ TDELocale::setMainCatalogue("tdelibs");
TDECmdLineArgs::init(argc, argv, "kcookiejar", I18N_NOOP("HTTP cookie daemon"),
description, version);