diff options
Diffstat (limited to 'kdejava/koala/org/kde/koala/KMessageBox.java')
-rw-r--r-- | kdejava/koala/org/kde/koala/KMessageBox.java | 272 |
1 files changed, 136 insertions, 136 deletions
diff --git a/kdejava/koala/org/kde/koala/KMessageBox.java b/kdejava/koala/org/kde/koala/KMessageBox.java index 24287cf0..fcd90c4d 100644 --- a/kdejava/koala/org/kde/koala/KMessageBox.java +++ b/kdejava/koala/org/kde/koala/KMessageBox.java @@ -3,8 +3,8 @@ package org.kde.koala; import org.kde.qt.Qt; import org.kde.qt.QtSupport; -import org.kde.qt.QPixmap; -import org.kde.qt.QWidget; +import org.kde.qt.TQPixmap; +import org.kde.qt.TQWidget; /** @@ -79,16 +79,16 @@ public class KMessageBox implements QtSupport { @short Display a simple "question" dialog. */ - public static native int questionYesNo(QWidget parent, String text, String caption, KGuiItem buttonYes, KGuiItem buttonNo, String dontAskAgainName, int options); - public static native int questionYesNo(QWidget parent, String text, String caption, KGuiItem buttonYes, KGuiItem buttonNo, String dontAskAgainName); - public static native int questionYesNo(QWidget parent, String text, String caption, KGuiItem buttonYes, KGuiItem buttonNo); - public static native int questionYesNo(QWidget parent, String text, String caption, KGuiItem buttonYes); - public static native int questionYesNo(QWidget parent, String text, String caption); - public static native int questionYesNo(QWidget parent, String text); + public static native int questionYesNo(TQWidget parent, String text, String caption, KGuiItem buttonYes, KGuiItem buttonNo, String dontAskAgainName, int options); + public static native int questionYesNo(TQWidget parent, String text, String caption, KGuiItem buttonYes, KGuiItem buttonNo, String dontAskAgainName); + public static native int questionYesNo(TQWidget parent, String text, String caption, KGuiItem buttonYes, KGuiItem buttonNo); + public static native int questionYesNo(TQWidget parent, String text, String caption, KGuiItem buttonYes); + public static native int questionYesNo(TQWidget parent, String text, String caption); + public static native int questionYesNo(TQWidget parent, String text); /** This function accepts the window id of the parent window, instead - of QWidget. It should be used only when necessary. - @short This function accepts the window id of the parent window, instead of QWidget . + of TQWidget. It should be used only when necessary. + @short This function accepts the window id of the parent window, instead of TQWidget . */ public static native int questionYesNoWId(long parent_id, String text, String caption, KGuiItem buttonYes, KGuiItem buttonNo, String dontAskAgainName, int options); public static native int questionYesNoWId(long parent_id, String text, String caption, KGuiItem buttonYes, KGuiItem buttonNo, String dontAskAgainName); @@ -124,16 +124,16 @@ public class KMessageBox implements QtSupport { @short Display a simple "question" dialog. */ - public static native int questionYesNoCancel(QWidget parent, String text, String caption, KGuiItem buttonYes, KGuiItem buttonNo, String dontAskAgainName, int options); - public static native int questionYesNoCancel(QWidget parent, String text, String caption, KGuiItem buttonYes, KGuiItem buttonNo, String dontAskAgainName); - public static native int questionYesNoCancel(QWidget parent, String text, String caption, KGuiItem buttonYes, KGuiItem buttonNo); - public static native int questionYesNoCancel(QWidget parent, String text, String caption, KGuiItem buttonYes); - public static native int questionYesNoCancel(QWidget parent, String text, String caption); - public static native int questionYesNoCancel(QWidget parent, String text); + public static native int questionYesNoCancel(TQWidget parent, String text, String caption, KGuiItem buttonYes, KGuiItem buttonNo, String dontAskAgainName, int options); + public static native int questionYesNoCancel(TQWidget parent, String text, String caption, KGuiItem buttonYes, KGuiItem buttonNo, String dontAskAgainName); + public static native int questionYesNoCancel(TQWidget parent, String text, String caption, KGuiItem buttonYes, KGuiItem buttonNo); + public static native int questionYesNoCancel(TQWidget parent, String text, String caption, KGuiItem buttonYes); + public static native int questionYesNoCancel(TQWidget parent, String text, String caption); + public static native int questionYesNoCancel(TQWidget parent, String text); /** This function accepts the window id of the parent window, instead - of QWidget. It should be used only when necessary. - @short This function accepts the window id of the parent window, instead of QWidget . + of TQWidget. It should be used only when necessary. + @short This function accepts the window id of the parent window, instead of TQWidget . */ public static native int questionYesNoCancelWId(long parent_id, String text, String caption, KGuiItem buttonYes, KGuiItem buttonNo, String dontAskAgainName, int options); public static native int questionYesNoCancelWId(long parent_id, String text, String caption, KGuiItem buttonYes, KGuiItem buttonNo, String dontAskAgainName); @@ -172,16 +172,16 @@ public class KMessageBox implements QtSupport { @short Display a "question" dialog with a listbox to show information to the user */ - public static native int questionYesNoList(QWidget parent, String text, String[] strlist, String caption, KGuiItem buttonYes, KGuiItem buttonNo, String dontAskAgainName, int options); - public static native int questionYesNoList(QWidget parent, String text, String[] strlist, String caption, KGuiItem buttonYes, KGuiItem buttonNo, String dontAskAgainName); - public static native int questionYesNoList(QWidget parent, String text, String[] strlist, String caption, KGuiItem buttonYes, KGuiItem buttonNo); - public static native int questionYesNoList(QWidget parent, String text, String[] strlist, String caption, KGuiItem buttonYes); - public static native int questionYesNoList(QWidget parent, String text, String[] strlist, String caption); - public static native int questionYesNoList(QWidget parent, String text, String[] strlist); + public static native int questionYesNoList(TQWidget parent, String text, String[] strlist, String caption, KGuiItem buttonYes, KGuiItem buttonNo, String dontAskAgainName, int options); + public static native int questionYesNoList(TQWidget parent, String text, String[] strlist, String caption, KGuiItem buttonYes, KGuiItem buttonNo, String dontAskAgainName); + public static native int questionYesNoList(TQWidget parent, String text, String[] strlist, String caption, KGuiItem buttonYes, KGuiItem buttonNo); + public static native int questionYesNoList(TQWidget parent, String text, String[] strlist, String caption, KGuiItem buttonYes); + public static native int questionYesNoList(TQWidget parent, String text, String[] strlist, String caption); + public static native int questionYesNoList(TQWidget parent, String text, String[] strlist); /** This function accepts the window id of the parent window, instead - of QWidget. It should be used only when necessary. - @short This function accepts the window id of the parent window, instead of QWidget . + of TQWidget. It should be used only when necessary. + @short This function accepts the window id of the parent window, instead of TQWidget . */ public static native int questionYesNoListWId(long parent_id, String text, String[] strlist, String caption, KGuiItem buttonYes, KGuiItem buttonNo, String dontAskAgainName, int options); public static native int questionYesNoListWId(long parent_id, String text, String[] strlist, String caption, KGuiItem buttonYes, KGuiItem buttonNo, String dontAskAgainName); @@ -217,16 +217,16 @@ public class KMessageBox implements QtSupport { @short Display a "warning" dialog. */ - public static native int warningYesNo(QWidget parent, String text, String caption, KGuiItem buttonYes, KGuiItem buttonNo, String dontAskAgainName, int options); - public static native int warningYesNo(QWidget parent, String text, String caption, KGuiItem buttonYes, KGuiItem buttonNo, String dontAskAgainName); - public static native int warningYesNo(QWidget parent, String text, String caption, KGuiItem buttonYes, KGuiItem buttonNo); - public static native int warningYesNo(QWidget parent, String text, String caption, KGuiItem buttonYes); - public static native int warningYesNo(QWidget parent, String text, String caption); - public static native int warningYesNo(QWidget parent, String text); + public static native int warningYesNo(TQWidget parent, String text, String caption, KGuiItem buttonYes, KGuiItem buttonNo, String dontAskAgainName, int options); + public static native int warningYesNo(TQWidget parent, String text, String caption, KGuiItem buttonYes, KGuiItem buttonNo, String dontAskAgainName); + public static native int warningYesNo(TQWidget parent, String text, String caption, KGuiItem buttonYes, KGuiItem buttonNo); + public static native int warningYesNo(TQWidget parent, String text, String caption, KGuiItem buttonYes); + public static native int warningYesNo(TQWidget parent, String text, String caption); + public static native int warningYesNo(TQWidget parent, String text); /** This function accepts the window id of the parent window, instead - of QWidget. It should be used only when necessary. - @short This function accepts the window id of the parent window, instead of QWidget . + of TQWidget. It should be used only when necessary. + @short This function accepts the window id of the parent window, instead of TQWidget . */ public static native int warningYesNoWId(long parent_id, String text, String caption, KGuiItem buttonYes, KGuiItem buttonNo, String dontAskAgainName, int options); public static native int warningYesNoWId(long parent_id, String text, String caption, KGuiItem buttonYes, KGuiItem buttonNo, String dontAskAgainName); @@ -265,16 +265,16 @@ public class KMessageBox implements QtSupport { @short Display a "warning" dialog with a listbox to show information to the user */ - public static native int warningYesNoList(QWidget parent, String text, String[] strlist, String caption, KGuiItem buttonYes, KGuiItem buttonNo, String dontAskAgainName, int options); - public static native int warningYesNoList(QWidget parent, String text, String[] strlist, String caption, KGuiItem buttonYes, KGuiItem buttonNo, String dontAskAgainName); - public static native int warningYesNoList(QWidget parent, String text, String[] strlist, String caption, KGuiItem buttonYes, KGuiItem buttonNo); - public static native int warningYesNoList(QWidget parent, String text, String[] strlist, String caption, KGuiItem buttonYes); - public static native int warningYesNoList(QWidget parent, String text, String[] strlist, String caption); - public static native int warningYesNoList(QWidget parent, String text, String[] strlist); + public static native int warningYesNoList(TQWidget parent, String text, String[] strlist, String caption, KGuiItem buttonYes, KGuiItem buttonNo, String dontAskAgainName, int options); + public static native int warningYesNoList(TQWidget parent, String text, String[] strlist, String caption, KGuiItem buttonYes, KGuiItem buttonNo, String dontAskAgainName); + public static native int warningYesNoList(TQWidget parent, String text, String[] strlist, String caption, KGuiItem buttonYes, KGuiItem buttonNo); + public static native int warningYesNoList(TQWidget parent, String text, String[] strlist, String caption, KGuiItem buttonYes); + public static native int warningYesNoList(TQWidget parent, String text, String[] strlist, String caption); + public static native int warningYesNoList(TQWidget parent, String text, String[] strlist); /** This function accepts the window id of the parent window, instead - of QWidget. It should be used only when necessary. - @short This function accepts the window id of the parent window, instead of QWidget . + of TQWidget. It should be used only when necessary. + @short This function accepts the window id of the parent window, instead of TQWidget . */ public static native int warningYesNoListWId(long parent_id, String text, String[] strlist, String caption, KGuiItem buttonYes, KGuiItem buttonNo, String dontAskAgainName, int options); public static native int warningYesNoListWId(long parent_id, String text, String[] strlist, String caption, KGuiItem buttonYes, KGuiItem buttonNo, String dontAskAgainName); @@ -308,15 +308,15 @@ public class KMessageBox implements QtSupport { @short Display a "warning" dialog. */ - public static native int warningContinueCancel(QWidget parent, String text, String caption, KGuiItem buttonContinue, String dontAskAgainName, int options); - public static native int warningContinueCancel(QWidget parent, String text, String caption, KGuiItem buttonContinue, String dontAskAgainName); - public static native int warningContinueCancel(QWidget parent, String text, String caption, KGuiItem buttonContinue); - public static native int warningContinueCancel(QWidget parent, String text, String caption); - public static native int warningContinueCancel(QWidget parent, String text); + public static native int warningContinueCancel(TQWidget parent, String text, String caption, KGuiItem buttonContinue, String dontAskAgainName, int options); + public static native int warningContinueCancel(TQWidget parent, String text, String caption, KGuiItem buttonContinue, String dontAskAgainName); + public static native int warningContinueCancel(TQWidget parent, String text, String caption, KGuiItem buttonContinue); + public static native int warningContinueCancel(TQWidget parent, String text, String caption); + public static native int warningContinueCancel(TQWidget parent, String text); /** This function accepts the window id of the parent window, instead - of QWidget. It should be used only when necessary. - @short This function accepts the window id of the parent window, instead of QWidget . + of TQWidget. It should be used only when necessary. + @short This function accepts the window id of the parent window, instead of TQWidget . */ public static native int warningContinueCancelWId(long parent_id, String text, String caption, KGuiItem buttonContinue, String dontAskAgainName, int options); public static native int warningContinueCancelWId(long parent_id, String text, String caption, KGuiItem buttonContinue, String dontAskAgainName); @@ -352,15 +352,15 @@ public class KMessageBox implements QtSupport { @short Display a "warning" dialog with a listbox to show information to the user. */ - public static native int warningContinueCancelList(QWidget parent, String text, String[] strlist, String caption, KGuiItem buttonContinue, String dontAskAgainName, int options); - public static native int warningContinueCancelList(QWidget parent, String text, String[] strlist, String caption, KGuiItem buttonContinue, String dontAskAgainName); - public static native int warningContinueCancelList(QWidget parent, String text, String[] strlist, String caption, KGuiItem buttonContinue); - public static native int warningContinueCancelList(QWidget parent, String text, String[] strlist, String caption); - public static native int warningContinueCancelList(QWidget parent, String text, String[] strlist); + public static native int warningContinueCancelList(TQWidget parent, String text, String[] strlist, String caption, KGuiItem buttonContinue, String dontAskAgainName, int options); + public static native int warningContinueCancelList(TQWidget parent, String text, String[] strlist, String caption, KGuiItem buttonContinue, String dontAskAgainName); + public static native int warningContinueCancelList(TQWidget parent, String text, String[] strlist, String caption, KGuiItem buttonContinue); + public static native int warningContinueCancelList(TQWidget parent, String text, String[] strlist, String caption); + public static native int warningContinueCancelList(TQWidget parent, String text, String[] strlist); /** This function accepts the window id of the parent window, instead - of QWidget. It should be used only when necessary. - @short This function accepts the window id of the parent window, instead of QWidget . + of TQWidget. It should be used only when necessary. + @short This function accepts the window id of the parent window, instead of TQWidget . */ public static native int warningContinueCancelListWId(long parent_id, String text, String[] strlist, String caption, KGuiItem buttonContinue, String dontAskAgainName, int options); public static native int warningContinueCancelListWId(long parent_id, String text, String[] strlist, String caption, KGuiItem buttonContinue, String dontAskAgainName); @@ -399,16 +399,16 @@ public class KMessageBox implements QtSupport { @short Display a Yes/No/Cancel "warning" dialog. */ - public static native int warningYesNoCancel(QWidget parent, String text, String caption, KGuiItem buttonYes, KGuiItem buttonNo, String dontAskAgainName, int options); - public static native int warningYesNoCancel(QWidget parent, String text, String caption, KGuiItem buttonYes, KGuiItem buttonNo, String dontAskAgainName); - public static native int warningYesNoCancel(QWidget parent, String text, String caption, KGuiItem buttonYes, KGuiItem buttonNo); - public static native int warningYesNoCancel(QWidget parent, String text, String caption, KGuiItem buttonYes); - public static native int warningYesNoCancel(QWidget parent, String text, String caption); - public static native int warningYesNoCancel(QWidget parent, String text); + public static native int warningYesNoCancel(TQWidget parent, String text, String caption, KGuiItem buttonYes, KGuiItem buttonNo, String dontAskAgainName, int options); + public static native int warningYesNoCancel(TQWidget parent, String text, String caption, KGuiItem buttonYes, KGuiItem buttonNo, String dontAskAgainName); + public static native int warningYesNoCancel(TQWidget parent, String text, String caption, KGuiItem buttonYes, KGuiItem buttonNo); + public static native int warningYesNoCancel(TQWidget parent, String text, String caption, KGuiItem buttonYes); + public static native int warningYesNoCancel(TQWidget parent, String text, String caption); + public static native int warningYesNoCancel(TQWidget parent, String text); /** This function accepts the window id of the parent window, instead - of QWidget. It should be used only when necessary. - @short This function accepts the window id of the parent window, instead of QWidget . + of TQWidget. It should be used only when necessary. + @short This function accepts the window id of the parent window, instead of TQWidget . */ public static native int warningYesNoCancelWId(long parent_id, String text, String caption, KGuiItem buttonYes, KGuiItem buttonNo, String dontAskAgainName, int options); public static native int warningYesNoCancelWId(long parent_id, String text, String caption, KGuiItem buttonYes, KGuiItem buttonNo, String dontAskAgainName); @@ -452,16 +452,16 @@ public class KMessageBox implements QtSupport { @short Display a Yes/No/Cancel "warning" dialog with a listbox to show information to the user. */ - public static native int warningYesNoCancelList(QWidget parent, String text, String[] strlist, String caption, KGuiItem buttonYes, KGuiItem buttonNo, String dontAskAgainName, int options); - public static native int warningYesNoCancelList(QWidget parent, String text, String[] strlist, String caption, KGuiItem buttonYes, KGuiItem buttonNo, String dontAskAgainName); - public static native int warningYesNoCancelList(QWidget parent, String text, String[] strlist, String caption, KGuiItem buttonYes, KGuiItem buttonNo); - public static native int warningYesNoCancelList(QWidget parent, String text, String[] strlist, String caption, KGuiItem buttonYes); - public static native int warningYesNoCancelList(QWidget parent, String text, String[] strlist, String caption); - public static native int warningYesNoCancelList(QWidget parent, String text, String[] strlist); + public static native int warningYesNoCancelList(TQWidget parent, String text, String[] strlist, String caption, KGuiItem buttonYes, KGuiItem buttonNo, String dontAskAgainName, int options); + public static native int warningYesNoCancelList(TQWidget parent, String text, String[] strlist, String caption, KGuiItem buttonYes, KGuiItem buttonNo, String dontAskAgainName); + public static native int warningYesNoCancelList(TQWidget parent, String text, String[] strlist, String caption, KGuiItem buttonYes, KGuiItem buttonNo); + public static native int warningYesNoCancelList(TQWidget parent, String text, String[] strlist, String caption, KGuiItem buttonYes); + public static native int warningYesNoCancelList(TQWidget parent, String text, String[] strlist, String caption); + public static native int warningYesNoCancelList(TQWidget parent, String text, String[] strlist); /** This function accepts the window id of the parent window, instead - of QWidget. It should be used only when necessary. - @short This function accepts the window id of the parent window, instead of QWidget . + of TQWidget. It should be used only when necessary. + @short This function accepts the window id of the parent window, instead of TQWidget . */ public static native int warningYesNoCancelListWId(long parent_id, String text, String[] strlist, String caption, KGuiItem buttonYes, KGuiItem buttonNo, String dontAskAgainName, int options); public static native int warningYesNoCancelListWId(long parent_id, String text, String[] strlist, String caption, KGuiItem buttonYes, KGuiItem buttonNo, String dontAskAgainName); @@ -487,13 +487,13 @@ public class KMessageBox implements QtSupport { NOTE: The OK button will always have the i18n'ed text '&OK'. @short Display an "Error" dialog. */ - public static native void error(QWidget parent, String text, String caption, int options); - public static native void error(QWidget parent, String text, String caption); - public static native void error(QWidget parent, String text); + public static native void error(TQWidget parent, String text, String caption, int options); + public static native void error(TQWidget parent, String text, String caption); + public static native void error(TQWidget parent, String text); /** This function accepts the window id of the parent window, instead - of QWidget. It should be used only when necessary. - @short This function accepts the window id of the parent window, instead of QWidget . + of TQWidget. It should be used only when necessary. + @short This function accepts the window id of the parent window, instead of TQWidget . */ public static native void errorWId(long parent_id, String text, String caption, int options); public static native void errorWId(long parent_id, String text, String caption); @@ -519,13 +519,13 @@ public class KMessageBox implements QtSupport { NOTE: The OK button will always have the i18n'ed text '&OK'. @short Display an "Error" dialog with a listbox. */ - public static native void errorList(QWidget parent, String text, String[] strlist, String caption, int options); - public static native void errorList(QWidget parent, String text, String[] strlist, String caption); - public static native void errorList(QWidget parent, String text, String[] strlist); + public static native void errorList(TQWidget parent, String text, String[] strlist, String caption, int options); + public static native void errorList(TQWidget parent, String text, String[] strlist, String caption); + public static native void errorList(TQWidget parent, String text, String[] strlist); /** This function accepts the window id of the parent window, instead - of QWidget. It should be used only when necessary. - @short This function accepts the window id of the parent window, instead of QWidget . + of TQWidget. It should be used only when necessary. + @short This function accepts the window id of the parent window, instead of TQWidget . */ public static native void errorListWId(long parent_id, String text, String[] strlist, String caption, int options); public static native void errorListWId(long parent_id, String text, String[] strlist, String caption); @@ -551,13 +551,13 @@ public class KMessageBox implements QtSupport { NOTE: The OK button will always have the i18n'ed text '&OK'. @short Displays an "Error" dialog with a "Details >>" button. */ - public static native void detailedError(QWidget parent, String text, String details, String caption, int options); - public static native void detailedError(QWidget parent, String text, String details, String caption); - public static native void detailedError(QWidget parent, String text, String details); + public static native void detailedError(TQWidget parent, String text, String details, String caption, int options); + public static native void detailedError(TQWidget parent, String text, String details, String caption); + public static native void detailedError(TQWidget parent, String text, String details); /** This function accepts the window id of the parent window, instead - of QWidget. It should be used only when necessary. - @short This function accepts the window id of the parent window, instead of QWidget . + of TQWidget. It should be used only when necessary. + @short This function accepts the window id of the parent window, instead of TQWidget . */ public static native void detailedErrorWId(long parent_id, String text, String details, String caption, int options); public static native void detailedErrorWId(long parent_id, String text, String details, String caption); @@ -571,12 +571,12 @@ public class KMessageBox implements QtSupport { shown. @short Like detailedError */ - public static native void queuedDetailedError(QWidget parent, String text, String details, String caption); - public static native void queuedDetailedError(QWidget parent, String text, String details); + public static native void queuedDetailedError(TQWidget parent, String text, String details, String caption); + public static native void queuedDetailedError(TQWidget parent, String text, String details); /** This function accepts the window id of the parent window, instead - of QWidget. It should be used only when necessary. - @short This function accepts the window id of the parent window, instead of QWidget . + of TQWidget. It should be used only when necessary. + @short This function accepts the window id of the parent window, instead of TQWidget . */ public static native void queuedDetailedErrorWId(long parent_id, String text, String details, String caption); public static native void queuedDetailedErrorWId(long parent_id, String text, String details); @@ -597,13 +597,13 @@ public class KMessageBox implements QtSupport { NOTE: The ok button will always have the i18n'ed text '&OK'. @short Display an "Sorry" dialog. */ - public static native void sorry(QWidget parent, String text, String caption, int options); - public static native void sorry(QWidget parent, String text, String caption); - public static native void sorry(QWidget parent, String text); + public static native void sorry(TQWidget parent, String text, String caption, int options); + public static native void sorry(TQWidget parent, String text, String caption); + public static native void sorry(TQWidget parent, String text); /** This function accepts the window id of the parent window, instead - of QWidget. It should be used only when necessary. - @short This function accepts the window id of the parent window, instead of QWidget . + of TQWidget. It should be used only when necessary. + @short This function accepts the window id of the parent window, instead of TQWidget . */ public static native void sorryWId(long parent_id, String text, String caption, int options); public static native void sorryWId(long parent_id, String text, String caption); @@ -630,13 +630,13 @@ public class KMessageBox implements QtSupport { NOTE: The ok button will always have the i18n'ed text '&OK'. @short Displays a "Sorry" dialog with a "Details >>" button. */ - public static native void detailedSorry(QWidget parent, String text, String details, String caption, int options); - public static native void detailedSorry(QWidget parent, String text, String details, String caption); - public static native void detailedSorry(QWidget parent, String text, String details); + public static native void detailedSorry(TQWidget parent, String text, String details, String caption, int options); + public static native void detailedSorry(TQWidget parent, String text, String details, String caption); + public static native void detailedSorry(TQWidget parent, String text, String details); /** This function accepts the window id of the parent window, instead - of QWidget. It should be used only when necessary. - @short This function accepts the window id of the parent window, instead of QWidget . + of TQWidget. It should be used only when necessary. + @short This function accepts the window id of the parent window, instead of TQWidget . */ public static native void detailedSorryWId(long parent_id, String text, String details, String caption, int options); public static native void detailedSorryWId(long parent_id, String text, String details, String caption); @@ -662,14 +662,14 @@ public class KMessageBox implements QtSupport { NOTE: The OK button will always have the i18n'ed text '&OK'. @short Display an "Information" dialog. */ - public static native void information(QWidget parent, String text, String caption, String dontShowAgainName, int options); - public static native void information(QWidget parent, String text, String caption, String dontShowAgainName); - public static native void information(QWidget parent, String text, String caption); - public static native void information(QWidget parent, String text); + public static native void information(TQWidget parent, String text, String caption, String dontShowAgainName, int options); + public static native void information(TQWidget parent, String text, String caption, String dontShowAgainName); + public static native void information(TQWidget parent, String text, String caption); + public static native void information(TQWidget parent, String text); /** This function accepts the window id of the parent window, instead - of QWidget. It should be used only when necessary. - @short This function accepts the window id of the parent window, instead of QWidget . + of TQWidget. It should be used only when necessary. + @short This function accepts the window id of the parent window, instead of TQWidget . */ public static native void informationWId(long parent_id, String text, String caption, String dontShowAgainName, int options); public static native void informationWId(long parent_id, String text, String caption, String dontShowAgainName); @@ -699,14 +699,14 @@ public class KMessageBox implements QtSupport { NOTE: The OK button will always have the i18n'ed text '&OK'. @short Display an "Information" dialog with a listbox. */ - public static native void informationList(QWidget parent, String text, String[] strlist, String caption, String dontShowAgainName, int options); - public static native void informationList(QWidget parent, String text, String[] strlist, String caption, String dontShowAgainName); - public static native void informationList(QWidget parent, String text, String[] strlist, String caption); - public static native void informationList(QWidget parent, String text, String[] strlist); + public static native void informationList(TQWidget parent, String text, String[] strlist, String caption, String dontShowAgainName, int options); + public static native void informationList(TQWidget parent, String text, String[] strlist, String caption, String dontShowAgainName); + public static native void informationList(TQWidget parent, String text, String[] strlist, String caption); + public static native void informationList(TQWidget parent, String text, String[] strlist); /** This function accepts the window id of the parent window, instead - of QWidget. It should be used only when necessary. - @short This function accepts the window id of the parent window, instead of QWidget . + of TQWidget. It should be used only when necessary. + @short This function accepts the window id of the parent window, instead of TQWidget . */ public static native void informationListWId(long parent_id, String text, String[] strlist, String caption, String dontShowAgainName, int options); public static native void informationListWId(long parent_id, String text, String[] strlist, String caption, String dontShowAgainName); @@ -741,9 +741,9 @@ public class KMessageBox implements QtSupport { NOTE: The ok button will always have the i18n'ed text '&OK'. @short Display an "About" dialog. */ - public static native void about(QWidget parent, String text, String caption, int options); - public static native void about(QWidget parent, String text, String caption); - public static native void about(QWidget parent, String text); + public static native void about(TQWidget parent, String text, String caption, int options); + public static native void about(TQWidget parent, String text, String caption); + public static native void about(TQWidget parent, String text); /** Alternate method to show a messagebox: @param parent If <code>parent</code> is 0, then the message box becomes an @@ -769,8 +769,8 @@ public class KMessageBox implements QtSupport { @short Alternate method to show a messagebox: */ - public static native int messageBox(QWidget parent, int type, String text, String caption, KGuiItem buttonYes, KGuiItem buttonNo, String dontShowAskAgainName, int options); - public static native int messageBox(QWidget parent, int type, String text, String caption, KGuiItem buttonYes, KGuiItem buttonNo, String dontShowAskAgainName); + public static native int messageBox(TQWidget parent, int type, String text, String caption, KGuiItem buttonYes, KGuiItem buttonNo, String dontShowAskAgainName, int options); + public static native int messageBox(TQWidget parent, int type, String text, String caption, KGuiItem buttonYes, KGuiItem buttonNo, String dontShowAskAgainName); /** Alternate method to show a messagebox: @param parent If <code>parent</code> is 0, then the message box becomes an @@ -790,15 +790,15 @@ public class KMessageBox implements QtSupport { @short Alternate method to show a messagebox: */ - public static native int messageBox(QWidget parent, int type, String text, String caption, KGuiItem buttonYes, KGuiItem buttonNo, int options); - public static native int messageBox(QWidget parent, int type, String text, String caption, KGuiItem buttonYes, KGuiItem buttonNo); - public static native int messageBox(QWidget parent, int type, String text, String caption, KGuiItem buttonYes); - public static native int messageBox(QWidget parent, int type, String text, String caption); - public static native int messageBox(QWidget parent, int type, String text); + public static native int messageBox(TQWidget parent, int type, String text, String caption, KGuiItem buttonYes, KGuiItem buttonNo, int options); + public static native int messageBox(TQWidget parent, int type, String text, String caption, KGuiItem buttonYes, KGuiItem buttonNo); + public static native int messageBox(TQWidget parent, int type, String text, String caption, KGuiItem buttonYes); + public static native int messageBox(TQWidget parent, int type, String text, String caption); + public static native int messageBox(TQWidget parent, int type, String text); /** This function accepts the window id of the parent window, instead - of QWidget. It should be used only when necessary. - @short This function accepts the window id of the parent window, instead of QWidget . + of TQWidget. It should be used only when necessary. + @short This function accepts the window id of the parent window, instead of TQWidget . */ public static native int messageBoxWId(long parent_id, int type, String text, String caption, KGuiItem buttonYes, KGuiItem buttonNo, String dontShowAskAgainName, int options); public static native int messageBoxWId(long parent_id, int type, String text, String caption, KGuiItem buttonYes, KGuiItem buttonNo, String dontShowAskAgainName); @@ -816,11 +816,11 @@ public class KMessageBox implements QtSupport { shown. @short Like messageBox */ - public static native void queuedMessageBox(QWidget parent, int type, String text, String caption, int options); + public static native void queuedMessageBox(TQWidget parent, int type, String text, String caption, int options); /** This function accepts the window id of the parent window, instead - of QWidget. It should be used only when necessary. - @short This function accepts the window id of the parent window, instead of QWidget . + of TQWidget. It should be used only when necessary. + @short This function accepts the window id of the parent window, instead of TQWidget . */ public static native void queuedMessageBoxWId(long parent_id, int type, String text, String caption, int options); /** @@ -829,12 +829,12 @@ public class KMessageBox implements QtSupport { It behaves essentially like the above function. @short @overload */ - public static native void queuedMessageBox(QWidget parent, int type, String text, String caption); - public static native void queuedMessageBox(QWidget parent, int type, String text); + public static native void queuedMessageBox(TQWidget parent, int type, String text, String caption); + public static native void queuedMessageBox(TQWidget parent, int type, String text); /** This function accepts the window id of the parent window, instead - of QWidget. It should be used only when necessary. - @short This function accepts the window id of the parent window, instead of QWidget . + of TQWidget. It should be used only when necessary. + @short This function accepts the window id of the parent window, instead of TQWidget . */ public static native void queuedMessageBoxWId(long parent_id, int type, String text, String caption); public static native void queuedMessageBoxWId(long parent_id, int type, String text); @@ -909,7 +909,7 @@ public class KMessageBox implements QtSupport { /** Create content and layout of a standard dialog @param dialog The parent dialog base - @param icon A QPixmap containing the icon to be displayed in the + @param icon A TQPixmap containing the icon to be displayed in the dialog next to the text. @param text Message string. @param strlist List of strings to be written in the listbox. @@ -932,9 +932,9 @@ public class KMessageBox implements QtSupport { @short Create content and layout of a standard dialog */ - public static native int createKMessageBox(KDialogBase dialog, QPixmap icon, String text, String[] strlist, String ask, boolean[] checkboxReturn, int options, String details, int notifyType); - public static native int createKMessageBox(KDialogBase dialog, QPixmap icon, String text, String[] strlist, String ask, boolean[] checkboxReturn, int options, String details); - public static native int createKMessageBox(KDialogBase dialog, QPixmap icon, String text, String[] strlist, String ask, boolean[] checkboxReturn, int options); + public static native int createKMessageBox(KDialogBase dialog, TQPixmap icon, String text, String[] strlist, String ask, boolean[] checkboxReturn, int options, String details, int notifyType); + public static native int createKMessageBox(KDialogBase dialog, TQPixmap icon, String text, String[] strlist, String ask, boolean[] checkboxReturn, int options, String details); + public static native int createKMessageBox(KDialogBase dialog, TQPixmap icon, String text, String[] strlist, String ask, boolean[] checkboxReturn, int options); /** Deletes the wrapped C++ instance */ protected native void finalize() throws InternalError; /** Delete the wrapped C++ instance ahead of finalize() */ |