class KPasteTextAction |
|
|
An action for pasting text from the clipboard. It's useful for text handling applications as when plugged into a toolbar it provides a menu with the clipboard history if klipper is running. If klipper is not running, the menu has only one item: the current clipboard content. |
|
Constructs an action with the specified parent.
parent - The parent of this action. |
|
Constructs an action with text; a shortcut may be specified by the ampersand character (e.g. "&Option" creates a shortcut with key O ) This is the most common KAction used when you do not have a corresponding icon (note that it won't appear in the current version of the "Edit ToolBar" dialog, because an action needs an icon to be plugged in a toolbar...).
text - The text that will be displayed. parent - The parent of this action. |
|
Constructs an action with text and an icon; a shortcut may be specified by the ampersand character (e.g. "&Option" creates a shortcut with key O ) This is the other common KAction used. Use it when you do have a corresponding icon.
icon - The icon to display. text - The text that will be displayed. parent - The parent of this action. |
|
|
Controls the behavior of the clipboard history menu popup.
mode - If false and the clipboard contains a non-text object the popup menu with the clipboard history will appear immediately as the user clicks the toolbar action; if true, the action works like the standard paste action even if the current clipboard object is not text. Default value is true. |
|