You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
77 lines
3.5 KiB
77 lines
3.5 KiB
//Auto-generated by kalyptus. DO NOT EDIT.
|
|
package org.trinitydesktop.koala;
|
|
|
|
import org.trinitydesktop.qt.Qt;
|
|
import org.trinitydesktop.qt.TQMetaObject;
|
|
import org.trinitydesktop.qt.QtSupport;
|
|
import org.trinitydesktop.qt.TQObject;
|
|
import org.trinitydesktop.qt.TQWidget;
|
|
|
|
/**
|
|
|
|
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.
|
|
@short An action for pasting text from the clipboard.
|
|
|
|
*/
|
|
public class TDEPasteTextAction extends TDEAction {
|
|
protected TDEPasteTextAction(Class dummy){super((Class) null);}
|
|
public native TQMetaObject metaObject();
|
|
public native String className();
|
|
/**
|
|
Create a TDEPasteTextAction, with a text, an icon, an accelerator,
|
|
a slot connected to the action, parent and name.
|
|
If you do not want or have a keyboard accelerator, set the
|
|
<code>cut</code> param to 0.
|
|
@param text The text that will be displayed.
|
|
@param icon The icon to display.
|
|
@param cut The corresponding keyboard accelerator (shortcut).
|
|
@param receiver The slot's owner.
|
|
@param slot The slot to invoke to execute this action.
|
|
@param parent This action's parent.
|
|
@param name An internal name for this action.
|
|
@short Create a TDEPasteTextAction, with a text, an icon, an accelerator, a slot connected to the action, parent and name.
|
|
*/
|
|
public TDEPasteTextAction(String text, String icon, TDEShortcut cut, TQObject receiver, String slot, TQObject parent, String name) {
|
|
super((Class) null);
|
|
newTDEPasteTextAction(text,icon,cut,receiver,slot,parent,name);
|
|
}
|
|
private native void newTDEPasteTextAction(String text, String icon, TDEShortcut cut, TQObject receiver, String slot, TQObject parent, String name);
|
|
public TDEPasteTextAction(String text, String icon, TDEShortcut cut, TQObject receiver, String slot, TQObject parent) {
|
|
super((Class) null);
|
|
newTDEPasteTextAction(text,icon,cut,receiver,slot,parent);
|
|
}
|
|
private native void newTDEPasteTextAction(String text, String icon, TDEShortcut cut, TQObject receiver, String slot, TQObject parent);
|
|
public TDEPasteTextAction(String text, String icon, TDEShortcut cut, TQObject receiver, String slot) {
|
|
super((Class) null);
|
|
newTDEPasteTextAction(text,icon,cut,receiver,slot);
|
|
}
|
|
private native void newTDEPasteTextAction(String text, String icon, TDEShortcut cut, TQObject receiver, String slot);
|
|
/**
|
|
Controls the behavior of the clipboard history menu popup.
|
|
@param 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.
|
|
@short Controls the behavior of the clipboard history menu popup.
|
|
*/
|
|
public native void setMixedMode(boolean mode);
|
|
public native int plug(TQWidget widget, int index);
|
|
public native int plug(TQWidget widget);
|
|
protected native void menuAboutToShow();
|
|
protected native void menuItemActivated(int id);
|
|
protected native void slotActivated();
|
|
/** Deletes the wrapped C++ instance */
|
|
protected native void finalize() throws InternalError;
|
|
/** Delete the wrapped C++ instance ahead of finalize() */
|
|
public native void dispose();
|
|
/** Has the wrapped C++ instance been deleted? */
|
|
public native boolean isDisposed();
|
|
}
|