[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-panel-devel
Subject:    Re: plasma-overlay can't load qml files?
From:       Shaun Reich <sreich () kde ! org>
Date:       2012-02-29 21:14:06
Message-ID: CADVynFCC0LSFsYwHn4TczvCbnxDL9N_MhM80cjyapKVAWZfUYg () mail ! gmail ! com
[Download RAW message or body]

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
Plasma-devel@kde.org
https://mail.kde.org/mailman/listinfo/plasma-devel
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic