~neon/libkdegames/master

« back to all changes in this revision

Viewing changes to audio/kgsound-openal.cpp

  • Committer: Friedrich W. H. Kossebau
  • Date: 2020-06-18 15:08:41 UTC
  • Revision ID: git-v1:a98250f6bdd6306d338ac0ed509b4379a6d4f7bc
Use Q_EMIT instead of emit

GIT_SILENT

Show diffs side-by-side

added added

removed removed

Lines of Context:
131
131
        if (d->m_type == type)
132
132
                return;
133
133
        d->m_type = type;
134
 
        emit playbackTypeChanged(type);
 
134
        Q_EMIT playbackTypeChanged(type);
135
135
}
136
136
 
137
137
QPointF KgSound::pos() const
144
144
        if (d->m_pos == pos)
145
145
                return;
146
146
        d->m_pos = pos;
147
 
        emit posChanged(pos);
 
147
        Q_EMIT posChanged(pos);
148
148
}
149
149
 
150
150
qreal KgSound::volume() const
157
157
        if (d->m_volume == volume)
158
158
                return;
159
159
        d->m_volume = volume;
160
 
        emit volumeChanged(volume);
 
160
        Q_EMIT volumeChanged(volume);
161
161
}
162
162
 
163
163
bool KgSound::hasError() const