AppletInfoDrag::AppletInfoDrag(const AppletInfo& info, QWidget *dragSource) : QDragObject(dragSource, 0) { QBuffer buff(a); buff.open(IO_WriteOnly); QDataStream s(&buff); s << info.desktopFile() << info.configFile() << info.type(); }
bool AppletInfo::operator!=(const AppletInfo &rhs) const { return configFile() != rhs.configFile(); }