Beispiel #1
0
void ViewManager::UnhideQuark (QuarkComponent_ptr component, QuarkManager_ptr manager)
{
    if (!manager)
        return;

    RemoveFromRemoved (manager->GetID ());

    AddComponent (component, manager);
}
Beispiel #2
0
	void ViewManager::handleQuarksRemoved (const QList<QUrl>& urls)
	{
		qDebug () << Q_FUNC_INFO << urls;
		for (const auto& url : urls)
		{
			const auto& id = Quark2Manager_ [url]->GetManifest ().GetID ();
			RemoveQuark (url);
			RemoveFromRemoved (id);
		}
	}
Beispiel #3
0
	void ViewManager::UnhideQuark (QuarkComponent_ptr component, QuarkManager_ptr manager)
	{
		if (!manager)
			return;

		RemoveFromRemoved (manager->GetManifest ().GetID ());

		AddComponent (component, manager, true);

		SaveQuarkOrder ();
	}