summaryrefslogtreecommitdiffstats
path: root/kdejava/koala/org/kde/koala/KPalette.java
diff options
context:
space:
mode:
Diffstat (limited to 'kdejava/koala/org/kde/koala/KPalette.java')
-rw-r--r--kdejava/koala/org/kde/koala/KPalette.java22
1 files changed, 11 insertions, 11 deletions
diff --git a/kdejava/koala/org/kde/koala/KPalette.java b/kdejava/koala/org/kde/koala/KPalette.java
index 66e43e54..1d763e1a 100644
--- a/kdejava/koala/org/kde/koala/KPalette.java
+++ b/kdejava/koala/org/kde/koala/KPalette.java
@@ -2,7 +2,7 @@
package org.kde.koala;
import org.kde.qt.Qt;
-import org.kde.qt.QColor;
+import org.kde.qt.TQColor;
import org.kde.qt.QtSupport;
import java.util.ArrayList;
@@ -13,7 +13,7 @@ import java.util.ArrayList;
A palette is a set of colors. This class can read
and write palettes from and to a file.
This class uses the "GIMP" palette file format.
- This class is totally unrelated to QPalette.
+ This class is totally unrelated to TQPalette.
@author Waldo Bastian (bastian@kde.org)
@short Class for handling Palettes.
@@ -116,7 +116,7 @@ public class KPalette implements QtSupport {
@short Find color by index.
*/
- public native QColor color(int index);
+ public native TQColor color(int index);
/**
Find index by <code>color.</code>
@param color the color to find
@@ -125,7 +125,7 @@ public class KPalette implements QtSupport {
@short Find index by <code>color.</code>
*/
- public native int findColor(QColor color);
+ public native int findColor(TQColor color);
/**
Find color name by <code>index.</code>
@param index the index of the color
@@ -145,7 +145,7 @@ public class KPalette implements QtSupport {
@short Find color name by <code>color.</code>
*/
- public native String colorName(QColor color);
+ public native String colorName(TQColor color);
/**
Add a color.
@param newColor The color to add.
@@ -155,8 +155,8 @@ public class KPalette implements QtSupport {
@short Add a color.
*/
- public native int addColor(QColor newColor, String newColorName);
- public native int addColor(QColor newColor);
+ public native int addColor(TQColor newColor, String newColorName);
+ public native int addColor(TQColor newColor);
/**
Change a color.
@param index Index of the color to change
@@ -168,8 +168,8 @@ public class KPalette implements QtSupport {
@short Change a color.
*/
- public native int changeColor(int index, QColor newColor, String newColorName);
- public native int changeColor(int index, QColor newColor);
+ public native int changeColor(int index, TQColor newColor, String newColorName);
+ public native int changeColor(int index, TQColor newColor);
/**
Change a color.
@param oldColor The original color
@@ -181,8 +181,8 @@ public class KPalette implements QtSupport {
@short Change a color.
*/
- public native int changeColor(QColor oldColor, QColor newColor, String newColorName);
- public native int changeColor(QColor oldColor, QColor newColor);
+ public native int changeColor(TQColor oldColor, TQColor newColor, String newColorName);
+ public native int changeColor(TQColor oldColor, TQColor newColor);
/**
Query which KDE palettes are installed.
@return A list with a palette names.