diff options
Diffstat (limited to 'kdejava/koala/org/kde/koala/KCModuleLoader.java')
-rw-r--r-- | kdejava/koala/org/kde/koala/KCModuleLoader.java | 62 |
1 files changed, 31 insertions, 31 deletions
diff --git a/kdejava/koala/org/kde/koala/KCModuleLoader.java b/kdejava/koala/org/kde/koala/KCModuleLoader.java index cd55d623..926a5088 100644 --- a/kdejava/koala/org/kde/koala/KCModuleLoader.java +++ b/kdejava/koala/org/kde/koala/KCModuleLoader.java @@ -8,20 +8,20 @@ import org.kde.qt.TQWidget; /** @class Loads a KControl Module. - KCModuleLoader tries in several ways - to locate and load a KCModule. If loading fails a + TDECModuleLoader tries in several ways + to locate and load a TDECModule. If loading fails a zero pointer is returned. \n - It is very unlikely KCModuleLoader is what you want - and {@link KCModuleProxy} suits your needs. + It is very unlikely TDECModuleLoader is what you want + and {@link TDECModuleProxy} suits your needs. @author Frans Englich <frans.englich@telia.com> @short @class Loads a KControl Module. */ -public class KCModuleLoader implements QtSupport { +public class TDECModuleLoader implements QtSupport { private long _qt; private boolean _allocatedInJavaWorld = true; - protected KCModuleLoader(Class dummy){} + protected TDECModuleLoader(Class dummy){} /** Determines the way errors are reported @@ -32,46 +32,46 @@ public class KCModuleLoader implements QtSupport { public static final int Dialog = 2; public static final int Both = 3; - public KCModuleLoader() { - newKCModuleLoader(); + public TDECModuleLoader() { + newTDECModuleLoader(); } - private native void newKCModuleLoader(); + private native void newTDECModuleLoader(); /** - Loads a {@link KCModule}. If loading fails a zero pointer is returned. + Loads a {@link TDECModule}. If loading fails a zero pointer is returned. @param module what module to load @param report see ErrorReporting @param withFallback if true and loading failed a separate window with the module may appear and a zero pointer is a returned - @return a pointer to the loaded @ref KCModule + @return a pointer to the loaded @ref TDECModule - @short Loads a @ref KCModule. + @short Loads a @ref TDECModule. */ - public static native KCModule loadModule(KCModuleInfo module, int report, boolean withFallback, TQWidget parent, String name, String[] args); - public static native KCModule loadModule(KCModuleInfo module, int report, boolean withFallback, TQWidget parent, String name); - public static native KCModule loadModule(KCModuleInfo module, int report, boolean withFallback, TQWidget parent); - public static native KCModule loadModule(KCModuleInfo module, int report, boolean withFallback); - public static native KCModule loadModule(KCModuleInfo module, int report); + public static native TDECModule loadModule(TDECModuleInfo module, int report, boolean withFallback, TQWidget parent, String name, String[] args); + public static native TDECModule loadModule(TDECModuleInfo module, int report, boolean withFallback, TQWidget parent, String name); + public static native TDECModule loadModule(TDECModuleInfo module, int report, boolean withFallback, TQWidget parent); + public static native TDECModule loadModule(TDECModuleInfo module, int report, boolean withFallback); + public static native TDECModule loadModule(TDECModuleInfo module, int report); /** - Loads a {@link KCModule}. If loading fails a zero pointer is returned. + Loads a {@link TDECModule}. If loading fails a zero pointer is returned. @param module what module to load @param report see ErrorReporting with the module may appear and a zero pointer is a returned - @return a pointer to the loaded @ref KCModule + @return a pointer to the loaded @ref TDECModule - @short Loads a @ref KCModule. + @short Loads a @ref TDECModule. */ - public static native KCModule loadModule(String module, int report, TQWidget parent, String name, String[] args); - public static native KCModule loadModule(String module, int report, TQWidget parent, String name); - public static native KCModule loadModule(String module, int report, TQWidget parent); - public static native KCModule loadModule(String module, int report); + public static native TDECModule loadModule(String module, int report, TQWidget parent, String name, String[] args); + public static native TDECModule loadModule(String module, int report, TQWidget parent, String name); + public static native TDECModule loadModule(String module, int report, TQWidget parent); + public static native TDECModule loadModule(String module, int report); /** Unloads the module's library @param mod What module to unload for @short Unloads the module's library */ - public static native void unloadModule(KCModuleInfo mod); + public static native void unloadModule(TDECModuleInfo mod); /** - Checks whether an KCModule should be shown by running its + Checks whether an TDECModule should be shown by running its test function. If it is unsure whether a module should be shown, it should be made available, leaving the decision to the user. If false is returned, the module should not be loaded in any interface. @@ -92,7 +92,7 @@ public class KCModuleLoader implements QtSupport { @param module the module to check @return true if the module should be loaded - @short Checks whether an KCModule should be shown by running its test function. + @short Checks whether an TDECModule should be shown by running its test function. */ public static native boolean testModule(String module); /** @@ -102,15 +102,15 @@ public class KCModuleLoader implements QtSupport { @short Convenience function, essentially the same as above. */ - public static native boolean testModule(KCModuleInfo module); + public static native boolean testModule(TDECModuleInfo module); /** - Returns a KCModule containing the messages <code>report</code> and <code>text.</code> + Returns a TDECModule containing the messages <code>report</code> and <code>text.</code> @param report the type of error reporting, see ErrorReporting @param text the main message @param details any additional details - @short Returns a KCModule containing the messages <code>report</code> and <code>text.</code> + @short Returns a TDECModule containing the messages <code>report</code> and <code>text.</code> */ - public static native KCModule reportError(int report, String text, String details, TQWidget parent); + public static native TDECModule reportError(int report, String text, String details, TQWidget parent); /** Deletes the wrapped C++ instance */ protected native void finalize() throws InternalError; /** Delete the wrapped C++ instance ahead of finalize() */ |