diff options
Diffstat (limited to 'kdejava/koala/org/kde/koala/KInstance.java')
-rw-r--r-- | kdejava/koala/org/kde/koala/KInstance.java | 36 |
1 files changed, 18 insertions, 18 deletions
diff --git a/kdejava/koala/org/kde/koala/KInstance.java b/kdejava/koala/org/kde/koala/KInstance.java index 70732b42..a012c30e 100644 --- a/kdejava/koala/org/kde/koala/KInstance.java +++ b/kdejava/koala/org/kde/koala/KInstance.java @@ -15,39 +15,39 @@ import org.kde.qt.QtSupport; @short Access to KDE global objects for use in shared libraries. */ -public class KInstance implements QtSupport, KInstanceInterface { +public class TDEInstance implements QtSupport, TDEInstanceInterface { private long _qt; private boolean _allocatedInJavaWorld = true; - protected KInstance(Class dummy){} + protected TDEInstance(Class dummy){} /** Constructor. @param instanceName the name of the instance @short Constructor. */ - public KInstance(String instanceName) { - newKInstance(instanceName); + public TDEInstance(String instanceName) { + newTDEInstance(instanceName); } - private native void newKInstance(String instanceName); + private native void newTDEInstance(String instanceName); /** Constructor. - When building a KInstance that is not your TDEApplication, - make sure that the KAboutData and the KInstance have the same life time. + When building a TDEInstance that is not your TDEApplication, + make sure that the TDEAboutData and the TDEInstance have the same life time. You have to destroy both, since the instance doesn't own the about data. - Don't build a KAboutData on the stack in this case ! - Building a KAboutData on the stack is only ok for usage with + Don't build a TDEAboutData on the stack in this case ! + Building a TDEAboutData on the stack is only ok for usage with TDECmdLineArgs and TDEApplication (not destroyed until the app exits). - @param aboutData data about this instance (see KAboutData) + @param aboutData data about this instance (see TDEAboutData) @short Constructor. */ - public KInstance(KAboutData aboutData) { - newKInstance(aboutData); + public TDEInstance(TDEAboutData aboutData) { + newTDEInstance(aboutData); } - private native void newKInstance(KAboutData aboutData); - public KInstance(KInstanceInterface src) { - newKInstance(src); + private native void newTDEInstance(TDEAboutData aboutData); + public TDEInstance(TDEInstanceInterface src) { + newTDEInstance(src); } - private native void newKInstance(KInstanceInterface src); + private native void newTDEInstance(TDEInstanceInterface src); /** Returns the application standard dirs object. @return The KStandardDirs of the application. @@ -89,10 +89,10 @@ public class KInstance implements QtSupport, KInstanceInterface { @short Returns the about data of this instance Warning, can be 0L */ - public native KAboutData aboutData(); + public native TDEAboutData aboutData(); /** Returns the name of the instance - @return the instance name, can be null if the KInstance has been + @return the instance name, can be null if the TDEInstance has been created with a null name @short Returns the name of the instance |