Correct argument of dbuModeChanged and changeDbuMode consistently (to unigned int)
This commit is contained in:
parent
92e0a06744
commit
bca3815efe
|
@ -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&)) );
|
||||
|
|
|
@ -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;
|
||||
|
||||
|
|
|
@ -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 ) {
|
||||
|
|
|
@ -252,7 +252,7 @@ namespace Hurricane {
|
|||
void stateChanged ( shared_ptr<CellWidget::State>& );
|
||||
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 ();
|
||||
|
|
|
@ -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 );
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue