org.kde.koala
public class KPasteTextAction extends KAction
UNKNOWN: An action for pasting text from the clipboard.
Constructor Summary | |
---|---|
protected | KPasteTextAction(Class dummy) |
KPasteTextAction(String text, String icon, KShortcut cut, QObject receiver, String slot, QObject parent, String name)
Create a KPasteTextAction, with a text, an icon, an accelerator,
a slot connected to the action, parent and name.
| |
KPasteTextAction(String text, String icon, KShortcut cut, QObject receiver, String slot, QObject parent) | |
KPasteTextAction(String text, String icon, KShortcut cut, QObject receiver, String slot) |
Method Summary | |
---|---|
String | className() |
void | dispose() Delete the wrapped C++ instance ahead of finalize() |
protected void | finalize() Deletes the wrapped C++ instance |
boolean | isDisposed() Has the wrapped C++ instance been deleted? |
protected void | menuAboutToShow() |
protected void | menuItemActivated(int id) |
QMetaObject | metaObject() |
int | plug(QWidget widget, int index) |
int | plug(QWidget widget) |
void | setMixedMode(boolean mode)
Controls the behavior of the clipboard history menu popup. |
protected void | slotActivated() |
cut
param to 0.Parameters: text The text that will be displayed. icon The icon to display. cut The corresponding keyboard accelerator (shortcut). receiver The SLOT's owner. slot The SLOT to invoke to execute this action. parent This action's parent. name An internal name for this action.
UNKNOWN: Create a KPasteTextAction, with a text, an icon, an accelerator, a slot connected to the action, parent and name.
Parameters: 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.
UNKNOWN: Controls the behavior of the clipboard history menu popup.