@ -180,8 +180,8 @@ void TradeDisplay::tradeItemAdded(TradeItem *tradeItem)
TDEListViewItem * item = new TDEListViewItem ( m_componentList , ( tradeItem - > from ( ) ? tradeItem - > from ( ) - > name ( ) : TQString ( " ? " ) ) , i18n ( " gives is transitive ;) " , " gives " ) , ( tradeItem - > to ( ) ? tradeItem - > to ( ) - > name ( ) : TQString ( " ? " ) ) , tradeItem - > text ( ) ) ;
connect ( tradeItem , TQT_SIGNAL ( changed ( TradeItem * ) ) , this , TQT_SLOT ( tradeItemChanged ( TradeItem * ) ) ) ;
item - > setPixmap ( 0 , TQPixmap ( SmallIcon ( " p ersonal" ) ) ) ;
item - > setPixmap ( 2 , TQPixmap ( SmallIcon ( " p ersonal" ) ) ) ;
item - > setPixmap ( 0 , TQPixmap ( SmallIcon ( " p references-desktop-p ersonal" ) ) ) ;
item - > setPixmap ( 2 , TQPixmap ( SmallIcon ( " p references-desktop-p ersonal" ) ) ) ;
if ( TradeEstate * tradeEstate = dynamic_cast < TradeEstate * > ( tradeItem ) )
item - > setPixmap ( 3 , PortfolioEstate : : drawPixmap ( tradeEstate - > estate ( ) ) ) ;
@ -205,9 +205,9 @@ void TradeDisplay::tradeItemChanged(TradeItem *t)
if ( item )
{
item - > setText ( 0 , t - > from ( ) ? t - > from ( ) - > name ( ) : TQString ( " ? " ) ) ;
item - > setPixmap ( 0 , TQPixmap ( SmallIcon ( " p ersonal" ) ) ) ;
item - > setPixmap ( 0 , TQPixmap ( SmallIcon ( " p references-desktop-p ersonal" ) ) ) ;
item - > setText ( 2 , t - > to ( ) ? t - > to ( ) - > name ( ) : TQString ( " ? " ) ) ;
item - > setPixmap ( 2 , TQPixmap ( SmallIcon ( " p ersonal" ) ) ) ;
item - > setPixmap ( 2 , TQPixmap ( SmallIcon ( " p references-desktop-p ersonal" ) ) ) ;
item - > setText ( 3 , t - > text ( ) ) ;
}
}