// *************************************************************************************************** CPSSound::~CPSSound() { NL_PS_FUNC(CPSSound_CPSSound) removeAllSources(); delete _GainScheme; delete _PitchScheme; }
void LocationModel::cleanup() { removeAllSources(); removeAllDestinations(); mLocationModelMan = nullptr; mAttachedAgent = INVALID_ID; mPosition = Ogre::Vector3::ZERO; mPath = LocationModel::EMPTY_PATH; Model::cleanup(); }
void ShareEngine::updatePlugins(const QStringList &changes) { if (!changes.contains("services")) { return; } removeAllSources(); KService::List services = KServiceTypeTrader::self()->query("Plasma/ShareProvider"); QMultiMap<int, KService::Ptr> sortedServices; foreach (KService::Ptr service, services) { sortedServices.insert(service->property("X-KDE-Priority").toInt(), service); }
void PlacesEngine::modelReset() { removeAllSources(); }
NOAAIon::~NOAAIon() { //seems necessary to avoid crash removeAllSources(); }