867 // |
867 // |
868 public static final native String QLabel_text( int handle ); |
868 public static final native String QLabel_text( int handle ); |
869 public static final native void QLabel_setText( int handle, String text ); |
869 public static final native void QLabel_setText( int handle, String text ); |
870 public static final native void QLabel_setAlignment ( int handle, int alignment ); |
870 public static final native void QLabel_setAlignment ( int handle, int alignment ); |
871 public static final native void QLabel_setWordWrap ( int handle, boolean wrap ); |
871 public static final native void QLabel_setWordWrap ( int handle, boolean wrap ); |
872 public static final native void QLabel_setPixmap ( int handle, int imageHandle ); |
872 public static final native void QLabel_setPixmap ( int handle, int pixmapHandle ); |
|
873 public static final native void QLabel_swt_setPixmap ( int handle, int imageHandle ); |
873 public static final native int QLabel_new(); |
874 public static final native int QLabel_new(); |
874 public static final native void QLabel_setBuddy(int handle, int buddy); |
875 public static final native void QLabel_setBuddy(int handle, int buddy); |
875 public static final native void QLabel_setTextInteractionFlags(int handle, int flags); |
876 public static final native void QLabel_setTextInteractionFlags(int handle, int flags); |
876 public static final native void QLabel_setOpenExternalLinks(int handle, boolean bool); |
877 public static final native void QLabel_setOpenExternalLinks(int handle, boolean bool); |
877 |
878 |
987 // QPixmap |
988 // QPixmap |
988 // |
989 // |
989 public static final native boolean QPixmap_load( int handle, String fileName ); |
990 public static final native boolean QPixmap_load( int handle, String fileName ); |
990 public static final native int QPixmap_new(); |
991 public static final native int QPixmap_new(); |
991 public static final native void QPixmap_delete(int handle); |
992 public static final native void QPixmap_delete(int handle); |
992 public static final native int QPixmap_swt_paintDevice(int handle); |
993 |
993 |
994 |
994 // |
995 // |
995 // QPalette |
996 // QPalette |
996 // |
997 // |
997 public static final native void QPalette_setColor ( int handle, int group, int role, int red, int green, int blue ); |
998 public static final native void QPalette_setColor ( int handle, int group, int role, int red, int green, int blue ); |
998 public static final native void QPalette_setColor ( int handle, int role, int red, int green, int blue ); |
999 public static final native void QPalette_setColor ( int handle, int role, int red, int green, int blue ); |
999 public static final native int[] QPalette_color ( int handle, int group, int role ); |
1000 public static final native int[] QPalette_color ( int handle, int group, int role ); |
1000 public static final native void QPalette_delete( int handle ); |
1001 public static final native void QPalette_delete( int handle ); |
1001 public static final native void QPalette_swt_setBrush(int handle, int role, int pixmap); |
1002 public static final native void QPalette_swt_setBrush(int handle, int role, int cgImage); |
1002 public static final native void QPalette_swt_copyBrushFromPalette(int handle, int sourceHandle, int role); |
1003 public static final native void QPalette_swt_copyBrushFromPalette(int handle, int sourceHandle, int role); |
1003 |
1004 |
1004 // |
1005 // |
1005 // QTimer |
1006 // QTimer |
1006 // |
1007 // |
1055 public static final native void QKeySequence_delete(int aHandle); |
1056 public static final native void QKeySequence_delete(int aHandle); |
1056 |
1057 |
1057 // |
1058 // |
1058 // QIcon |
1059 // QIcon |
1059 // |
1060 // |
1060 public static final native int QIcon_new(int pixmap); |
1061 public static final native int QIcon_swt_new(int cgImage); |
1061 public static final native int QIcon_new(); |
1062 public static final native int QIcon_new(); |
1062 public static final native void QIcon_delete(int handle); |
1063 public static final native void QIcon_delete(int handle); |
1063 public static final native int QIcon_pixmap(int handle, int w, int h); |
1064 public static final native int QIcon_pixmap(int handle, int w, int h); |
1064 |
1065 |
1065 // |
1066 // |
1199 public static final native boolean QColor_isValid(int handle); |
1200 public static final native boolean QColor_isValid(int handle); |
1200 |
1201 |
1201 // |
1202 // |
1202 // QColorDialog |
1203 // QColorDialog |
1203 // |
1204 // |
1204 public static final native int QColorDialog_getColor(int initialColor, int parentHandle, String dialogId, int layoutDirection) ; |
1205 public static final native int QColorDialog_getColor(int r, int g, int b, int parentHandle, String dialogId, int layoutDirection); |
1205 |
1206 |
1206 // |
1207 // |
1207 // QTableWidget |
1208 // QTableWidget |
1208 // |
1209 // |
1209 public static final native int QTableWidget_new(); |
1210 public static final native int QTableWidget_new(); |
1498 // QMessageBox |
1499 // QMessageBox |
1499 // |
1500 // |
1500 public static final native int QMessageBox_swt_exec(int icon, String title, String text, |
1501 public static final native int QMessageBox_swt_exec(int icon, String title, String text, |
1501 int buttons, int parentHandle, int modality, String dialogID, int layoutDirection); |
1502 int buttons, int parentHandle, int modality, String dialogID, int layoutDirection); |
1502 public static final native void QMessageBox_swt_execTimer(int aIcon, String title, String text, |
1503 public static final native void QMessageBox_swt_execTimer(int aIcon, String title, String text, |
1503 int parentHandle, String aDialogID, int aLayoutDirection, int modality, int pixmapHandle); |
1504 int parentHandle, String aDialogID, int aLayoutDirection, int modality, int cgImageHandle); |
1504 |
1505 |
1505 // |
1506 // |
1506 // QInputDialog |
1507 // QInputDialog |
1507 // |
1508 // |
1508 public static final native String QInputDialog_swt_getText(int parentHandle, String title, String label, int echoMode, String defaultText, String dialogId, int layoutDirection); |
1509 public static final native String QInputDialog_swt_getText(int parentHandle, String title, String label, int echoMode, String defaultText, String dialogId, int layoutDirection); |
1618 public static final native int QLocale_system(); |
1619 public static final native int QLocale_system(); |
1619 public static final native int QLocale_language(int handle); |
1620 public static final native int QLocale_language(int handle); |
1620 public static final native void QLocale_delete(int handle); |
1621 public static final native void QLocale_delete(int handle); |
1621 |
1622 |
1622 // |
1623 // |
1623 // QImage |
|
1624 // |
|
1625 public static final native int QImage_swt_paintDevice(int handle); |
|
1626 |
|
1627 // |
|
1628 // QChar |
1624 // QChar |
1629 // |
1625 // |
1630 public static final native int QChar_direction(char c); |
1626 public static final native int QChar_direction(char c); |
1631 |
1627 |
1632 // |
1628 // |
1706 // |
1702 // |
1707 public static final native int XQServiceRequest_new(String service, String operation, boolean synchronou); |
1703 public static final native int XQServiceRequest_new(String service, String operation, boolean synchronou); |
1708 public static final native boolean XQServiceRequest_send(int handle); |
1704 public static final native boolean XQServiceRequest_send(int handle); |
1709 public static final native void XQServiceRequest_swt_setArgumentsForFetchEmail(int handle, String title, String action, String filter); |
1705 public static final native void XQServiceRequest_swt_setArgumentsForFetchEmail(int handle, String title, String action, String filter); |
1710 public static final native void XQServiceRequest_swt_setArgumentsForDial(int handle, String number, boolean asyncAnswer); |
1706 public static final native void XQServiceRequest_swt_setArgumentsForDial(int handle, String number, boolean asyncAnswer); |
|
1707 |
|
1708 // |
|
1709 //XQApplicationManager |
|
1710 // |
|
1711 public static final native int XQApplicationManager_new(); |
|
1712 public static final native int XQApplicationManager_create(int handle, String service, String Interface, String operation, boolean synchronous); |
|
1713 |
|
1714 // |
|
1715 //XQAiwRequest |
|
1716 // |
|
1717 public static final native void XQAiwRequest_setArguments(int handle, String number); |
|
1718 public static final native void XQAiwRequest_swtDialer_setArguments(int handle, String number); |
|
1719 public static final native boolean XQAiwRequest_send(int handle); |
1711 |
1720 |
1712 // |
1721 // |
1713 // CntServicesContactList |
1722 // CntServicesContactList |
1714 // |
1723 // |
1715 public static final native String[] CntServicesContactList_swt_contacts(int handle); |
1724 public static final native String[] CntServicesContactList_swt_contacts(int handle); |