summaryrefslogtreecommitdiffstats
path: root/tdejava/koala/org/trinitydesktop/koala/TDEApplication.java
diff options
context:
space:
mode:
Diffstat (limited to 'tdejava/koala/org/trinitydesktop/koala/TDEApplication.java')
-rw-r--r--tdejava/koala/org/trinitydesktop/koala/TDEApplication.java16
1 files changed, 8 insertions, 8 deletions
diff --git a/tdejava/koala/org/trinitydesktop/koala/TDEApplication.java b/tdejava/koala/org/trinitydesktop/koala/TDEApplication.java
index 786251b1..9a158da8 100644
--- a/tdejava/koala/org/trinitydesktop/koala/TDEApplication.java
+++ b/tdejava/koala/org/trinitydesktop/koala/TDEApplication.java
@@ -602,7 +602,7 @@ public class TDEApplication extends TQApplication implements TDEInstanceInterfac
If the widget with focus provides a cut() slot, call that slot. Thus for a
simple application cut can be implemented as:
<pre>
- KStdAction.cut( kapp, SLOT("cut()"), actionCollection() );
+ KStdAction.cut( kapp, TQ_SLOT("cut()"), actionCollection() );
</pre>
@short If the widget with focus provides a cut() slot, call that slot.
*/
@@ -611,7 +611,7 @@ public class TDEApplication extends TQApplication implements TDEInstanceInterfac
If the widget with focus provides a copy() slot, call that slot. Thus for a
simple application copy can be implemented as:
<pre>
- KStdAction.copy( kapp, SLOT("copy()"), actionCollection() );
+ KStdAction.copy( kapp, TQ_SLOT("copy()"), actionCollection() );
</pre>
@short If the widget with focus provides a copy() slot, call that slot.
*/
@@ -620,7 +620,7 @@ public class TDEApplication extends TQApplication implements TDEInstanceInterfac
If the widget with focus provides a paste() slot, call that slot. Thus for a
simple application copy can be implemented as:
<pre>
- KStdAction.paste( kapp, SLOT("paste()"), actionCollection() );
+ KStdAction.paste( kapp, TQ_SLOT("paste()"), actionCollection() );
</pre>
@short If the widget with focus provides a paste() slot, call that slot.
*/
@@ -629,7 +629,7 @@ public class TDEApplication extends TQApplication implements TDEInstanceInterfac
If the widget with focus provides a clear() slot, call that slot. Thus for a
simple application clear() can be implemented as:
<pre>
- new TDEAction( i18n( "Clear" ), "editclear", 0, kapp, SLOT("clear()"), actionCollection(), "clear" );
+ new TDEAction( i18n( "Clear" ), "editclear", 0, kapp, TQ_SLOT("clear()"), actionCollection(), "clear" );
</pre>
Note that for some widgets, this may not provide the intended bahavior. For
example if you make use of the code above and a TDEListView has the focus, clear()
@@ -651,7 +651,7 @@ public class TDEApplication extends TQApplication implements TDEInstanceInterfac
If the widget with focus provides a selectAll() slot, call that slot. Thus for a
simple application select all can be implemented as:
<pre>
- KStdAction.selectAll( kapp, SLOT("selectAll()"), actionCollection() );
+ KStdAction.selectAll( kapp, TQ_SLOT("selectAll()"), actionCollection() );
</pre>
@short If the widget with focus provides a selectAll() slot, call that slot.
*/
@@ -988,19 +988,19 @@ public class TDEApplication extends TQApplication implements TDEInstanceInterfac
/**
This method is used internally to determine which edit slots are implemented
by the widget that has the focus, and to invoke those slots if available.
- @param slot is the slot as returned using the SLOT() macro, for example SLOT("cut()")
+ @param slot is the slot as returned using the TQ_SLOT() macro, for example TQ_SLOT("cut()")
This method can be used in TDEApplication subclasses to implement application wide
edit actions not supported by the TDEApplication class. For example (in your subclass):
<pre>
void MyApplication.deselect()
{
- invokeEditSlot( SLOT("deselect()") );
+ invokeEditSlot( TQ_SLOT("deselect()") );
}
</pre>
Now in your application calls to MyApplication.deselect() will call this slot on the
focused widget if it provides this slot. You can combine this with TDEAction with:
<pre>
- KStdAction.deselect( (MyApplication)( kapp ), SLOT("cut()"), actionCollection() );
+ KStdAction.deselect( (MyApplication)( kapp ), TQ_SLOT("cut()"), actionCollection() );
</pre>
@short This method is used internally to determine which edit slots are implemented by the widget that has the focus, and to invoke those slots if available.
@see #cut