|
|
@ -179,7 +179,7 @@ void SearchDlg::showQuickTips()
|
|
|
|
"- Change the sort order and the number of shown results.<br>"
|
|
|
|
"- Change the sort order and the number of shown results.<br>"
|
|
|
|
"- Define your own shortcuts to invoke the search dialog.")+"</qt>");
|
|
|
|
"- Define your own shortcuts to invoke the search dialog.")+"</qt>");
|
|
|
|
KURLLabel *buttonStart = new KURLLabel(item);
|
|
|
|
KURLLabel *buttonStart = new KURLLabel(item);
|
|
|
|
buttonStart->setPixmap(SmallIcon("exec"));
|
|
|
|
buttonStart->setPixmap(SmallIcon("application-x-executable"));
|
|
|
|
item->insertHitWidget(0,buttonStart);
|
|
|
|
item->insertHitWidget(0,buttonStart);
|
|
|
|
connect(buttonStart, TQT_SIGNAL(leftClickedURL()), TQT_SIGNAL(configure()));
|
|
|
|
connect(buttonStart, TQT_SIGNAL(leftClickedURL()), TQT_SIGNAL(configure()));
|
|
|
|
|
|
|
|
|
|
|
@ -405,7 +405,7 @@ void SearchDlg::search()
|
|
|
|
item->insertTextWidget(1,cb_beagleStart);
|
|
|
|
item->insertTextWidget(1,cb_beagleStart);
|
|
|
|
|
|
|
|
|
|
|
|
KURLLabel *buttonStart = new KURLLabel(item);
|
|
|
|
KURLLabel *buttonStart = new KURLLabel(item);
|
|
|
|
buttonStart->setPixmap(SmallIcon("exec"));
|
|
|
|
buttonStart->setPixmap(SmallIcon("application-x-executable"));
|
|
|
|
item->insertHitWidget(0,buttonStart);
|
|
|
|
item->insertHitWidget(0,buttonStart);
|
|
|
|
connect(buttonStart, TQT_SIGNAL(leftClickedURL()), TQT_SLOT(slotStartBeagle()));
|
|
|
|
connect(buttonStart, TQT_SIGNAL(leftClickedURL()), TQT_SLOT(slotStartBeagle()));
|
|
|
|
|
|
|
|
|
|
|
@ -553,7 +553,7 @@ void SearchDlg::insertResult(BeagleSearch::beagle_result_struct *result,int inde
|
|
|
|
connect(item->icon, TQT_SIGNAL(leftClickedURL()), TQT_SLOT(slotOpen()));
|
|
|
|
connect(item->icon, TQT_SIGNAL(leftClickedURL()), TQT_SLOT(slotOpen()));
|
|
|
|
|
|
|
|
|
|
|
|
KURLLabel *buttonGo = new KerryLabel(item);
|
|
|
|
KURLLabel *buttonGo = new KerryLabel(item);
|
|
|
|
buttonGo->setPixmap(SmallIcon( *(result->mime_type)=="application/x-desktop" ? "exec" : "document-open") );
|
|
|
|
buttonGo->setPixmap(SmallIcon( *(result->mime_type)=="application/x-desktop" ? "application-x-executable" : "document-open") );
|
|
|
|
buttonGo->setURL(*(result->uri));
|
|
|
|
buttonGo->setURL(*(result->uri));
|
|
|
|
item->insertHitWidget(0,buttonGo);
|
|
|
|
item->insertHitWidget(0,buttonGo);
|
|
|
|
connect(buttonGo, TQT_SIGNAL(leftClickedURL()), TQT_SLOT(slotOpen()));
|
|
|
|
connect(buttonGo, TQT_SIGNAL(leftClickedURL()), TQT_SLOT(slotOpen()));
|
|
|
|