@ -11,7 +11,7 @@
# include <tqsimplerichtext.h>
# include <tqsimplerichtext.h>
# include <tqapplication.h>
# include <tqapplication.h>
# include <tqheader.h>
# include <tqheader.h>
# include < layout.h>
# include < tq layout.h>
# include <tqtimer.h>
# include <tqtimer.h>
# include <klocale.h>
# include <klocale.h>
@ -63,7 +63,7 @@ ReplayGainFileListItem::ReplayGainFileListItem( ReplayGainFileListItem* parent )
ReplayGainFileListItem : : ~ ReplayGainFileListItem ( )
ReplayGainFileListItem : : ~ ReplayGainFileListItem ( )
{ }
{ }
void ReplayGainFileListItem : : paintCell ( TQPainter * p , const TQColorGroup & cg , int column , int width , int alignment )
void ReplayGainFileListItem : : paintCell ( TQPainter * p , const TQColorGroup & cg , int column , int width , int tq alignment )
{
{
// NOTE speed up this function
// NOTE speed up this function
// NOTE calculate the red color
// NOTE calculate the red color
@ -76,46 +76,46 @@ void ReplayGainFileListItem::paintCell( TQPainter *p, const TQColorGroup &cg, in
int margin = listView ( ) - > itemMargin ( ) ;
int margin = listView ( ) - > itemMargin ( ) ;
int w = width - 2 * margin ;
int w = width - 2 * margin ;
int h = height ( ) ;
int h = height ( ) ;
TQRect textRect = p - > boundingRect ( margin , 0 , w , h , alignment, text ( column ) ) ;
TQRect textRect = p - > boundingRect ( margin , 0 , w , h , tq alignment, text ( column ) ) ;
if ( textRect . width ( ) > w ) {
if ( textRect . width ( ) > w ) {
alignment = TQt : : AlignRight | TQt : : SingleLine ;
tq alignment = TQt : : AlignRight | TQt : : SingleLine ;
}
}
}
}
if ( isSelected ( ) & & addingReplayGain ) {
if ( isSelected ( ) & & addingReplayGain ) {
_cg . setColor ( TQColorGroup : : Highlight , TQColor ( 215 , 62 , 62 ) ) ;
_cg . setColor ( TQColorGroup : : Highlight , TQColor ( 215 , 62 , 62 ) ) ;
TQListViewItem : : paintCell ( p , _cg , column , width , alignment ) ;
TQListViewItem : : paintCell ( p , _cg , column , width , tq alignment ) ;
return ;
return ;
}
}
else if ( addingReplayGain & & column ! = listView ( ) - > sortColumn ( ) ) {
else if ( addingReplayGain & & column ! = listView ( ) - > sortColumn ( ) ) {
_cg . setColor ( TQColorGroup : : Base , TQColor ( 255 , 234 , 234 ) ) ;
_cg . setColor ( TQColorGroup : : Base , TQColor ( 255 , 234 , 234 ) ) ;
TQListViewItem : : paintCell ( p , _cg , column , width , alignment ) ;
TQListViewItem : : paintCell ( p , _cg , column , width , tq alignment ) ;
return ;
return ;
}
}
else if ( addingReplayGain & & column = = listView ( ) - > sortColumn ( ) ) {
else if ( addingReplayGain & & column = = listView ( ) - > sortColumn ( ) ) {
_cg . setColor ( TQColorGroup : : Base , TQColor ( 247 , 227 , 227 ) ) ;
_cg . setColor ( TQColorGroup : : Base , TQColor ( 247 , 227 , 227 ) ) ;
TQListViewItem : : paintCell ( p , _cg , column , width , alignment ) ;
TQListViewItem : : paintCell ( p , _cg , column , width , tq alignment ) ;
return ;
return ;
}
}
if ( isSelected ( ) & & queued ) {
if ( isSelected ( ) & & queued ) {
_cg . setColor ( TQColorGroup : : Highlight , TQColor ( 230 , 232 , 100 ) ) ;
_cg . setColor ( TQColorGroup : : Highlight , TQColor ( 230 , 232 , 100 ) ) ;
TQListViewItem : : paintCell ( p , _cg , column , width , alignment ) ;
TQListViewItem : : paintCell ( p , _cg , column , width , tq alignment ) ;
return ;
return ;
}
}
else if ( queued & & column ! = listView ( ) - > sortColumn ( ) ) {
else if ( queued & & column ! = listView ( ) - > sortColumn ( ) ) {
_cg . setColor ( TQColorGroup : : Base , TQColor ( 255 , 255 , 190 ) ) ;
_cg . setColor ( TQColorGroup : : Base , TQColor ( 255 , 255 , 190 ) ) ;
TQListViewItem : : paintCell ( p , _cg , column , width , alignment ) ;
TQListViewItem : : paintCell ( p , _cg , column , width , tq alignment ) ;
return ;
return ;
}
}
else if ( queued & & column = = listView ( ) - > sortColumn ( ) ) {
else if ( queued & & column = = listView ( ) - > sortColumn ( ) ) {
_cg . setColor ( TQColorGroup : : Base , TQColor ( 255 , 243 , 168 ) ) ;
_cg . setColor ( TQColorGroup : : Base , TQColor ( 255 , 243 , 168 ) ) ;
TQListViewItem : : paintCell ( p , _cg , column , width , alignment ) ;
TQListViewItem : : paintCell ( p , _cg , column , width , tq alignment ) ;
return ;
return ;
}
}
KListViewItem : : paintCell ( p , _cg , column , width , alignment ) ;
KListViewItem : : paintCell ( p , _cg , column , width , tq alignment ) ;
}
}
void ReplayGainFileListItem : : setType ( Type type )
void ReplayGainFileListItem : : setType ( Type type )
@ -195,11 +195,11 @@ ReplayGainFileList::ReplayGainFileList( TagEngine* _tagEngine, Config* _config,
grid - > setRowStretch ( 2 , 1 ) ;
grid - > setRowStretch ( 2 , 1 ) ;
grid - > setColStretch ( 0 , 1 ) ;
grid - > setColStretch ( 0 , 1 ) ;
grid - > setColStretch ( 2 , 1 ) ;
grid - > setColStretch ( 2 , 1 ) ;
pScan Status = new KProgress ( this , " pScanStatus " ) ;
pScan tq Status = new KProgress ( this , " pScanStatus " ) ;
pScan Status- > setMinimumHeight ( pScan Status- > height ( ) ) ;
pScan tq Status- > setMinimumHeight ( pScan tq Status- > height ( ) ) ;
pScan Status- > setFormat ( " %v / %m " ) ;
pScan tq Status- > setFormat ( " %v / %m " ) ;
pScan Status- > hide ( ) ;
pScan tq Status- > hide ( ) ;
grid - > addWidget ( pScan Status, 1 , 1 ) ;
grid - > addWidget ( pScan tq Status, 1 , 1 ) ;
grid - > setColStretch ( 1 , 2 ) ;
grid - > setColStretch ( 1 , 2 ) ;
contextMenu = new KPopupMenu ( this ) ;
contextMenu = new KPopupMenu ( this ) ;
@ -279,9 +279,9 @@ void ReplayGainFileList::viewportPaintEvent( TQPaintEvent* e )
const uint w = bubble - > width ( ) + 20 ;
const uint w = bubble - > width ( ) + 20 ;
const uint h = bubble - > height ( ) + 20 ;
const uint h = bubble - > height ( ) + 20 ;
p . setBrush ( colorGroup( ) . background ( ) ) ;
p . setBrush ( tq colorGroup( ) . background ( ) ) ;
p . drawRoundRect ( 15 , 15 , w , h , ( 8 * 200 ) / w , ( 8 * 200 ) / h ) ;
p . drawRoundRect ( 15 , 15 , w , h , ( 8 * 200 ) / w , ( 8 * 200 ) / h ) ;
bubble - > draw ( & p , 20 , 20 , TQRect ( ) , colorGroup( ) ) ;
bubble - > draw ( & p , 20 , 20 , TQRect ( ) , tq colorGroup( ) ) ;
}
}
}
}
@ -512,15 +512,15 @@ int ReplayGainFileList::listDir( const TQString& directory, TQStringList filter,
else if ( ! fileInfo . isDir ( ) | | ! recursive ) { // NOTE checking for isFile may not work with all file names
else if ( ! fileInfo . isDir ( ) | | ! recursive ) { // NOTE checking for isFile may not work with all file names
// NOTE filter feature
// NOTE filter feature
for ( TQStringList : : Iterator jt = filter . begin ( ) ; jt ! = filter . end ( ) ; + + jt ) {
for ( TQStringList : : Iterator jt = filter . begin ( ) ; jt ! = filter . end ( ) ; + + jt ) {
if ( ( * it ) . endsWith( " . " + ( * jt ) , false ) ) {
if ( ( * it ) . tq endsWith( " . " + ( * jt ) , false ) ) {
count + + ;
count + + ;
pScan Status- > setTotalSteps ( count ) ;
pScan tq Status- > setTotalSteps ( count ) ;
break ;
break ;
}
}
}
}
if ( filter . first ( ) = = " " ) {
if ( filter . first ( ) = = " " ) {
count + + ;
count + + ;
pScan Status- > setTotalSteps ( count ) ;
pScan tq Status- > setTotalSteps ( count ) ;
}
}
}
}
}
}
@ -531,17 +531,17 @@ int ReplayGainFileList::listDir( const TQString& directory, TQStringList filter,
else if ( ! fileInfo . isDir ( ) | | ! recursive ) { // NOTE checking for isFile may not work with all file names
else if ( ! fileInfo . isDir ( ) | | ! recursive ) { // NOTE checking for isFile may not work with all file names
// NOTE filter feature
// NOTE filter feature
for ( TQStringList : : Iterator jt = filter . begin ( ) ; jt ! = filter . end ( ) ; + + jt ) {
for ( TQStringList : : Iterator jt = filter . begin ( ) ; jt ! = filter . end ( ) ; + + jt ) {
if ( ( * it ) . endsWith( " . " + ( * jt ) , false ) ) {
if ( ( * it ) . tq endsWith( " . " + ( * jt ) , false ) ) {
addFile ( KURL : : encode_string ( directory + " / " + * it ) ) ;
addFile ( KURL : : encode_string ( directory + " / " + * it ) ) ;
count + + ;
count + + ;
pScan Status- > setProgress ( count ) ;
pScan tq Status- > setProgress ( count ) ;
break ;
break ;
}
}
}
}
if ( filter . first ( ) = = " " ) {
if ( filter . first ( ) = = " " ) {
addFile ( KURL : : encode_string ( directory + " / " + * it ) ) ;
addFile ( KURL : : encode_string ( directory + " / " + * it ) ) ;
count + + ;
count + + ;
pScan Status- > setProgress ( count ) ;
pScan tq Status- > setProgress ( count ) ;
}
}
}
}
}
}
@ -742,15 +742,15 @@ void ReplayGainFileList::addFile( const TQString& file )
void ReplayGainFileList : : addDir ( const TQString & directory , const TQStringList & filter , bool recursive )
void ReplayGainFileList : : addDir ( const TQString & directory , const TQStringList & filter , bool recursive )
{
{
pScan Status- > setProgress ( 0 ) ;
pScan tq Status- > setProgress ( 0 ) ;
pScan Status- > setTotalSteps ( 0 ) ;
pScan tq Status- > setTotalSteps ( 0 ) ;
pScan Status- > show ( ) ; // show the status while scanning the directories
pScan tq Status- > show ( ) ; // show the status while scanning the directories
kapp - > processEvents ( ) ;
kapp - > processEvents ( ) ;
int count = listDir ( directory , filter , recursive , true ) ;
int count = listDir ( directory , filter , recursive , true ) ;
listDir ( directory , filter , recursive ) ;
listDir ( directory , filter , recursive ) ;
pScan Status- > hide ( ) ; // hide the status bar, when the scan is done
pScan tq Status- > hide ( ) ; // hide the status bar, when the scan is done
}
}
void ReplayGainFileList : : openAlbums ( )
void ReplayGainFileList : : openAlbums ( )
@ -836,18 +836,18 @@ void ReplayGainFileList::calcSelectedItemsGain()
if ( item - > type ( ) = = ReplayGainFileListItem : : File ) {
if ( item - > type ( ) = = ReplayGainFileListItem : : File ) {
if ( item - > isSelected ( ) ) {
if ( item - > isSelected ( ) ) {
item - > queued = true ;
item - > queued = true ;
item - > repaint( ) ;
item - > tq repaint( ) ;
item - > mode = ReplayGainFileListItem : : force ;
item - > mode = ReplayGainFileListItem : : force ;
}
}
}
}
else {
else {
if ( item - > isSelected ( ) ) {
if ( item - > isSelected ( ) ) {
item - > queued = true ;
item - > queued = true ;
item - > repaint( ) ;
item - > tq repaint( ) ;
item - > mode = ReplayGainFileListItem : : force ;
item - > mode = ReplayGainFileListItem : : force ;
for ( ReplayGainFileListItem * sub_item = item - > firstChild ( ) ; sub_item ! = 0 ; sub_item = sub_item - > nextSibling ( ) ) {
for ( ReplayGainFileListItem * sub_item = item - > firstChild ( ) ; sub_item ! = 0 ; sub_item = sub_item - > nextSibling ( ) ) {
sub_item - > queued = true ;
sub_item - > queued = true ;
sub_item - > repaint( ) ;
sub_item - > tq repaint( ) ;
sub_item - > mode = ReplayGainFileListItem : : force ;
sub_item - > mode = ReplayGainFileListItem : : force ;
}
}
}
}
@ -855,11 +855,11 @@ void ReplayGainFileList::calcSelectedItemsGain()
for ( ReplayGainFileListItem * sub_item = item - > firstChild ( ) ; sub_item ! = 0 ; sub_item = sub_item - > nextSibling ( ) ) {
for ( ReplayGainFileListItem * sub_item = item - > firstChild ( ) ; sub_item ! = 0 ; sub_item = sub_item - > nextSibling ( ) ) {
if ( sub_item - > isSelected ( ) ) {
if ( sub_item - > isSelected ( ) ) {
item - > queued = true ;
item - > queued = true ;
item - > repaint( ) ;
item - > tq repaint( ) ;
item - > mode = ReplayGainFileListItem : : force ;
item - > mode = ReplayGainFileListItem : : force ;
for ( ReplayGainFileListItem * sub_item2 = item - > firstChild ( ) ; sub_item2 ! = 0 ; sub_item2 = sub_item2 - > nextSibling ( ) ) {
for ( ReplayGainFileListItem * sub_item2 = item - > firstChild ( ) ; sub_item2 ! = 0 ; sub_item2 = sub_item2 - > nextSibling ( ) ) {
sub_item2 - > queued = true ;
sub_item2 - > queued = true ;
sub_item2 - > repaint( ) ;
sub_item2 - > tq repaint( ) ;
sub_item2 - > mode = ReplayGainFileListItem : : force ;
sub_item2 - > mode = ReplayGainFileListItem : : force ;
}
}
break ;
break ;
@ -878,18 +878,18 @@ void ReplayGainFileList::removeSelectedItemsGain()
if ( item - > type ( ) = = ReplayGainFileListItem : : File ) {
if ( item - > type ( ) = = ReplayGainFileListItem : : File ) {
if ( item - > isSelected ( ) & & ! item - > addingReplayGain ) {
if ( item - > isSelected ( ) & & ! item - > addingReplayGain ) {
item - > queued = true ;
item - > queued = true ;
item - > repaint( ) ;
item - > tq repaint( ) ;
item - > mode = ReplayGainFileListItem : : remove ;
item - > mode = ReplayGainFileListItem : : remove ;
}
}
}
}
else {
else {
if ( item - > isSelected ( ) & & ! item - > addingReplayGain ) {
if ( item - > isSelected ( ) & & ! item - > addingReplayGain ) {
item - > queued = true ;
item - > queued = true ;
item - > repaint( ) ;
item - > tq repaint( ) ;
item - > mode = ReplayGainFileListItem : : remove ;
item - > mode = ReplayGainFileListItem : : remove ;
for ( ReplayGainFileListItem * sub_item = item - > firstChild ( ) ; sub_item ! = 0 ; sub_item = sub_item - > nextSibling ( ) ) {
for ( ReplayGainFileListItem * sub_item = item - > firstChild ( ) ; sub_item ! = 0 ; sub_item = sub_item - > nextSibling ( ) ) {
sub_item - > queued = true ;
sub_item - > queued = true ;
sub_item - > repaint( ) ;
sub_item - > tq repaint( ) ;
sub_item - > mode = ReplayGainFileListItem : : remove ;
sub_item - > mode = ReplayGainFileListItem : : remove ;
}
}
}
}
@ -897,7 +897,7 @@ void ReplayGainFileList::removeSelectedItemsGain()
for ( ReplayGainFileListItem * sub_item = item - > firstChild ( ) ; sub_item ! = 0 ; sub_item = sub_item - > nextSibling ( ) ) {
for ( ReplayGainFileListItem * sub_item = item - > firstChild ( ) ; sub_item ! = 0 ; sub_item = sub_item - > nextSibling ( ) ) {
if ( sub_item - > isSelected ( ) & & ! sub_item - > addingReplayGain ) {
if ( sub_item - > isSelected ( ) & & ! sub_item - > addingReplayGain ) {
sub_item - > queued = true ;
sub_item - > queued = true ;
sub_item - > repaint( ) ;
sub_item - > tq repaint( ) ;
sub_item - > mode = ReplayGainFileListItem : : remove ;
sub_item - > mode = ReplayGainFileListItem : : remove ;
}
}
}
}
@ -926,12 +926,12 @@ void ReplayGainFileList::calcReplayGain( ReplayGainFileListItem* item )
if ( item - > type ( ) = = ReplayGainFileListItem : : Album ) {
if ( item - > type ( ) = = ReplayGainFileListItem : : Album ) {
item - > queued = false ;
item - > queued = false ;
item - > addingReplayGain = true ;
item - > addingReplayGain = true ;
item - > repaint( ) ;
item - > tq repaint( ) ;
for ( ReplayGainFileListItem * sub_item = item - > firstChild ( ) ; sub_item ! = 0 ; sub_item = sub_item - > nextSibling ( ) ) {
for ( ReplayGainFileListItem * sub_item = item - > firstChild ( ) ; sub_item ! = 0 ; sub_item = sub_item - > nextSibling ( ) ) {
if ( sub_item - > queued & & sub_item - > mode & ReplayGainFileListItem : : force ) force = true ; // NOTE can this be replaced by checking item?
if ( sub_item - > queued & & sub_item - > mode & ReplayGainFileListItem : : force ) force = true ; // NOTE can this be replaced by checking item?
sub_item - > queued = false ;
sub_item - > queued = false ;
sub_item - > addingReplayGain = true ;
sub_item - > addingReplayGain = true ;
sub_item - > repaint( ) ;
sub_item - > tq repaint( ) ;
fileList + = sub_item - > filePathName ;
fileList + = sub_item - > filePathName ;
files + + ;
files + + ;
@ -953,10 +953,10 @@ void ReplayGainFileList::calcReplayGain( ReplayGainFileListItem* item )
else {
else {
logger - > processCompleted ( logID , 0 ) ;
logger - > processCompleted ( logID , 0 ) ;
item - > addingReplayGain = false ;
item - > addingReplayGain = false ;
item - > repaint( ) ;
item - > tq repaint( ) ;
for ( ReplayGainFileListItem * sub_item = item - > firstChild ( ) ; sub_item ! = 0 ; sub_item = sub_item - > nextSibling ( ) ) {
for ( ReplayGainFileListItem * sub_item = item - > firstChild ( ) ; sub_item ! = 0 ; sub_item = sub_item - > nextSibling ( ) ) {
sub_item - > addingReplayGain = false ;
sub_item - > addingReplayGain = false ;
sub_item - > repaint( ) ;
sub_item - > tq repaint( ) ;
}
}
processNextFile ( ) ;
processNextFile ( ) ;
}
}
@ -966,7 +966,7 @@ void ReplayGainFileList::calcReplayGain( ReplayGainFileListItem* item )
item - > queued = false ;
item - > queued = false ;
item - > addingReplayGain = true ;
item - > addingReplayGain = true ;
item - > repaint( ) ;
item - > tq repaint( ) ;
files = 1 ;
files = 1 ;
timeCount = item - > time ;
timeCount = item - > time ;
@ -989,13 +989,13 @@ void ReplayGainFileList::removeReplayGain( ReplayGainFileListItem* item )
if ( item - > type ( ) = = ReplayGainFileListItem : : File ) {
if ( item - > type ( ) = = ReplayGainFileListItem : : File ) {
item - > queued = false ;
item - > queued = false ;
item - > addingReplayGain = true ;
item - > addingReplayGain = true ;
item - > repaint( ) ;
item - > tq repaint( ) ;
timeCount = item - > time ;
timeCount = item - > time ;
replayGain - > apply ( item - > filePathName , item - > mimeType , process , logID , ReplayGain : : remove ) ;
replayGain - > apply ( item - > filePathName , item - > mimeType , process , logID , ReplayGain : : remove ) ;
}
}
else {
else {
item - > queued = false ;
item - > queued = false ;
item - > repaint( ) ;
item - > tq repaint( ) ;
processNextFile ( ) ;
processNextFile ( ) ;
}
}
}
}
@ -1201,43 +1201,43 @@ void ReplayGainFileList::processExit( KProcess* proc )
if ( item - > addingReplayGain ) {
if ( item - > addingReplayGain ) {
processedTime + = item - > time ;
processedTime + = item - > time ;
item - > addingReplayGain = false ;
item - > addingReplayGain = false ;
item - > repaint( ) ;
item - > tq repaint( ) ;
item - > updateReplayGainCells ( tagEngine - > readTags ( KURL : : decode_string ( item - > filePathName ) ) ) ;
item - > updateReplayGainCells ( tagEngine - > readTags ( KURL : : decode_string ( item - > filePathName ) ) ) ;
}
}
if ( item - > queued & & proc - > signalled ( ) ) {
if ( item - > queued & & proc - > signalled ( ) ) {
item - > queued = false ;
item - > queued = false ;
item - > repaint( ) ;
item - > tq repaint( ) ;
}
}
}
}
else {
else {
if ( item - > addingReplayGain ) {
if ( item - > addingReplayGain ) {
item - > addingReplayGain = false ;
item - > addingReplayGain = false ;
item - > repaint( ) ;
item - > tq repaint( ) ;
for ( ReplayGainFileListItem * sub_item = item - > firstChild ( ) ; sub_item ! = 0 ; sub_item = sub_item - > nextSibling ( ) ) {
for ( ReplayGainFileListItem * sub_item = item - > firstChild ( ) ; sub_item ! = 0 ; sub_item = sub_item - > nextSibling ( ) ) {
processedTime + = sub_item - > time ;
processedTime + = sub_item - > time ;
sub_item - > addingReplayGain = false ;
sub_item - > addingReplayGain = false ;
sub_item - > repaint( ) ;
sub_item - > tq repaint( ) ;
sub_item - > updateReplayGainCells ( tagEngine - > readTags ( KURL : : decode_string ( sub_item - > filePathName ) ) ) ;
sub_item - > updateReplayGainCells ( tagEngine - > readTags ( KURL : : decode_string ( sub_item - > filePathName ) ) ) ;
}
}
}
}
if ( item - > queued & & proc - > signalled ( ) ) {
if ( item - > queued & & proc - > signalled ( ) ) {
item - > queued = false ;
item - > queued = false ;
item - > repaint( ) ;
item - > tq repaint( ) ;
for ( ReplayGainFileListItem * sub_item = item - > firstChild ( ) ; sub_item ! = 0 ; sub_item = sub_item - > nextSibling ( ) ) {
for ( ReplayGainFileListItem * sub_item = item - > firstChild ( ) ; sub_item ! = 0 ; sub_item = sub_item - > nextSibling ( ) ) {
sub_item - > queued = false ;
sub_item - > queued = false ;
sub_item - > repaint( ) ;
sub_item - > tq repaint( ) ;
}
}
}
}
for ( ReplayGainFileListItem * sub_item = item - > firstChild ( ) ; sub_item ! = 0 ; sub_item = sub_item - > nextSibling ( ) ) {
for ( ReplayGainFileListItem * sub_item = item - > firstChild ( ) ; sub_item ! = 0 ; sub_item = sub_item - > nextSibling ( ) ) {
if ( sub_item - > addingReplayGain ) {
if ( sub_item - > addingReplayGain ) {
processedTime + = sub_item - > time ;
processedTime + = sub_item - > time ;
sub_item - > addingReplayGain = false ;
sub_item - > addingReplayGain = false ;
sub_item - > repaint( ) ;
sub_item - > tq repaint( ) ;
sub_item - > updateReplayGainCells ( tagEngine - > readTags ( KURL : : decode_string ( sub_item - > filePathName ) ) ) ;
sub_item - > updateReplayGainCells ( tagEngine - > readTags ( KURL : : decode_string ( sub_item - > filePathName ) ) ) ;
}
}
if ( sub_item - > queued & & proc - > signalled ( ) ) {
if ( sub_item - > queued & & proc - > signalled ( ) ) {
sub_item - > queued = false ;
sub_item - > queued = false ;
sub_item - > repaint( ) ;
sub_item - > tq repaint( ) ;
}
}
}
}
}
}