コード例 #1
0
// ***************************************************************************************************
CPSSound::~CPSSound()
{
	NL_PS_FUNC(CPSSound_CPSSound)
	removeAllSources();
	delete _GainScheme;
	delete _PitchScheme;
}
コード例 #2
0
ファイル: LocationModel.cpp プロジェクト: onze/Steel
    void LocationModel::cleanup()
    {
        removeAllSources();
        removeAllDestinations();

        mLocationModelMan = nullptr;
        mAttachedAgent = INVALID_ID;
        mPosition = Ogre::Vector3::ZERO;
        mPath = LocationModel::EMPTY_PATH;
        Model::cleanup();
    }
コード例 #3
0
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);
    }
コード例 #4
0
void PlacesEngine::modelReset()
{
    removeAllSources();
}
コード例 #5
0
ファイル: ion_noaa.cpp プロジェクト: KDE/plasma-workspace
NOAAIon::~NOAAIon()
{
    //seems necessary to avoid crash
    removeAllSources();
}