|
|
|
@ -52,7 +52,7 @@ int LabelAction::plug( TQWidget * widget, int index ) {
|
|
|
|
|
if ( widget->inherits( "TDEToolBar" ) ) {
|
|
|
|
|
TDEToolBar * bar = (TDEToolBar *)widget;
|
|
|
|
|
int id_ = getToolButtonID();
|
|
|
|
|
TQLabel* label = new TQLabel( text(), bar, "kde toolbar widget" );
|
|
|
|
|
TQLabel* label = new TQLabel( text(), bar, "tde toolbar widget" );
|
|
|
|
|
bar->insertWidget( id_, label->width(), label, index );
|
|
|
|
|
addContainer( bar, id_ );
|
|
|
|
|
connect( bar, TQT_SIGNAL( destroyed() ), this, TQT_SLOT( slotDestroyed() ) );
|
|
|
|
@ -77,7 +77,7 @@ int LineEditAction::plug( TQWidget * widget, int index ) {
|
|
|
|
|
TDEToolBar *bar = (TDEToolBar *)widget;
|
|
|
|
|
int id_ = getToolButtonID();
|
|
|
|
|
// The toolbar trick doesn't seem to work for lineedits
|
|
|
|
|
//_le = new TQLineEdit( bar, "kde toolbar widget" );
|
|
|
|
|
//_le = new TQLineEdit( bar, "tde toolbar widget" );
|
|
|
|
|
_le = new TQLineEdit( bar );
|
|
|
|
|
bar->insertWidget( id_, _le->width(), _le, index );
|
|
|
|
|
bar->setStretchableWidget( _le );
|
|
|
|
|