By default, Bugzilla does not search the list of RESOLVED bugs.
You can force it to do so by putting the upper-case word ALL in front of your search query, e.g.: ALL tdelibs
We recommend searching for bugs this way, as you may discover that your bug has already been resolved and fixed in a later release. View | Details | Raw Unified | Return to bug 758
Collapse All | Expand All

(-)krandrapp.cpp (-1 / +8 lines)
Lines 28-40 Link Here
28
KRandRApp::KRandRApp()
28
KRandRApp::KRandRApp()
29
	: m_tray(new KRandRSystemTray(0L, "RANDRTray"))
29
	: m_tray(new KRandRSystemTray(0L, "RANDRTray"))
30
{
30
{
31
	connect(&m_eventMergingTimer, TQT_SIGNAL(timeout()), this, TQT_SLOT(handleX11ConfigChangeEvent()));
31
	m_tray->show();
32
	m_tray->show();
32
}
33
}
33
34
35
void KRandRApp::handleX11ConfigChangeEvent()
36
{
37
	m_eventMergingTimer.stop();
38
	m_tray->configChanged();
39
}
40
34
bool KRandRApp::x11EventFilter(XEvent* e)
41
bool KRandRApp::x11EventFilter(XEvent* e)
35
{
42
{
36
	if (e->type == m_tray->screenChangeNotifyEvent()) {
43
	if (e->type == m_tray->screenChangeNotifyEvent()) {
37
		m_tray->configChanged();
44
		m_eventMergingTimer.start(1000, TRUE);
38
	}
45
	}
39
	return KApplication::x11EventFilter( e );
46
	return KApplication::x11EventFilter( e );
40
}
47
}
(-)krandrapp.h (+5 lines)
Lines 19-24 Link Here
19
#ifndef KRANDRAPP_H
19
#ifndef KRANDRAPP_H
20
#define KRANDRAPP_H
20
#define KRANDRAPP_H
21
21
22
#include <tqtimer.h>
22
#include <kuniqueapplication.h>
23
#include <kuniqueapplication.h>
23
24
24
class KRandRSystemTray;
25
class KRandRSystemTray;
Lines 32-39 Link Here
32
33
33
	virtual bool x11EventFilter(XEvent * e);
34
	virtual bool x11EventFilter(XEvent * e);
34
35
36
private slots:
37
	void handleX11ConfigChangeEvent();
38
35
private:
39
private:
36
	KRandRSystemTray*	m_tray;
40
	KRandRSystemTray*	m_tray;
41
	TQTimer			m_eventMergingTimer;
37
};
42
};
38
43
39
#endif
44
#endif

Return to bug 758