Changeset View
Changeset View
Standalone View
Standalone View
abstract_client.cpp
Show First 20 Lines • Show All 1729 Lines • ▼ Show 20 Line(s) | 1729 | { | |||
---|---|---|---|---|---|
1730 | if (isDecorated()) { | 1730 | if (isDecorated()) { | ||
1731 | decoration()->showApplicationMenu(actionId); | 1731 | decoration()->showApplicationMenu(actionId); | ||
1732 | } else { | 1732 | } else { | ||
1733 | // we don't know where the application menu button will be, show it in the top left corner instead | 1733 | // we don't know where the application menu button will be, show it in the top left corner instead | ||
1734 | Workspace::self()->showApplicationMenu(QRect(), this, actionId); | 1734 | Workspace::self()->showApplicationMenu(QRect(), this, actionId); | ||
1735 | } | 1735 | } | ||
1736 | } | 1736 | } | ||
1737 | 1737 | | |||
1738 | bool AbstractClient::unresponsive() const | ||||
1739 | { | ||||
1740 | return m_unresponsive; | ||||
1741 | } | ||||
1742 | | ||||
1743 | void AbstractClient::setUnresponsive(bool unresponsive) | ||||
1744 | { | ||||
1745 | if (m_unresponsive != unresponsive) { | ||||
1746 | m_unresponsive = unresponsive; | ||||
1747 | emit unresponsiveChanged(m_unresponsive); | ||||
1748 | emit captionChanged(); | ||||
1749 | } | ||||
1750 | } | ||||
1751 | | ||||
1738 | } | 1752 | } |