void ServiceButton::startDrag() { QString path = _service->desktopEntryPath(); // If the path to the desktop file is relative, try to get the full // path from KStdDirs. path = locate("apps", path); KURL url; url.setPath(path); emit dragme(KURL::List(url), labelIcon()); }
void BrowserButton::startDrag() { KUrl url(topMenu->path()); emit dragme(KUrl::List(url), labelIcon()); }
void PanelButton::startDrag() { emit dragme(m_icon); }