From deac2ca49faed824fe83066080714eb6d653615b Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Fri, 1 Feb 2013 15:13:01 -0600 Subject: Rename a number of classes to enhance compatibility with KDE4 --- KDE2PORTING.html | 50 +- KDE3PORTING.html | 54 +- TODO | 14 +- arts/kde/kvideowidget.cpp | 44 +- dcop/HOWTO | 6 +- dcop/Mainpage.dox | 6 +- interfaces/tdemediaplayer/player.h | 2 +- interfaces/tdescript/scriptloader.cpp | 6 +- interfaces/tdescript/scriptloader.h | 12 +- interfaces/terminal/test/main.h | 2 +- kab/kabapi.cc | 2 +- kab/kabapi.h | 4 +- kabc/addresseedialog.cpp | 4 +- kabc/addresseedialog.h | 4 +- kabc/addresslineedit.cpp | 4 +- kabc/plugins/ldaptdeio/resourceldaptdeioconfig.cpp | 2 +- kabc/resourceselectdialog.cpp | 2 +- kabc/resourceselectdialog.h | 4 +- kate/interfaces/document.h | 4 +- kate/part/kateautoindent.cpp | 2 +- kate/part/kateautoindent.h | 4 +- kate/part/katebookmarks.cpp | 12 +- kate/part/katebookmarks.h | 16 +- kate/part/katedialogs.cpp | 2 +- kate/part/katedialogs.h | 8 +- kate/part/kateprinter.cpp | 2 +- kate/part/kateschema.cpp | 6 +- kate/part/kateschema.h | 6 +- kate/part/katesearch.cpp | 2 +- kate/part/katesearch.h | 4 +- kate/part/katespell.cpp | 6 +- kate/part/katespell.h | 6 +- kate/part/kateview.cpp | 174 ++-- kate/part/kateview.h | 60 +- kate/part/kateviewhelpers.cpp | 2 +- kate/part/kateviewhelpers.h | 2 +- kate/part/test_regression.cpp | 2 +- kate/plugins/autobookmarker/autobookmarker.cpp | 4 +- kate/plugins/autobookmarker/autobookmarker.h | 2 +- kate/plugins/insertfile/insertfileplugin.cpp | 2 +- kate/plugins/isearch/ISearchPlugin.cpp | 24 +- kate/plugins/isearch/ISearchPlugin.h | 4 +- kate/plugins/kdatatool/kate_kdatatool.cpp | 8 +- kate/plugins/kdatatool/kate_kdatatool.h | 8 +- kate/plugins/wordcompletion/docwordcompletion.cpp | 12 +- kded/kded.cpp | 2 +- kdewidgets/kde.widgets | 16 +- kdewidgets/tests/test.widgets | 12 +- kinit/README.DCOP | 2 +- kinit/kinit.cpp | 8 +- kinit/tdelauncher.cpp | 146 +-- kinit/tdelauncher.h | 26 +- kinit/tdelauncher_main.cpp | 8 +- knewstuff/downloaddialog.cpp | 36 +- knewstuff/downloaddialog.h | 6 +- knewstuff/knewstuff.cpp | 6 +- knewstuff/knewstuff.h | 8 +- knewstuff/providerdialog.cpp | 8 +- knewstuff/providerdialog.h | 4 +- kstyles/klegacy/klegacystyle.cpp | 2 +- kstyles/klegacy/klegacystyle.h | 2 +- kstyles/kthemestyle/kthemestyle.cpp | 4 +- kstyles/web/webstyle.cpp | 10 +- kstyles/web/webstyle.h | 10 +- tdecert/tdecertpart.cc | 18 +- tdecert/tdecertpart.h | 14 +- tdecore/AUTHORS | 6 +- tdecore/DESIGN.iconloading | 2 +- tdecore/README.kiosk | 4 +- tdecore/kaccel.cpp | 246 ++--- tdecore/kaccel.h | 78 +- tdecore/kaccelaction.cpp | 226 ++--- tdecore/kaccelaction.h | 144 +-- tdecore/kaccelbase.cpp | 140 +-- tdecore/kaccelbase.h | 70 +- tdecore/kaccelmanager.cpp | 166 ++-- tdecore/kaccelmanager.h | 4 +- tdecore/kaccelmanager_private.h | 26 +- tdecore/kaccelprivate.h | 20 +- tdecore/kapplication.cpp | 24 +- tdecore/kapplication.h | 48 +- tdecore/kcheckaccelerators.cpp | 6 +- tdecore/kcompletion.h | 8 +- tdecore/kcompletionbase.cpp | 2 +- tdecore/kdebug.areas | 14 +- tdecore/kdebugrc | 6 +- tdecore/kglobalaccel.cpp | 28 +- tdecore/kglobalaccel.h | 30 +- tdecore/kglobalaccel_emb.h | 4 +- tdecore/kglobalaccel_mac.h | 8 +- tdecore/kglobalaccel_win.cpp | 18 +- tdecore/kglobalaccel_win.h | 10 +- tdecore/kglobalaccel_x11.cpp | 22 +- tdecore/kglobalaccel_x11.h | 12 +- tdecore/kglobalsettings.cpp | 2 +- tdecore/kglobalsettings.h | 12 +- tdecore/kmanagerselection.cpp | 84 +- tdecore/kmanagerselection.h | 24 +- tdecore/kshortcut.cpp | 74 +- tdecore/kshortcut.h | 60 +- tdecore/kshortcutlist.cpp | 84 +- tdecore/kshortcutlist.h | 76 +- tdecore/kshortcutmenu.cpp | 16 +- tdecore/kshortcutmenu.h | 8 +- tdecore/kstdaccel.cpp | 270 +++--- tdecore/kstdaccel.h | 116 +-- tdecore/tdeconfigdialogmanager.cpp | 8 +- tdecore/tests/kstdacceltest.cpp | 12 +- tdehtml/ChangeLog | 2 +- tdehtml/domtreeview.cpp | 2 +- tdehtml/domtreeview.h | 2 +- tdehtml/ecma/kjs_debugwin.cpp | 20 +- tdehtml/ecma/kjs_debugwin.h | 18 +- tdehtml/misc/knsplugininstaller.cpp | 2 +- tdehtml/misc/knsplugininstaller.h | 2 +- tdehtml/rendering/render_form.cpp | 24 +- tdehtml/rendering/render_form.h | 12 +- tdehtml/tdehtml_ext.cpp | 64 +- tdehtml/tdehtml_ext.h | 6 +- tdehtml/tdehtml_part.cpp | 68 +- tdehtml/tdehtmlimage.cpp | 6 +- tdehtml/tdehtmlpart_p.h | 52 +- tdehtml/test_regression.cpp | 2 +- tdehtml/testtdehtml.cpp | 12 +- tdeio/Mainpage.dox | 6 +- tdeio/bookmarks/kbookmarkbar.cc | 56 +- tdeio/bookmarks/kbookmarkbar.h | 18 +- tdeio/bookmarks/kbookmarkimporter.h | 2 +- tdeio/bookmarks/kbookmarkmenu.cc | 72 +- tdeio/bookmarks/kbookmarkmenu.h | 36 +- tdeio/bookmarks/kbookmarkmenu_p.h | 34 +- tdeio/misc/tdewalletd/tdewalletd.desktop | 4 +- tdeio/misc/uiserver.cpp | 20 +- tdeio/misc/uiserver.h | 8 +- tdeio/tdefile/ChangeLog | 4 +- tdeio/tdefile/NOTES | 2 +- tdeio/tdefile/kacleditwidget.cpp | 10 +- tdeio/tdefile/kacleditwidget_p.h | 4 +- tdeio/tdefile/kcombiview.cpp | 2 +- tdeio/tdefile/kcombiview.h | 2 +- tdeio/tdefile/kcustommenueditor.cpp | 2 +- tdeio/tdefile/kcustommenueditor.h | 4 +- tdeio/tdefile/kdiroperator.cpp | 94 +- tdeio/tdefile/kdiroperator.h | 70 +- tdeio/tdefile/kdirselectdialog.cpp | 12 +- tdeio/tdefile/kdirselectdialog.h | 6 +- tdeio/tdefile/kencodingfiledialog.cpp | 6 +- tdeio/tdefile/knotifydialog.h | 2 +- tdeio/tdefile/knotifywidgetbase.ui | 2 +- tdeio/tdefile/kopenwith.cpp | 6 +- tdeio/tdefile/kopenwith_p.h | 4 +- tdeio/tdefile/kpropertiesdesktopbase.ui | 2 +- tdeio/tdefile/kpropertiesdialog.cpp | 4 +- tdeio/tdefile/kpropertiesmimetypebase.ui | 2 +- tdeio/tdefile/krecentdirs.cpp | 6 +- tdeio/tdefile/krecentdirs.h | 2 +- tdeio/tdefile/krecentdocument.cpp | 18 +- tdeio/tdefile/krecentdocument.h | 2 +- tdeio/tdefile/kurlbar.cpp | 6 +- tdeio/tdefile/kurlbar.h | 4 +- tdeio/tdefile/kurlrequester.cpp | 4 +- tdeio/tdefile/kurlrequester.h | 2 +- tdeio/tdefile/kurlrequesterdlg.cpp | 2 +- tdeio/tdefile/tdefilebookmarkhandler.cpp | 2 +- tdeio/tdefile/tdefilebookmarkhandler.h | 6 +- tdeio/tdefile/tdefiledetailview.cpp | 24 +- tdeio/tdefile/tdefiledetailview.h | 16 +- tdeio/tdefile/tdefiledialog.cpp | 42 +- tdeio/tdefile/tdefiledialog.h | 16 +- tdeio/tdefile/tdefileiconview.cpp | 12 +- tdeio/tdefile/tdefilepreview.cpp | 2 +- tdeio/tdefile/tdefilepreview.h | 4 +- tdeio/tdefile/tdefiletreeview.cpp | 10 +- tdeio/tdefile/tdefiletreeview.h | 2 +- tdeio/tdefile/tdefiletreeviewitem.cpp | 4 +- tdeio/tdefile/tdefiletreeviewitem.h | 2 +- tdeio/tdefile/tdefileview.cpp | 6 +- tdeio/tdefile/tdefileview.h | 4 +- tdeio/tdefile/tests/tdefiletreeviewtest.cpp | 2 +- tdeio/tdefile/tests/tdefiletreeviewtest.h | 2 +- tdeio/tdeio/kdatatool.cpp | 10 +- tdeio/tdeio/kdatatool.h | 6 +- tdeio/tdeio/kmimetypechooser.cpp | 4 +- tdeio/tdeio/krun.cpp | 6 +- tdeio/tdeio/paste.h | 2 +- tdeio/tdeio/scheduler.cpp | 2 +- tdeio/tdeio/scheduler.h | 8 +- tdeio/tdeio/slave.cpp | 2 +- tdeio/tests/tdeioslavetest.cpp | 2 +- tdeio/tests/tdeioslavetest.h | 2 +- tdemdi/tdemdi/guiclient.cpp | 32 +- tdemdi/tdemdi/guiclient.h | 18 +- tdemdi/tdemdi/toolviewaccessor_p.h | 2 +- tdemdi/tdemdidocumentviewtabwidget.h | 2 +- tdemdi/tdemdiguiclient.cpp | 38 +- tdemdi/tdemdiguiclient.h | 22 +- tdemdi/tdemdimainfrm.cpp | 10 +- tdemdi/tdemditaskbar.cpp | 4 +- tdemdi/tdemditaskbar.h | 2 +- tdemdi/tdemditoolviewaccessor_p.h | 2 +- tdemdi/test/mainwidget.cpp | 2 +- tdemdi/test/mainwidget.h | 2 +- tdeparts/mainwindow.cpp | 6 +- tdeparts/mainwindow.h | 8 +- tdeparts/part.cpp | 2 +- tdeparts/part.h | 10 +- tdeparts/statusbarextension.cpp | 2 +- tdeparts/statusbarextension.h | 6 +- tdeparts/tests/example.cpp | 16 +- tdeparts/tests/example.h | 6 +- tdeparts/tests/ghostview.cpp | 4 +- tdeparts/tests/normalktm.cpp | 10 +- tdeparts/tests/normalktm.h | 8 +- tdeparts/tests/notepad.cpp | 2 +- tdeparts/tests/parts.cpp | 2 +- tdeparts/tests/plugin_spellcheck.cpp | 2 +- tdeprint/cups/cupsdconf2/editlist.cpp | 2 +- tdeprint/cups/cupsdconf2/editlist.h | 4 +- tdeprint/cups/cupsdconf2/qdirmultilineedit.cpp | 2 +- tdeprint/cups/cupsdconf2/qdirmultilineedit.h | 4 +- tdeprint/cups/kmcupsjobmanager.cpp | 10 +- tdeprint/cups/kmcupsjobmanager.h | 4 +- tdeprint/cups/kmcupsmanager.cpp | 8 +- tdeprint/cups/kmcupsmanager.h | 4 +- tdeprint/cups/kmwfax.cpp | 2 +- tdeprint/cups/kmwfax.h | 4 +- tdeprint/cups/kmwippprinter.cpp | 2 +- tdeprint/cups/kmwippprinter.h | 4 +- tdeprint/cups/kmwippselect.cpp | 2 +- tdeprint/cups/kmwippselect.h | 4 +- tdeprint/cups/kmwother.cpp | 2 +- tdeprint/cups/kmwother.h | 4 +- tdeprint/driverview.cpp | 2 +- tdeprint/driverview.h | 2 +- tdeprint/droptionview.cpp | 2 +- tdeprint/droptionview.h | 4 +- tdeprint/kmjobmanager.cpp | 6 +- tdeprint/kmjobmanager.h | 8 +- tdeprint/kmmanager.cpp | 4 +- tdeprint/kmmanager.h | 6 +- tdeprint/kpfilterpage.cpp | 2 +- tdeprint/kpfilterpage.h | 4 +- tdeprint/kprintaction.cpp | 6 +- tdeprint/kprintaction.h | 2 +- tdeprint/kprintpreview.cpp | 26 +- tdeprint/lpr/editentrydialog.cpp | 2 +- tdeprint/lpr/kmlprmanager.cpp | 6 +- tdeprint/lpr/kmlprmanager.h | 4 +- tdeprint/management/cjanuswidget.cpp | 6 +- tdeprint/management/kiconselectaction.cpp | 20 +- tdeprint/management/kiconselectaction.h | 2 +- tdeprint/management/kmconfigfilter.cpp | 14 +- tdeprint/management/kmconfigfilter.h | 6 +- tdeprint/management/kmconfigfonts.cpp | 2 +- tdeprint/management/kmconfigfonts.h | 4 +- tdeprint/management/kmdriverdbwidget.cpp | 4 +- tdeprint/management/kminstancepage.cpp | 2 +- tdeprint/management/kminstancepage.h | 4 +- tdeprint/management/kmjobviewer.cpp | 44 +- tdeprint/management/kmjobviewer.h | 6 +- tdeprint/management/kmmainview.cpp | 98 +- tdeprint/management/kmmainview.h | 20 +- tdeprint/management/kmwbackend.cpp | 8 +- tdeprint/management/kmwclass.cpp | 4 +- tdeprint/management/kmwclass.h | 4 +- tdeprint/management/kmwdriverselect.cpp | 2 +- tdeprint/management/kmwdriverselect.h | 4 +- tdeprint/management/kmwlocal.cpp | 2 +- tdeprint/management/kmwlocal.h | 4 +- tdeprint/management/kmwsocket.cpp | 2 +- tdeprint/management/kmwsocket.h | 4 +- tdeprint/management/kxmlcommanddlg.cpp | 10 +- tdeprint/management/kxmlcommanddlg.h | 12 +- tdeprint/management/kxmlcommandselector.cpp | 2 +- tdeprint/management/pluginaction.cpp | 2 +- tdeprint/management/pluginaction.h | 2 +- tdeprint/management/smbview.cpp | 2 +- tdeprint/management/smbview.h | 2 +- tdeprint/rlpr/kmwrlpr.cpp | 2 +- tdeprint/rlpr/kmwrlpr.h | 4 +- tdeprint/tdefilelist.cpp | 2 +- tdeprint/tdefilelist.h | 4 +- tdeprint/tests/helpwindow.cpp | 2 +- tdeprint/tests/helpwindow.h | 2 +- tderesources/configpage.cpp | 2 +- tderesources/configpage.h | 4 +- tderesources/selectdialog.cpp | 2 +- tderesources/selectdialog.h | 4 +- tdersync/tdersync.h | 2 +- tdeui/AUTHORS | 12 +- tdeui/Mainpage.dox | 2 +- tdeui/TODO.xmlgui | 8 +- tdeui/kaboutapplication.h | 4 +- tdeui/kaboutkde.h | 4 +- tdeui/kaccelgen.h | 4 +- tdeui/kaction.cpp | 492 +++++----- tdeui/kaction.h | 134 +-- tdeui/kactionclasses.cpp | 998 ++++++++++----------- tdeui/kactionclasses.h | 316 +++---- tdeui/kactioncollection.cpp | 360 ++++---- tdeui/kactioncollection.h | 152 ++-- tdeui/kactionselector.cpp | 88 +- tdeui/kactionselector.h | 10 +- tdeui/kactionshortcutlist.h | 42 +- tdeui/kanimwidget.cpp | 6 +- tdeui/kanimwidget.h | 2 +- tdeui/kcmenumngr.cpp | 2 +- tdeui/kcolorbutton.cpp | 4 +- tdeui/kcolordialog.cpp | 8 +- tdeui/kcolordialog.h | 8 +- tdeui/kcombobox.cpp | 8 +- tdeui/kcombobox.h | 4 +- tdeui/kcommand.cpp | 10 +- tdeui/kcommand.h | 12 +- tdeui/kcompletionbox.cpp | 14 +- tdeui/kcompletionbox.h | 4 +- tdeui/kdatepicker.cpp | 2 +- tdeui/kdatetbl.cpp | 44 +- tdeui/kdatetbl.h | 14 +- tdeui/kdcopactionproxy.cpp | 22 +- tdeui/kdcopactionproxy.h | 26 +- tdeui/kdetrayproxy/kdetrayproxy.h | 2 +- tdeui/kdockwidget.cpp | 12 +- tdeui/kdockwidget.h | 8 +- tdeui/keditcl1.cpp | 32 +- tdeui/kedittoolbar.cpp | 46 +- tdeui/kedittoolbar.h | 28 +- tdeui/kfontcombo.cpp | 80 +- tdeui/kfontcombo.h | 12 +- tdeui/kfontdialog.cpp | 80 +- tdeui/kfontdialog.h | 56 +- tdeui/kfontrequester.cpp | 16 +- tdeui/kfontrequester.h | 10 +- tdeui/khelpmenu.cpp | 20 +- tdeui/khelpmenu.h | 20 +- tdeui/kinputdialog.cpp | 8 +- tdeui/kinputdialog.h | 2 +- tdeui/kjanuswidget.cpp | 8 +- tdeui/kjanuswidget.h | 6 +- tdeui/kkeybutton.cpp | 10 +- tdeui/kkeybutton.h | 10 +- tdeui/kkeydialog.cpp | 164 ++-- tdeui/kkeydialog.h | 84 +- tdeui/klineedit.cpp | 70 +- tdeui/klineedit.h | 2 +- tdeui/klistbox.cpp | 26 +- tdeui/klistbox.h | 8 +- tdeui/klistview.cpp | 334 +++---- tdeui/klistview.h | 56 +- tdeui/klistviewlineedit.h | 10 +- tdeui/klistviewsearchline.cpp | 86 +- tdeui/klistviewsearchline.h | 56 +- tdeui/kmainwindow.cpp | 236 ++--- tdeui/kmainwindow.h | 126 +-- tdeui/kmainwindowiface.cpp | 66 +- tdeui/kmainwindowiface.h | 20 +- tdeui/kmenubar.cpp | 4 +- tdeui/kmessagebox.cpp | 4 +- tdeui/kpanelmenu.cpp | 8 +- tdeui/kpanelmenu.h | 2 +- tdeui/kpartgui.dtd | 6 +- tdeui/kpixmapregionselectorwidget.cpp | 10 +- tdeui/kpixmapregionselectorwidget.h | 6 +- tdeui/kpopupmenu.cpp | 174 ++-- tdeui/kpopupmenu.h | 40 +- tdeui/kselect.cpp | 34 +- tdeui/kselect.h | 16 +- tdeui/kshortcutdialog.cpp | 42 +- tdeui/kshortcutdialog.h | 24 +- tdeui/kshortcutdialog_advanced.ui | 6 +- tdeui/kshortcutdialog_simple.ui | 6 +- tdeui/kstatusbar.h | 8 +- tdeui/kstdaction.cpp | 174 ++-- tdeui/kstdaction.h | 292 +++--- tdeui/kstdaction_p.h | 144 +-- tdeui/ksystemtray.cpp | 18 +- tdeui/ksystemtray.h | 12 +- tdeui/ktextedit.cpp | 32 +- tdeui/ktimezonewidget.cpp | 4 +- tdeui/ktimezonewidget.h | 4 +- tdeui/ktoolbar.cpp | 430 ++++----- tdeui/ktoolbar.h | 74 +- tdeui/ktoolbarbutton.cpp | 138 +-- tdeui/ktoolbarbutton.h | 28 +- tdeui/ktoolbarhandler.cpp | 50 +- tdeui/ktoolbarhandler.h | 20 +- tdeui/ktoolbarlabelaction.cpp | 42 +- tdeui/ktoolbarlabelaction.h | 28 +- tdeui/ktoolbarradiogroup.cpp | 18 +- tdeui/ktoolbarradiogroup.h | 26 +- tdeui/kwhatsthismanager_p.h | 2 +- tdeui/kxmlgui.xsd | 4 +- tdeui/kxmlguibuilder.cpp | 56 +- tdeui/kxmlguibuilder.h | 4 +- tdeui/kxmlguiclient.cpp | 24 +- tdeui/kxmlguiclient.h | 24 +- tdeui/kxmlguifactory.cpp | 10 +- tdeui/kxmlguifactory.h | 10 +- tdeui/kxmlguifactory_p.cpp | 4 +- tdeui/kxmlguifactory_p.h | 12 +- tdeui/tdespelldlg.h | 4 +- tdeui/tests/itemcontainertest.cpp | 24 +- tdeui/tests/itemcontainertest.h | 8 +- tdeui/tests/kaccelgentest.cpp | 8 +- tdeui/tests/kactiontest.cpp | 18 +- tdeui/tests/kdockwidgettest.cpp | 2 +- tdeui/tests/kfontdialogtest.cpp | 8 +- tdeui/tests/klistviewtest.cpp | 26 +- tdeui/tests/kmainwindowrestoretest.h | 24 +- tdeui/tests/kmainwindowtest.h | 2 +- tdeui/tests/kpopuptest.cpp | 4 +- tdeui/tests/krulertest.cpp | 2 +- tdeui/tests/krulertest.h | 2 +- tdeui/tests/kstatusbartest.cpp | 2 +- tdeui/tests/kstatusbartest.h | 2 +- tdeui/tests/ktoolbarlabelactiontest.cpp | 10 +- tdeui/tests/kxmlguitest.cpp | 8 +- tdeui/tests/twindowtest.cpp | 14 +- tdeui/tests/twindowtest.h | 10 +- tdeui/twindowlistmenu.cpp | 4 +- tdeui/twindowlistmenu.h | 2 +- tdeutils/kpluginselector.cpp | 12 +- tdeutils/ksettings/componentsdialog.cpp | 6 +- tdeutils/tdemultitabbar.cpp | 2 +- 424 files changed, 5904 insertions(+), 5904 deletions(-) diff --git a/KDE2PORTING.html b/KDE2PORTING.html index e77898f37..63692b613 100644 --- a/KDE2PORTING.html +++ b/KDE2PORTING.html @@ -26,7 +26,7 @@ or this page online.

  • KIconLoader
  • KTMainWindow
  • KHelpMenu
  • -
  • KToolBar
  • +
  • TDEToolBar
  • Starting other programs
  • tdehtmlw
  • KIntegerLine, KIntLineEdit
  • @@ -45,8 +45,8 @@ or this page online.

  • KQuickHelp
  • KPixmap::gradientFill
  • KTabListBox
  • -
  • KToolBarButton & KRadioGroup
  • -
  • KAccel
  • +
  • TDEToolBarButton & TDERadioGroup
  • +
  • TDEAccel
  • kstring.h / KString
  • ktopwidget.h / KTopWidget
  • kbutton.h / KButton
  • @@ -142,8 +142,8 @@ or this page online.

    The methods tempSaveName() and checkRecoverFile() return QString now. The returned values must _not_ be free()d.

    - helpMenu() has been moved to KMainWindow. aboutKDE(), aboutApp() and - appHelpActivated() have all been removed See section for KMainWindow + helpMenu() has been moved to TDEMainWindow. aboutKDE(), aboutApp() and + appHelpActivated() have all been removed See section for TDEMainWindow for more info.

    The TDEApplication constructor has changed. Command line arguments and @@ -248,9 +248,9 @@ in stripping off the .xpm part

    KTMainWindow

    -KTMainWindow has been replaced with KMainWindow.

    +KTMainWindow has been replaced with TDEMainWindow.

    -The KMainWindow constructor needs a parent widget as first argument. +The TDEMainWindow constructor needs a parent widget as first argument. You can use 0 for this.

    setView() has been replaced with setCentralWidget().

    view() has been replaced with centralWidget().

    @@ -271,12 +271,12 @@ mainViewGeometry() instead.

    KHelpMenu

    -helpMenu() has been moved to KMainWindow from TDEApplication (kapp).

    +helpMenu() has been moved to TDEMainWindow from TDEApplication (kapp).

    Both the "About KDE" and the "About <Application>" dialog boxes are now modeless. "About KDE" is a completely new widget.

    -If you used in the toplevel window (that is derived from KMainWindow) +If you used in the toplevel window (that is derived from TDEMainWindow) "kapp->helpMenu( bool, TQString )" to get the help menu you must now change this to "helpMenu( TQString )". The TQString defaults to TQString::null so it is sufficient to write helpMenu().

    @@ -284,13 +284,13 @@ to TQString::null so it is sufficient to write helpMenu().

    The old aboutKDE(), aboutApp() and appHelpActivated() of TDEApplication have all been removed. If you need direct access to these or need access to a help menu in a class that is not derived from -KMainWindow then allocate an instance of the new class KHelpMenu. +TDEMainWindow then allocate an instance of the new class KHelpMenu. See KDE 2.0 API reference or khelpmenu.h (tdeui) for additional info.

    Espen Sand <espen@kde.org>

    Return to the Table of Contents

    -

    KToolBar

    +

    TDEToolBar

    enable(...) is depreciated, use show()/hide() instead.

    enableFloating(...) has been removed, use enableMoving() instead.

    @@ -588,7 +588,7 @@ this:

    TQSplitter *split = new TQSplitter( parent );
    TQListBox *lb = new TQListBox( split );
    - KListView *lv = new KListView( split );
    + TDEListView *lv = new TDEListView( split );
    TQMultiLineEdit *ed = new TQMultiLineEdit( split );
    @@ -600,17 +600,17 @@ possible if you call setOpaqueResize(true).

    KTreeList, KTreeListItem

    -Use KListView, TQListViewItem instead. API is almost the same, you only -need to add a Column (KListView::addColum) before KListView is useable.

    +Use TDEListView, TQListViewItem instead. API is almost the same, you only +need to add a Column (TDEListView::addColum) before TDEListView is useable.

    -KListView has no addChild(), insertItem() and removeItem() calls. Inserting -a root item is done by constructing a TQListViewItem with the KListView +TDEListView has no addChild(), insertItem() and removeItem() calls. Inserting +a root item is done by constructing a TQListViewItem with the TDEListView passed as the parent widget. adding a child item is done by constructing a TQListViewItem with the parent item as parameter. removeItem() should be replaced by delete <pointer to item>.

    The root items are not shown in a tree fashion by default. to get this, -use KListView::setDecorativeRoot(true).

    +use TDEListView::setDecorativeRoot(true).

    Expanding and collapsing can by done by using TQListViewItem::setOpen(bool).

    @@ -685,24 +685,24 @@ unbalancedGradient(), hash(), desaturate(), pattern(), fade(), blend() etc.

    KTabListBox

    -This widget has been replaced by the almighty KListView. Everything said +This widget has been replaced by the almighty TDEListView. Everything said about KTreeList could be repeated here. The good thing is, that you now can combine TreeView's and normal Tablists without problems.

    Return to the Table of Contents

    -

    KToolBarButton & KRadioGroup

    +

    TDEToolBarButton & TDERadioGroup

    -If you need to do anything with KToolBarButton you now need to include -<ktoolbarbutton.h> KRadioGroup has been renamed to KToolBarRadioGroup and +If you need to do anything with TDEToolBarButton you now need to include +<ktoolbarbutton.h> TDERadioGroup has been renamed to TDEToolBarRadioGroup and requires you to include <ktoolbarradiogroup.h>

    Return to the Table of Contents

    -

    KAccel

    +

    TDEAccel

    The functions keyToString() and stringToKey() which were previously -declared globally in kaccel.h are now static methods in KAccel.

    +declared globally in kaccel.h are now static methods in TDEAccel.

    Return to the Table of Contents

    @@ -716,7 +716,7 @@ The file has been removed completely, use TQString instead. (ktopwidget.h / KTopWidget -KMainWindow replaces this class completely. ktopwidget.h does not +TDEMainWindow replaces this class completely. ktopwidget.h does not exist in KDE 2. (mirko@kde.org)

    Return to the Table of Contents

    @@ -754,7 +754,7 @@ Please adjust your code accordingly.

    KDockWidget

    -KDockWidget inherits form KMainWindow instead of KTMainWindow now. +KDockWidget inherits form TDEMainWindow instead of KTMainWindow now. See KTMainWindow for more details.

    Return to the Table of Contents

    diff --git a/KDE3PORTING.html b/KDE3PORTING.html index b3fdff0d0..407d5c5ad 100644 --- a/KDE3PORTING.html +++ b/KDE3PORTING.html @@ -148,11 +148,11 @@ should be replaced with methods from TDELocale::calendar(). cases be replaced by methods in TDELocale::calendar().

    Accelerators Keys

    -
    KAccel
    +
    TDEAccel
    The following methods of been deprecated, and if KDE_NO_COMPAT is defined they will not be available. -The preferred means of defining a shortcut, however, is to use KAction. +The preferred means of defining a shortcut, however, is to use TDEAction.
    -	new KAction( i18n("Scroll Up"), Key_Up,
    +	new TDEAction( i18n("Scroll Up"), Key_Up,
     		this, TQT_SLOT(scrollUp()), actionCollection(), "Scroll Up" );
     
    @@ -189,25 +189,25 @@ The preferred means of defining a shortcut, however, is to use KAction. shortcut reassignments, which in turn used to make an expensive ungrab of the old key and second grab of the new key necessary. -
    KStdAccel
    +
    TDEStdAccel
    @@ -221,27 +221,27 @@ KURLBar and KURLBarItem.

    Changes in tdeui

    -

    KAccelMenu

    +

    TDEAccelMenu

    This class has been removed, Qt offers the same functionality. -Use QPopupMenu/KPopupMenu or the XML-UI method for building menus. +Use QPopupMenu/TDEPopupMenu or the XML-UI method for building menus. -

    KAction

    +

    TDEAction

    -

    KActionCollection

    +

    TDEActionCollection

    @@ -322,24 +322,24 @@ KThemeBase and KThemeStyle have been ported over to the new QStyle/KStyle API present in Qt3/KDE3. KThemeBase is no longer in tdeui, but in kstyles/kthemestyle as its use is basically limited to KThemeStyle. -

    KAction, KToolBar, KToolBarButton and icons

    +

    TDEAction, TDEToolBar, TDEToolBarButton and icons

    The preferred way for specifying icons is passing the icon names (and the icons will be loaded by KIconLoader), instead of using TQIconSet or TQPixmap. This results in always using the correct icon size and allows delayed on-demand icon loading.

    -Method KAction::hasIconSet() has been renamed to KAction::hasIcon(), the old name will still work unless KDE_NO_COMPAT is defined. -KAction::iconSet() now has an argument specifying icon group, the old KAction::iconSet() is still available unless KDE_NO_COMPAT +Method TDEAction::hasIconSet() has been renamed to TDEAction::hasIcon(), the old name will still work unless KDE_NO_COMPAT is defined. +TDEAction::iconSet() now has an argument specifying icon group, the old TDEAction::iconSet() is still available unless KDE_NO_COMPAT is defined and returns KIcon::Small iconset, just like in KDE2.

    -KToolBarButton methods setPixmap(), setDefaultPixmap(), setDisabledPixmap(), setDefaultIcon() and setDisabledIcon() are deprecated. -Use KToolBarButton::setIcon() (preferred) or KToolBarButton::setIconSet() instead. +TDEToolBarButton methods setPixmap(), setDefaultPixmap(), setDisabledPixmap(), setDefaultIcon() and setDisabledIcon() are deprecated. +Use TDEToolBarButton::setIcon() (preferred) or TDEToolBarButton::setIconSet() instead. -

    KAction and derived classes

    +

    TDEAction and derived classes

    The protected set* methods have been renamed to update* and they now take only one argument (i.e. setText(int, const TQString&) is now updateText(int) ). Because the former second argument was always the value of the a corresponding data member, you can simply call the accessor method (i.e. in updateText() call text() to get the text). -

    KToggleAction

    +

    TDEToggleAction

    exclusiveGroup() is no more virtual. setExclusiveGroup(const TQString&) is not a slot anymore. @@ -563,7 +563,7 @@ flexibility and efficiency.

    Sorting has changed radically. Previously, KFileView had protected methods QuickSort, compareItems() and mergeLists() to sort directory entries for displaying in the views. Now, -KFileView does not do any sorting anymore. Instead, the view's (i.e. KIconView, KListView) +KFileView does not do any sorting anymore. Instead, the view's (i.e. KIconView, TDEListView) sorting is utilized by letting its view-items provide a TQString key() method. Therefore, KFileView offers the two methods