Members of the KDE Community are recommended to subscribe to the kde-community mailing list at to allow them to participate in important discussions and receive other important announcements

Commit f498aa3c authored by Kurt Hindenburg's avatar Kurt Hindenburg

Add Part interface to get blur status

Konsole as a standalone has option to blur behind the window.
With this patch applied an application that uses Konsole as an
embedded KPart has an interface to query if the blur is enabled
in the current Konsole color profile.

Patch by anemeth

Differential Revision:
parent caf0ab2b
......@@ -377,6 +377,11 @@ void Part::setMonitorActivityEnabled(bool enabled)
bool Part::isBlurEnabled()
return ViewManager::profileHasBlurEnabled(SessionManager::instance()->sessionProfile(activeSession()));
void Part::sessionStateChanged(int state)
if (state == NOTIFYSILENCE) {
......@@ -133,6 +133,13 @@ public Q_SLOTS:
* */
void setMonitorActivityEnabled(bool enabled);
* Returns the status of the blur of the current profile.
* @return True if blur is enabled for the current active Konsole color profile.
* */
bool isBlurEnabled();
* Emitted when the key sequence for a shortcut, which is also a valid terminal key sequence,
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment