[kcmkwin/compositing] Carry the changed argument in the changed signals
This commit is contained in:
parent
6afc82196f
commit
b259dda336
2 changed files with 20 additions and 20 deletions
|
@ -212,7 +212,7 @@ void Compositing::setAnimationSpeed(int speed)
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
m_animationSpeed = speed;
|
m_animationSpeed = speed;
|
||||||
emit animationSpeedChanged();
|
emit animationSpeedChanged(speed);
|
||||||
}
|
}
|
||||||
|
|
||||||
void Compositing::setGlColorCorrection(bool correction)
|
void Compositing::setGlColorCorrection(bool correction)
|
||||||
|
@ -221,7 +221,7 @@ void Compositing::setGlColorCorrection(bool correction)
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
m_glColorCorrection = correction;
|
m_glColorCorrection = correction;
|
||||||
emit glColorCorrectionChanged();
|
emit glColorCorrectionChanged(correction);
|
||||||
}
|
}
|
||||||
|
|
||||||
void Compositing::setGlScaleFilter(int index)
|
void Compositing::setGlScaleFilter(int index)
|
||||||
|
@ -230,7 +230,7 @@ void Compositing::setGlScaleFilter(int index)
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
m_glScaleFilter = index;
|
m_glScaleFilter = index;
|
||||||
emit glScaleFilterChanged();
|
emit glScaleFilterChanged(index);
|
||||||
}
|
}
|
||||||
|
|
||||||
void Compositing::setGlSwapStrategy(int strategy)
|
void Compositing::setGlSwapStrategy(int strategy)
|
||||||
|
@ -239,7 +239,7 @@ void Compositing::setGlSwapStrategy(int strategy)
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
m_glSwapStrategy = strategy;
|
m_glSwapStrategy = strategy;
|
||||||
emit glSwapStrategyChanged();
|
emit glSwapStrategyChanged(strategy);
|
||||||
}
|
}
|
||||||
|
|
||||||
void Compositing::setUnredirectFullscreen(bool unredirect)
|
void Compositing::setUnredirectFullscreen(bool unredirect)
|
||||||
|
@ -248,7 +248,7 @@ void Compositing::setUnredirectFullscreen(bool unredirect)
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
m_unredirectFullscreen = unredirect;
|
m_unredirectFullscreen = unredirect;
|
||||||
emit unredirectFullscreenChanged();
|
emit unredirectFullscreenChanged(unredirect);
|
||||||
}
|
}
|
||||||
|
|
||||||
void Compositing::setWindowThumbnail(int index)
|
void Compositing::setWindowThumbnail(int index)
|
||||||
|
@ -257,7 +257,7 @@ void Compositing::setWindowThumbnail(int index)
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
m_windowThumbnail = index;
|
m_windowThumbnail = index;
|
||||||
emit windowThumbnailChanged();
|
emit windowThumbnailChanged(index);
|
||||||
}
|
}
|
||||||
|
|
||||||
void Compositing::setXrScaleFilter(bool filter)
|
void Compositing::setXrScaleFilter(bool filter)
|
||||||
|
@ -266,7 +266,7 @@ void Compositing::setXrScaleFilter(bool filter)
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
m_xrScaleFilter = filter;
|
m_xrScaleFilter = filter;
|
||||||
emit xrScaleFilterChanged();
|
emit xrScaleFilterChanged(filter);
|
||||||
}
|
}
|
||||||
|
|
||||||
void Compositing::setCompositingType(int index)
|
void Compositing::setCompositingType(int index)
|
||||||
|
@ -275,7 +275,7 @@ void Compositing::setCompositingType(int index)
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
m_compositingType = index;
|
m_compositingType = index;
|
||||||
emit compositingTypeChanged();
|
emit compositingTypeChanged(index);
|
||||||
}
|
}
|
||||||
|
|
||||||
void Compositing::setCompositingEnabled(bool enabled)
|
void Compositing::setCompositingEnabled(bool enabled)
|
||||||
|
@ -285,7 +285,7 @@ void Compositing::setCompositingEnabled(bool enabled)
|
||||||
}
|
}
|
||||||
|
|
||||||
m_compositingEnabled = enabled;
|
m_compositingEnabled = enabled;
|
||||||
emit compositingEnabledChanged();
|
emit compositingEnabledChanged(enabled);
|
||||||
}
|
}
|
||||||
|
|
||||||
void Compositing::save()
|
void Compositing::save()
|
||||||
|
@ -364,7 +364,7 @@ void Compositing::setOpenGLPlatformInterface(int interface)
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
m_openGLPlatformInterface = interface;
|
m_openGLPlatformInterface = interface;
|
||||||
emit openGLPlatformInterfaceChanged();
|
emit openGLPlatformInterfaceChanged(interface);
|
||||||
}
|
}
|
||||||
|
|
||||||
CompositingType::CompositingType(QObject *parent)
|
CompositingType::CompositingType(QObject *parent)
|
||||||
|
|
|
@ -82,16 +82,16 @@ public Q_SLOTS:
|
||||||
|
|
||||||
Q_SIGNALS:
|
Q_SIGNALS:
|
||||||
void changed();
|
void changed();
|
||||||
void animationSpeedChanged();
|
void animationSpeedChanged(int);
|
||||||
void windowThumbnailChanged();
|
void windowThumbnailChanged(int);
|
||||||
void glScaleFilterChanged();
|
void glScaleFilterChanged(int);
|
||||||
void xrScaleFilterChanged();
|
void xrScaleFilterChanged(int);
|
||||||
void unredirectFullscreenChanged();
|
void unredirectFullscreenChanged(bool);
|
||||||
void glSwapStrategyChanged();
|
void glSwapStrategyChanged(int);
|
||||||
void glColorCorrectionChanged();
|
void glColorCorrectionChanged(bool);
|
||||||
void compositingTypeChanged();
|
void compositingTypeChanged(int);
|
||||||
void compositingEnabledChanged();
|
void compositingEnabledChanged(bool);
|
||||||
void openGLPlatformInterfaceChanged();
|
void openGLPlatformInterfaceChanged(int);
|
||||||
|
|
||||||
private:
|
private:
|
||||||
int m_animationSpeed;
|
int m_animationSpeed;
|
||||||
|
|
Loading…
Reference in a new issue