diff options
Diffstat (limited to 'kdejava/koala/org/kde/koala/KButtonBox.java')
-rw-r--r-- | kdejava/koala/org/kde/koala/KButtonBox.java | 80 |
1 files changed, 40 insertions, 40 deletions
diff --git a/kdejava/koala/org/kde/koala/KButtonBox.java b/kdejava/koala/org/kde/koala/KButtonBox.java index f9eb6067..48df7c9e 100644 --- a/kdejava/koala/org/kde/koala/KButtonBox.java +++ b/kdejava/koala/org/kde/koala/KButtonBox.java @@ -2,15 +2,15 @@ package org.kde.koala; import org.kde.qt.Qt; -import org.kde.qt.QMetaObject; +import org.kde.qt.TQMetaObject; import org.kde.qt.QtSupport; -import org.kde.qt.QObject; -import org.kde.qt.QSize; -import org.kde.qt.QSizePolicy; -import org.kde.qt.QPushButton; -import org.kde.qt.QWidget; -import org.kde.qt.QResizeEvent; -import org.kde.qt.QWidget; +import org.kde.qt.TQObject; +import org.kde.qt.TQSize; +import org.kde.qt.TQSizePolicy; +import org.kde.qt.TQPushButton; +import org.kde.qt.TQWidget; +import org.kde.qt.TQResizeEvent; +import org.kde.qt.TQWidget; /** @@ -26,9 +26,9 @@ import org.kde.qt.QWidget; @short Container widget for buttons. */ -public class KButtonBox extends QWidget { +public class KButtonBox extends TQWidget { protected KButtonBox(Class dummy){super((Class) null);} - public native QMetaObject metaObject(); + public native TQMetaObject metaObject(); public native String className(); /** Create an empty container for buttons. @@ -37,26 +37,26 @@ public class KButtonBox extends QWidget { are laid out from left to right. @short Create an empty container for buttons. */ - public KButtonBox(QWidget parent, int _orientation, int border, int _autoborder) { + public KButtonBox(TQWidget parent, int _orientation, int border, int _autoborder) { super((Class) null); newKButtonBox(parent,_orientation,border,_autoborder); } - private native void newKButtonBox(QWidget parent, int _orientation, int border, int _autoborder); - public KButtonBox(QWidget parent, int _orientation, int border) { + private native void newKButtonBox(TQWidget parent, int _orientation, int border, int _autoborder); + public KButtonBox(TQWidget parent, int _orientation, int border) { super((Class) null); newKButtonBox(parent,_orientation,border); } - private native void newKButtonBox(QWidget parent, int _orientation, int border); - public KButtonBox(QWidget parent, int _orientation) { + private native void newKButtonBox(TQWidget parent, int _orientation, int border); + public KButtonBox(TQWidget parent, int _orientation) { super((Class) null); newKButtonBox(parent,_orientation); } - private native void newKButtonBox(QWidget parent, int _orientation); - public KButtonBox(QWidget parent) { + private native void newKButtonBox(TQWidget parent, int _orientation); + public KButtonBox(TQWidget parent) { super((Class) null); newKButtonBox(parent); } - private native void newKButtonBox(QWidget parent); + private native void newKButtonBox(TQWidget parent); /** This size is calculated by the width/height of all buttons plus border/autoborder. @@ -64,11 +64,11 @@ public class KButtonBox extends QWidget { @short */ - public native QSize sizeHint(); - public native QSizePolicy sizePolicy(); - public native void resizeEvent(QResizeEvent arg1); + public native TQSize sizeHint(); + public native TQSizePolicy sizePolicy(); + public native void resizeEvent(TQResizeEvent arg1); /** - Add a new QPushButton. + Add a new TQPushButton. @param text the text of the button to add @param noexpand If <code>noexpand</code> is <code>false</code>, the width of the button is adjusted to fit the other buttons (the maximum @@ -76,12 +76,12 @@ public class KButtonBox extends QWidget { button will be set to the minimum width needed for the given text). @return A pointer to the new button. - @short Add a new QPushButton. + @short Add a new TQPushButton. */ - public native QPushButton addButton(String text, boolean noexpand); - public native QPushButton addButton(String text); + public native TQPushButton addButton(String text, boolean noexpand); + public native TQPushButton addButton(String text); /** - Add a new QPushButton. + Add a new TQPushButton. @param text the text of the button to add. @param receiver An object to connect to. @param slot A Qt slot to connect the 'clicked()' signal to. @@ -91,12 +91,12 @@ public class KButtonBox extends QWidget { button will be set to the minimum width needed for the given text). @return A pointer to the new button. - @short Add a new QPushButton. + @short Add a new TQPushButton. */ - public native QPushButton addButton(String text, QObject receiver, String slot, boolean noexpand); - public native QPushButton addButton(String text, QObject receiver, String slot); + public native TQPushButton addButton(String text, TQObject receiver, String slot, boolean noexpand); + public native TQPushButton addButton(String text, TQObject receiver, String slot); /** - Add a new QPushButton. + Add a new TQPushButton. @param guiitem text and icon on the button @param noexpand If <code>noexpand</code> is <code>false</code>, the width of the button is adjusted to fit the other buttons (the maximum @@ -104,12 +104,12 @@ public class KButtonBox extends QWidget { button will be set to the minimum width needed for the given text). @return A pointer to the new button. - @short Add a new QPushButton. + @short Add a new TQPushButton. */ - public native QPushButton addButton(KGuiItem guiitem, boolean noexpand); - public native QPushButton addButton(KGuiItem guiitem); + public native TQPushButton addButton(KGuiItem guiitem, boolean noexpand); + public native TQPushButton addButton(KGuiItem guiitem); /** - Add a new QPushButton. + Add a new TQPushButton. @param guiitem text and icon on the button @param receiver An object to connect to. @param slot A Qt slot to connect the 'clicked()' signal to. @@ -119,10 +119,10 @@ public class KButtonBox extends QWidget { button will be set to the minimum width needed for the given text). @return A pointer to the new button. - @short Add a new QPushButton. + @short Add a new TQPushButton. */ - public native QPushButton addButton(KGuiItem guiitem, QObject receiver, String slot, boolean noexpand); - public native QPushButton addButton(KGuiItem guiitem, QObject receiver, String slot); + public native TQPushButton addButton(KGuiItem guiitem, TQObject receiver, String slot, boolean noexpand); + public native TQPushButton addButton(KGuiItem guiitem, TQObject receiver, String slot); /** Add a stretch to the buttonbox. Can be used to separate buttons. That is, if you add the @@ -131,7 +131,7 @@ public class KButtonBox extends QWidget { for vertical) whereas Help will be right-aligned (or bottom-aligned for vertical). @short Add a stretch to the buttonbox. - @see org.kde.qt.QBoxLayout + @see org.kde.qt.TQBoxLayout */ public native void addStretch(int scale); public native void addStretch(); @@ -148,9 +148,9 @@ public class KButtonBox extends QWidget { @short */ - protected native QSize bestButtonSize(); + protected native TQSize bestButtonSize(); protected native void placeButtons(); - protected native QSize buttonSizeHint(QPushButton arg1); + protected native TQSize buttonSizeHint(TQPushButton arg1); /** Deletes the wrapped C++ instance */ protected native void finalize() throws InternalError; /** Delete the wrapped C++ instance ahead of finalize() */ |