//Auto-generated by kalyptus. DO NOT EDIT.
package org.kde.koala;
import org.kde.qt.Qt;
import org.kde.qt.TQRect;
import org.kde.qt.TQFont;
import org.kde.qt.TQMetaObject;
import org.kde.qt.QtSupport;
import org.kde.qt.TQPaintEvent;
import org.kde.qt.TQSize;
import org.kde.qt.TQWidget;
import org.kde.qt.TQResizeEvent;
import org.kde.qt.TQWidget;
/**
Tabbed dialog with extended features.
KTabCtl is very similar to TQTabDialog, with the following differences:
To avoid confusion, the API is almost identical with TQTabDialog.
Does not create any buttons, therefore KTabCtl is not limited
to dialog boxes. You can use it whereever you want.
emits the signal tabSelected(int pagenumber) when the user
selects one of the tabs. This gives you the chance to update the
widget contents of a single page. The signal is emitted _before_ the
page is shown. This is very useful if the contents of some widgets
on page A depend on the contents of some other widgets on page B.
See {@link KTabCtlSignals} for signals emitted by KTabCtl
@author Alexander Sanda (alex@darkstar.ping.at)
@version $Id$
@short Tabbed dialog with extended features.
*/
public class KTabCtl extends TQWidget {
protected KTabCtl(Class dummy){super((Class) null);}
public native TQMetaObject metaObject();
public native String className();
public KTabCtl(TQWidget parent, String name) {
super((Class) null);
newKTabCtl(parent,name);
}
private native void newKTabCtl(TQWidget parent, String name);
public KTabCtl(TQWidget parent) {
super((Class) null);
newKTabCtl(parent);
}
private native void newKTabCtl(TQWidget parent);
public KTabCtl() {
super((Class) null);
newKTabCtl();
}
private native void newKTabCtl();
public native void show();
public native void setFont(TQFont font);
public native void setTabFont(TQFont font);
public native void addTab(TQWidget arg1, String arg2);
public native boolean isTabEnabled(String arg1);
public native void setTabEnabled(String arg1, boolean arg2);
public native void setBorder(boolean arg1);
public native void setShape(int shape);
public native TQSize sizeHint();
protected native void paintEvent(TQPaintEvent arg1);
protected native void resizeEvent(TQResizeEvent arg1);
protected native void setSizes();
protected native TQRect getChildRect();
protected native void showTab(int i);
/** 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();
}