From 3b1405169d66e029912f53d10c2880c46f5ed159 Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Wed, 16 Nov 2011 13:51:39 -0600 Subject: Additional renaming of kde to tde --- KDE2PORTING.html | 30 +++++++++++++++--------------- 1 file changed, 15 insertions(+), 15 deletions(-) (limited to 'KDE2PORTING.html') diff --git a/KDE2PORTING.html b/KDE2PORTING.html index da4cd7312..0995905df 100644 --- a/KDE2PORTING.html +++ b/KDE2PORTING.html @@ -70,9 +70,9 @@ or this page online.

The first step to get your KDE application to compile under KDE 2.0, is to detect KDE 2.0 and Qt 2.x at configure time. The easiest way to get a working autoconf/automake framework, is to either use - KDevelop or + KDevelop or kapptemplate - (available in CVS under the module "kdesdk"), to generate a new + (available in CVS under the module "tdesdk"), to generate a new application template. Replace the generated source files by yours and adapt Makefile.am accordingly. @@ -80,11 +80,11 @@ or this page online.

Global changes

- We did our best to clean up the header files of kdelibs, so they do + We did our best to clean up the header files of tdelibs, so they do not include unnecessary bloat for your application. As a consequence, you may notice that some header files are missing from your source files as they have been included before by kapp.h for example. There is a script - in kdesdk/scripts called "fixheaders" that takes care of most of these + in tdesdk/scripts called "fixheaders" that takes care of most of these cases. Just call "make -k 2>&1 | perl .../fixheaders" and it will try to look after the error messages and add includes as it recognize the errors.

@@ -175,7 +175,7 @@ or this page online.

certain option was specified on the command line and your application now automatically supports --help and --version. It aborts with a useful error message when the command line contains a syntax error. - See kdelibs/tdecore/kcmdlineargs.h for more info.

+ See tdelibs/tdecore/kcmdlineargs.h for more info.

Return to the Table of Contents

@@ -505,14 +505,14 @@ are necessary to convert your old KDND-based stuff to Qt DND.

Replacement table :

- + - + - - + + @@ -552,10 +552,10 @@ input font most closely, but can display the given charset.

KWizard, KNoteBook

KWizard is based on TQWizard now. The API has changed. Consult Qt's -documentation and kdelibs/kdetest/kwizardtest.cpp for an example use.

+documentation and tdelibs/kdetest/kwizardtest.cpp for an example use.

KNoteBook (deeply entwined with the former KWizard) has been removed until someone is willing to port it to work with the new wizard. If you want to -use it you'll find the necessary files in kdegraphics/kiconedit.

+use it you'll find the necessary files in tdegraphics/kiconedit.

Return to the Table of Contents

@@ -674,7 +674,7 @@ KPixmapEffect::
PipeCross,
Elliptic]
KFM::download -> KIO::NetAccess::download (kdelibs/kio/netaccess.h)
KFM::download -> KIO::NetAccess::download (tdelibs/kio/netaccess.h)
KFM::removeTempFile -> KIO::NetAccess::removeTempFile
refreshDesktop, sortDesktop, selectRootIcons : removed; kdesktop handles it
KFM::configure -> see konqueror DCOP interface
KFM::openURL -> "(void) new KRun (url)" (kdelibs/kio/krun.h)
KFM::openURL -> "(void) new KRun (url)" (tdelibs/kio/krun.h)
KFM::refreshDirectory -> not needed anymore since konqy/kdesktop use KDirWatch
KFM::openProperties -> "(void) new KPropertiesDialog (url)" (kdelibs/kfile/kpropsdlg.h)
KFM::exec -> "(void) new KRun (url)" (kdelibs/kio/krun.h)
KFM::openProperties -> "(void) new KPropertiesDialog (url)" (tdelibs/kfile/kpropsdlg.h)
KFM::exec -> "(void) new KRun (url)" (tdelibs/kio/krun.h)
KFM::copy, KFM::move -> KIO::Job (async, see kio/job.h)
or KIO::NetAccess (sync, see kio/netaccess.h)
DlgLocation -> Use KLineEditDlg (tdeui/klineeditdlg.h) instead
-Gradients. See kdelibs/kdetest/kgradienttest & kunbalancedgradienttest for +Gradients. See tdelibs/kdetest/kgradienttest & kunbalancedgradienttest for information on how they actually look.

Look further in this document for other info about pixmap effect code @@ -778,7 +778,7 @@ The format for modules for the KDE Control Center has changed quite a bit. If you want to port your module to the new schema, please consult

-kdebase/kcontrol/README

+tdebase/kcontrol/README

which explains what needs to be done.

@@ -805,9 +805,9 @@ provides some useful lists, like the list of all managed windows). Use kdDebug, kdWarning, kdError, kdFatal to log debug output, warnings and errors in a very flexible way. kdebug has been improved, and the API simplified. -kdesdk/scripts/kDebug2kdDebug.sh provides a script for automating the conversion. +tdesdk/scripts/kDebug2kdDebug.sh provides a script for automating the conversion. Note that enabling/disabling debug output can now be done with kdebugdialog, -which can be found in kdebase. The hidden dialog on C+S+F12 no longer exists. +which can be found in tdebase. The hidden dialog on C+S+F12 no longer exists.

Also, note that qDebug and fprintf aren't disabled by -DNDEBUG, whereas kdDebug is. One more reason to use kdDebug ! -- cgit v1.2.1