source: project/release/4/qt/prototypes.h @ 15639

Last change on this file since 15639 was 15639, checked in by felix winkelmann, 10 years ago

ported to CHICKEN 4

File size: 2.7 KB
Line 
1/* prototypes.h */
2
3
4qtapplication qt_init();
5qtwidget qt_create(char *string, qtwidget parent);
6___safe void qt_show(qtwidget widget);
7void qt_hide(qtwidget widget);
8___safe ___bool qt_run(___bool once);
9void qt_deleteobject(qtobject widget);
10void qt_deletepixmap(qtpixmap widget);
11qtpixmap qt_pixmap(char *filename);
12___bool qt_connect(qtwidget w1, char *sig, qtobject w2, char *slot);
13qtwidget qt_find(qtwidget parent, char *name);
14qtobject qt_receiver(char *name, C_word proc);
15int qt_message(char *caption, char *text, qtwidget parent, char *b0, char *b1, char *b2);
16const char *qt_classname(qtobject w);
17___bool qt_setstringproperty(qtwidget w, char *prop, char *val);
18___bool qt_setboolproperty(qtwidget w, char *prop, ___bool val);
19___bool qt_setintproperty(qtwidget w, char *prop, int val);
20___bool qt_setfloatproperty(qtwidget w, char *prop, double val);
21___bool qt_setcharproperty(qtwidget w, char *prop, char val);
22___bool qt_setpixmapproperty(qtwidget w, char *prop, qtpixmap val);
23___bool qt_setpointproperty(qtwidget w, char *prop, int *val);
24___bool qt_setpointfproperty(qtwidget w, char *prop, double *val);
25___bool qt_setrectproperty(qtwidget w, char *prop, int *val);
26___bool qt_setrectfproperty(qtwidget w, char *prop, double *val);
27char *qt_getstringproperty(qtwidget w, char *prop);
28___bool qt_getboolproperty(qtwidget w, char *prop);
29int qt_getintproperty(qtwidget w, char *prop);
30qtpixmap qt_getpixmapproperty(qtwidget w, char *prop);
31C_word qt_getpointfproperty(qtwidget w, char *prop, C_word pt);
32C_word qt_getpointproperty(qtwidget w, char *prop, C_word pt);
33C_word qt_getrectfproperty(qtwidget w, char *prop, C_word rc);
34C_word qt_getrectproperty(qtwidget w, char *prop, C_word rc);
35C_word qt_getsizefproperty(qtwidget w, char *prop, C_word sz);
36C_word qt_getsizeproperty(qtwidget w, char *prop, C_word sz);
37double qt_getfloatproperty(qtwidget w, char *prop);
38char qt_getcharproperty(qtwidget w, char *prop);
39int qt_propertytype(qtwidget w, char *prop);
40qtwidget qt_gl(char *name, qtwidget parent, C_word proc);
41void qt_update(qtwidget w);
42qttimer qt_timer(double secs);
43void qt_start(qttimer t);
44void qt_stoptimer(qttimer t);
45void qt_stopsound(qtsound t);
46void qt_play(qtsound t);
47qtsound qt_sound(char *filename);
48void qt_clearlistwidget(qtwidget w);
49void qt_addcomboboxitem(qtwidget w, char *s);
50void qt_addlistwidgetitem(qtwidget w, char *s);
51void qt_addtreewidgetitem(qtwidget w, char *s);
52char *qt_listwidgetitem(qtwidget w, int i);
53char *qt_getexistingdirectory(qtwidget p, char *cap, char *dir, int opts);
54char *qt_getopenfilename(qtwidget p, char *cap, char *dir, char *filter, int opts);
55char *qt_getsavefilename(qtwidget p, char *cap, char *dir, char *filter, int opts);
56void qt_setheaders(qtwidget w, char *s);
Note: See TracBrowser for help on using the repository browser.