summaryrefslogtreecommitdiffstats
path: root/kdejava/koala/org/kde/koala/KApplication.java
diff options
context:
space:
mode:
Diffstat (limited to 'kdejava/koala/org/kde/koala/KApplication.java')
-rw-r--r--kdejava/koala/org/kde/koala/KApplication.java58
1 files changed, 29 insertions, 29 deletions
diff --git a/kdejava/koala/org/kde/koala/KApplication.java b/kdejava/koala/org/kde/koala/KApplication.java
index a4bb5b31..e8f7194e 100644
--- a/kdejava/koala/org/kde/koala/KApplication.java
+++ b/kdejava/koala/org/kde/koala/KApplication.java
@@ -35,13 +35,13 @@ import org.kde.qt.TQApplication;
Installs a signal handler for the SIGCHLD signal in order to
avoid zombie children. If you want to catch this signal yourself or
don't want it to be caught at all, you have set a new signal handler
- (or SIG_IGN) after KApplication's constructor has run.
+ (or SIG_IGN) after TDEApplication's constructor has run.
</li>
<li>
Installs an empty signal handler for the SIGPIPE signal using
installSigpipeHandler(). If you want to catch this signal
- yourself, you have set a new signal handler after KApplication's
+ yourself, you have set a new signal handler after TDEApplication's
constructor has run.
</li>
@@ -69,14 +69,14 @@ import org.kde.qt.TQApplication;
Only start the service if it isn't already running,
wait until the service has registered with dcop.
</li>
- See {@link KApplicationSignals} for signals emitted by KApplication
+ See {@link TDEApplicationSignals} for signals emitted by TDEApplication
@author Matthias Kalle Dalheimer <kalle@kde.org>
@short Controls and provides information to all KDE applications.
*/
-public class KApplication extends TQApplication implements KInstanceInterface {
- protected KApplication(Class dummy){super((Class) null);}
+public class TDEApplication extends TQApplication implements KInstanceInterface {
+ protected TDEApplication(Class dummy){super((Class) null);}
public static final int ShiftModifier = 1<<0;
public static final int LockModifier = 1<<1;
public static final int ControlModifier = 1<<2;
@@ -155,21 +155,21 @@ public class KApplication extends TQApplication implements KInstanceInterface {
no styles either.
@short This constructor takes aboutData and command line arguments from KCmdLineArgs.
*/
- public KApplication(boolean allowStyles, boolean GUIenabled) {
+ public TDEApplication(boolean allowStyles, boolean GUIenabled) {
super((Class) null);
- newKApplication(allowStyles,GUIenabled);
+ newTDEApplication(allowStyles,GUIenabled);
}
- private native void newKApplication(boolean allowStyles, boolean GUIenabled);
- public KApplication(boolean allowStyles) {
+ private native void newTDEApplication(boolean allowStyles, boolean GUIenabled);
+ public TDEApplication(boolean allowStyles) {
super((Class) null);
- newKApplication(allowStyles);
+ newTDEApplication(allowStyles);
}
- private native void newKApplication(boolean allowStyles);
- public KApplication() {
+ private native void newTDEApplication(boolean allowStyles);
+ public TDEApplication() {
super((Class) null);
- newKApplication();
+ newTDEApplication();
}
- private native void newKApplication();
+ private native void newTDEApplication();
/**
Returns the application session config object.
@return A pointer to the application's instance specific
@@ -405,7 +405,7 @@ public class KApplication extends TQApplication implements KInstanceInterface {
/**
Enables style plugins.
This is useful only to applications that normally
- do not display a GUI and create the KApplication with
+ do not display a GUI and create the TDEApplication with
allowStyles set to false.
@short Enables style plugins.
*/
@@ -657,17 +657,17 @@ public class KApplication extends TQApplication implements KInstanceInterface {
*/
public native void selectAll();
/**
- Tells KApplication about one more operation that should be finished
+ Tells TDEApplication about one more operation that should be finished
before the application exits. The standard behavior is to exit on the
"last window closed" event, but some events should outlive the last window closed
(e.g. a file copy for a file manager, or 'compacting folders on exit' for a mail client).
- @short Tells KApplication about one more operation that should be finished before the application exits.
+ @short Tells TDEApplication about one more operation that should be finished before the application exits.
*/
public native void ref();
/**
- Tells KApplication that one operation such as those described in ref() just finished.
+ Tells TDEApplication that one operation such as those described in ref() just finished.
The application exits if the counter is back to 0.
- @short Tells KApplication that one operation such as those described in ref() just finished.
+ @short Tells TDEApplication that one operation such as those described in ref() just finished.
*/
public native void deref();
/**
@@ -678,7 +678,7 @@ public class KApplication extends TQApplication implements KInstanceInterface {
/**
Returns the current application object.
This is similar to the global TQApplication pointer tqApp. It
- allows access to the single global KApplication object, since
+ allows access to the single global TDEApplication object, since
more than one cannot be created in the same application. It
saves you the trouble of having to pass the pointer explicitly
to every function that may require it.
@@ -686,7 +686,7 @@ public class KApplication extends TQApplication implements KInstanceInterface {
@short Returns the current application object.
*/
- public static native KApplication kApplication();
+ public static native TDEApplication kApplication();
/**
Returns a pointer to a DCOPClient for the application.
If a client does not exist yet, it is created when this
@@ -698,8 +698,8 @@ public class KApplication extends TQApplication implements KInstanceInterface {
public static native DCOPClient dcopClient();
/**
Disable automatic dcop registration
- Must be called before creating a KApplication instance to have an effect.
- @short Disable automatic dcop registration Must be called before creating a KApplication instance to have an effect.
+ Must be called before creating a TDEApplication instance to have an effect.
+ @short Disable automatic dcop registration Must be called before creating a TDEApplication instance to have an effect.
*/
public static native void disableAutoDcopRegistration();
/**
@@ -967,7 +967,7 @@ public class KApplication extends TQApplication implements KInstanceInterface {
Installs a handler for the SIGPIPE signal. It is thrown when you write to
a pipe or socket that has been closed.
The handler is installed automatically in the constructor, but you may
- need it if your application or component does not have a KApplication
+ need it if your application or component does not have a TDEApplication
instance.
@short Installs a handler for the SIGPIPE signal.
*/
@@ -980,17 +980,17 @@ public class KApplication extends TQApplication implements KInstanceInterface {
/**
@short
*/
- public KApplication(boolean allowStyles, boolean GUIenabled, KInstanceInterface _instance) {
+ public TDEApplication(boolean allowStyles, boolean GUIenabled, KInstanceInterface _instance) {
super((Class) null);
- newKApplication(allowStyles,GUIenabled,_instance);
+ newTDEApplication(allowStyles,GUIenabled,_instance);
}
- private native void newKApplication(boolean allowStyles, boolean GUIenabled, KInstanceInterface _instance);
+ private native void newTDEApplication(boolean allowStyles, boolean GUIenabled, KInstanceInterface _instance);
/**
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()")
- This method can be used in KApplication subclasses to implement application wide
- edit actions not supported by the KApplication class. For example (in your subclass):
+ 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()
{