diff options
Diffstat (limited to 'kdejava/koala/org/kde/koala/KFontDialog.java')
-rw-r--r-- | kdejava/koala/org/kde/koala/KFontDialog.java | 82 |
1 files changed, 41 insertions, 41 deletions
diff --git a/kdejava/koala/org/kde/koala/KFontDialog.java b/kdejava/koala/org/kde/koala/KFontDialog.java index 6f50d454..d53456a7 100644 --- a/kdejava/koala/org/kde/koala/KFontDialog.java +++ b/kdejava/koala/org/kde/koala/KFontDialog.java @@ -2,10 +2,10 @@ package org.kde.koala; import org.kde.qt.Qt; -import org.kde.qt.QFont; -import org.kde.qt.QMetaObject; +import org.kde.qt.TQFont; +import org.kde.qt.TQMetaObject; import org.kde.qt.QtSupport; -import org.kde.qt.QWidget; +import org.kde.qt.TQWidget; /** @@ -17,7 +17,7 @@ import org.kde.qt.QWidget; returns when the dialog is closed. Example: <pre> - QFont myFont; + TQFont myFont; int result = KFontDialog.getFont( myFont ); if ( result == KFontDialog.Accepted ) ... @@ -33,7 +33,7 @@ import org.kde.qt.QWidget; */ public class KFontDialog extends KDialogBase { protected KFontDialog(Class dummy){super((Class) null);} - public native QMetaObject metaObject(); + public native TQMetaObject metaObject(); public native String className(); /** Constructs a font selection dialog. @@ -56,46 +56,46 @@ public class KFontDialog extends KDialogBase { calling sizeIsRelative(). @short Constructs a font selection dialog. */ - public KFontDialog(QWidget parent, String name, boolean onlyFixed, boolean modal, String[] fontlist, boolean makeFrame, boolean diff, int sizeIsRelativeState) { + public KFontDialog(TQWidget parent, String name, boolean onlyFixed, boolean modal, String[] fontlist, boolean makeFrame, boolean diff, int sizeIsRelativeState) { super((Class) null); newKFontDialog(parent,name,onlyFixed,modal,fontlist,makeFrame,diff,sizeIsRelativeState); } - private native void newKFontDialog(QWidget parent, String name, boolean onlyFixed, boolean modal, String[] fontlist, boolean makeFrame, boolean diff, int sizeIsRelativeState); - public KFontDialog(QWidget parent, String name, boolean onlyFixed, boolean modal, String[] fontlist, boolean makeFrame, boolean diff) { + private native void newKFontDialog(TQWidget parent, String name, boolean onlyFixed, boolean modal, String[] fontlist, boolean makeFrame, boolean diff, int sizeIsRelativeState); + public KFontDialog(TQWidget parent, String name, boolean onlyFixed, boolean modal, String[] fontlist, boolean makeFrame, boolean diff) { super((Class) null); newKFontDialog(parent,name,onlyFixed,modal,fontlist,makeFrame,diff); } - private native void newKFontDialog(QWidget parent, String name, boolean onlyFixed, boolean modal, String[] fontlist, boolean makeFrame, boolean diff); - public KFontDialog(QWidget parent, String name, boolean onlyFixed, boolean modal, String[] fontlist, boolean makeFrame) { + private native void newKFontDialog(TQWidget parent, String name, boolean onlyFixed, boolean modal, String[] fontlist, boolean makeFrame, boolean diff); + public KFontDialog(TQWidget parent, String name, boolean onlyFixed, boolean modal, String[] fontlist, boolean makeFrame) { super((Class) null); newKFontDialog(parent,name,onlyFixed,modal,fontlist,makeFrame); } - private native void newKFontDialog(QWidget parent, String name, boolean onlyFixed, boolean modal, String[] fontlist, boolean makeFrame); - public KFontDialog(QWidget parent, String name, boolean onlyFixed, boolean modal, String[] fontlist) { + private native void newKFontDialog(TQWidget parent, String name, boolean onlyFixed, boolean modal, String[] fontlist, boolean makeFrame); + public KFontDialog(TQWidget parent, String name, boolean onlyFixed, boolean modal, String[] fontlist) { super((Class) null); newKFontDialog(parent,name,onlyFixed,modal,fontlist); } - private native void newKFontDialog(QWidget parent, String name, boolean onlyFixed, boolean modal, String[] fontlist); - public KFontDialog(QWidget parent, String name, boolean onlyFixed, boolean modal) { + private native void newKFontDialog(TQWidget parent, String name, boolean onlyFixed, boolean modal, String[] fontlist); + public KFontDialog(TQWidget parent, String name, boolean onlyFixed, boolean modal) { super((Class) null); newKFontDialog(parent,name,onlyFixed,modal); } - private native void newKFontDialog(QWidget parent, String name, boolean onlyFixed, boolean modal); - public KFontDialog(QWidget parent, String name, boolean onlyFixed) { + private native void newKFontDialog(TQWidget parent, String name, boolean onlyFixed, boolean modal); + public KFontDialog(TQWidget parent, String name, boolean onlyFixed) { super((Class) null); newKFontDialog(parent,name,onlyFixed); } - private native void newKFontDialog(QWidget parent, String name, boolean onlyFixed); - public KFontDialog(QWidget parent, String name) { + private native void newKFontDialog(TQWidget parent, String name, boolean onlyFixed); + public KFontDialog(TQWidget parent, String name) { super((Class) null); newKFontDialog(parent,name); } - private native void newKFontDialog(QWidget parent, String name); - public KFontDialog(QWidget parent) { + private native void newKFontDialog(TQWidget parent, String name); + public KFontDialog(TQWidget parent) { super((Class) null); newKFontDialog(parent); } - private native void newKFontDialog(QWidget parent); + private native void newKFontDialog(TQWidget parent); public KFontDialog() { super((Class) null); newKFontDialog(); @@ -108,14 +108,14 @@ public class KFontDialog extends KDialogBase { width fonts if true, or vice-versa @short Sets the currently selected font in the dialog. */ - 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 currently selected font in the dialog. @short */ - public native QFont font(); + public native TQFont font(); /** Sets the state of the checkbox indicating whether the font size is to be interpreted as relative size. @@ -146,15 +146,15 @@ public class KFontDialog extends KDialogBase { Initial state of this checkbox will be set according to sizeIsRelativeState and user choice will be returned therein. - @return QDialog.result(). + @return TQDialog.result(). @short Creates a modal font dialog, lets the user choose a font, and returns when the dialog is closed. */ - public static native int getFont(QFont theFont, boolean onlyFixed, QWidget parent, boolean makeFrame, int sizeIsRelativeState); - public static native int getFont(QFont theFont, boolean onlyFixed, QWidget parent, boolean makeFrame); - public static native int getFont(QFont theFont, boolean onlyFixed, QWidget parent); - public static native int getFont(QFont theFont, boolean onlyFixed); - public static native int getFont(QFont theFont); + public static native int getFont(TQFont theFont, boolean onlyFixed, TQWidget parent, boolean makeFrame, int sizeIsRelativeState); + public static native int getFont(TQFont theFont, boolean onlyFixed, TQWidget parent, boolean makeFrame); + public static native int getFont(TQFont theFont, boolean onlyFixed, TQWidget parent); + public static native int getFont(TQFont theFont, boolean onlyFixed); + public static native int getFont(TQFont theFont); /** Creates a modal font difference dialog, lets the user choose a selection of changes that should be made to a set of fonts, and returns when the @@ -183,15 +183,15 @@ public class KFontDialog extends KDialogBase { Initial state of this checkbox will be set according to sizeIsRelativeState and user choice will be returned therein. - @return QDialog.result(). + @return TQDialog.result(). @short Creates a modal font difference dialog, lets the user choose a selection of changes that should be made to a set of fonts, and returns when the dialog is closed. */ - public static native int getFontDiff(QFont theFont, int[] diffFlags, boolean onlyFixed, QWidget parent, boolean makeFrame, int sizeIsRelativeState); - public static native int getFontDiff(QFont theFont, int[] diffFlags, boolean onlyFixed, QWidget parent, boolean makeFrame); - public static native int getFontDiff(QFont theFont, int[] diffFlags, boolean onlyFixed, QWidget parent); - public static native int getFontDiff(QFont theFont, int[] diffFlags, boolean onlyFixed); - public static native int getFontDiff(QFont theFont, int[] diffFlags); + public static native int getFontDiff(TQFont theFont, int[] diffFlags, boolean onlyFixed, TQWidget parent, boolean makeFrame, int sizeIsRelativeState); + public static native int getFontDiff(TQFont theFont, int[] diffFlags, boolean onlyFixed, TQWidget parent, boolean makeFrame); + public static native int getFontDiff(TQFont theFont, int[] diffFlags, boolean onlyFixed, TQWidget parent); + public static native int getFontDiff(TQFont theFont, int[] diffFlags, boolean onlyFixed); + public static native int getFontDiff(TQFont theFont, int[] diffFlags); /** When you are not only interested in the font selected, but also in the example string typed in, you can call this method. @@ -212,11 +212,11 @@ public class KFontDialog extends KDialogBase { @short When you are not only interested in the font selected, but also in the example string typed in, you can call this method. */ - public static native int getFontAndText(QFont theFont, StringBuffer theString, boolean onlyFixed, QWidget parent, boolean makeFrame, int sizeIsRelativeState); - public static native int getFontAndText(QFont theFont, StringBuffer theString, boolean onlyFixed, QWidget parent, boolean makeFrame); - public static native int getFontAndText(QFont theFont, StringBuffer theString, boolean onlyFixed, QWidget parent); - public static native int getFontAndText(QFont theFont, StringBuffer theString, boolean onlyFixed); - public static native int getFontAndText(QFont theFont, StringBuffer theString); + public static native int getFontAndText(TQFont theFont, StringBuffer theString, boolean onlyFixed, TQWidget parent, boolean makeFrame, int sizeIsRelativeState); + public static native int getFontAndText(TQFont theFont, StringBuffer theString, boolean onlyFixed, TQWidget parent, boolean makeFrame); + public static native int getFontAndText(TQFont theFont, StringBuffer theString, boolean onlyFixed, TQWidget parent); + public static native int getFontAndText(TQFont theFont, StringBuffer theString, boolean onlyFixed); + public static native int getFontAndText(TQFont theFont, StringBuffer theString); /** Deletes the wrapped C++ instance */ protected native void finalize() throws InternalError; /** Delete the wrapped C++ instance ahead of finalize() */ |