Salome HOME
Remove SLOT/SIGNAL warnings
authorvsv <vsv@coldrex.nnov.opencascade.com>
Thu, 17 Apr 2014 12:41:33 +0000 (16:41 +0400)
committervsv <vsv@coldrex.nnov.opencascade.com>
Thu, 17 Apr 2014 12:41:33 +0000 (16:41 +0400)
eclipse.sh [changed mode: 0644->0755]
linux_env.sh
linux_run.sh [changed mode: 0644->0755]
src/PyConsole/PyConsole_Console.cxx
src/XGUI/XGUI_Viewer.cpp

old mode 100644 (file)
new mode 100755 (executable)
index 76b880a..de64257
@@ -10,11 +10,11 @@ mkdir -p ${ROOT_DIR}/build
 cd ${ROOT_DIR}/build
 
 CMAKE_ARGS="-D_ECLIPSE_VERSION=4.3"
-CMAKE_ARGS="${CMAKE_ARGS} -DCMAKE_BUILD_TYPE=Release"
+CMAKE_ARGS="${CMAKE_ARGS} -DCMAKE_BUILD_TYPE=Debug"
 CMAKE_ARGS="${CMAKE_ARGS} -DCMAKE_ECLIPSE_GENERATE_SOURCE_PROJECT=ON"
 CMAKE_ARGS="${CMAKE_ARGS} -DCMAKE_INSTALL_PREFIX:PATH=${ROOT_DIR}/install"
 CMAKE_ARGS="${CMAKE_ARGS} ${SRC_DIR}"
 
 cmake -G "Eclipse CDT4 - Unix Makefiles" ${CMAKE_ARGS}
 
-/misc/dn21/hdfeditor/sbh/devtools/eclipse-4.3.0/eclipse&
\ No newline at end of file
+/misc/dn48/newgeom/common/eclipse-4.3.0/eclipse -Dosgi.locking=none &
\ No newline at end of file
index 8bd77be37c92c8dcf63a7e4731011d3a0a04bdfc..37ae415084ff732fbadaefec7810a6e869fd3078 100644 (file)
@@ -3,7 +3,7 @@
 # Find absolute path to ROOT_DIR
 export ROOT_DIR=$(pwd)/..
 export ROOT_DIR=`cd "${ROOT_DIR}";pwd`
-export PDIR=${ROOT_DIR}/products
+export PDIR=/dn48/newgeom/common/products
 
 #------ Python ------
 export PYTHON_ROOT_DIR=${PDIR}/Python-2.7.3
old mode 100644 (file)
new mode 100755 (executable)
index 5104f9f..7e06fb1
@@ -7,4 +7,4 @@ SRC_DIR=${ROOT_DIR}/sources
 
 source ${SRC_DIR}/linux_env.sh
 
-${ROOT_DIR}/install/bin/XGUI
+${ROOT_DIR}/install/bin/GeomApp
index 04e244ed08eaad1334fed75719df2ba992c41d0c..54391474f585d3f3c57841cee5d05860284eceb3 100644 (file)
@@ -290,10 +290,10 @@ void PyConsole_Console::createActions()
   connect( a, SIGNAL( triggered( bool ) ), myEditor, SLOT( selectAll() ) );
   myActions.insert( SelectAllId, a );
   
-  a = new QAction( tr( "EDIT_DUMPCOMMANDS_CMD" ), this );
-  a->setStatusTip( tr( "EDIT_DUMPCOMMANDS_CMD" ) );
-  connect( a, SIGNAL( triggered( bool ) ), myEditor, SLOT( dump() ) );
-  myActions.insert( DumpCommandsId, a );
+//  a = new QAction( tr( "EDIT_DUMPCOMMANDS_CMD" ), this );
+//  a->setStatusTip( tr( "EDIT_DUMPCOMMANDS_CMD" ) );
+//  connect( a, SIGNAL( triggered( bool ) ), myEditor, SLOT( dump() ) );
+//  myActions.insert( DumpCommandsId, a );
 }
 
 /*!
index dc5faa611bf657024289bb6c0a78c500a1974751..6d207e991b56425e08d9a8e3bca975d39d2f6586 100644 (file)
@@ -388,7 +388,7 @@ void XGUI_Viewer::addView(QMdiSubWindow* theView)
             this,    SIGNAL(tryCloseView(XGUI_ViewWindow*)));
 
     connect(aWindow, SIGNAL(mousePressed(XGUI_ViewWindow*, QMouseEvent*)),
-            this,    SLOT(onMousePressed(XGUI_ViewWindow*, QMouseEvent*)));
+            this,    SIGNAL(mousePress(XGUI_ViewWindow*, QMouseEvent*)));
 
     connect(aWindow, SIGNAL(mouseReleased(XGUI_ViewWindow*, QMouseEvent*)),
             this,    SIGNAL(mouseRelease(XGUI_ViewWindow*, QMouseEvent*)));
@@ -405,8 +405,8 @@ void XGUI_Viewer::addView(QMdiSubWindow* theView)
     connect(aWindow, SIGNAL(keyReleased(XGUI_ViewWindow*, QKeyEvent*)),
             this,    SIGNAL(keyRelease(XGUI_ViewWindow*, QKeyEvent*)));
 
-    connect(aWindow, SIGNAL(contextMenuRequested( QContextMenuEvent* )),
-            this,    SLOT  (onContextMenuRequested( QContextMenuEvent* )));
+//    connect(aWindow, SIGNAL(contextMenuRequested( QContextMenuEvent* )),
+//            this,    SLOT  (onContextMenuRequested( QContextMenuEvent* )));
 
     myViews.append(theView);
 }