Changeset View
Changeset View
Standalone View
Standalone View
app/terminal.cpp
Show First 20 Lines • Show All 239 Lines • ▼ Show 20 Line(s) | |||||
240 | } | 240 | } | ||
241 | 241 | | |||
242 | void Terminal::editProfile() | 242 | void Terminal::editProfile() | ||
243 | { | 243 | { | ||
244 | QMetaObject::invokeMethod(m_part, "showEditCurrentProfileDialog", | 244 | QMetaObject::invokeMethod(m_part, "showEditCurrentProfileDialog", | ||
245 | Qt::QueuedConnection, Q_ARG(QWidget*, QApplication::activeWindow())); | 245 | Qt::QueuedConnection, Q_ARG(QWidget*, QApplication::activeWindow())); | ||
246 | } | 246 | } | ||
247 | 247 | | |||
248 | bool Terminal::isBlurEnabled() | ||||
249 | { | ||||
250 | bool blurStatus = false; | ||||
251 | | ||||
252 | QMetaObject::invokeMethod(m_part, "isBlurEnabled", Qt::AutoConnection, | ||||
253 | Q_RETURN_ARG(bool, blurStatus) | ||||
254 | ); | ||||
255 | | ||||
256 | return blurStatus; | ||||
257 | } | ||||
258 | | ||||
248 | void Terminal::overrideShortcut(QKeyEvent* /* event */, bool& override) | 259 | void Terminal::overrideShortcut(QKeyEvent* /* event */, bool& override) | ||
249 | { | 260 | { | ||
250 | override = false; | 261 | override = false; | ||
251 | } | 262 | } | ||
252 | 263 | | |||
253 | void Terminal::setMonitorActivityEnabled(bool enabled) | 264 | void Terminal::setMonitorActivityEnabled(bool enabled) | ||
254 | { | 265 | { | ||
255 | m_monitorActivityEnabled = enabled; | 266 | m_monitorActivityEnabled = enabled; | ||
▲ Show 20 Lines • Show All 48 Lines • Show Last 20 Lines |