diff options
Diffstat (limited to 'kdejava/koala/org/kde/koala/KAboutDialog.java')
-rw-r--r-- | kdejava/koala/org/kde/koala/KAboutDialog.java | 88 |
1 files changed, 44 insertions, 44 deletions
diff --git a/kdejava/koala/org/kde/koala/KAboutDialog.java b/kdejava/koala/org/kde/koala/KAboutDialog.java index 6326f3b0..cfeea414 100644 --- a/kdejava/koala/org/kde/koala/KAboutDialog.java +++ b/kdejava/koala/org/kde/koala/KAboutDialog.java @@ -2,13 +2,13 @@ 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.QPixmap; -import org.kde.qt.QMouseEvent; -import org.kde.qt.QWidget; -import org.kde.qt.QFrame; +import org.kde.qt.TQPixmap; +import org.kde.qt.TQMouseEvent; +import org.kde.qt.TQWidget; +import org.kde.qt.TQFrame; /** @@ -59,7 +59,7 @@ public class KAboutDialog extends KDialogBase { public static final int AbtAppStandard = AbtTabbed|AbtTitle|AbtProduct; public static final int AbtImageAndTitle = AbtPlain|AbtTitle|AbtImageOnly; - public native QMetaObject metaObject(); + public native TQMetaObject metaObject(); public native String className(); /** The standard Qt constructor (Constructor I). @@ -69,21 +69,21 @@ public class KAboutDialog extends KDialogBase { The dialog will be laid out automatically. @short The standard Qt constructor (Constructor I). */ - public KAboutDialog(QWidget parent, String name, boolean modal) { + public KAboutDialog(TQWidget parent, String name, boolean modal) { super((Class) null); newKAboutDialog(parent,name,modal); } - private native void newKAboutDialog(QWidget parent, String name, boolean modal); - public KAboutDialog(QWidget parent, String name) { + private native void newKAboutDialog(TQWidget parent, String name, boolean modal); + public KAboutDialog(TQWidget parent, String name) { super((Class) null); newKAboutDialog(parent,name); } - private native void newKAboutDialog(QWidget parent, String name); - public KAboutDialog(QWidget parent) { + private native void newKAboutDialog(TQWidget parent, String name); + public KAboutDialog(TQWidget parent) { super((Class) null); newKAboutDialog(parent); } - private native void newKAboutDialog(QWidget parent); + private native void newKAboutDialog(TQWidget parent); public KAboutDialog() { super((Class) null); newKAboutDialog(); @@ -112,41 +112,41 @@ public class KAboutDialog extends KDialogBase { @param user3 User button3 text. @short The extended constructor. */ - public KAboutDialog(int dialogLayout, String caption, int buttonMask, int defaultButton, QWidget parent, String name, boolean modal, boolean separator, String user1, String user2, String user3) { + public KAboutDialog(int dialogLayout, String caption, int buttonMask, int defaultButton, TQWidget parent, String name, boolean modal, boolean separator, String user1, String user2, String user3) { super((Class) null); newKAboutDialog(dialogLayout,caption,buttonMask,defaultButton,parent,name,modal,separator,user1,user2,user3); } - private native void newKAboutDialog(int dialogLayout, String caption, int buttonMask, int defaultButton, QWidget parent, String name, boolean modal, boolean separator, String user1, String user2, String user3); - public KAboutDialog(int dialogLayout, String caption, int buttonMask, int defaultButton, QWidget parent, String name, boolean modal, boolean separator, String user1, String user2) { + private native void newKAboutDialog(int dialogLayout, String caption, int buttonMask, int defaultButton, TQWidget parent, String name, boolean modal, boolean separator, String user1, String user2, String user3); + public KAboutDialog(int dialogLayout, String caption, int buttonMask, int defaultButton, TQWidget parent, String name, boolean modal, boolean separator, String user1, String user2) { super((Class) null); newKAboutDialog(dialogLayout,caption,buttonMask,defaultButton,parent,name,modal,separator,user1,user2); } - private native void newKAboutDialog(int dialogLayout, String caption, int buttonMask, int defaultButton, QWidget parent, String name, boolean modal, boolean separator, String user1, String user2); - public KAboutDialog(int dialogLayout, String caption, int buttonMask, int defaultButton, QWidget parent, String name, boolean modal, boolean separator, String user1) { + private native void newKAboutDialog(int dialogLayout, String caption, int buttonMask, int defaultButton, TQWidget parent, String name, boolean modal, boolean separator, String user1, String user2); + public KAboutDialog(int dialogLayout, String caption, int buttonMask, int defaultButton, TQWidget parent, String name, boolean modal, boolean separator, String user1) { super((Class) null); newKAboutDialog(dialogLayout,caption,buttonMask,defaultButton,parent,name,modal,separator,user1); } - private native void newKAboutDialog(int dialogLayout, String caption, int buttonMask, int defaultButton, QWidget parent, String name, boolean modal, boolean separator, String user1); - public KAboutDialog(int dialogLayout, String caption, int buttonMask, int defaultButton, QWidget parent, String name, boolean modal, boolean separator) { + private native void newKAboutDialog(int dialogLayout, String caption, int buttonMask, int defaultButton, TQWidget parent, String name, boolean modal, boolean separator, String user1); + public KAboutDialog(int dialogLayout, String caption, int buttonMask, int defaultButton, TQWidget parent, String name, boolean modal, boolean separator) { super((Class) null); newKAboutDialog(dialogLayout,caption,buttonMask,defaultButton,parent,name,modal,separator); } - private native void newKAboutDialog(int dialogLayout, String caption, int buttonMask, int defaultButton, QWidget parent, String name, boolean modal, boolean separator); - public KAboutDialog(int dialogLayout, String caption, int buttonMask, int defaultButton, QWidget parent, String name, boolean modal) { + private native void newKAboutDialog(int dialogLayout, String caption, int buttonMask, int defaultButton, TQWidget parent, String name, boolean modal, boolean separator); + public KAboutDialog(int dialogLayout, String caption, int buttonMask, int defaultButton, TQWidget parent, String name, boolean modal) { super((Class) null); newKAboutDialog(dialogLayout,caption,buttonMask,defaultButton,parent,name,modal); } - private native void newKAboutDialog(int dialogLayout, String caption, int buttonMask, int defaultButton, QWidget parent, String name, boolean modal); - public KAboutDialog(int dialogLayout, String caption, int buttonMask, int defaultButton, QWidget parent, String name) { + private native void newKAboutDialog(int dialogLayout, String caption, int buttonMask, int defaultButton, TQWidget parent, String name, boolean modal); + public KAboutDialog(int dialogLayout, String caption, int buttonMask, int defaultButton, TQWidget parent, String name) { super((Class) null); newKAboutDialog(dialogLayout,caption,buttonMask,defaultButton,parent,name); } - private native void newKAboutDialog(int dialogLayout, String caption, int buttonMask, int defaultButton, QWidget parent, String name); - public KAboutDialog(int dialogLayout, String caption, int buttonMask, int defaultButton, QWidget parent) { + private native void newKAboutDialog(int dialogLayout, String caption, int buttonMask, int defaultButton, TQWidget parent, String name); + public KAboutDialog(int dialogLayout, String caption, int buttonMask, int defaultButton, TQWidget parent) { super((Class) null); newKAboutDialog(dialogLayout,caption,buttonMask,defaultButton,parent); } - private native void newKAboutDialog(int dialogLayout, String caption, int buttonMask, int defaultButton, QWidget parent); + private native void newKAboutDialog(int dialogLayout, String caption, int buttonMask, int defaultButton, TQWidget parent); public KAboutDialog(int dialogLayout, String caption, int buttonMask, int defaultButton) { super((Class) null); newKAboutDialog(dialogLayout,caption,buttonMask,defaultButton); @@ -155,7 +155,7 @@ public class KAboutDialog extends KDialogBase { /** Adjusts the dialog. You can call this method after you have set up all - the contents but it is not required. It is done automatically when + the contents but it is not retquired. It is done automatically when show() is executed. @short Adjusts the dialog. */ @@ -175,7 +175,7 @@ public class KAboutDialog extends KDialogBase { @param centerParent Center the dialog with respect to this widget. @short Makes a modeless (modal = false in constructor) dialog visible. */ - public native void show(QWidget centerParent); + public native void show(TQWidget centerParent); /** (Constructor II only) Sets a title (not caption) in the uppermost area of the dialog. @@ -192,8 +192,8 @@ public class KAboutDialog extends KDialogBase { */ public native void setImage(String fileName); /** - Overloaded version of setProgramLogo(QPixmap pixmap). - @short Overloaded version of setProgramLogo(QPixmap pixmap). + Overloaded version of setProgramLogo(TQPixmap pixmap). + @short Overloaded version of setProgramLogo(TQPixmap pixmap). */ public native void setProgramLogo(String fileName); /** @@ -205,7 +205,7 @@ public class KAboutDialog extends KDialogBase { @param pixmap The logo pixmap. @short (Constructor II only) Define the program logo to be shown in the dialog. */ - public native void setProgramLogo(QPixmap pixmap); + public native void setProgramLogo(TQPixmap pixmap); /** (Constructor II only) The image has a minimum size, but is centered within an area if the @@ -214,7 +214,7 @@ public class KAboutDialog extends KDialogBase { @param color Background color. @short (Constructor II only) The image has a minimum size, but is centered within an area if the dialog box is enlarged by the user. */ - public native void setImageBackgroundColor(QColor color); + public native void setImageBackgroundColor(TQColor color); /** (Constructor II only) Enables or disables a frame around the image. The frame is, by default, @@ -248,9 +248,9 @@ public class KAboutDialog extends KDialogBase { @short (Constructor II only) Adds a text page to a tab box. */ - public native QFrame addTextPage(String title, String text, boolean richText, int numLines); - public native QFrame addTextPage(String title, String text, boolean richText); - public native QFrame addTextPage(String title, String text); + public native TQFrame addTextPage(String title, String text, boolean richText, int numLines); + public native TQFrame addTextPage(String title, String text, boolean richText); + public native TQFrame addTextPage(String title, String text); /** (Constructor II only) Adds a license page to a tab box. @@ -262,8 +262,8 @@ public class KAboutDialog extends KDialogBase { @short (Constructor II only) Adds a license page to a tab box. */ - public native QFrame addLicensePage(String title, String text, int numLines); - public native QFrame addLicensePage(String title, String text); + public native TQFrame addLicensePage(String title, String text, int numLines); + public native TQFrame addLicensePage(String title, String text); /** (Constructor II only) Adds a container to a tab box. You can add text and images to a @@ -282,7 +282,7 @@ public class KAboutDialog extends KDialogBase { public native KAboutContainer addContainerPage(String title); /** (Constructor II only) - Adds a container inside a QScrollView to a tab box. You can add text + Adds a container inside a TQScrollView to a tab box. You can add text and images to a container. @param title Tab name. @param childAlignment Specifies how the children of the container are @@ -291,7 +291,7 @@ public class KAboutDialog extends KDialogBase { respect to each other. @return The new container. - @short (Constructor II only) Adds a container inside a QScrollView to a tab box. + @short (Constructor II only) Adds a container inside a TQScrollView to a tab box. */ public native KAboutContainer addScrolledContainerPage(String title, int childAlignment, int innerAlignment); public native KAboutContainer addScrolledContainerPage(String title, int childAlignment); @@ -316,13 +316,13 @@ public class KAboutDialog extends KDialogBase { @short (Constructor II only) Adds an empty page to a tab box. */ - public native QFrame addPage(String title); + public native TQFrame addPage(String title); /** (Constructor I only) Sets the image as the application logo. @short (Constructor I only) Sets the image as the application logo. */ - public native void setLogo(QPixmap arg1); + public native void setLogo(TQPixmap arg1); /** (Constructor I only) Sets the author's name and email address. @@ -352,7 +352,7 @@ public class KAboutDialog extends KDialogBase { URL link below. @short Create a modal dialog with an image in the upper area with a URL link below. */ - public static native void imageURL(QWidget parent, String caption, String path, QColor imageColor, String url); + public static native void imageURL(TQWidget parent, String caption, String path, TQColor imageColor, String url); /** Connected to widget.sendEmail. @short Connected to widget.sendEmail. @@ -369,7 +369,7 @@ public class KAboutDialog extends KDialogBase { is pressed above an image @short (Constructor II only) Tells the position of the mouse cursor when the left mouse button is pressed above an image */ - protected native void mouseTrackSlot(int mode, QMouseEvent e); + protected native void mouseTrackSlot(int mode, TQMouseEvent e); /** Deletes the wrapped C++ instance */ protected native void finalize() throws InternalError; /** Delete the wrapped C++ instance ahead of finalize() */ |