From 3ed7c09d22a5f310a97516f5bab6068e5688a813 Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Fri, 1 Feb 2013 15:12:07 -0600 Subject: Rename a number of classes to enhance compatibility with KDE4 --- kdejava/koala/org/kde/koala/KStdAction.java | 262 ++++++++++++++-------------- 1 file changed, 131 insertions(+), 131 deletions(-) (limited to 'kdejava/koala/org/kde/koala/KStdAction.java') diff --git a/kdejava/koala/org/kde/koala/KStdAction.java b/kdejava/koala/org/kde/koala/KStdAction.java index 055a9cf5..fc9948e9 100644 --- a/kdejava/koala/org/kde/koala/KStdAction.java +++ b/kdejava/koala/org/kde/koala/KStdAction.java @@ -13,20 +13,20 @@ import org.kde.qt.TQWidget; These actions should be used instead of hardcoding menubar and toolbar items. Using these actions helps your application easily conform to the KDE UI Style Guide - All of the documentation for KAction holds for KStdAction - also. When in doubt on how things work, check the KAction + All of the documentation for TDEAction holds for KStdAction + also. When in doubt on how things work, check the TDEAction documention first.
  • Simple Example:
  • In general, using standard actions should be a drop in replacement for regular actions. For example, if you previously had:
    - KAction newAct = new KAction(i18n("&New"), TQIconSet(BarIcon("filenew")),
    -                               KStdAccel.shortcut(KStdAccel.New), this,
    + TDEAction newAct = new TDEAction(i18n("&New"), TQIconSet(BarIcon("filenew")),
    +                               TDEStdAccel.shortcut(TDEStdAccel.New), this,
                                    SLOT("fileNew()"), actionCollection());
      
    You could drop that and replace it with:
    - KAction newAct = KStdAction.openNew(this, SLOT("fileNew()"),
    + TDEAction newAct = KStdAction.openNew(this, SLOT("fileNew()"),
                                            actionCollection());
      
  • Non-standard Usages
  • @@ -57,7 +57,7 @@ import org.kde.qt.TQWidget; you instantiate it as in the the 'openNew' example above... or you could do it the hard way:
    - KAction cut = actionCollection().action(KStdAction.stdName(KStdAction.Cut));
    + TDEAction cut = actionCollection().action(KStdAction.stdName(KStdAction.Cut));
      
    Another non-standard usage concerns instantiating the action in the first place. Usually, you would use the member functions as @@ -149,8 +149,8 @@ public class KStdAction { KStdAction.StdAction enum. @short Creates an action corresponding to the KStdAction.StdAction enum. */ - public static native KAction create(int id, String name, TQObject recvr, String slot, KActionCollection parent); - public static native KAction create(int id, TQObject recvr, String slot, KActionCollection parent); + public static native TDEAction create(int id, String name, TQObject recvr, String slot, TDEActionCollection parent); + public static native TDEAction create(int id, TQObject recvr, String slot, TDEActionCollection parent); /** This will return the internal name of a given standard action. @short This will return the internal name of a given standard action. @@ -158,7 +158,7 @@ public class KStdAction { public static native String name(int id); public static native String stdName(int act_enum); /** - Returns a list of all standard names. Used by KAccelManager + Returns a list of all standard names. Used by TDEAccelManager to give those heigher weight. @short Returns a list of all standard names. */ @@ -167,14 +167,14 @@ public class KStdAction { Create a new document or window. @short Create a new document or window. */ - public static native KAction openNew(TQObject recvr, String slot, KActionCollection parent, String name); - public static native KAction openNew(TQObject recvr, String slot, KActionCollection parent); + public static native TDEAction openNew(TQObject recvr, String slot, TDEActionCollection parent, String name); + public static native TDEAction openNew(TQObject recvr, String slot, TDEActionCollection parent); /** Open an existing file. @short Open an existing file. */ - public static native KAction open(TQObject recvr, String slot, KActionCollection parent, String name); - public static native KAction open(TQObject recvr, String slot, KActionCollection parent); + public static native TDEAction open(TQObject recvr, String slot, TDEActionCollection parent, String name); + public static native TDEAction open(TQObject recvr, String slot, TDEActionCollection parent); /** Open a recently used document. The signature of the slot being called is of the form slotURLSelected( KURL ). @@ -185,360 +185,360 @@ public class KStdAction { @param name name of widget @short Open a recently used document. */ - public static native KRecentFilesAction openRecent(TQObject recvr, String slot, KActionCollection parent, String name); - public static native KRecentFilesAction openRecent(TQObject recvr, String slot, KActionCollection parent); + public static native TDERecentFilesAction openRecent(TQObject recvr, String slot, TDEActionCollection parent, String name); + public static native TDERecentFilesAction openRecent(TQObject recvr, String slot, TDEActionCollection parent); /** Save the current document. @short Save the current document. */ - public static native KAction save(TQObject recvr, String slot, KActionCollection parent, String name); - public static native KAction save(TQObject recvr, String slot, KActionCollection parent); + public static native TDEAction save(TQObject recvr, String slot, TDEActionCollection parent, String name); + public static native TDEAction save(TQObject recvr, String slot, TDEActionCollection parent); /** Save the current document under a different name. @short Save the current document under a different name. */ - public static native KAction saveAs(TQObject recvr, String slot, KActionCollection parent, String name); - public static native KAction saveAs(TQObject recvr, String slot, KActionCollection parent); + public static native TDEAction saveAs(TQObject recvr, String slot, TDEActionCollection parent, String name); + public static native TDEAction saveAs(TQObject recvr, String slot, TDEActionCollection parent); /** Revert the current document to the last saved version (essentially will undo all changes). @short Revert the current document to the last saved version (essentially will undo all changes). */ - public static native KAction revert(TQObject recvr, String slot, KActionCollection parent, String name); - public static native KAction revert(TQObject recvr, String slot, KActionCollection parent); + public static native TDEAction revert(TQObject recvr, String slot, TDEActionCollection parent, String name); + public static native TDEAction revert(TQObject recvr, String slot, TDEActionCollection parent); /** Close the current document. @short Close the current document. */ - public static native KAction close(TQObject recvr, String slot, KActionCollection parent, String name); - public static native KAction close(TQObject recvr, String slot, KActionCollection parent); + public static native TDEAction close(TQObject recvr, String slot, TDEActionCollection parent, String name); + public static native TDEAction close(TQObject recvr, String slot, TDEActionCollection parent); /** Print the current document. @short Print the current document. */ - public static native KAction print(TQObject recvr, String slot, KActionCollection parent, String name); - public static native KAction print(TQObject recvr, String slot, KActionCollection parent); + public static native TDEAction print(TQObject recvr, String slot, TDEActionCollection parent, String name); + public static native TDEAction print(TQObject recvr, String slot, TDEActionCollection parent); /** Show a print preview of the current document. @short Show a print preview of the current document. */ - public static native KAction printPreview(TQObject recvr, String slot, KActionCollection parent, String name); - public static native KAction printPreview(TQObject recvr, String slot, KActionCollection parent); + public static native TDEAction printPreview(TQObject recvr, String slot, TDEActionCollection parent, String name); + public static native TDEAction printPreview(TQObject recvr, String slot, TDEActionCollection parent); /** Mail this document. @short Mail this document. */ - public static native KAction mail(TQObject recvr, String slot, KActionCollection parent, String name); - public static native KAction mail(TQObject recvr, String slot, KActionCollection parent); + public static native TDEAction mail(TQObject recvr, String slot, TDEActionCollection parent, String name); + public static native TDEAction mail(TQObject recvr, String slot, TDEActionCollection parent); /** Quit the program. @short Quit the program. */ - public static native KAction quit(TQObject recvr, String slot, KActionCollection parent, String name); - public static native KAction quit(TQObject recvr, String slot, KActionCollection parent); + public static native TDEAction quit(TQObject recvr, String slot, TDEActionCollection parent, String name); + public static native TDEAction quit(TQObject recvr, String slot, TDEActionCollection parent); /** Undo the last operation. @short Undo the last operation. */ - public static native KAction undo(TQObject recvr, String slot, KActionCollection parent, String name); - public static native KAction undo(TQObject recvr, String slot, KActionCollection parent); + public static native TDEAction undo(TQObject recvr, String slot, TDEActionCollection parent, String name); + public static native TDEAction undo(TQObject recvr, String slot, TDEActionCollection parent); /** Redo the last operation. @short Redo the last operation. */ - public static native KAction redo(TQObject recvr, String slot, KActionCollection parent, String name); - public static native KAction redo(TQObject recvr, String slot, KActionCollection parent); + public static native TDEAction redo(TQObject recvr, String slot, TDEActionCollection parent, String name); + public static native TDEAction redo(TQObject recvr, String slot, TDEActionCollection parent); /** Cut selected area and store it in the clipboard. @short Cut selected area and store it in the clipboard. */ - public static native KAction cut(TQObject recvr, String slot, KActionCollection parent, String name); - public static native KAction cut(TQObject recvr, String slot, KActionCollection parent); + public static native TDEAction cut(TQObject recvr, String slot, TDEActionCollection parent, String name); + public static native TDEAction cut(TQObject recvr, String slot, TDEActionCollection parent); /** Copy the selected area into the clipboard. @short Copy the selected area into the clipboard. */ - public static native KAction copy(TQObject recvr, String slot, KActionCollection parent, String name); - public static native KAction copy(TQObject recvr, String slot, KActionCollection parent); + public static native TDEAction copy(TQObject recvr, String slot, TDEActionCollection parent, String name); + public static native TDEAction copy(TQObject recvr, String slot, TDEActionCollection parent); /** Paste the contents of clipboard at the current mouse or cursor position. @short Paste the contents of clipboard at the current mouse or cursor position. */ - public static native KAction paste(TQObject recvr, String slot, KActionCollection parent, String name); - public static native KAction paste(TQObject recvr, String slot, KActionCollection parent); + public static native TDEAction paste(TQObject recvr, String slot, TDEActionCollection parent, String name); + public static native TDEAction paste(TQObject recvr, String slot, TDEActionCollection parent); /** Paste the contents of clipboard at the current mouse or cursor position. Provide a button on the toolbar with the clipboard history menu if Klipper is running. @short Paste the contents of clipboard at the current mouse or cursor position. */ - public static native KAction pasteText(TQObject recvr, String slot, KActionCollection parent, String name); - public static native KAction pasteText(TQObject recvr, String slot, KActionCollection parent); + public static native TDEAction pasteText(TQObject recvr, String slot, TDEActionCollection parent, String name); + public static native TDEAction pasteText(TQObject recvr, String slot, TDEActionCollection parent); /** Clear the content of the focus widget @short Clear the content of the focus widget */ - public static native KAction clear(TQObject recvr, String slot, KActionCollection parent, String name); - public static native KAction clear(TQObject recvr, String slot, KActionCollection parent); + public static native TDEAction clear(TQObject recvr, String slot, TDEActionCollection parent, String name); + public static native TDEAction clear(TQObject recvr, String slot, TDEActionCollection parent); /** Select all elements in the current document. @short Select all elements in the current document. */ - public static native KAction selectAll(TQObject recvr, String slot, KActionCollection parent, String name); - public static native KAction selectAll(TQObject recvr, String slot, KActionCollection parent); + public static native TDEAction selectAll(TQObject recvr, String slot, TDEActionCollection parent, String name); + public static native TDEAction selectAll(TQObject recvr, String slot, TDEActionCollection parent); /** Deselect any selected elements in the current document. @short Deselect any selected elements in the current document. */ - public static native KAction deselect(TQObject recvr, String slot, KActionCollection parent, String name); - public static native KAction deselect(TQObject recvr, String slot, KActionCollection parent); + public static native TDEAction deselect(TQObject recvr, String slot, TDEActionCollection parent, String name); + public static native TDEAction deselect(TQObject recvr, String slot, TDEActionCollection parent); /** Initiate a 'find' request in the current document. @short Initiate a 'find' request in the current document. */ - public static native KAction find(TQObject recvr, String slot, KActionCollection parent, String name); - public static native KAction find(TQObject recvr, String slot, KActionCollection parent); + public static native TDEAction find(TQObject recvr, String slot, TDEActionCollection parent, String name); + public static native TDEAction find(TQObject recvr, String slot, TDEActionCollection parent); /** Find the next instance of a stored 'find'. @short Find the next instance of a stored 'find'. */ - public static native KAction findNext(TQObject recvr, String slot, KActionCollection parent, String name); - public static native KAction findNext(TQObject recvr, String slot, KActionCollection parent); + public static native TDEAction findNext(TQObject recvr, String slot, TDEActionCollection parent, String name); + public static native TDEAction findNext(TQObject recvr, String slot, TDEActionCollection parent); /** Find a previous instance of a stored 'find'. @short Find a previous instance of a stored 'find'. */ - public static native KAction findPrev(TQObject recvr, String slot, KActionCollection parent, String name); - public static native KAction findPrev(TQObject recvr, String slot, KActionCollection parent); + public static native TDEAction findPrev(TQObject recvr, String slot, TDEActionCollection parent, String name); + public static native TDEAction findPrev(TQObject recvr, String slot, TDEActionCollection parent); /** Find and replace matches. @short Find and replace matches. */ - public static native KAction replace(TQObject recvr, String slot, KActionCollection parent, String name); - public static native KAction replace(TQObject recvr, String slot, KActionCollection parent); + public static native TDEAction replace(TQObject recvr, String slot, TDEActionCollection parent, String name); + public static native TDEAction replace(TQObject recvr, String slot, TDEActionCollection parent); /** View the document at its actual size. @short View the document at its actual size. */ - public static native KAction actualSize(TQObject recvr, String slot, KActionCollection parent, String name); - public static native KAction actualSize(TQObject recvr, String slot, KActionCollection parent); + public static native TDEAction actualSize(TQObject recvr, String slot, TDEActionCollection parent, String name); + public static native TDEAction actualSize(TQObject recvr, String slot, TDEActionCollection parent); /** Fit the document view to the size of the current window. @short Fit the document view to the size of the current window. */ - public static native KAction fitToPage(TQObject recvr, String slot, KActionCollection parent, String name); - public static native KAction fitToPage(TQObject recvr, String slot, KActionCollection parent); + public static native TDEAction fitToPage(TQObject recvr, String slot, TDEActionCollection parent, String name); + public static native TDEAction fitToPage(TQObject recvr, String slot, TDEActionCollection parent); /** Fit the document view to the width of the current window. @short Fit the document view to the width of the current window. */ - public static native KAction fitToWidth(TQObject recvr, String slot, KActionCollection parent, String name); - public static native KAction fitToWidth(TQObject recvr, String slot, KActionCollection parent); + public static native TDEAction fitToWidth(TQObject recvr, String slot, TDEActionCollection parent, String name); + public static native TDEAction fitToWidth(TQObject recvr, String slot, TDEActionCollection parent); /** Fit the document view to the height of the current window. @short Fit the document view to the height of the current window. */ - public static native KAction fitToHeight(TQObject recvr, String slot, KActionCollection parent, String name); - public static native KAction fitToHeight(TQObject recvr, String slot, KActionCollection parent); + public static native TDEAction fitToHeight(TQObject recvr, String slot, TDEActionCollection parent, String name); + public static native TDEAction fitToHeight(TQObject recvr, String slot, TDEActionCollection parent); /** Zoom in. @short Zoom in. */ - public static native KAction zoomIn(TQObject recvr, String slot, KActionCollection parent, String name); - public static native KAction zoomIn(TQObject recvr, String slot, KActionCollection parent); + public static native TDEAction zoomIn(TQObject recvr, String slot, TDEActionCollection parent, String name); + public static native TDEAction zoomIn(TQObject recvr, String slot, TDEActionCollection parent); /** Zoom out. @short Zoom out. */ - public static native KAction zoomOut(TQObject recvr, String slot, KActionCollection parent, String name); - public static native KAction zoomOut(TQObject recvr, String slot, KActionCollection parent); + public static native TDEAction zoomOut(TQObject recvr, String slot, TDEActionCollection parent, String name); + public static native TDEAction zoomOut(TQObject recvr, String slot, TDEActionCollection parent); /** Popup a zoom dialog. @short Popup a zoom dialog. */ - public static native KAction zoom(TQObject recvr, String slot, KActionCollection parent, String name); - public static native KAction zoom(TQObject recvr, String slot, KActionCollection parent); + public static native TDEAction zoom(TQObject recvr, String slot, TDEActionCollection parent, String name); + public static native TDEAction zoom(TQObject recvr, String slot, TDEActionCollection parent); /** Redisplay or redraw the document. @short Redisplay or redraw the document. */ - public static native KAction redisplay(TQObject recvr, String slot, KActionCollection parent, String name); - public static native KAction redisplay(TQObject recvr, String slot, KActionCollection parent); + public static native TDEAction redisplay(TQObject recvr, String slot, TDEActionCollection parent, String name); + public static native TDEAction redisplay(TQObject recvr, String slot, TDEActionCollection parent); /** Move up (web style menu). @short Move up (web style menu). */ - public static native KAction up(TQObject recvr, String slot, KActionCollection parent, String name); - public static native KAction up(TQObject recvr, String slot, KActionCollection parent); + public static native TDEAction up(TQObject recvr, String slot, TDEActionCollection parent, String name); + public static native TDEAction up(TQObject recvr, String slot, TDEActionCollection parent); /** Move back (web style menu). @short Move back (web style menu). */ - public static native KAction back(TQObject recvr, String slot, KActionCollection parent, String name); - public static native KAction back(TQObject recvr, String slot, KActionCollection parent); + public static native TDEAction back(TQObject recvr, String slot, TDEActionCollection parent, String name); + public static native TDEAction back(TQObject recvr, String slot, TDEActionCollection parent); /** Move forward (web style menu). @short Move forward (web style menu). */ - public static native KAction forward(TQObject recvr, String slot, KActionCollection parent, String name); - public static native KAction forward(TQObject recvr, String slot, KActionCollection parent); + public static native TDEAction forward(TQObject recvr, String slot, TDEActionCollection parent, String name); + public static native TDEAction forward(TQObject recvr, String slot, TDEActionCollection parent); /** Go to the "Home" position or document. @short Go to the "Home" position or document. */ - public static native KAction home(TQObject recvr, String slot, KActionCollection parent, String name); - public static native KAction home(TQObject recvr, String slot, KActionCollection parent); + public static native TDEAction home(TQObject recvr, String slot, TDEActionCollection parent, String name); + public static native TDEAction home(TQObject recvr, String slot, TDEActionCollection parent); /** Scroll up one page. @short Scroll up one page. */ - public static native KAction prior(TQObject recvr, String slot, KActionCollection parent, String name); - public static native KAction prior(TQObject recvr, String slot, KActionCollection parent); + public static native TDEAction prior(TQObject recvr, String slot, TDEActionCollection parent, String name); + public static native TDEAction prior(TQObject recvr, String slot, TDEActionCollection parent); /** Scroll down one page. @short Scroll down one page. */ - public static native KAction next(TQObject recvr, String slot, KActionCollection parent, String name); - public static native KAction next(TQObject recvr, String slot, KActionCollection parent); + public static native TDEAction next(TQObject recvr, String slot, TDEActionCollection parent, String name); + public static native TDEAction next(TQObject recvr, String slot, TDEActionCollection parent); /** Go to somewhere in general. @short Go to somewhere in general. */ - public static native KAction goTo(TQObject recvr, String slot, KActionCollection parent, String name); - public static native KAction goTo(TQObject recvr, String slot, KActionCollection parent); + public static native TDEAction goTo(TQObject recvr, String slot, TDEActionCollection parent, String name); + public static native TDEAction goTo(TQObject recvr, String slot, TDEActionCollection parent); /** Go to a specific page (dialog). @short Go to a specific page (dialog). */ - public static native KAction gotoPage(TQObject recvr, String slot, KActionCollection parent, String name); - public static native KAction gotoPage(TQObject recvr, String slot, KActionCollection parent); + public static native TDEAction gotoPage(TQObject recvr, String slot, TDEActionCollection parent, String name); + public static native TDEAction gotoPage(TQObject recvr, String slot, TDEActionCollection parent); /** Go to a specific line (dialog). @short Go to a specific line (dialog). */ - public static native KAction gotoLine(TQObject recvr, String slot, KActionCollection parent, String name); - public static native KAction gotoLine(TQObject recvr, String slot, KActionCollection parent); + public static native TDEAction gotoLine(TQObject recvr, String slot, TDEActionCollection parent, String name); + public static native TDEAction gotoLine(TQObject recvr, String slot, TDEActionCollection parent); /** Jump to the first page. @short Jump to the first page. */ - public static native KAction firstPage(TQObject recvr, String slot, KActionCollection parent, String name); - public static native KAction firstPage(TQObject recvr, String slot, KActionCollection parent); + public static native TDEAction firstPage(TQObject recvr, String slot, TDEActionCollection parent, String name); + public static native TDEAction firstPage(TQObject recvr, String slot, TDEActionCollection parent); /** Jump to the last page. @short Jump to the last page. */ - public static native KAction lastPage(TQObject recvr, String slot, KActionCollection parent, String name); - public static native KAction lastPage(TQObject recvr, String slot, KActionCollection parent); + public static native TDEAction lastPage(TQObject recvr, String slot, TDEActionCollection parent, String name); + public static native TDEAction lastPage(TQObject recvr, String slot, TDEActionCollection parent); /** Add the current page to the bookmarks tree. @short Add the current page to the bookmarks tree. */ - public static native KAction addBookmark(TQObject recvr, String slot, KActionCollection parent, String name); - public static native KAction addBookmark(TQObject recvr, String slot, KActionCollection parent); + public static native TDEAction addBookmark(TQObject recvr, String slot, TDEActionCollection parent, String name); + public static native TDEAction addBookmark(TQObject recvr, String slot, TDEActionCollection parent); /** Edit the application bookmarks. @short Edit the application bookmarks. */ - public static native KAction editBookmarks(TQObject recvr, String slot, KActionCollection parent, String name); - public static native KAction editBookmarks(TQObject recvr, String slot, KActionCollection parent); + public static native TDEAction editBookmarks(TQObject recvr, String slot, TDEActionCollection parent, String name); + public static native TDEAction editBookmarks(TQObject recvr, String slot, TDEActionCollection parent); /** Pop up the spell checker. @short Pop up the spell checker. */ - public static native KAction spelling(TQObject recvr, String slot, KActionCollection parent, String name); - public static native KAction spelling(TQObject recvr, String slot, KActionCollection parent); + public static native TDEAction spelling(TQObject recvr, String slot, TDEActionCollection parent, String name); + public static native TDEAction spelling(TQObject recvr, String slot, TDEActionCollection parent); /** Show/Hide the menubar. @short Show/Hide the menubar. */ - public static native KToggleAction showMenubar(TQObject recvr, String slot, KActionCollection parent, String name); - public static native KToggleAction showMenubar(TQObject recvr, String slot, KActionCollection parent); + public static native TDEToggleAction showMenubar(TQObject recvr, String slot, TDEActionCollection parent, String name); + public static native TDEToggleAction showMenubar(TQObject recvr, String slot, TDEActionCollection parent); /** Show/Hide the statusbar. @short Show/Hide the statusbar. */ - public static native KToggleAction showStatusbar(TQObject recvr, String slot, KActionCollection parent, String name); - public static native KToggleAction showStatusbar(TQObject recvr, String slot, KActionCollection parent); + public static native TDEToggleAction showStatusbar(TQObject recvr, String slot, TDEActionCollection parent, String name); + public static native TDEToggleAction showStatusbar(TQObject recvr, String slot, TDEActionCollection parent); /** Switch to/from full screen mode @short Switch to/from full screen mode */ - public static native KToggleFullScreenAction fullScreen(TQObject recvr, String slot, KActionCollection parent, TQWidget window, String name); - public static native KToggleFullScreenAction fullScreen(TQObject recvr, String slot, KActionCollection parent, TQWidget window); + public static native TDEToggleFullScreenAction fullScreen(TQObject recvr, String slot, TDEActionCollection parent, TQWidget window, String name); + public static native TDEToggleFullScreenAction fullScreen(TQObject recvr, String slot, TDEActionCollection parent, TQWidget window); /** Display the save options dialog. @short Display the save options dialog. */ - public static native KAction saveOptions(TQObject recvr, String slot, KActionCollection parent, String name); - public static native KAction saveOptions(TQObject recvr, String slot, KActionCollection parent); + public static native TDEAction saveOptions(TQObject recvr, String slot, TDEActionCollection parent, String name); + public static native TDEAction saveOptions(TQObject recvr, String slot, TDEActionCollection parent); /** Display the configure key bindings dialog. Note that you might be able to use the pre-built KXMLGUIFactory's fuction: KStdAction.keyBindings(guiFactory(), SLOT("configureShortcuts()"), actionCollection()); @short Display the configure key bindings dialog. */ - public static native KAction keyBindings(TQObject recvr, String slot, KActionCollection parent, String name); - public static native KAction keyBindings(TQObject recvr, String slot, KActionCollection parent); + public static native TDEAction keyBindings(TQObject recvr, String slot, TDEActionCollection parent, String name); + public static native TDEAction keyBindings(TQObject recvr, String slot, TDEActionCollection parent); /** Display the preferences/options dialog. @short Display the preferences/options dialog. */ - public static native KAction preferences(TQObject recvr, String slot, KActionCollection parent, String name); - public static native KAction preferences(TQObject recvr, String slot, KActionCollection parent); + public static native TDEAction preferences(TQObject recvr, String slot, TDEActionCollection parent, String name); + public static native TDEAction preferences(TQObject recvr, String slot, TDEActionCollection parent); /** The Customize Toolbar dialog. @short The Customize Toolbar dialog. */ - public static native KAction configureToolbars(TQObject recvr, String slot, KActionCollection parent, String name); - public static native KAction configureToolbars(TQObject recvr, String slot, KActionCollection parent); + public static native TDEAction configureToolbars(TQObject recvr, String slot, TDEActionCollection parent, String name); + public static native TDEAction configureToolbars(TQObject recvr, String slot, TDEActionCollection parent); /** The Configure Notifications dialog. @short The Configure Notifications dialog. */ - public static native KAction configureNotifications(TQObject recvr, String slot, KActionCollection parent, String name); - public static native KAction configureNotifications(TQObject recvr, String slot, KActionCollection parent); + public static native TDEAction configureNotifications(TQObject recvr, String slot, TDEActionCollection parent, String name); + public static native TDEAction configureNotifications(TQObject recvr, String slot, TDEActionCollection parent); /** Display the help. @short Display the help. */ - public static native KAction help(TQObject recvr, String slot, KActionCollection parent, String name); - public static native KAction help(TQObject recvr, String slot, KActionCollection parent); + public static native TDEAction help(TQObject recvr, String slot, TDEActionCollection parent, String name); + public static native TDEAction help(TQObject recvr, String slot, TDEActionCollection parent); /** Display the help contents. @short Display the help contents. */ - public static native KAction helpContents(TQObject recvr, String slot, KActionCollection parent, String name); - public static native KAction helpContents(TQObject recvr, String slot, KActionCollection parent); + public static native TDEAction helpContents(TQObject recvr, String slot, TDEActionCollection parent, String name); + public static native TDEAction helpContents(TQObject recvr, String slot, TDEActionCollection parent); /** Trigger the What's This cursor. @short Trigger the What's This cursor. */ - public static native KAction whatsThis(TQObject recvr, String slot, KActionCollection parent, String name); - public static native KAction whatsThis(TQObject recvr, String slot, KActionCollection parent); + public static native TDEAction whatsThis(TQObject recvr, String slot, TDEActionCollection parent, String name); + public static native TDEAction whatsThis(TQObject recvr, String slot, TDEActionCollection parent); /** Display "Tip of the Day" @short Display "Tip of the Day" */ - public static native KAction tipOfDay(TQObject recvr, String slot, KActionCollection parent, String name); - public static native KAction tipOfDay(TQObject recvr, String slot, KActionCollection parent); + public static native TDEAction tipOfDay(TQObject recvr, String slot, TDEActionCollection parent, String name); + public static native TDEAction tipOfDay(TQObject recvr, String slot, TDEActionCollection parent); /** Open up the Report Bug dialog. @short Open up the Report Bug dialog. */ - public static native KAction reportBug(TQObject recvr, String slot, KActionCollection parent, String name); - public static native KAction reportBug(TQObject recvr, String slot, KActionCollection parent); + public static native TDEAction reportBug(TQObject recvr, String slot, TDEActionCollection parent, String name); + public static native TDEAction reportBug(TQObject recvr, String slot, TDEActionCollection parent); /** Display the application's About box. @short Display the application's About box. */ - public static native KAction aboutApp(TQObject recvr, String slot, KActionCollection parent, String name); - public static native KAction aboutApp(TQObject recvr, String slot, KActionCollection parent); + public static native TDEAction aboutApp(TQObject recvr, String slot, TDEActionCollection parent, String name); + public static native TDEAction aboutApp(TQObject recvr, String slot, TDEActionCollection parent); /** Display the About KDE dialog. @short Display the About KDE dialog. */ - public static native KAction aboutKDE(TQObject recvr, String slot, KActionCollection parent, String name); - public static native KAction aboutKDE(TQObject recvr, String slot, KActionCollection parent); + public static native TDEAction aboutKDE(TQObject recvr, String slot, TDEActionCollection parent, String name); + public static native TDEAction aboutKDE(TQObject recvr, String slot, TDEActionCollection parent); } -- cgit v1.2.3