summaryrefslogtreecommitdiffstats
path: root/tdejava/koala/org/trinitydesktop/koala/TDEAction.java
diff options
context:
space:
mode:
Diffstat (limited to 'tdejava/koala/org/trinitydesktop/koala/TDEAction.java')
-rw-r--r--tdejava/koala/org/trinitydesktop/koala/TDEAction.java36
1 files changed, 18 insertions, 18 deletions
diff --git a/tdejava/koala/org/trinitydesktop/koala/TDEAction.java b/tdejava/koala/org/trinitydesktop/koala/TDEAction.java
index 3e6abfc2..1120265e 100644
--- a/tdejava/koala/org/trinitydesktop/koala/TDEAction.java
+++ b/tdejava/koala/org/trinitydesktop/koala/TDEAction.java
@@ -56,11 +56,11 @@ import org.trinitydesktop.qt.TQObject;
TQSignalMapper . A tiny example:
<pre>
TQSignalMapper desktopNumberMapper = new TQSignalMapper( this );
- connect( desktopNumberMapper, SIGNAL("mapped( int )"),
- this, SLOT("moveWindowToDesktop( int )") );
+ connect( desktopNumberMapper, TQ_SIGNAL("mapped( int )"),
+ this, TQ_SLOT("moveWindowToDesktop( int )") );
for ( uint i = 0; i < numberOfDesktops; ++i ) {
TDEAction desktopAction = new TDEAction( i18n( "Move Window to Desktop %i" ).arg( i ), ... );
- connect( desktopAction, SIGNAL("activated()"), desktopNumberMapper, SLOT("map()") );
+ connect( desktopAction, TQ_SIGNAL("activated()"), desktopNumberMapper, TQ_SLOT("map()") );
desktopNumberMapper.setMapping( desktopAction, i );
}
</pre>
@@ -85,7 +85,7 @@ import org.trinitydesktop.qt.TQObject;
<pre>
TDEAction newAct = new TDEAction(i18n("&New"), "filenew",
TDEStdAccel.shortcut(TDEStdAccel.New),
- this, SLOT("fileNew()"),
+ this, TQ_SLOT("fileNew()"),
actionCollection(), "new");
</pre>
This line creates our action. It says that wherever this action is
@@ -157,7 +157,7 @@ public class TDEAction extends TQObject {
public native String className();
/**
Constructs an action with text, potential keyboard
- shortcut, and a SLOT to call when this action is invoked by
+ shortcut, and a slot to call when this action is invoked by
the user.
If you do not want or have a keyboard shortcut,
set the <code>cut</code> param to 0.
@@ -167,11 +167,11 @@ public class TDEAction extends TQObject {
plugged in a toolbar...).
@param text The text that will be displayed.
@param cut The corresponding keyboard shortcut.
- @param receiver The SLOT's parent.
- @param slot The SLOT to invoke to execute this action.
+ @param receiver The slot's parent.
+ @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 Constructs an action with text, potential keyboard shortcut, and a SLOT to call when this action is invoked by the user.
+ @short Constructs an action with text, potential keyboard shortcut, and a slot to call when this action is invoked by the user.
*/
public TDEAction(String text, TDEShortcut cut, TQObject receiver, String slot, TDEActionCollection parent, String name) {
super((Class) null);
@@ -180,7 +180,7 @@ public class TDEAction extends TQObject {
private native void newTDEAction(String text, TDEShortcut cut, TQObject receiver, String slot, TDEActionCollection parent, String name);
/**
Constructs an action with text, icon, potential keyboard
- shortcut, and a SLOT to call when this action is invoked by
+ shortcut, and a slot to call when this action is invoked by
the user.
If you do not want or have a keyboard shortcut, set the
<code>cut</code> param to 0.
@@ -189,11 +189,11 @@ public class TDEAction extends TQObject {
@param text The text that will be displayed.
@param pix The icon to display.
@param cut The corresponding keyboard shortcut.
- @param receiver The SLOT's parent.
- @param slot The SLOT to invoke to execute this action.
+ @param receiver The slot's parent.
+ @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 Constructs an action with text, icon, potential keyboard shortcut, and a SLOT to call when this action is invoked by the user.
+ @short Constructs an action with text, icon, potential keyboard shortcut, and a slot to call when this action is invoked by the user.
*/
public TDEAction(String text, TQIconSet pix, TDEShortcut cut, TQObject receiver, String slot, TDEActionCollection parent, String name) {
super((Class) null);
@@ -202,7 +202,7 @@ public class TDEAction extends TQObject {
private native void newTDEAction(String text, TQIconSet pix, TDEShortcut cut, TQObject receiver, String slot, TDEActionCollection parent, String name);
/**
Constructs an action with text, icon, potential keyboard
- shortcut, and a SLOT to call when this action is invoked by
+ shortcut, and a slot to call when this action is invoked by
the user. The icon is loaded on demand later based on where it
is plugged in.
If you do not want or have a keyboard shortcut, set the
@@ -212,11 +212,11 @@ public class TDEAction extends TQObject {
@param text The text that will be displayed.
@param pix The icon to display.
@param cut The corresponding keyboard shortcut (shortcut).
- @param receiver The SLOT's parent.
- @param slot The SLOT to invoke to execute this action.
+ @param receiver The slot's parent.
+ @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 Constructs an action with text, icon, potential keyboard shortcut, and a SLOT to call when this action is invoked by the user.
+ @short Constructs an action with text, icon, potential keyboard shortcut, and a slot to call when this action is invoked by the user.
*/
public TDEAction(String text, String pix, TDEShortcut cut, TQObject receiver, String slot, TDEActionCollection parent, String name) {
super((Class) null);
@@ -228,8 +228,8 @@ public class TDEAction extends TQObject {
the text and icon.
@param item The KGuiItem with the label and (optional) icon.
@param cut The corresponding keyboard shortcut (shortcut).
- @param receiver The SLOT's parent.
- @param slot The SLOT to invoke to execute this action.
+ @param receiver The slot's parent.
+ @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 The same as the above constructor, but with a KGuiItem providing the text and icon.