35
35
#include <KDE/Plasma/ToolTipManager>
37
37
ToolTipProxy::ToolTipProxy(QObject *parent)
38
: QObject(parent), m_mainText(""), m_subText(""), m_widget(0)
38
: QObject(parent), m_mainText(""), m_subText(""), m_widget(0), m_highlightWindows(false)
40
40
connect(this, SIGNAL(targetChanged()), this, SLOT(updateToolTip()));
41
41
connect(this, SIGNAL(mainTextChanged()), this, SLOT(updateToolTip()));
42
42
connect(this, SIGNAL(subTextChanged()), this, SLOT(updateToolTip()));
43
43
connect(this, SIGNAL(imageChanged()), this, SLOT(updateToolTip()));
44
44
connect(this, SIGNAL(windowsToPreviewChanged()), this, SLOT(updateToolTip()));
45
connect(this, SIGNAL(highlightWindowsChanged()), this, SLOT(updateToolTip()));
46
47
connect(Plasma::ToolTipManager::self(),
47
48
SIGNAL(windowPreviewActivated(WId,Qt::MouseButtons,Qt::KeyboardModifiers,QPoint)),