You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
65 lines
2.1 KiB
65 lines
2.1 KiB
//Auto-generated by kalyptus. DO NOT EDIT.
|
|
package org.kde.koala;
|
|
|
|
import org.kde.qt.Qt;
|
|
import org.kde.qt.QMetaObject;
|
|
import org.kde.qt.QtSupport;
|
|
import org.kde.qt.QObject;
|
|
|
|
/**
|
|
|
|
KToolBarRadioGroup is class for group of radio butons in toolbar.
|
|
Take toggle buttons which you already inserted into toolbar,
|
|
create KToolBarRadioGroup instance and add them here.
|
|
All buttons will emit signals toggled (boolean) (or you can
|
|
use sitgnal toggled (int id) from toolbar). When one button is set
|
|
down, all others are unset. All buttons emit signals - those who
|
|
"go down" and those who "go up".
|
|
@author Sven Radej <radej@kde.org>
|
|
|
|
@short Class for group of radio butons in toolbar.
|
|
|
|
*/
|
|
public class KToolBarRadioGroup extends QObject {
|
|
protected KToolBarRadioGroup(Class dummy){super((Class) null);}
|
|
public native QMetaObject metaObject();
|
|
public native String className();
|
|
/**
|
|
Constructor. Parent must be KToolBar .
|
|
@short Constructor.
|
|
*/
|
|
public KToolBarRadioGroup(KToolBar _parent, String _name) {
|
|
super((Class) null);
|
|
newKToolBarRadioGroup(_parent,_name);
|
|
}
|
|
private native void newKToolBarRadioGroup(KToolBar _parent, String _name);
|
|
public KToolBarRadioGroup(KToolBar _parent) {
|
|
super((Class) null);
|
|
newKToolBarRadioGroup(_parent);
|
|
}
|
|
private native void newKToolBarRadioGroup(KToolBar _parent);
|
|
/**
|
|
Adds button to group. Button cannot be unset by mouse clicks (you
|
|
must press some other button tounset this one)
|
|
@short Adds button to group.
|
|
*/
|
|
public native void addButton(int id);
|
|
/**
|
|
Removes button from group, making it again toggle button (i.e.
|
|
You can unset it with mouse).
|
|
@short Removes button from group, making it again toggle button (i.
|
|
*/
|
|
public native void removeButton(int id);
|
|
/**
|
|
Internal - nothing for you here.
|
|
@short Internal - nothing for you here.
|
|
*/
|
|
public native void slotToggled(int arg1);
|
|
/** Deletes the wrapped C++ instance */
|
|
protected native void finalize() throws InternalError;
|
|
/** Delete the wrapped C++ instance ahead of finalize() */
|
|
public native void dispose();
|
|
/** Has the wrapped C++ instance been deleted? */
|
|
public native boolean isDisposed();
|
|
}
|