javauis/eswt_qt/org.eclipse.swt/Eclipse_SWT_PI/qt/library/os.cpp
changeset 76 4ad59aaee882
parent 69 773449708c84
equal deleted inserted replaced
69:773449708c84 76:4ad59aaee882
  2193     {
  2193     {
  2194     jint screenNum=0;
  2194     jint screenNum=0;
  2195     SWT_TRY
  2195     SWT_TRY
  2196         {
  2196         {
  2197         SWT_LOG_JNI_CALL();
  2197         SWT_LOG_JNI_CALL();
  2198         SWT_LOG_DATA_2("handle=%x widgetHandle=%x", aDesktopHandle, widgetHandle);
  2198         SWT_LOG_DATA_2("desktopHandle=%x widgetHandle=%x", aDesktopHandle, aWidgetHandle);
  2199         HANDLE_TO_POINTER( QDesktopWidget*, desktopWidget, aDesktopHandle );
  2199         HANDLE_TO_POINTER( QDesktopWidget*, desktopWidget, aDesktopHandle );
  2200         HANDLE_TO_POINTER( QWidget*, widget, aWidgetHandle );
  2200         HANDLE_TO_POINTER( QWidget*, widget, aWidgetHandle );
  2201         screenNum = desktopWidget->screenNumber( widget );
  2201         screenNum = desktopWidget->screenNumber( widget );
  2202         }
  2202         }
  2203     SWT_CATCH
  2203     SWT_CATCH
 11618     {
 11618     {
 11619 #ifdef __SYMBIAN32__
 11619 #ifdef __SYMBIAN32__
 11620     SWT_TRY
 11620     SWT_TRY
 11621         {
 11621         {
 11622         SWT_LOG_JNI_CALL();
 11622         SWT_LOG_JNI_CALL();
 11623         SWT_LOG_DATA_1( "handle=%x", aHandle );
 11623         SWT_LOG_DATA_1( "handle=%x", swtApp );
 11624         swtApp->destroyMobileDevice();
 11624         swtApp->destroyMobileDevice();
 11625         }
 11625         }
 11626     SWT_CATCH
 11626     SWT_CATCH
 11627 #endif
 11627 #endif
 11628     }
 11628     }
 11974     {
 11974     {
 11975     SlotCallback* cb = NULL;
 11975     SlotCallback* cb = NULL;
 11976     SWT_TRY
 11976     SWT_TRY
 11977         {
 11977         {
 11978         SWT_LOG_JNI_CALL();
 11978         SWT_LOG_JNI_CALL();
 11979         SWT_LOG_DATA_1("peer=%x", aPeer);
 11979         SWT_LOG_DATA_2("widget=%x signalId=%d", aWidget, aSignalId);
 11980 
 11980 
 11981         HANDLE_TO_POINTER( QObject*, widget, aWidget );
 11981         HANDLE_TO_POINTER( QObject*, widget, aWidget );
 11982 
 11982 
 11983         // Widget takes ownership of the signal handler instance
 11983         // Widget takes ownership of the signal handler instance
 11984         cb = new SlotCallback( aJniEnv, NULL, widget, aSignalId );
 11984         cb = new SlotCallback( aJniEnv, NULL, widget, aSignalId );