From f78eb03afb8c9a380985d26286afc40b4c89b292 Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Fri, 1 Feb 2013 15:15:35 -0600 Subject: Rename a number of classes to enhance compatibility with KDE4 --- doc/kdearch/index.docbook | 38 +++++++++++++++++++------------------- 1 file changed, 19 insertions(+), 19 deletions(-) (limited to 'doc/kdearch/index.docbook') diff --git a/doc/kdearch/index.docbook b/doc/kdearch/index.docbook index 53e7ff7a..7f035d77 100644 --- a/doc/kdearch/index.docbook +++ b/doc/kdearch/index.docbook @@ -285,13 +285,13 @@ throughout the desktop. -<ulink url="kdeapi:tdecore/KAccel">KAccel</ulink> +<ulink url="kdeapi:tdecore/TDEAccel">TDEAccel</ulink> Collection of keyboard shortcuts. -<ulink url="kdeapi:tdecore/KStdAccel">KStdAccel</ulink> +<ulink url="kdeapi:tdecore/TDEStdAccel">TDEStdAccel</ulink> Easy access to the common keyboard shortcut keys. @@ -401,25 +401,25 @@ Widgets - widget classes for list views, rules, color selection etc. -<ulink url="kdeapi:tdeui/KListView">KListView</ulink> +<ulink url="kdeapi:tdeui/TDEListView">TDEListView</ulink> A variant of QListView that honors KDE's system-wide settings. -<ulink url="kdeapi:tdeui/KListView">KListBox</ulink> +<ulink url="kdeapi:tdeui/TDEListView">TDEListBox</ulink> A variant of QListBox that honors KDE's system-wide settings. -<ulink url="kdeapi:tdeui/KListView">KIconView</ulink> +<ulink url="kdeapi:tdeui/TDEListView">KIconView</ulink> A variant of QIconView that honors KDE's system-wide settings. -<ulink url="kdeapi:tdeui/KListView">KLineEdit</ulink> +<ulink url="kdeapi:tdeui/TDEListView">KLineEdit</ulink> A variant of QLineEdit with completion support. @@ -431,7 +431,7 @@ A variant of QComboBox with completion support. -<ulink url="kdeapi:tdeui/KFontCombo">KFontCombo</ulink> +<ulink url="kdeapi:tdeui/TDEFontCombo">TDEFontCombo</ulink> A combo box for selecting fonts. @@ -506,7 +506,7 @@ A color selection dialog. -<ulink url="kdeapi:tdeui/KFontDialog">KFontDialog</ulink> +<ulink url="kdeapi:tdeui/TDEFontDialog">TDEFontDialog</ulink> A font selection dialog. @@ -574,13 +574,13 @@ Actions and XML GUI -<ulink url="kdeapi:tdeui/KAction">KAction</ulink> +<ulink url="kdeapi:tdeui/TDEAction">TDEAction</ulink> Abstraction for an action that can be plugged into menu bars and tool bars. -<ulink url="kdeapi:tdeui/KActionCollection">KActionCollection</ulink> +<ulink url="kdeapi:tdeui/TDEActionCollection">TDEActionCollection</ulink> A set of actions. @@ -1366,7 +1366,7 @@ come from many different plugins or parts. KDE's class for toplevel windows, -KMainWindow, +TDEMainWindow, inherits KXMLGUIClient and therefore supports XMLGUI out of the box. All actions created within it must @@ -1423,19 +1423,19 @@ The corresponding part of the setup in C++ is: KStdAction::zoomIn ( this, SLOT(slotZoomIn()), actionCollection() ); KStdAction::zoomOut ( this, SLOT(slotZoomOut()), actionCollection() ); KStdAction::zoom ( this, SLOT(slotZoom()), actionCollection() ); - new KAction ( i18n("&Half size"), ALT+Key_0, + new TDEAction ( i18n("&Half size"), ALT+Key_0, this, SLOT(slotHalfSize()), actionCollection(), "zoom50" ); - new KAction ( i18n("&Normal size"), ALT+Key_1, + new TDEAction ( i18n("&Normal size"), ALT+Key_1, this, SLOT(slotDoubleSize()), actionCollection(), "zoom100" ); - new KAction ( i18n("&Double size"), ALT+Key_2, + new TDEAction ( i18n("&Double size"), ALT+Key_2, this, SLOT(slotDoubleSize()), actionCollection(), "zoom200" ); - new KAction ( i18n("&Fill Screen"), ALT+Key_3, + new TDEAction ( i18n("&Fill Screen"), ALT+Key_3, this, SLOT(slotFillScreen()), actionCollection(), "zoomMaxpect" ); - new KAction ( i18n("Fullscreen &Mode"), CTRL+SHIFT+Key_F, + new TDEAction ( i18n("Fullscreen &Mode"), CTRL+SHIFT+Key_F, this, SLOT(slotFullScreen()), actionCollection(), "fullscreen" ); @@ -1623,7 +1623,7 @@ void MainWindow::updateOpenWithActions() unplugActionList("openwith"); openWithActions.clear(); for ( /* iterate over the relevant services */ ) { - KAction *action = new KAction( ...); + TDEAction *action = new TDEAction( ...); openWithActions.append(action); } plugActionList("openwith", openWithActions); @@ -1769,11 +1769,11 @@ QToolTip::add(w, i18n("This widget does something.")) If the menu bars and tool bars are created using the action pattern, the string used as tooltip is derived from the first argument -of the KAction constructor: +of the TDEAction constructor: -action = new KAction(i18n("&Delete"), "editdelete", +action = new TDEAction(i18n("&Delete"), "editdelete", SHIFT+Key_Delete, actionCollection(), "del") -- cgit v1.2.3