From 59d153016be1e09cb31cdb18bef0a649acfc6292 Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Fri, 1 Feb 2013 08:17:52 -0600 Subject: Rename KLocale to enhance compatibility with KDE4 --- KDE2PORTING.html | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'KDE2PORTING.html') diff --git a/KDE2PORTING.html b/KDE2PORTING.html index 8f6070bf7..e77898f37 100644 --- a/KDE2PORTING.html +++ b/KDE2PORTING.html @@ -21,7 +21,7 @@ or this page online.

  • automoc/am_edit, Makefile.am tags
  • TDEApplication
  • TDECmdLineArgs
  • -
  • KLocale
  • +
  • TDELocale
  • TDEGlobal: access to KDE global objects.
  • KIconLoader
  • KTMainWindow
  • @@ -109,7 +109,7 @@ or this page online.

    TDEApplication

    - doesn't hold any longer a KLocale instance. With this getLocale() + doesn't hold any longer a TDELocale instance. With this getLocale() and isLocaleInstantiated are now replaced by TDEGlobal::locale()

    it also doesn't hold a KiconLoader instance. As this also getIconLoader() @@ -179,7 +179,7 @@ or this page online.

    Return to the Table of Contents

    -

    KLocale

    +

    TDELocale

    i18n is no longer a macro

    @@ -206,7 +206,7 @@ must have created a TDEApplication object before the methods can be used.

           #include <kglobal.h>
           #include <tdeconfig.h>      // Needed to use TDEConfig
    -      #include <klocale.h>      // Needed to use KLocale
    +      #include <klocale.h>      // Needed to use TDELocale
           #include <kiconloader.h>  // Needed to use KIconLoader
         
    -- cgit v1.2.1