equal
deleted
inserted
replaced
75 str.append(searchQuery); |
75 str.append(searchQuery); |
76 HbLabel *label = new HbLabel(str); |
76 HbLabel *label = new HbLabel(str); |
77 popup->setHeadingWidget(label); |
77 popup->setHeadingWidget(label); |
78 HbAction * action = new HbAction(hbTrId("Back"), popup); |
78 HbAction * action = new HbAction(hbTrId("Back"), popup); |
79 connect(action, SIGNAL(triggered()), this, SLOT(BackEvent())); |
79 connect(action, SIGNAL(triggered()), this, SLOT(BackEvent())); |
80 popup->setPrimaryAction(action); |
80 popup->addAction(action); |
81 popup->show(); |
81 popup->show(); |
82 #else |
82 #else |
83 QString url("http://www.baidu.com/s?wd="); |
83 QString url("http://www.baidu.com/s?wd="); |
84 url.append(searchQuery); |
84 url.append(searchQuery); |
85 QDesktopServices::openUrl(url); |
85 QDesktopServices::openUrl(url); |