diff options
author | Darrell Anderson <humanreadable@yahoo.com> | 2014-01-08 20:06:00 +0100 |
---|---|---|
committer | Slávek Banko <slavek.banko@axis.cz> | 2014-01-08 20:06:00 +0100 |
commit | 636f509299122d02087c6fd62e1e4a46dbd22026 (patch) | |
tree | 70e43efceeb5b00e7f19cdac8da44928bd2fb459 /tdejava/koala/org/trinitydesktop/koala/KNumInput.java | |
parent | 719b61750c08343f530068ed4127623aeac71cf0 (diff) | |
download | tdebindings-636f509299122d02087c6fd62e1e4a46dbd22026.tar.gz tdebindings-636f509299122d02087c6fd62e1e4a46dbd22026.zip |
Rename many classes to avoid conflicts with KDE
Diffstat (limited to 'tdejava/koala/org/trinitydesktop/koala/KNumInput.java')
-rw-r--r-- | tdejava/koala/org/trinitydesktop/koala/KNumInput.java | 92 |
1 files changed, 92 insertions, 0 deletions
diff --git a/tdejava/koala/org/trinitydesktop/koala/KNumInput.java b/tdejava/koala/org/trinitydesktop/koala/KNumInput.java new file mode 100644 index 00000000..08f58728 --- /dev/null +++ b/tdejava/koala/org/trinitydesktop/koala/KNumInput.java @@ -0,0 +1,92 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.trinitydesktop.koala; + +import org.trinitydesktop.qt.Qt; +import org.trinitydesktop.qt.TQMetaObject; +import org.trinitydesktop.qt.QtSupport; +import org.trinitydesktop.qt.TQSize; +import org.trinitydesktop.qt.TQSizePolicy; +import org.trinitydesktop.qt.TQWidget; +import org.trinitydesktop.qt.TQWidget; + +/** + + You need to inherit from this class if you want to implement KNumInput + for a different variable type + @short You need to inherit from this class if you want to implement K NumInput for a different variable type + +*/ +public class KNumInput extends TQWidget { + protected KNumInput(Class dummy){super((Class) null);} + public native TQMetaObject metaObject(); + public native String className(); + /** + Default constructor + @param parent If parent is 0, the new widget becomes a top-level window. If parent is another widget, this widget becomes a child window inside parent. The new widget is deleted when its parent is deleted. + @param name The name is sent to the TQObject constructor. + @short Default constructor + */ + /** + @param below A pointer to another KNumInput. + @param parent parent widget + @param name name of the widget + @short + */ + /** + Sets the text and alignment of the main description label. + @param label The text of the label. + Use null to remove an existing one. + @param a one of <code>AlignLeft</code>, <code>AlignHCenter</code>, YAlignRight and + <code>AlignTop</code>, <code>AlignVCenter</code>, <code>AlignBottom.</code> + default is <code>AlignLeft</code> | <code>AlignTop.</code> + The vertical alignment flags have special meaning with this + widget: + + <li> + <code>AlignTop</code> The label is placed above the edit/slider + </li> + + <li> + <code>AlignVCenter</code> The label is placed left beside the edit + </li> + + <li> + <code>AlignBottom</code> The label is placed below the edit/slider + </li> + @short Sets the text and alignment of the main description label. + */ + public native void setLabel(String label, int a); + public native void setLabel(String label); + /** + @return the text of the label. + + @short + */ + public native String label(); + /** + @return if the num input has a slider. + + @short + */ + public native boolean showSlider(); + /** + Sets the spacing of tickmarks for the slider. + @param minor Minor tickmark separation. + @param major Major tickmark separation. + @short Sets the spacing of tickmarks for the slider. + */ + public native void setSteps(int minor, int major); + /** + Specifies that this widget may stretch horizontally, but is + fixed vertically (like TQSpinBox itself). + @short Specifies that this widget may stretch horizontally, but is fixed vertically (like TQSpinBox itself). + */ + public native TQSizePolicy sizePolicy(); + /** + Returns a size which fits the contents of the control. + @return the preferred size necessary to show the control + + @short Returns a size which fits the contents of the control. + */ + public native TQSize sizeHint(); +} |