summaryrefslogtreecommitdiffstats
path: root/kdejava/koala/org/kde/koala/KIconLoader.java
diff options
context:
space:
mode:
Diffstat (limited to 'kdejava/koala/org/kde/koala/KIconLoader.java')
-rw-r--r--kdejava/koala/org/kde/koala/KIconLoader.java68
1 files changed, 34 insertions, 34 deletions
diff --git a/kdejava/koala/org/kde/koala/KIconLoader.java b/kdejava/koala/org/kde/koala/KIconLoader.java
index 22586ca0..5ace9688 100644
--- a/kdejava/koala/org/kde/koala/KIconLoader.java
+++ b/kdejava/koala/org/kde/koala/KIconLoader.java
@@ -11,7 +11,7 @@ import org.kde.qt.TQIconSet;
/**
Iconloader for KDE.
- KIconLoader will load the current icon theme and all its base themes.
+ TDEIconLoader will load the current icon theme and all its base themes.
Icons will be searched in any of these themes. Additionally, it caches
icons and applies effects according the the user's preferences.
In KDE, it is encouraged to load icons by "Group". An icon group is a
@@ -23,24 +23,24 @@ import org.kde.qt.TQIconSet;
The standard groups are defined below.
<li>
- KIcon.Desktop: Icons in the iconview of konqueror, kdesktop and similar apps.
+ TDEIcon.Desktop: Icons in the iconview of konqueror, kdesktop and similar apps.
</li>
<li>
- KIcon.Toolbar: Icons in toolbars.
+ TDEIcon.Toolbar: Icons in toolbars.
</li>
<li>
- KIcon.MainToolbar: Icons in the main toolbars.
+ TDEIcon.MainToolbar: Icons in the main toolbars.
</li>
<li>
- KIcon.Small: Various small (typical 16x16) places: titlebars, listviews
+ TDEIcon.Small: Various small (typical 16x16) places: titlebars, listviews
and menu entries.
</li>
<li>
- KIcon.Panel: Icons in kicker's panel
+ TDEIcon.Panel: Icons in kicker's panel
</li>
The icons are stored on disk in an icon theme or in a standalone
directory. The icon theme directories contain multiple sizes and/or
@@ -54,10 +54,10 @@ import org.kde.qt.TQIconSet;
@short Iconloader for KDE.
*/
-public class KIconLoader implements QtSupport {
+public class TDEIconLoader implements QtSupport {
private long _qt;
private boolean _allocatedInJavaWorld = true;
- protected KIconLoader(Class dummy){}
+ protected TDEIconLoader(Class dummy){}
/**
Constructs an iconloader.
@@ -73,18 +73,18 @@ public class KIconLoader implements QtSupport {
@see TDEGlobal#iconLoader
@see TDEInstance#iconLoader
*/
- public KIconLoader(String appname, TDEStandardDirs dirs) {
- newKIconLoader(appname,dirs);
+ public TDEIconLoader(String appname, TDEStandardDirs dirs) {
+ newTDEIconLoader(appname,dirs);
}
- private native void newKIconLoader(String appname, TDEStandardDirs dirs);
- public KIconLoader(String appname) {
- newKIconLoader(appname);
+ private native void newTDEIconLoader(String appname, TDEStandardDirs dirs);
+ public TDEIconLoader(String appname) {
+ newTDEIconLoader(appname);
}
- private native void newKIconLoader(String appname);
- public KIconLoader() {
- newKIconLoader();
+ private native void newTDEIconLoader(String appname);
+ public TDEIconLoader() {
+ newTDEIconLoader();
}
- private native void newKIconLoader();
+ private native void newTDEIconLoader();
/**
Adds <code>appname</code> to the list of application specific directories.
@param appname The application name.
@@ -101,7 +101,7 @@ public class KIconLoader implements QtSupport {
@param group The icon group. This will specify the size of and effects to
be applied to the icon.
@param size If nonzero, this overrides the size specified by <code>group.</code>
- See KIcon.StdSizes.
+ See TDEIcon.StdSizes.
@param state The icon state: <code>DefaultState</code>, <code>ActiveState</code> or
<code>DisabledState.</code> Depending on the user's preferences, the iconloader
may apply a visual effect to hint about its state.
@@ -125,7 +125,7 @@ public class KIconLoader implements QtSupport {
@param group The icon group. This will specify the size of and effects to
be applied to the icon.
@param size If nonzero, this overrides the size specified by <code>group.</code>
- See KIcon.StdSizes.
+ See TDEIcon.StdSizes.
@param canReturnNull Can return a null iconset? If false, iconset
containing the "unknown" pixmap is returned when no appropriate icon has
been found.
@@ -144,7 +144,7 @@ public class KIconLoader implements QtSupport {
@param group The icon group. This will specify the size of and effects to
be applied to the icon.
@param size If nonzero, this overrides the size specified by <code>group.</code>
- See KIcon.StdSizes.
+ See TDEIcon.StdSizes.
@param canReturnNull Can return a null iconset? If false, iconset
containing the "unknown" pixmap is returned when no appropriate icon has
been found.
@@ -161,7 +161,7 @@ public class KIconLoader implements QtSupport {
@param group The icon group. This will specify the size of and effects to
be applied to the icon.
@param size If nonzero, this overrides the size specified by <code>group.</code>
- See KIcon.StdSizes.
+ See TDEIcon.StdSizes.
@return the icon set. Can be null when not found
@short Creates an icon set, that will do on-demand loading of the icon.
@@ -176,7 +176,7 @@ public class KIconLoader implements QtSupport {
@param group_or_size If positive, search icons whose size is
specified by the icon group <code>group_or_size.</code> If negative, search
icons whose size is - <code>group_or_size.</code>
- See KIcon.Group and KIcon.StdSizes
+ See TDEIcon.Group and TDEIcon.StdSizes
@param canReturnNull Can return a null string? If not, a path to the
"unknown" icon will be returned.
@return the path of an icon, can be null or the "unknown" icon when
@@ -191,7 +191,7 @@ public class KIconLoader implements QtSupport {
@param name The name of the icon.
@param group The icon group. See loadIcon().
@param size Override the default size for <code>group.</code>
- See KIcon.StdSizes.
+ See TDEIcon.StdSizes.
@return A TQMovie object. Can be null if not found.
@short Loads an animated icon.
@@ -203,7 +203,7 @@ public class KIconLoader implements QtSupport {
@param name The name of the icon.
@param group The icon group. See loadIcon().
@param size Override the default size for <code>group.</code>
- See KIcon.StdSizes.
+ See TDEIcon.StdSizes.
@return the full path to the movie, ready to be passed to TQMovie's constructor.
Empty string if not found.
@@ -217,7 +217,7 @@ public class KIconLoader implements QtSupport {
@param name The name of the icon.
@param group The icon group. See loadIcon().
@param size Override the default size for <code>group.</code>
- See KIcon.StdSizes.
+ See TDEIcon.StdSizes.
@return An ArrayList containing the absolute path of all the frames
making up the animation.
@@ -231,7 +231,7 @@ public class KIconLoader implements QtSupport {
@param group_or_size If positive, search icons whose size is
specified by the icon group <code>group_or_size.</code> If negative, search
icons whose size is - <code>group_or_size.</code>
- See KIcon.Group and KIcon.StdSizes
+ See TDEIcon.Group and TDEIcon.StdSizes
@param context The icon context.
@return a list of all icons
@@ -244,8 +244,8 @@ public class KIconLoader implements QtSupport {
@param group_or_size The icon preferred group or size. If available
at this group or size, those icons will be returned, in other case,
icons of undefined size will be returned. Positive numbers are groups,
- negative numbers are negated sizes. See KIcon.Group and
- KIcon.StdSizes
+ negative numbers are negated sizes. See TDEIcon.Group and
+ TDEIcon.StdSizes
@param context The icon context.
@return An ArrayList containing the icon names
available for that context
@@ -278,14 +278,14 @@ public class KIconLoader implements QtSupport {
@short Returns a pointer to the current theme.
*/
- // KIconTheme* theme(); >>>> NOT CONVERTED
+ // TDEIconTheme* theme(); >>>> NOT CONVERTED
/**
- Returns a pointer to the KIconEffect object used by the icon loader.
- @return the KIconEffect.
+ Returns a pointer to the TDEIconEffect object used by the icon loader.
+ @return the TDEIconEffect.
- @short Returns a pointer to the KIconEffect object used by the icon loader.
+ @short Returns a pointer to the TDEIconEffect object used by the icon loader.
*/
- public native KIconEffect iconEffect();
+ public native TDEIconEffect iconEffect();
/**
Called by TDEInstance.newIconLoader to reconfigure the icon loader.
@param _appname the new application name
@@ -314,7 +314,7 @@ public class KIconLoader implements QtSupport {
calls after this setting is changed.
The default is disabled, as the iconloader object must not be
destroyed before all those iconsets are destroyed.
- (Some broken applications use temporary KIconLoader objects).
+ (Some broken applications use temporary TDEIconLoader objects).
Every TDEInstance 's iconloader has this feature enabled.
@param enable true to enable delayed icon loading, false to disable
@short Enables on-demand icon loading for TQIconSets using TQIconFactory.