summaryrefslogtreecommitdiffstats
path: root/kdejava/koala/org/kde/koala/KFontChooser.java
diff options
context:
space:
mode:
Diffstat (limited to 'kdejava/koala/org/kde/koala/KFontChooser.java')
-rw-r--r--kdejava/koala/org/kde/koala/KFontChooser.java72
1 files changed, 36 insertions, 36 deletions
diff --git a/kdejava/koala/org/kde/koala/KFontChooser.java b/kdejava/koala/org/kde/koala/KFontChooser.java
index 2389e668..d75c5ff6 100644
--- a/kdejava/koala/org/kde/koala/KFontChooser.java
+++ b/kdejava/koala/org/kde/koala/KFontChooser.java
@@ -2,13 +2,13 @@
package org.kde.koala;
import org.kde.qt.Qt;
-import org.kde.qt.QColor;
-import org.kde.qt.QFont;
-import org.kde.qt.QMetaObject;
+import org.kde.qt.TQColor;
+import org.kde.qt.TQFont;
+import org.kde.qt.TQMetaObject;
import org.kde.qt.QtSupport;
-import org.kde.qt.QSize;
-import org.kde.qt.QWidget;
-import org.kde.qt.QWidget;
+import org.kde.qt.TQSize;
+import org.kde.qt.TQWidget;
+import org.kde.qt.TQWidget;
/**
@@ -25,7 +25,7 @@ import org.kde.qt.QWidget;
@short A font selection widget.
*/
-public class KFontChooser extends QWidget {
+public class KFontChooser extends TQWidget {
protected KFontChooser(Class dummy){super((Class) null);}
/**
@@ -90,7 +90,7 @@ public class KFontChooser extends QWidget {
public static final int ScalableFonts = 0x02;
public static final int SmoothScalableFonts = 0x04;
- public native QMetaObject metaObject();
+ public native TQMetaObject metaObject();
public native String className();
/**
Constructs a font picker widget.
@@ -126,46 +126,46 @@ public class KFontChooser extends QWidget {
calling sizeIsRelative().
@short Constructs a font picker widget.
*/
- public KFontChooser(QWidget parent, String name, boolean onlyFixed, String[] fontList, boolean makeFrame, int visibleListSize, boolean diff, int sizeIsRelativeState) {
+ public KFontChooser(TQWidget parent, String name, boolean onlyFixed, String[] fontList, boolean makeFrame, int visibleListSize, boolean diff, int sizeIsRelativeState) {
super((Class) null);
newKFontChooser(parent,name,onlyFixed,fontList,makeFrame,visibleListSize,diff,sizeIsRelativeState);
}
- private native void newKFontChooser(QWidget parent, String name, boolean onlyFixed, String[] fontList, boolean makeFrame, int visibleListSize, boolean diff, int sizeIsRelativeState);
- public KFontChooser(QWidget parent, String name, boolean onlyFixed, String[] fontList, boolean makeFrame, int visibleListSize, boolean diff) {
+ private native void newKFontChooser(TQWidget parent, String name, boolean onlyFixed, String[] fontList, boolean makeFrame, int visibleListSize, boolean diff, int sizeIsRelativeState);
+ public KFontChooser(TQWidget parent, String name, boolean onlyFixed, String[] fontList, boolean makeFrame, int visibleListSize, boolean diff) {
super((Class) null);
newKFontChooser(parent,name,onlyFixed,fontList,makeFrame,visibleListSize,diff);
}
- private native void newKFontChooser(QWidget parent, String name, boolean onlyFixed, String[] fontList, boolean makeFrame, int visibleListSize, boolean diff);
- public KFontChooser(QWidget parent, String name, boolean onlyFixed, String[] fontList, boolean makeFrame, int visibleListSize) {
+ private native void newKFontChooser(TQWidget parent, String name, boolean onlyFixed, String[] fontList, boolean makeFrame, int visibleListSize, boolean diff);
+ public KFontChooser(TQWidget parent, String name, boolean onlyFixed, String[] fontList, boolean makeFrame, int visibleListSize) {
super((Class) null);
newKFontChooser(parent,name,onlyFixed,fontList,makeFrame,visibleListSize);
}
- private native void newKFontChooser(QWidget parent, String name, boolean onlyFixed, String[] fontList, boolean makeFrame, int visibleListSize);
- public KFontChooser(QWidget parent, String name, boolean onlyFixed, String[] fontList, boolean makeFrame) {
+ private native void newKFontChooser(TQWidget parent, String name, boolean onlyFixed, String[] fontList, boolean makeFrame, int visibleListSize);
+ public KFontChooser(TQWidget parent, String name, boolean onlyFixed, String[] fontList, boolean makeFrame) {
super((Class) null);
newKFontChooser(parent,name,onlyFixed,fontList,makeFrame);
}
- private native void newKFontChooser(QWidget parent, String name, boolean onlyFixed, String[] fontList, boolean makeFrame);
- public KFontChooser(QWidget parent, String name, boolean onlyFixed, String[] fontList) {
+ private native void newKFontChooser(TQWidget parent, String name, boolean onlyFixed, String[] fontList, boolean makeFrame);
+ public KFontChooser(TQWidget parent, String name, boolean onlyFixed, String[] fontList) {
super((Class) null);
newKFontChooser(parent,name,onlyFixed,fontList);
}
- private native void newKFontChooser(QWidget parent, String name, boolean onlyFixed, String[] fontList);
- public KFontChooser(QWidget parent, String name, boolean onlyFixed) {
+ private native void newKFontChooser(TQWidget parent, String name, boolean onlyFixed, String[] fontList);
+ public KFontChooser(TQWidget parent, String name, boolean onlyFixed) {
super((Class) null);
newKFontChooser(parent,name,onlyFixed);
}
- private native void newKFontChooser(QWidget parent, String name, boolean onlyFixed);
- public KFontChooser(QWidget parent, String name) {
+ private native void newKFontChooser(TQWidget parent, String name, boolean onlyFixed);
+ public KFontChooser(TQWidget parent, String name) {
super((Class) null);
newKFontChooser(parent,name);
}
- private native void newKFontChooser(QWidget parent, String name);
- public KFontChooser(QWidget parent) {
+ private native void newKFontChooser(TQWidget parent, String name);
+ public KFontChooser(TQWidget parent) {
super((Class) null);
newKFontChooser(parent);
}
- private native void newKFontChooser(QWidget parent);
+ private native void newKFontChooser(TQWidget parent);
public KFontChooser() {
super((Class) null);
newKFontChooser();
@@ -189,8 +189,8 @@ public class KFontChooser extends QWidget {
width fonts if <code>true</code>, or vice-versa.
@short Sets the currently selected font in the chooser.
*/
- public native void setFont(QFont font, boolean onlyFixed);
- public native void setFont(QFont font);
+ public native void setFont(TQFont font, boolean onlyFixed);
+ public native void setFont(TQFont font);
/**
@return The bitmask corresponding to the attributes the user
wishes to change.
@@ -203,31 +203,31 @@ public class KFontChooser extends QWidget {
@short
*/
- public native QFont font();
+ public native TQFont font();
/**
Sets the color to use in the preview.
@short Sets the color to use in the preview.
*/
- public native void setColor(QColor col);
+ public native void setColor(TQColor col);
/**
@return The color currently used in the preview (default: the text
color of the active color group)
@short
*/
- public native QColor color();
+ public native TQColor color();
/**
Sets the background color to use in the preview.
@short Sets the background color to use in the preview.
*/
- public native void setBackgroundColor(QColor col);
+ public native void setBackgroundColor(TQColor col);
/**
@return The background color currently used in the preview (default:
the base color of the active colorgroup)
@short
*/
- public native QColor backgroundColor();
+ public native TQColor backgroundColor();
/**
Sets the state of the checkbox indicating whether the font size
is to be interpreted as relative size.
@@ -238,7 +238,7 @@ public class KFontChooser extends QWidget {
public native void setSizeIsRelative(int relative);
/**
@return Whether the font size is to be interpreted as relative size
- (default: QButton:Off)
+ (default: TQButton:Off)
@short
*/
@@ -269,16 +269,16 @@ public class KFontChooser extends QWidget {
Reimplemented for internal reasons.
@short Reimplemented for internal reasons.
*/
- public native QSize sizeHint();
+ public native TQSize sizeHint();
/**
- Converts a QFont into the corresponding X Logical Font
+ Converts a TQFont into the corresponding X Logical Font
Description (XLFD).
@param theFont The font to convert.
@return A string representing the given font in XLFD format.
- @short Converts a QFont into the corresponding X Logical Font Description (XLFD).
+ @short Converts a TQFont into the corresponding X Logical Font Description (XLFD).
*/
- public static native String getXLFD(QFont theFont);
+ public static native String getXLFD(TQFont theFont);
/**
Creates a list of font strings.
@param list The list is returned here.