/* prototypes.h */ qtapplication qt_init(); qtwidget qt_create(char *string, qtwidget parent); ___safe void qt_show(qtwidget widget); void qt_hide(qtwidget widget); ___safe ___bool qt_run(___bool once); void qt_deleteobject(qtobject widget); void qt_deletepixmap(qtpixmap widget); void qt_deleteicon(qticon icon); qtpixmap qt_pixmap(char *filename); qticon qt_themeicon(char *theme_icon_name); qticon qt_icon(char *filename); qtpixmap qt_icontopixmap(qticon icon, int w, int h); qticon qt_pixmaptoicon(qtpixmap px); ___bool qt_connect(qtwidget w1, char *sig, qtobject w2, char *slot); qtobject qt_find(qtobject parent, char *name); qtobject qt_receiver(char *name, C_word proc); int qt_message(char *caption, char *text, qtwidget parent, char *b0, char *b1, char *b2); const char *qt_classname(qtobject w); ___bool qt_setstringproperty(qtwidget w, char *prop, char *val); ___bool qt_setboolproperty(qtwidget w, char *prop, ___bool val); ___bool qt_setintproperty(qtwidget w, char *prop, int val); ___bool qt_setfloatproperty(qtwidget w, char *prop, double val); ___bool qt_setcharproperty(qtwidget w, char *prop, char val); ___bool qt_setpixmapproperty(qtwidget w, char *prop, qtpixmap val); ___bool qt_setpointproperty(qtwidget w, char *prop, int *val); ___bool qt_setpointfproperty(qtwidget w, char *prop, double *val); ___bool qt_setrectproperty(qtwidget w, char *prop, int *val); ___bool qt_setrectfproperty(qtwidget w, char *prop, double *val); char *qt_getstringproperty(qtwidget w, char *prop); ___bool qt_getboolproperty(qtwidget w, char *prop); int qt_getintproperty(qtwidget w, char *prop); qtpixmap qt_getpixmapproperty(qtwidget w, char *prop); C_word qt_getpointfproperty(qtwidget w, char *prop, C_word pt); C_word qt_getpointproperty(qtwidget w, char *prop, C_word pt); C_word qt_getrectfproperty(qtwidget w, char *prop, C_word rc); C_word qt_getrectproperty(qtwidget w, char *prop, C_word rc); C_word qt_getsizefproperty(qtwidget w, char *prop, C_word sz); C_word qt_getsizeproperty(qtwidget w, char *prop, C_word sz); double qt_getfloatproperty(qtwidget w, char *prop); int qt_getcharproperty(qtwidget w, char *prop); int qt_propertytype(qtwidget w, char *prop); qtwidget qt_gl(char *name, qtwidget parent, C_word proc); void qt_update(qtwidget w); qttimer qt_timer(double secs); void qt_start(qttimer t); void qt_stoptimer(qttimer t); void qt_stopsound(qtsound t); void qt_play(qtsound t); qtsound qt_sound(char *filename); void qt_clearlistwidget(qtwidget w); void qt_addcomboboxitem(qtwidget w, char *s); void qt_addlistwidgetitem(qtwidget w, char *s); void qt_addtreewidgetitem(qtwidget w, char *s); char *qt_listwidgetitem(qtwidget w, int i); char *qt_getexistingdirectory(qtwidget p, char *cap, char *dir, int opts); char *qt_getopenfilename(qtwidget p, char *cap, char *dir, char *filter, int opts); char *qt_getsavefilename(qtwidget p, char *cap, char *dir, char *filter, int opts); void qt_setheaders(qtwidget w, char *s); char *qt_selection(qttextedit w); void qt_insert(qttextedit w, char *s); qtaction qt_shortcut(qtwidget w, char *k); void qt_addaction(qtwidget w, qtaction a); void qt_removeaction(qtwidget w, qtaction a); int qt_charencoding(int mode);