remove ContainmentPrivate::initApplets
This commit is contained in:
parent
bc1b63ebad
commit
54f0fc4926
@ -709,7 +709,6 @@ QList<Plasma::Containment *> CoronaPrivate::importLayout(const KConfigGroup &con
|
|||||||
|
|
||||||
foreach (Containment *containment, newContainments) {
|
foreach (Containment *containment, newContainments) {
|
||||||
containment->updateConstraints(Plasma::StartupCompletedConstraint);
|
containment->updateConstraints(Plasma::StartupCompletedConstraint);
|
||||||
containment->d->initApplets();
|
|
||||||
emit q->containmentAdded(containment);
|
emit q->containmentAdded(containment);
|
||||||
#ifndef NDEBUG
|
#ifndef NDEBUG
|
||||||
kDebug() << "!!{} STARTUP TIME" << QTime().msecsTo(QTime::currentTime()) << "Containment" << containment->name();
|
kDebug() << "!!{} STARTUP TIME" << QTime().msecsTo(QTime::currentTime()) << "Containment" << containment->name();
|
||||||
|
@ -105,27 +105,6 @@ void ContainmentPrivate::addDefaultActions(KActionCollection *actions, Containme
|
|||||||
action->setData(Containment::ControlTool);
|
action->setData(Containment::ControlTool);
|
||||||
}
|
}
|
||||||
|
|
||||||
void ContainmentPrivate::initApplets()
|
|
||||||
{
|
|
||||||
foreach (Applet *applet, applets) {
|
|
||||||
applet->restore(*applet->d->mainConfigGroup());
|
|
||||||
applet->init();
|
|
||||||
#ifndef NDEBUG
|
|
||||||
kDebug() << "!!{} STARTUP TIME" << QTime().msecsTo(QTime::currentTime()) << "Applet" << applet->title();
|
|
||||||
#endif
|
|
||||||
}
|
|
||||||
|
|
||||||
q->flushPendingConstraintsEvents();
|
|
||||||
|
|
||||||
foreach (Applet *applet, applets) {
|
|
||||||
applet->flushPendingConstraintsEvents();
|
|
||||||
}
|
|
||||||
|
|
||||||
#ifndef NDEBUG
|
|
||||||
kDebug() << "!!{} STARTUP TIME" << QTime().msecsTo(QTime::currentTime()) << "Containment's applets initialized" << q->title();
|
|
||||||
#endif
|
|
||||||
}
|
|
||||||
|
|
||||||
void ContainmentPrivate::checkContainmentFurniture()
|
void ContainmentPrivate::checkContainmentFurniture()
|
||||||
{
|
{
|
||||||
if (q->isContainment() &&
|
if (q->isContainment() &&
|
||||||
|
@ -83,7 +83,6 @@ public:
|
|||||||
*/
|
*/
|
||||||
void containmentConstraintsEvent(Plasma::Constraints constraints);
|
void containmentConstraintsEvent(Plasma::Constraints constraints);
|
||||||
|
|
||||||
void initApplets();
|
|
||||||
void checkContainmentFurniture();
|
void checkContainmentFurniture();
|
||||||
bool isPanelContainment() const;
|
bool isPanelContainment() const;
|
||||||
void setLockToolText();
|
void setLockToolText();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user