|
|
@ -220,6 +220,7 @@ void PanelKMenu::initialize()
|
|
|
|
PanelServiceMenu::initialize();
|
|
|
|
PanelServiceMenu::initialize();
|
|
|
|
|
|
|
|
|
|
|
|
// Insert search field
|
|
|
|
// Insert search field
|
|
|
|
|
|
|
|
if (KickerSettings::UseSearchBar())
|
|
|
|
TQHBox* hbox = new TQHBox( this );
|
|
|
|
TQHBox* hbox = new TQHBox( this );
|
|
|
|
KToolBarButton *clearButton = new KToolBarButton( "locationbar_erase", 0, hbox );
|
|
|
|
KToolBarButton *clearButton = new KToolBarButton( "locationbar_erase", 0, hbox );
|
|
|
|
searchEdit = new KPIM::ClickLineEdit(hbox, " "+i18n("Press '/' to search..."));
|
|
|
|
searchEdit = new KPIM::ClickLineEdit(hbox, " "+i18n("Press '/' to search..."));
|
|
|
@ -231,6 +232,7 @@ void PanelKMenu::initialize()
|
|
|
|
connect(searchEdit, TQT_SIGNAL(textChanged(const TQString&)),
|
|
|
|
connect(searchEdit, TQT_SIGNAL(textChanged(const TQString&)),
|
|
|
|
this, TQT_SLOT( slotUpdateSearch( const TQString&)));
|
|
|
|
this, TQT_SLOT( slotUpdateSearch( const TQString&)));
|
|
|
|
insertItem(hbox, searchLineID, 0);
|
|
|
|
insertItem(hbox, searchLineID, 0);
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
//TQToolTip::add(clearButton, i18n("Clear Search"));
|
|
|
|
//TQToolTip::add(clearButton, i18n("Clear Search"));
|
|
|
|
//TQToolTip::add(searchEdit, i18n("Enter the name of an application"));
|
|
|
|
//TQToolTip::add(searchEdit, i18n("Enter the name of an application"));
|
|
|
|