summaryrefslogtreecommitdiffstats
path: root/kdejava/koala/org/kde/koala/KColorDialog.java
diff options
context:
space:
mode:
Diffstat (limited to 'kdejava/koala/org/kde/koala/KColorDialog.java')
-rw-r--r--kdejava/koala/org/kde/koala/KColorDialog.java64
1 files changed, 32 insertions, 32 deletions
diff --git a/kdejava/koala/org/kde/koala/KColorDialog.java b/kdejava/koala/org/kde/koala/KColorDialog.java
index 3bcda11c..32a95471 100644
--- a/kdejava/koala/org/kde/koala/KColorDialog.java
+++ b/kdejava/koala/org/kde/koala/KColorDialog.java
@@ -2,15 +2,15 @@
package org.kde.koala;
import org.kde.qt.Qt;
-import org.kde.qt.QColor;
-import org.kde.qt.QMetaObject;
+import org.kde.qt.TQColor;
+import org.kde.qt.TQMetaObject;
import org.kde.qt.QtSupport;
-import org.kde.qt.QObject;
-import org.kde.qt.QPoint;
-import org.kde.qt.QKeyEvent;
-import org.kde.qt.QMouseEvent;
-import org.kde.qt.QEvent;
-import org.kde.qt.QWidget;
+import org.kde.qt.TQObject;
+import org.kde.qt.TQPoint;
+import org.kde.qt.TQKeyEvent;
+import org.kde.qt.TQMouseEvent;
+import org.kde.qt.TQEvent;
+import org.kde.qt.TQWidget;
/**
@@ -36,7 +36,7 @@ import org.kde.qt.QWidget;
user choose a color, and returns.
Example:
<pre>
- QColor myColor;
+ TQColor myColor;
int result = KColorDialog.getColor( myColor );
if ( result == KColorDialog.Accepted )
...
@@ -55,27 +55,27 @@ import org.kde.qt.QWidget;
*/
public class KColorDialog extends KDialogBase {
protected KColorDialog(Class dummy){super((Class) null);}
- public native QMetaObject metaObject();
+ public native TQMetaObject metaObject();
public native String className();
/**
Constructs a color selection dialog.
@short Constructs a color selection dialog.
*/
- public KColorDialog(QWidget parent, String name, boolean modal) {
+ public KColorDialog(TQWidget parent, String name, boolean modal) {
super((Class) null);
newKColorDialog(parent,name,modal);
}
- private native void newKColorDialog(QWidget parent, String name, boolean modal);
- public KColorDialog(QWidget parent, String name) {
+ private native void newKColorDialog(TQWidget parent, String name, boolean modal);
+ public KColorDialog(TQWidget parent, String name) {
super((Class) null);
newKColorDialog(parent,name);
}
- private native void newKColorDialog(QWidget parent, String name);
- public KColorDialog(QWidget parent) {
+ private native void newKColorDialog(TQWidget parent, String name);
+ public KColorDialog(TQWidget parent) {
super((Class) null);
newKColorDialog(parent);
}
- private native void newKColorDialog(QWidget parent);
+ private native void newKColorDialog(TQWidget parent);
public KColorDialog() {
super((Class) null);
newKColorDialog();
@@ -85,57 +85,57 @@ public class KColorDialog extends KDialogBase {
Returns the currently selected color.
@short Returns the currently selected color.
*/
- public native QColor color();
+ public native TQColor color();
/**
Call this to make the dialog show a "Default Color" checkbox.
- If this checkbox is selected, the dialog will return an "invalid" color (QColor()).
+ If this checkbox is selected, the dialog will return an "invalid" color (TQColor()).
This can be used to mean "the default text color", for instance,
the one with the KDE text color on screen, but black when printing.
@short Call this to make the dialog show a "Default Color" checkbox.
*/
- public native void setDefaultColor(QColor defaultCol);
+ public native void setDefaultColor(TQColor defaultCol);
/**
@return the value passed to setDefaultColor
@short
*/
- public native QColor defaultColor();
+ public native TQColor defaultColor();
/**
Preselects a color.
@short Preselects a color.
*/
- public native void setColor(QColor col);
+ public native void setColor(TQColor col);
/**
Creates a modal color dialog, let the user choose a
color, and returns when the dialog is closed.
The selected color is returned in the argument <code>theColor.</code>
- @return QDialog.result().
+ @return TQDialog.result().
@short Creates a modal color dialog, let the user choose a color, and returns when the dialog is closed.
*/
- public static native int getColor(QColor theColor, QWidget parent);
- public static native int getColor(QColor theColor);
+ public static native int getColor(TQColor theColor, TQWidget parent);
+ public static native int getColor(TQColor theColor);
/**
Creates a modal color dialog, lets the user choose a
color, and returns when the dialog is closed.
The selected color is returned in the argument <code>theColor.</code>
This version takes a <code>defaultColor</code> argument, which sets the color
selected by the "default color" checkbox. When this checkbox is checked,
- the invalid color (QColor()) is returned into <code>theColor.</code>
- @return QDialog.result().
+ the invalid color (TQColor()) is returned into <code>theColor.</code>
+ @return TQDialog.result().
@short Creates a modal color dialog, lets the user choose a color, and returns when the dialog is closed.
*/
- public static native int getColor(QColor theColor, QColor defaultColor, QWidget parent);
- public static native int getColor(QColor theColor, QColor defaultColor);
+ public static native int getColor(TQColor theColor, TQColor defaultColor, TQWidget parent);
+ public static native int getColor(TQColor theColor, TQColor defaultColor);
/**
Gets the color from the pixel at point p on the screen.
@short Gets the color from the pixel at point p on the screen.
*/
- public static native QColor grabColor(QPoint p);
- protected native void mouseReleaseEvent(QMouseEvent arg1);
- protected native void keyPressEvent(QKeyEvent arg1);
- public native boolean eventFilter(QObject arg1, QEvent ev);
+ public static native TQColor grabColor(TQPoint p);
+ protected native void mouseReleaseEvent(TQMouseEvent arg1);
+ protected native void keyPressEvent(TQKeyEvent arg1);
+ public native boolean eventFilter(TQObject arg1, TQEvent ev);
/** Deletes the wrapped C++ instance */
protected native void finalize() throws InternalError;
/** Delete the wrapped C++ instance ahead of finalize() */