diff --git a/hurricane/src/viewer/CellViewer.cpp b/hurricane/src/viewer/CellViewer.cpp index e3fdba4c..33c3699f 100644 --- a/hurricane/src/viewer/CellViewer.cpp +++ b/hurricane/src/viewer/CellViewer.cpp @@ -297,8 +297,8 @@ namespace Hurricane { connect ( _controllerAction , SIGNAL(triggered()) , _controller, SLOT(toggleShow()) ); connect ( _gotoAction , SIGNAL(triggered()) , this , SLOT(doGoto()) ); - connect ( _cellWidget , SIGNAL(dbuModeChanged(int,DbU::UnitPower)) - , _goto , SLOT (changeDbuMode (int,DbU::UnitPower)) ); + connect ( _cellWidget , SIGNAL(dbuModeChanged(unsigned int,DbU::UnitPower)) + , _goto , SLOT (changeDbuMode (unsigned int,DbU::UnitPower)) ); connect ( _cellWidget , SIGNAL(mousePositionChanged(const Point&)) , _mousePosition , SLOT (setPosition(const Point&)) ); diff --git a/hurricane/src/viewer/DisplayFilterWidget.cpp b/hurricane/src/viewer/DisplayFilterWidget.cpp index 26a1fb97..073d16f2 100644 --- a/hurricane/src/viewer/DisplayFilterWidget.cpp +++ b/hurricane/src/viewer/DisplayFilterWidget.cpp @@ -197,10 +197,10 @@ namespace Hurricane { if ( _cellWidget ) { disconnect ( this , SIGNAL(queryFilterChanged()), _cellWidget, SLOT(changeQueryFilter()) ); disconnect ( _cellWidget , SIGNAL(queryFilterChanged()), this , SLOT(changeQueryFilter()) ); - disconnect ( this , SIGNAL(dbuModeChanged (int,DbU::UnitPower)) - , _cellWidget , SLOT (changeDbuMode (int,DbU::UnitPower)) ); - disconnect ( _cellWidget , SIGNAL(dbuModeChanged (int,DbU::UnitPower)) - , this , SLOT (changeDbuMode (int,DbU::UnitPower)) ); + disconnect ( this , SIGNAL(dbuModeChanged (unsigned int,DbU::UnitPower)) + , _cellWidget , SLOT (changeDbuMode (unsigned int,DbU::UnitPower)) ); + disconnect ( _cellWidget , SIGNAL(dbuModeChanged (unsigned int,DbU::UnitPower)) + , this , SLOT (changeDbuMode (unsigned int,DbU::UnitPower)) ); } _cellWidget = cw; @@ -208,10 +208,10 @@ namespace Hurricane { connect ( this , SIGNAL(queryFilterChanged()), _cellWidget, SLOT(changeQueryFilter()) ); connect ( _cellWidget , SIGNAL(queryFilterChanged()), this , SLOT(changeQueryFilter()) ); - connect ( this , SIGNAL(dbuModeChanged (int,DbU::UnitPower)) - , _cellWidget , SLOT (changeDbuMode (int,DbU::UnitPower)) ); - connect ( _cellWidget , SIGNAL(dbuModeChanged (int,DbU::UnitPower)) - , this , SLOT (changeDbuMode (int,DbU::UnitPower)) ); + connect ( this , SIGNAL(dbuModeChanged (unsigned int,DbU::UnitPower)) + , _cellWidget , SLOT (changeDbuMode (unsigned int,DbU::UnitPower)) ); + connect ( _cellWidget , SIGNAL(dbuModeChanged (unsigned int,DbU::UnitPower)) + , this , SLOT (changeDbuMode (unsigned int,DbU::UnitPower)) ); _updateState = ExternalEmit; changeQueryFilter (); @@ -219,7 +219,7 @@ namespace Hurricane { } - void DisplayFilterWidget::changeDbuMode ( int mode, DbU::UnitPower p ) + void DisplayFilterWidget::changeDbuMode ( unsigned int mode, DbU::UnitPower p ) { if ( _cellWidget == NULL ) return; diff --git a/hurricane/src/viewer/GotoWidget.cpp b/hurricane/src/viewer/GotoWidget.cpp index 805fe4ec..59f349de 100644 --- a/hurricane/src/viewer/GotoWidget.cpp +++ b/hurricane/src/viewer/GotoWidget.cpp @@ -136,7 +136,7 @@ namespace Hurricane { } - void GotoWidget::changeDbuMode ( int mode, DbU::UnitPower p ) + void GotoWidget::changeDbuMode ( unsigned int mode, DbU::UnitPower p ) { if ( mode == DbU::Physical ) { switch ( p ) { diff --git a/hurricane/src/viewer/hurricane/viewer/CellWidget.h b/hurricane/src/viewer/hurricane/viewer/CellWidget.h index 01ac9f6f..4abcce28 100644 --- a/hurricane/src/viewer/hurricane/viewer/CellWidget.h +++ b/hurricane/src/viewer/hurricane/viewer/CellWidget.h @@ -252,7 +252,7 @@ namespace Hurricane { void stateChanged ( shared_ptr& ); void styleChanged (); void queryFilterChanged (); - void dbuModeChanged ( int mode, DbU::UnitPower ); + void dbuModeChanged ( unsigned int mode, DbU::UnitPower ); void updatePalette ( Cell* ); void mousePositionChanged ( const Point& position ); void selectionModeChanged (); diff --git a/hurricane/src/viewer/hurricane/viewer/DisplayFilterWidget.h b/hurricane/src/viewer/hurricane/viewer/DisplayFilterWidget.h index 58c6a62d..27297ffe 100644 --- a/hurricane/src/viewer/hurricane/viewer/DisplayFilterWidget.h +++ b/hurricane/src/viewer/hurricane/viewer/DisplayFilterWidget.h @@ -47,10 +47,10 @@ namespace Hurricane { void setCellWidget ( CellWidget* ); signals: void queryFilterChanged (); - void dbuModeChanged ( int mode, DbU::UnitPower ); + void dbuModeChanged ( unsigned int mode, DbU::UnitPower ); public slots: void changeQueryFilter (); - void changeDbuMode ( int mode, DbU::UnitPower ); + void changeDbuMode ( unsigned int mode, DbU::UnitPower ); void startLevelChanged ( int level ); void stopLevelChanged ( int level ); void setDoMasterCells ( int state ); diff --git a/hurricane/src/viewer/hurricane/viewer/GotoWidget.h b/hurricane/src/viewer/hurricane/viewer/GotoWidget.h index 7749ad3d..c918198b 100644 --- a/hurricane/src/viewer/hurricane/viewer/GotoWidget.h +++ b/hurricane/src/viewer/hurricane/viewer/GotoWidget.h @@ -53,7 +53,7 @@ namespace Hurricane { double fromDbu ( DbU::Unit ) const; public slots: void acceptAndUpdate (); - void changeDbuMode ( int, DbU::UnitPower ); + void changeDbuMode ( unsigned int, DbU::UnitPower ); private: QRegExp _xyRegexp; QLineEdit* _xyEdit;