@ -88,7 +88,7 @@ void PLayout::messageHandler(int fd, PukeMessage *pm)
}
}
PObject * pld = controller ( ) - > id2pobject ( fd , pm - > iWinId ) ;
PObject * pld = controller ( ) - > id2pobject ( fd , pm - > iWinId ) ;
PObject * pls = controller ( ) - > id2pobject ( fd , pm - > iArg ) ;
PObject * pls = controller ( ) - > id2pobject ( fd , pm - > iArg ) ;
if ( ( pld - > widget ( ) - > inherits ( " TQBoxLayout " ) = = FALSE ) | | ( pls - > widget ( ) - > inherits ( " TQBoxLayout " ) = = FALSE ) )
if ( ( pld - > widget ( ) - > inherits ( TQBOXLAYOUT_OBJECT_NAME_STRING ) = = FALSE ) | | ( pls - > widget ( ) - > inherits ( TQBOXLAYOUT_OBJECT_NAME_STRING ) = = FALSE ) )
throw ( errorCommandFailed ( PUKE_LAYOUT_ADDLAYOUT_ACK , 1 ) ) ;
throw ( errorCommandFailed ( PUKE_LAYOUT_ADDLAYOUT_ACK , 1 ) ) ;
PLayout * plbd = ( PLayout * ) pld ;
PLayout * plbd = ( PLayout * ) pld ;
PLayout * plbs = ( PLayout * ) pls ;
PLayout * plbs = ( PLayout * ) pls ;
@ -136,7 +136,7 @@ void PLayout::messageHandler(int fd, PukeMessage *pm)
void PLayout : : setWidget ( TQObject * _layout )
void PLayout : : setWidget ( TQObject * _layout )
{
{
// kdDebug(5008) << "PObject setwidget called" << endl;
// kdDebug(5008) << "PObject setwidget called" << endl;
if ( _layout ! = 0 & & _layout - > inherits ( " TQBoxLayout " ) = = FALSE )
if ( _layout ! = 0 & & _layout - > inherits ( TQBOXLAYOUT_OBJECT_NAME_STRING ) = = FALSE )
{
{
errorInvalidSet ( _layout ) ;
errorInvalidSet ( _layout ) ;
return ;
return ;