|
|
@ -105,7 +105,7 @@ TQCString KbfxButton::findPanel()
|
|
|
|
it != objects.end();
|
|
|
|
it != objects.end();
|
|
|
|
++it)
|
|
|
|
++it)
|
|
|
|
{
|
|
|
|
{
|
|
|
|
if ( (*it).tqcontains ( "Panel" ) > 0 )
|
|
|
|
if ( (*it).contains ( "Panel" ) > 0 )
|
|
|
|
{
|
|
|
|
{
|
|
|
|
DCOPRef _dcop_obj ( "kicker", (*it) );
|
|
|
|
DCOPRef _dcop_obj ( "kicker", (*it) );
|
|
|
|
TQStringList _dcop_obj_applets =_dcop_obj.call ( "listApplets()" );
|
|
|
|
TQStringList _dcop_obj_applets =_dcop_obj.call ( "listApplets()" );
|
|
|
@ -114,7 +114,7 @@ TQCString KbfxButton::findPanel()
|
|
|
|
_it != _dcop_obj_applets.end();
|
|
|
|
_it != _dcop_obj_applets.end();
|
|
|
|
_it++ )
|
|
|
|
_it++ )
|
|
|
|
{
|
|
|
|
{
|
|
|
|
if ( ( *_it ).tqcontains ( "kbfx" ) )
|
|
|
|
if ( ( *_it ).contains ( "kbfx" ) )
|
|
|
|
{
|
|
|
|
{
|
|
|
|
m_AppletPanel = (*it);
|
|
|
|
m_AppletPanel = (*it);
|
|
|
|
break;
|
|
|
|
break;
|
|
|
@ -308,7 +308,7 @@ void KbfxButton::selfDeleter()
|
|
|
|
|
|
|
|
|
|
|
|
for ( it = returnTQStringList.begin();it != returnTQStringList.end();it++ )
|
|
|
|
for ( it = returnTQStringList.begin();it != returnTQStringList.end();it++ )
|
|
|
|
{
|
|
|
|
{
|
|
|
|
if ( ( *it ).tqcontains ( "kbfx" ) )
|
|
|
|
if ( ( *it ).contains ( "kbfx" ) )
|
|
|
|
{
|
|
|
|
{
|
|
|
|
break;
|
|
|
|
break;
|
|
|
|
}
|
|
|
|
}
|
|
|
@ -371,17 +371,17 @@ void KbfxButton::dropEvent ( TQDropEvent * e )
|
|
|
|
{
|
|
|
|
{
|
|
|
|
_tmp = ( *it );
|
|
|
|
_tmp = ( *it );
|
|
|
|
kdDebug() << "KBFX button dropped file: " << _tmp << endl;
|
|
|
|
kdDebug() << "KBFX button dropped file: " << _tmp << endl;
|
|
|
|
if ( _tmp.tqcontains ( "hover", FALSE ) > 0 )
|
|
|
|
if ( _tmp.contains ( "hover", FALSE ) > 0 )
|
|
|
|
{
|
|
|
|
{
|
|
|
|
_hover = _tmp;
|
|
|
|
_hover = _tmp;
|
|
|
|
_hover_pix = TQImage ( _tmp );
|
|
|
|
_hover_pix = TQImage ( _tmp );
|
|
|
|
}
|
|
|
|
}
|
|
|
|
if ( _tmp.tqcontains ( "normal", FALSE ) > 0 )
|
|
|
|
if ( _tmp.contains ( "normal", FALSE ) > 0 )
|
|
|
|
{
|
|
|
|
{
|
|
|
|
_normal = _tmp;
|
|
|
|
_normal = _tmp;
|
|
|
|
_normal_pix = TQImage ( _tmp );
|
|
|
|
_normal_pix = TQImage ( _tmp );
|
|
|
|
}
|
|
|
|
}
|
|
|
|
if ( _tmp.tqcontains ( "pressed", FALSE ) > 0 )
|
|
|
|
if ( _tmp.contains ( "pressed", FALSE ) > 0 )
|
|
|
|
{
|
|
|
|
{
|
|
|
|
_pressed = _tmp;
|
|
|
|
_pressed = _tmp;
|
|
|
|
_pressed_pix = TQImage ( _tmp );
|
|
|
|
_pressed_pix = TQImage ( _tmp );
|
|
|
|