right, then why is it looking there?

the first couple i was doing for debugging, ultimately because
Plasma::Applet::load findsss no "offers" for it.

        Plasma::PackageStructure::Ptr structure =
Plasma::PackageStructure::load("Plasma/Generic");
        Plasma::Package *pkg = new Plasma::Package(QString(), "sal", structure);
        kDebug() << "FILEPATH: " << pkg->filePath("mainscript");
        Plasma::Applet *clock =  Plasma::Applet::load("sal"/*, c->id() + 1*/);
        Q_ASSERT(clock);
        c->addApplet(clock, QPointF(KDialog::spacingHint(),
KDialog::spacingHint()), true);
        clock->init();


-- 
Shaun Reich,
KDE Software Developer (kde.org)
_______________________________________________
Plasma-devel mailing list
[email protected]
https://mail.kde.org/mailman/listinfo/plasma-devel

Reply via email to