Lines 203-208
Link Here
|
203 |
m_triggerEntered(false) |
203 |
m_triggerEntered(false) |
204 |
{ |
204 |
{ |
205 |
Q_ASSERT(qobject_cast<Plasma::Corona*>(panel->scene())); |
205 |
Q_ASSERT(qobject_cast<Plasma::Corona*>(panel->scene())); |
|
|
206 |
|
207 |
m_strutsTimer = new QTimer(this); |
208 |
m_strutsTimer->setSingleShot(true); |
209 |
connect(m_strutsTimer, SIGNAL(timeout()), this, SLOT(updateStruts())); |
210 |
|
206 |
if (panel) { |
211 |
if (panel) { |
207 |
connect(panel, SIGNAL(destroyed(QObject*)), this, SLOT(panelDeleted())); |
212 |
connect(panel, SIGNAL(destroyed(QObject*)), this, SLOT(panelDeleted())); |
208 |
connect(panel, SIGNAL(toolBoxToggled()), this, SLOT(togglePanelController())); |
213 |
connect(panel, SIGNAL(toolBoxToggled()), this, SLOT(togglePanelController())); |
Lines 248-257
Link Here
|
248 |
KWindowSystem::setOnAllDesktops(winId(), true); |
253 |
KWindowSystem::setOnAllDesktops(winId(), true); |
249 |
|
254 |
|
250 |
QTimer::singleShot(0, this, SLOT(init())); |
255 |
QTimer::singleShot(0, this, SLOT(init())); |
251 |
|
|
|
252 |
m_strutsTimer = new QTimer(this); |
253 |
m_strutsTimer->setSingleShot(true); |
254 |
connect(m_strutsTimer,SIGNAL(timeout()),this,SLOT(updateStruts())); |
255 |
} |
256 |
} |
256 |
|
257 |
|
257 |
PanelView::~PanelView() |
258 |
PanelView::~PanelView() |