1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
|
//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;
/**
This action is a normal action everywhere, except in a toolbar
where it also has a popupmenu (optionnally delayed). This action is designed
for history actions (back/forward, undo/redo) and for any other action
that has more detail in a toolbar than in a menu (e.g. tool chooser
with "Other" leading to a dialog...).
@short This action is a normal action everywhere, except in a toolbar where it also has a popupmenu (optionnally delayed).
*/
public class TDEToolBarPopupAction extends TDEAction {
protected TDEToolBarPopupAction(Class dummy){super((Class) null);}
public native TQMetaObject metaObject();
public native String className();
/**
Create a TDEToolBarPopupAction, with a text, an icon, an optional accelerator,
parent and name.
@param text The text that will be displayed.
@param icon The icon to display.
@param cut The corresponding keyboard accelerator (shortcut).
@param parent This action's parent.
@param name An internal name for this action.
@short Create a TDEToolBarPopupAction, with a text, an icon, an optional accelerator, parent and name.
*/
public TDEToolBarPopupAction(String text, String icon, TDEShortcut cut, TQObject parent, String name) {
super((Class) null);
newTDEToolBarPopupAction(text,icon,cut,parent,name);
}
private native void newTDEToolBarPopupAction(String text, String icon, TDEShortcut cut, TQObject parent, String name);
public TDEToolBarPopupAction(String text, String icon, TDEShortcut cut, TQObject parent) {
super((Class) null);
newTDEToolBarPopupAction(text,icon,cut,parent);
}
private native void newTDEToolBarPopupAction(String text, String icon, TDEShortcut cut, TQObject parent);
public TDEToolBarPopupAction(String text, String icon, TDEShortcut cut) {
super((Class) null);
newTDEToolBarPopupAction(text,icon,cut);
}
private native void newTDEToolBarPopupAction(String text, String icon, TDEShortcut cut);
public TDEToolBarPopupAction(String text, String icon) {
super((Class) null);
newTDEToolBarPopupAction(text,icon);
}
private native void newTDEToolBarPopupAction(String text, String icon);
/**
Create a TDEToolBarPopupAction, 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 TDEToolBarPopupAction, with a text, an icon, an accelerator, a slot connected to the action, parent and name.
*/
public TDEToolBarPopupAction(String text, String icon, TDEShortcut cut, TQObject receiver, String slot, TQObject parent, String name) {
super((Class) null);
newTDEToolBarPopupAction(text,icon,cut,receiver,slot,parent,name);
}
private native void newTDEToolBarPopupAction(String text, String icon, TDEShortcut cut, TQObject receiver, String slot, TQObject parent, String name);
public TDEToolBarPopupAction(String text, String icon, TDEShortcut cut, TQObject receiver, String slot, TQObject parent) {
super((Class) null);
newTDEToolBarPopupAction(text,icon,cut,receiver,slot,parent);
}
private native void newTDEToolBarPopupAction(String text, String icon, TDEShortcut cut, TQObject receiver, String slot, TQObject parent);
/**
Create a TDEToolBarPopupAction, with a KGuiItem, an accelerator,
a slot connected to the action, parent and name. The text and the
icon are taken from the KGuiItem.
If you do not want or have a keyboard accelerator, set the
<code>cut</code> param to 0.
@param item The text and icon that will be displayed.
@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 TDEToolBarPopupAction, with a KGuiItem, an accelerator, a slot connected to the action, parent and name.
*/
public TDEToolBarPopupAction(KGuiItem item, TDEShortcut cut, TQObject receiver, String slot, TDEActionCollection parent, String name) {
super((Class) null);
newTDEToolBarPopupAction(item,cut,receiver,slot,parent,name);
}
private native void newTDEToolBarPopupAction(KGuiItem item, TDEShortcut cut, TQObject receiver, String slot, TDEActionCollection parent, String name);
public native int plug(TQWidget widget, int index);
public native int plug(TQWidget widget);
/**
The popup menu that is shown when clicking (some time) on the toolbar
button. You may want to plug items into it on creation, or connect to
aboutToShow for a more dynamic menu.
@short The popup menu that is shown when clicking (some time) on the toolbar button.
*/
public native TDEPopupMenu popupMenu();
/**
Returns true if this action creates a delayed popup menu
when plugged in a TDEToolbar.
@short Returns true if this action creates a delayed popup menu when plugged in a TDEToolbar.
*/
public native boolean delayed();
/**
If set to true, this action will create a delayed popup menu
when plugged in a TDEToolbar. Otherwise it creates a normal popup.
Default: delayed.
@short If set to true, this action will create a delayed popup menu when plugged in a TDEToolbar.
*/
public native void setDelayed(boolean delayed);
/**
Returns true if this action creates a sticky popup menu.
See setStickyMenu().
@short Returns true if this action creates a sticky popup menu.
*/
public native boolean stickyMenu();
/**
If set to true, this action will create a sticky popup menu
when plugged in a TDEToolbar.
"Sticky", means it's visible until a selection is made or the mouse is
clicked elsewhere. This feature allows you to make a selection without
having to press and hold down the mouse while making a selection.
Only available if delayed() is true.
Default: sticky.
@short If set to true, this action will create a sticky popup menu when plugged in a TDEToolbar.
*/
public native void setStickyMenu(boolean sticky);
/** 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();
}
|