org.kde.koala

Class KStdAction

public class KStdAction extends Object

Convenience methods to access all standard KDE actions. 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 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"), QIconSet(BarIcon("filenew")),
                                   KStdAccel.shortcut(KStdAccel.New), this,
                                   SLOT("fileNew()"), actionCollection());
     
    You could drop that and replace it with:
     KAction newAct = KStdAction.openNew(this, SLOT("fileNew()"),
                                           actionCollection());
     
  • Non-standard Usages
  • It is possible to use the standard actions in various non-recommended ways. Say, for instance, you wanted to have a standard action (with the associated correct text and icon and accelerator, etc) but you didn't want it to go in the standard place (this is not recommended, by the way). One way to do this is to simply not use the XML UI framework and plug it into wherever you want. If you do want to use the XML UI framework (good!), then it is still possible. Basically, the XML building code matches names in the XML code with the internal names of the actions. You can find out the internal names of each of the standard actions by using the stdName action like so: KStdAction.stdName(KStdAction.Cut) would return 'edit_cut'. The XML building code will match 'edit_cut' to the attribute in the global XML file and place your action there. However, you can change the internal name. In this example, just do something like:
     KStdAction.cut(this, SLOT("editCut()"), actionCollection(), "my_cut");
     
    Now, in your local XML resource file (e.g., yourappui.rc), simply put 'my_cut' where you want it to go. Another non-standard usage concerns getting a pointer to an existing action if, say, you want to enable or disable the action. You could do it the recommended way and just grab a pointer when 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));
     
    Another non-standard usage concerns instantiating the action in the first place. Usually, you would use the member functions as shown above (e.g., KStdAction.cut(this, SLOT, parent)). You may, however, do this using the enums provided. This author can't think of a reason why you would want to, but, hey, if you do, here's how:
     KStdAction.action(KStdAction.New, this, SLOT("fileNew()"), actionCollection());
     KStdAction.action(KStdAction.Cut, this, SLOT("editCut()"), actionCollection());
     

    Author: Kurt Granroth

    See Also: ://developer#kde#org/documentation/standards/kde/style/basics/index#html

    UNKNOWN: Convenience methods to access all standard KDE actions.

    Field Summary
    static intAboutApp
    static intAboutKDE
    static intActionNone
    The standard menubar and toolbar actions.
    static intActualSize
    static intAddBookmark
    static intBack
    static intClear
    static intClose
    static intConfigureNotifications
    static intConfigureToolbars
    static intCopy
    static intCut
    static intDeselect
    static intEditBookmarks
    static intFind
    static intFindNext
    static intFindPrev
    static intFirstPage
    static intFitToHeight
    static intFitToPage
    static intFitToWidth
    static intForward
    static intFullScreen
    static intGoto
    static intGotoLine
    static intGotoPage
    static intHelp
    static intHelpContents
    static intHome
    static intKeyBindings
    static intLastPage
    static intMail
    static intNew
    static intNext
    static intOpen
    static intOpenRecent
    static intPaste
    static intPasteText
    static intPreferences
    static intPrint
    static intPrintPreview
    static intPrior
    static intQuit
    static intRedisplay
    static intRedo
    static intReplace
    static intReportBug
    static intRevert
    static intSave
    static intSaveAs
    static intSaveOptions
    static intSelectAll
    static intShowMenubar
    static intShowStatusbar
    static intShowToolbar
    static intSpelling
    static intTipofDay
    static intUndo
    static intUp
    static intWhatsThis
    static intZoom
    static intZoomIn
    static intZoomOut
    Method Summary
    static KActionaboutApp(QObject recvr, String slot, KActionCollection parent, String name)
    Display the application's About box.
    static KActionaboutApp(QObject recvr, String slot, KActionCollection parent)
    static KActionaboutKDE(QObject recvr, String slot, KActionCollection parent, String name)
    Display the About KDE dialog.
    static KActionaboutKDE(QObject recvr, String slot, KActionCollection parent)
    static KActionactualSize(QObject recvr, String slot, KActionCollection parent, String name)
    View the document at its actual size.
    static KActionactualSize(QObject recvr, String slot, KActionCollection parent)
    static KActionaddBookmark(QObject recvr, String slot, KActionCollection parent, String name)
    Add the current page to the bookmarks tree.
    static KActionaddBookmark(QObject recvr, String slot, KActionCollection parent)
    static KActionback(QObject recvr, String slot, KActionCollection parent, String name)
    Move back (web style menu).
    static KActionback(QObject recvr, String slot, KActionCollection parent)
    static KActionclear(QObject recvr, String slot, KActionCollection parent, String name)
    Clear the content of the focus widget
    static KActionclear(QObject recvr, String slot, KActionCollection parent)
    static KActionclose(QObject recvr, String slot, KActionCollection parent, String name)
    Close the current document.
    static KActionclose(QObject recvr, String slot, KActionCollection parent)
    static KActionconfigureNotifications(QObject recvr, String slot, KActionCollection parent, String name)
    The Configure Notifications dialog.
    static KActionconfigureNotifications(QObject recvr, String slot, KActionCollection parent)
    static KActionconfigureToolbars(QObject recvr, String slot, KActionCollection parent, String name)
    The Customize Toolbar dialog.
    static KActionconfigureToolbars(QObject recvr, String slot, KActionCollection parent)
    static KActioncopy(QObject recvr, String slot, KActionCollection parent, String name)
    Copy the selected area into the clipboard.
    static KActioncopy(QObject recvr, String slot, KActionCollection parent)
    static KActioncreate(int id, String name, QObject recvr, String slot, KActionCollection parent)
    Creates an action corresponding to the KStdAction.StdAction enum.
    static KActioncreate(int id, QObject recvr, String slot, KActionCollection parent)
    static KActioncut(QObject recvr, String slot, KActionCollection parent, String name)
    Cut selected area and store it in the clipboard.
    static KActioncut(QObject recvr, String slot, KActionCollection parent)
    static KActiondeselect(QObject recvr, String slot, KActionCollection parent, String name)
    Deselect any selected elements in the current document.
    static KActiondeselect(QObject recvr, String slot, KActionCollection parent)
    static KActioneditBookmarks(QObject recvr, String slot, KActionCollection parent, String name)
    Edit the application bookmarks.
    static KActioneditBookmarks(QObject recvr, String slot, KActionCollection parent)
    static KActionfind(QObject recvr, String slot, KActionCollection parent, String name)
    Initiate a 'find' request in the current document.
    static KActionfind(QObject recvr, String slot, KActionCollection parent)
    static KActionfindNext(QObject recvr, String slot, KActionCollection parent, String name)
    Find the next instance of a stored 'find'.
    static KActionfindNext(QObject recvr, String slot, KActionCollection parent)
    static KActionfindPrev(QObject recvr, String slot, KActionCollection parent, String name)
    Find a previous instance of a stored 'find'.
    static KActionfindPrev(QObject recvr, String slot, KActionCollection parent)
    static KActionfirstPage(QObject recvr, String slot, KActionCollection parent, String name)
    Jump to the first page.
    static KActionfirstPage(QObject recvr, String slot, KActionCollection parent)
    static KActionfitToHeight(QObject recvr, String slot, KActionCollection parent, String name)
    Fit the document view to the height of the current window.
    static KActionfitToHeight(QObject recvr, String slot, KActionCollection parent)
    static KActionfitToPage(QObject recvr, String slot, KActionCollection parent, String name)
    Fit the document view to the size of the current window.
    static KActionfitToPage(QObject recvr, String slot, KActionCollection parent)
    static KActionfitToWidth(QObject recvr, String slot, KActionCollection parent, String name)
    Fit the document view to the width of the current window.
    static KActionfitToWidth(QObject recvr, String slot, KActionCollection parent)
    static KActionforward(QObject recvr, String slot, KActionCollection parent, String name)
    Move forward (web style menu).
    static KActionforward(QObject recvr, String slot, KActionCollection parent)
    static KToggleFullScreenActionfullScreen(QObject recvr, String slot, KActionCollection parent, QWidget window, String name)
    Switch to/from full screen mode
    static KToggleFullScreenActionfullScreen(QObject recvr, String slot, KActionCollection parent, QWidget window)
    static KActiongotoLine(QObject recvr, String slot, KActionCollection parent, String name)
    Go to a specific line (dialog).
    static KActiongotoLine(QObject recvr, String slot, KActionCollection parent)
    static KActiongotoPage(QObject recvr, String slot, KActionCollection parent, String name)
    Go to a specific page (dialog).
    static KActiongotoPage(QObject recvr, String slot, KActionCollection parent)
    static KActiongoTo(QObject recvr, String slot, KActionCollection parent, String name)
    Go to somewhere in general.
    static KActiongoTo(QObject recvr, String slot, KActionCollection parent)
    static KActionhelp(QObject recvr, String slot, KActionCollection parent, String name)
    Display the help.
    static KActionhelp(QObject recvr, String slot, KActionCollection parent)
    static KActionhelpContents(QObject recvr, String slot, KActionCollection parent, String name)
    Display the help contents.
    static KActionhelpContents(QObject recvr, String slot, KActionCollection parent)
    static KActionhome(QObject recvr, String slot, KActionCollection parent, String name)
    Go to the "Home" position or document.
    static KActionhome(QObject recvr, String slot, KActionCollection parent)
    static KActionkeyBindings(QObject recvr, String slot, KActionCollection parent, String name)
    Display the configure key bindings dialog.
    static KActionkeyBindings(QObject recvr, String slot, KActionCollection parent)
    static KActionlastPage(QObject recvr, String slot, KActionCollection parent, String name)
    Jump to the last page.
    static KActionlastPage(QObject recvr, String slot, KActionCollection parent)
    static KActionmail(QObject recvr, String slot, KActionCollection parent, String name)
    Mail this document.
    static KActionmail(QObject recvr, String slot, KActionCollection parent)
    static Stringname(int id)
    This will return the internal name of a given standard action.
    static KActionnext(QObject recvr, String slot, KActionCollection parent, String name)
    Scroll down one page.
    static KActionnext(QObject recvr, String slot, KActionCollection parent)
    static KActionopen(QObject recvr, String slot, KActionCollection parent, String name)
    Open an existing file.
    static KActionopen(QObject recvr, String slot, KActionCollection parent)
    static KActionopenNew(QObject recvr, String slot, KActionCollection parent, String name)
    Create a new document or window.
    static KActionopenNew(QObject recvr, String slot, KActionCollection parent)
    static KRecentFilesActionopenRecent(QObject recvr, String slot, KActionCollection parent, String name)
    Open a recently used document.
    static KRecentFilesActionopenRecent(QObject recvr, String slot, KActionCollection parent)
    static KActionpaste(QObject recvr, String slot, KActionCollection parent, String name)
    Paste the contents of clipboard at the current mouse or cursor position.
    static KActionpaste(QObject recvr, String slot, KActionCollection parent)
    static KActionpasteText(QObject recvr, String slot, KActionCollection parent, String name)
    Paste the contents of clipboard at the current mouse or cursor position.
    static KActionpasteText(QObject recvr, String slot, KActionCollection parent)
    static KActionpreferences(QObject recvr, String slot, KActionCollection parent, String name)
    Display the preferences/options dialog.
    static KActionpreferences(QObject recvr, String slot, KActionCollection parent)
    static KActionprint(QObject recvr, String slot, KActionCollection parent, String name)
    Print the current document.
    static KActionprint(QObject recvr, String slot, KActionCollection parent)
    static KActionprintPreview(QObject recvr, String slot, KActionCollection parent, String name)
    Show a print preview of the current document.
    static KActionprintPreview(QObject recvr, String slot, KActionCollection parent)
    static KActionprior(QObject recvr, String slot, KActionCollection parent, String name)
    Scroll up one page.
    static KActionprior(QObject recvr, String slot, KActionCollection parent)
    static KActionquit(QObject recvr, String slot, KActionCollection parent, String name)
    Quit the program.
    static KActionquit(QObject recvr, String slot, KActionCollection parent)
    static KActionredisplay(QObject recvr, String slot, KActionCollection parent, String name)
    Redisplay or redraw the document.
    static KActionredisplay(QObject recvr, String slot, KActionCollection parent)
    static KActionredo(QObject recvr, String slot, KActionCollection parent, String name)
    Redo the last operation.
    static KActionredo(QObject recvr, String slot, KActionCollection parent)
    static KActionreplace(QObject recvr, String slot, KActionCollection parent, String name)
    Find and replace matches.
    static KActionreplace(QObject recvr, String slot, KActionCollection parent)
    static KActionreportBug(QObject recvr, String slot, KActionCollection parent, String name)
    Open up the Report Bug dialog.
    static KActionreportBug(QObject recvr, String slot, KActionCollection parent)
    static KActionrevert(QObject recvr, String slot, KActionCollection parent, String name)
    Revert the current document to the last saved version (essentially will undo all changes).
    static KActionrevert(QObject recvr, String slot, KActionCollection parent)
    static KActionsave(QObject recvr, String slot, KActionCollection parent, String name)
    Save the current document.
    static KActionsave(QObject recvr, String slot, KActionCollection parent)
    static KActionsaveAs(QObject recvr, String slot, KActionCollection parent, String name)
    Save the current document under a different name.
    static KActionsaveAs(QObject recvr, String slot, KActionCollection parent)
    static KActionsaveOptions(QObject recvr, String slot, KActionCollection parent, String name)
    Display the save options dialog.
    static KActionsaveOptions(QObject recvr, String slot, KActionCollection parent)
    static KActionselectAll(QObject recvr, String slot, KActionCollection parent, String name)
    Select all elements in the current document.
    static KActionselectAll(QObject recvr, String slot, KActionCollection parent)
    static KToggleActionshowMenubar(QObject recvr, String slot, KActionCollection parent, String name)
    Show/Hide the menubar.
    static KToggleActionshowMenubar(QObject recvr, String slot, KActionCollection parent)
    static KToggleActionshowStatusbar(QObject recvr, String slot, KActionCollection parent, String name)
    Show/Hide the statusbar.
    static KToggleActionshowStatusbar(QObject recvr, String slot, KActionCollection parent)
    static KActionspelling(QObject recvr, String slot, KActionCollection parent, String name)
    Pop up the spell checker.
    static KActionspelling(QObject recvr, String slot, KActionCollection parent)
    static StringstdName(int act_enum)
    static ArrayListstdNames()
    Returns a list of all standard names.
    static KActiontipOfDay(QObject recvr, String slot, KActionCollection parent, String name)
    Display "Tip of the Day"
    static KActiontipOfDay(QObject recvr, String slot, KActionCollection parent)
    static KActionundo(QObject recvr, String slot, KActionCollection parent, String name)
    Undo the last operation.
    static KActionundo(QObject recvr, String slot, KActionCollection parent)
    static KActionup(QObject recvr, String slot, KActionCollection parent, String name)
    Move up (web style menu).
    static KActionup(QObject recvr, String slot, KActionCollection parent)
    static KActionwhatsThis(QObject recvr, String slot, KActionCollection parent, String name)
    Trigger the What's This cursor.
    static KActionwhatsThis(QObject recvr, String slot, KActionCollection parent)
    static KActionzoom(QObject recvr, String slot, KActionCollection parent, String name)
    Popup a zoom dialog.
    static KActionzoom(QObject recvr, String slot, KActionCollection parent)
    static KActionzoomIn(QObject recvr, String slot, KActionCollection parent, String name)
    Zoom in.
    static KActionzoomIn(QObject recvr, String slot, KActionCollection parent)
    static KActionzoomOut(QObject recvr, String slot, KActionCollection parent, String name)
    Zoom out.
    static KActionzoomOut(QObject recvr, String slot, KActionCollection parent)

    Field Detail

    AboutApp

    public static final int AboutApp

    AboutKDE

    public static final int AboutKDE

    ActionNone

    public static final int ActionNone
    The standard menubar and toolbar actions.

    UNKNOWN: The standard menubar and toolbar actions.

    ActualSize

    public static final int ActualSize

    AddBookmark

    public static final int AddBookmark

    Back

    public static final int Back

    Clear

    public static final int Clear

    Close

    public static final int Close

    ConfigureNotifications

    public static final int ConfigureNotifications

    ConfigureToolbars

    public static final int ConfigureToolbars

    Copy

    public static final int Copy

    Cut

    public static final int Cut

    Deselect

    public static final int Deselect

    EditBookmarks

    public static final int EditBookmarks

    Find

    public static final int Find

    FindNext

    public static final int FindNext

    FindPrev

    public static final int FindPrev

    FirstPage

    public static final int FirstPage

    FitToHeight

    public static final int FitToHeight

    FitToPage

    public static final int FitToPage

    FitToWidth

    public static final int FitToWidth

    Forward

    public static final int Forward

    FullScreen

    public static final int FullScreen

    Goto

    public static final int Goto

    GotoLine

    public static final int GotoLine

    GotoPage

    public static final int GotoPage

    Help

    public static final int Help

    HelpContents

    public static final int HelpContents

    Home

    public static final int Home

    KeyBindings

    public static final int KeyBindings

    LastPage

    public static final int LastPage

    Mail

    public static final int Mail

    New

    public static final int New

    public static final int Next

    Open

    public static final int Open

    OpenRecent

    public static final int OpenRecent

    Paste

    public static final int Paste

    PasteText

    public static final int PasteText

    Preferences

    public static final int Preferences

    Print

    public static final int Print

    PrintPreview

    public static final int PrintPreview

    Prior

    public static final int Prior

    Quit

    public static final int Quit

    Redisplay

    public static final int Redisplay

    Redo

    public static final int Redo

    Replace

    public static final int Replace

    ReportBug

    public static final int ReportBug

    Revert

    public static final int Revert

    Save

    public static final int Save

    SaveAs

    public static final int SaveAs

    SaveOptions

    public static final int SaveOptions

    SelectAll

    public static final int SelectAll

    ShowMenubar

    public static final int ShowMenubar

    ShowStatusbar

    public static final int ShowStatusbar

    ShowToolbar

    public static final int ShowToolbar

    Spelling

    public static final int Spelling

    TipofDay

    public static final int TipofDay

    Undo

    public static final int Undo

    Up

    public static final int Up

    WhatsThis

    public static final int WhatsThis

    Zoom

    public static final int Zoom

    ZoomIn

    public static final int ZoomIn

    ZoomOut

    public static final int ZoomOut

    Method Detail

    aboutApp

    public static KAction aboutApp(QObject recvr, String slot, KActionCollection parent, String name)
    Display the application's About box.

    UNKNOWN: Display the application's About box.

    aboutApp

    public static KAction aboutApp(QObject recvr, String slot, KActionCollection parent)

    aboutKDE

    public static KAction aboutKDE(QObject recvr, String slot, KActionCollection parent, String name)
    Display the About KDE dialog.

    UNKNOWN: Display the About KDE dialog.

    aboutKDE

    public static KAction aboutKDE(QObject recvr, String slot, KActionCollection parent)

    actualSize

    public static KAction actualSize(QObject recvr, String slot, KActionCollection parent, String name)
    View the document at its actual size.

    UNKNOWN: View the document at its actual size.

    actualSize

    public static KAction actualSize(QObject recvr, String slot, KActionCollection parent)

    addBookmark

    public static KAction addBookmark(QObject recvr, String slot, KActionCollection parent, String name)
    Add the current page to the bookmarks tree.

    UNKNOWN: Add the current page to the bookmarks tree.

    addBookmark

    public static KAction addBookmark(QObject recvr, String slot, KActionCollection parent)

    back

    public static KAction back(QObject recvr, String slot, KActionCollection parent, String name)
    Move back (web style menu).

    UNKNOWN: Move back (web style menu).

    back

    public static KAction back(QObject recvr, String slot, KActionCollection parent)

    clear

    public static KAction clear(QObject recvr, String slot, KActionCollection parent, String name)
    Clear the content of the focus widget

    UNKNOWN: Clear the content of the focus widget

    clear

    public static KAction clear(QObject recvr, String slot, KActionCollection parent)

    close

    public static KAction close(QObject recvr, String slot, KActionCollection parent, String name)
    Close the current document.

    UNKNOWN: Close the current document.

    close

    public static KAction close(QObject recvr, String slot, KActionCollection parent)

    configureNotifications

    public static KAction configureNotifications(QObject recvr, String slot, KActionCollection parent, String name)
    The Configure Notifications dialog.

    UNKNOWN: The Configure Notifications dialog.

    configureNotifications

    public static KAction configureNotifications(QObject recvr, String slot, KActionCollection parent)

    configureToolbars

    public static KAction configureToolbars(QObject recvr, String slot, KActionCollection parent, String name)
    The Customize Toolbar dialog.

    UNKNOWN: The Customize Toolbar dialog.

    configureToolbars

    public static KAction configureToolbars(QObject recvr, String slot, KActionCollection parent)

    copy

    public static KAction copy(QObject recvr, String slot, KActionCollection parent, String name)
    Copy the selected area into the clipboard.

    UNKNOWN: Copy the selected area into the clipboard.

    copy

    public static KAction copy(QObject recvr, String slot, KActionCollection parent)

    create

    public static KAction create(int id, String name, QObject recvr, String slot, KActionCollection parent)
    Creates an action corresponding to the KStdAction.StdAction enum.

    UNKNOWN: Creates an action corresponding to the KStdAction.StdAction enum.

    create

    public static KAction create(int id, QObject recvr, String slot, KActionCollection parent)

    cut

    public static KAction cut(QObject recvr, String slot, KActionCollection parent, String name)
    Cut selected area and store it in the clipboard.

    UNKNOWN: Cut selected area and store it in the clipboard.

    cut

    public static KAction cut(QObject recvr, String slot, KActionCollection parent)

    deselect

    public static KAction deselect(QObject recvr, String slot, KActionCollection parent, String name)
    Deselect any selected elements in the current document.

    UNKNOWN: Deselect any selected elements in the current document.

    deselect

    public static KAction deselect(QObject recvr, String slot, KActionCollection parent)

    editBookmarks

    public static KAction editBookmarks(QObject recvr, String slot, KActionCollection parent, String name)
    Edit the application bookmarks.

    UNKNOWN: Edit the application bookmarks.

    editBookmarks

    public static KAction editBookmarks(QObject recvr, String slot, KActionCollection parent)

    find

    public static KAction find(QObject recvr, String slot, KActionCollection parent, String name)
    Initiate a 'find' request in the current document.

    UNKNOWN: Initiate a 'find' request in the current document.

    find

    public static KAction find(QObject recvr, String slot, KActionCollection parent)

    findNext

    public static KAction findNext(QObject recvr, String slot, KActionCollection parent, String name)
    Find the next instance of a stored 'find'.

    UNKNOWN: Find the next instance of a stored 'find'.

    findNext

    public static KAction findNext(QObject recvr, String slot, KActionCollection parent)

    findPrev

    public static KAction findPrev(QObject recvr, String slot, KActionCollection parent, String name)
    Find a previous instance of a stored 'find'.

    UNKNOWN: Find a previous instance of a stored 'find'.

    findPrev

    public static KAction findPrev(QObject recvr, String slot, KActionCollection parent)

    firstPage

    public static KAction firstPage(QObject recvr, String slot, KActionCollection parent, String name)
    Jump to the first page.

    UNKNOWN: Jump to the first page.

    firstPage

    public static KAction firstPage(QObject recvr, String slot, KActionCollection parent)

    fitToHeight

    public static KAction fitToHeight(QObject recvr, String slot, KActionCollection parent, String name)
    Fit the document view to the height of the current window.

    UNKNOWN: Fit the document view to the height of the current window.

    fitToHeight

    public static KAction fitToHeight(QObject recvr, String slot, KActionCollection parent)

    fitToPage

    public static KAction fitToPage(QObject recvr, String slot, KActionCollection parent, String name)
    Fit the document view to the size of the current window.

    UNKNOWN: Fit the document view to the size of the current window.

    fitToPage

    public static KAction fitToPage(QObject recvr, String slot, KActionCollection parent)

    fitToWidth

    public static KAction fitToWidth(QObject recvr, String slot, KActionCollection parent, String name)
    Fit the document view to the width of the current window.

    UNKNOWN: Fit the document view to the width of the current window.

    fitToWidth

    public static KAction fitToWidth(QObject recvr, String slot, KActionCollection parent)

    forward

    public static KAction forward(QObject recvr, String slot, KActionCollection parent, String name)
    Move forward (web style menu).

    UNKNOWN: Move forward (web style menu).

    forward

    public static KAction forward(QObject recvr, String slot, KActionCollection parent)

    fullScreen

    public static KToggleFullScreenAction fullScreen(QObject recvr, String slot, KActionCollection parent, QWidget window, String name)
    Switch to/from full screen mode

    UNKNOWN: Switch to/from full screen mode

    fullScreen

    public static KToggleFullScreenAction fullScreen(QObject recvr, String slot, KActionCollection parent, QWidget window)

    gotoLine

    public static KAction gotoLine(QObject recvr, String slot, KActionCollection parent, String name)
    Go to a specific line (dialog).

    UNKNOWN: Go to a specific line (dialog).

    gotoLine

    public static KAction gotoLine(QObject recvr, String slot, KActionCollection parent)

    gotoPage

    public static KAction gotoPage(QObject recvr, String slot, KActionCollection parent, String name)
    Go to a specific page (dialog).

    UNKNOWN: Go to a specific page (dialog).

    gotoPage

    public static KAction gotoPage(QObject recvr, String slot, KActionCollection parent)

    goTo

    public static KAction goTo(QObject recvr, String slot, KActionCollection parent, String name)
    Go to somewhere in general.

    UNKNOWN: Go to somewhere in general.

    goTo

    public static KAction goTo(QObject recvr, String slot, KActionCollection parent)

    help

    public static KAction help(QObject recvr, String slot, KActionCollection parent, String name)
    Display the help.

    UNKNOWN: Display the help.

    help

    public static KAction help(QObject recvr, String slot, KActionCollection parent)

    helpContents

    public static KAction helpContents(QObject recvr, String slot, KActionCollection parent, String name)
    Display the help contents.

    UNKNOWN: Display the help contents.

    helpContents

    public static KAction helpContents(QObject recvr, String slot, KActionCollection parent)

    home

    public static KAction home(QObject recvr, String slot, KActionCollection parent, String name)
    Go to the "Home" position or document.

    UNKNOWN: Go to the "Home" position or document.

    home

    public static KAction home(QObject recvr, String slot, KActionCollection parent)

    keyBindings

    public static KAction keyBindings(QObject recvr, String slot, KActionCollection parent, String name)
    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());

    UNKNOWN: Display the configure key bindings dialog.

    keyBindings

    public static KAction keyBindings(QObject recvr, String slot, KActionCollection parent)

    lastPage

    public static KAction lastPage(QObject recvr, String slot, KActionCollection parent, String name)
    Jump to the last page.

    UNKNOWN: Jump to the last page.

    lastPage

    public static KAction lastPage(QObject recvr, String slot, KActionCollection parent)

    mail

    public static KAction mail(QObject recvr, String slot, KActionCollection parent, String name)
    Mail this document.

    UNKNOWN: Mail this document.

    mail

    public static KAction mail(QObject recvr, String slot, KActionCollection parent)

    name

    public static String name(int id)
    This will return the internal name of a given standard action.

    UNKNOWN: This will return the internal name of a given standard action.

    next

    public static KAction next(QObject recvr, String slot, KActionCollection parent, String name)
    Scroll down one page.

    UNKNOWN: Scroll down one page.

    next

    public static KAction next(QObject recvr, String slot, KActionCollection parent)

    open

    public static KAction open(QObject recvr, String slot, KActionCollection parent, String name)
    Open an existing file.

    UNKNOWN: Open an existing file.

    open

    public static KAction open(QObject recvr, String slot, KActionCollection parent)

    openNew

    public static KAction openNew(QObject recvr, String slot, KActionCollection parent, String name)
    Create a new document or window.

    UNKNOWN: Create a new document or window.

    openNew

    public static KAction openNew(QObject recvr, String slot, KActionCollection parent)

    openRecent

    public static KRecentFilesAction openRecent(QObject recvr, String slot, KActionCollection parent, String name)
    Open a recently used document. The signature of the slot being called is of the form slotURLSelected( KURL ).

    Parameters: recvr object to receive slot slot The SLOT to invoke when a URL is selected. The slot's signature is slotURLSelected( KURL ). parent parent widget name name of widget

    UNKNOWN: Open a recently used document.

    openRecent

    public static KRecentFilesAction openRecent(QObject recvr, String slot, KActionCollection parent)

    paste

    public static KAction paste(QObject recvr, String slot, KActionCollection parent, String name)
    Paste the contents of clipboard at the current mouse or cursor position.

    UNKNOWN: Paste the contents of clipboard at the current mouse or cursor position.

    paste

    public static KAction paste(QObject recvr, String slot, KActionCollection parent)

    pasteText

    public static KAction pasteText(QObject recvr, String slot, KActionCollection parent, String name)
    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.

    UNKNOWN: Paste the contents of clipboard at the current mouse or cursor position.

    pasteText

    public static KAction pasteText(QObject recvr, String slot, KActionCollection parent)

    preferences

    public static KAction preferences(QObject recvr, String slot, KActionCollection parent, String name)
    Display the preferences/options dialog.

    UNKNOWN: Display the preferences/options dialog.

    preferences

    public static KAction preferences(QObject recvr, String slot, KActionCollection parent)

    print

    public static KAction print(QObject recvr, String slot, KActionCollection parent, String name)
    Print the current document.

    UNKNOWN: Print the current document.

    print

    public static KAction print(QObject recvr, String slot, KActionCollection parent)

    printPreview

    public static KAction printPreview(QObject recvr, String slot, KActionCollection parent, String name)
    Show a print preview of the current document.

    UNKNOWN: Show a print preview of the current document.

    printPreview

    public static KAction printPreview(QObject recvr, String slot, KActionCollection parent)

    prior

    public static KAction prior(QObject recvr, String slot, KActionCollection parent, String name)
    Scroll up one page.

    UNKNOWN: Scroll up one page.

    prior

    public static KAction prior(QObject recvr, String slot, KActionCollection parent)

    quit

    public static KAction quit(QObject recvr, String slot, KActionCollection parent, String name)
    Quit the program.

    UNKNOWN: Quit the program.

    quit

    public static KAction quit(QObject recvr, String slot, KActionCollection parent)

    redisplay

    public static KAction redisplay(QObject recvr, String slot, KActionCollection parent, String name)
    Redisplay or redraw the document.

    UNKNOWN: Redisplay or redraw the document.

    redisplay

    public static KAction redisplay(QObject recvr, String slot, KActionCollection parent)

    redo

    public static KAction redo(QObject recvr, String slot, KActionCollection parent, String name)
    Redo the last operation.

    UNKNOWN: Redo the last operation.

    redo

    public static KAction redo(QObject recvr, String slot, KActionCollection parent)

    replace

    public static KAction replace(QObject recvr, String slot, KActionCollection parent, String name)
    Find and replace matches.

    UNKNOWN: Find and replace matches.

    replace

    public static KAction replace(QObject recvr, String slot, KActionCollection parent)

    reportBug

    public static KAction reportBug(QObject recvr, String slot, KActionCollection parent, String name)
    Open up the Report Bug dialog.

    UNKNOWN: Open up the Report Bug dialog.

    reportBug

    public static KAction reportBug(QObject recvr, String slot, KActionCollection parent)

    revert

    public static KAction revert(QObject recvr, String slot, KActionCollection parent, String name)
    Revert the current document to the last saved version (essentially will undo all changes).

    UNKNOWN: Revert the current document to the last saved version (essentially will undo all changes).

    revert

    public static KAction revert(QObject recvr, String slot, KActionCollection parent)

    save

    public static KAction save(QObject recvr, String slot, KActionCollection parent, String name)
    Save the current document.

    UNKNOWN: Save the current document.

    save

    public static KAction save(QObject recvr, String slot, KActionCollection parent)

    saveAs

    public static KAction saveAs(QObject recvr, String slot, KActionCollection parent, String name)
    Save the current document under a different name.

    UNKNOWN: Save the current document under a different name.

    saveAs

    public static KAction saveAs(QObject recvr, String slot, KActionCollection parent)

    saveOptions

    public static KAction saveOptions(QObject recvr, String slot, KActionCollection parent, String name)
    Display the save options dialog.

    UNKNOWN: Display the save options dialog.

    saveOptions

    public static KAction saveOptions(QObject recvr, String slot, KActionCollection parent)

    selectAll

    public static KAction selectAll(QObject recvr, String slot, KActionCollection parent, String name)
    Select all elements in the current document.

    UNKNOWN: Select all elements in the current document.

    selectAll

    public static KAction selectAll(QObject recvr, String slot, KActionCollection parent)

    showMenubar

    public static KToggleAction showMenubar(QObject recvr, String slot, KActionCollection parent, String name)
    Show/Hide the menubar.

    UNKNOWN: Show/Hide the menubar.

    showMenubar

    public static KToggleAction showMenubar(QObject recvr, String slot, KActionCollection parent)

    showStatusbar

    public static KToggleAction showStatusbar(QObject recvr, String slot, KActionCollection parent, String name)
    Show/Hide the statusbar.

    UNKNOWN: Show/Hide the statusbar.

    showStatusbar

    public static KToggleAction showStatusbar(QObject recvr, String slot, KActionCollection parent)

    spelling

    public static KAction spelling(QObject recvr, String slot, KActionCollection parent, String name)
    Pop up the spell checker.

    UNKNOWN: Pop up the spell checker.

    spelling

    public static KAction spelling(QObject recvr, String slot, KActionCollection parent)

    stdName

    public static String stdName(int act_enum)

    stdNames

    public static ArrayList stdNames()
    Returns a list of all standard names. Used by KAccelManager to give those heigher weight.

    UNKNOWN: Returns a list of all standard names.

    tipOfDay

    public static KAction tipOfDay(QObject recvr, String slot, KActionCollection parent, String name)
    Display "Tip of the Day"

    UNKNOWN: Display "Tip of the Day"

    tipOfDay

    public static KAction tipOfDay(QObject recvr, String slot, KActionCollection parent)

    undo

    public static KAction undo(QObject recvr, String slot, KActionCollection parent, String name)
    Undo the last operation.

    UNKNOWN: Undo the last operation.

    undo

    public static KAction undo(QObject recvr, String slot, KActionCollection parent)

    up

    public static KAction up(QObject recvr, String slot, KActionCollection parent, String name)
    Move up (web style menu).

    UNKNOWN: Move up (web style menu).

    up

    public static KAction up(QObject recvr, String slot, KActionCollection parent)

    whatsThis

    public static KAction whatsThis(QObject recvr, String slot, KActionCollection parent, String name)
    Trigger the What's This cursor.

    UNKNOWN: Trigger the What's This cursor.

    whatsThis

    public static KAction whatsThis(QObject recvr, String slot, KActionCollection parent)

    zoom

    public static KAction zoom(QObject recvr, String slot, KActionCollection parent, String name)
    Popup a zoom dialog.

    UNKNOWN: Popup a zoom dialog.

    zoom

    public static KAction zoom(QObject recvr, String slot, KActionCollection parent)

    zoomIn

    public static KAction zoomIn(QObject recvr, String slot, KActionCollection parent, String name)
    Zoom in.

    UNKNOWN: Zoom in.

    zoomIn

    public static KAction zoomIn(QObject recvr, String slot, KActionCollection parent)

    zoomOut

    public static KAction zoomOut(QObject recvr, String slot, KActionCollection parent, String name)
    Zoom out.

    UNKNOWN: Zoom out.

    zoomOut

    public static KAction zoomOut(QObject recvr, String slot, KActionCollection parent)