Popup* WebPopup::createPopup(const QWebSelectData& data) { Popup* result = data.multiple() ? createMultipleSelectionPopup(data) : createSingleSelectionPopup(data); connect(result, SIGNAL(finished(int)), this, SLOT(popupClosed())); connect(result, SIGNAL(itemClicked(int)), this, SLOT(itemClicked(int))); return result; }
Maemo5Popup* QtMaemoWebPopup::createPopup() { Maemo5Popup* result = multiple() ? createMultipleSelectionPopup() : createSingleSelectionPopup(); connect(result, SIGNAL(finished(int)), this, SLOT(popupClosed())); connect(result, SIGNAL(itemClicked(int)), this, SLOT(itemClicked(int))); return result; }