Exemple #1
0
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();
}
Exemple #2
0
bool AppletInfo::operator!=(const AppletInfo &rhs) const
{
    return configFile() != rhs.configFile();
}