Replace Q_WS_* defines with TQ_WS_* equivalents

Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
pull/13/head
Michele Calgaro 9 months ago
parent e8ec823504
commit a80f0aa7c9
Signed by: MicheleC
GPG Key ID: 2A75B7CA8ADED5CF

@ -67,7 +67,7 @@ bool DesktopWallpaperWatcher::x11Event( XEvent * ev )
class KMyRootPixmapData
{
public:
#ifdef Q_WS_X11
#ifdef TQ_WS_X11
DesktopWallpaperWatcher *twin;
#endif
};
@ -99,7 +99,7 @@ void KMyRootPixmap::init()
connect(m_pPixmap, TQ_SIGNAL(done(bool)), TQ_SLOT(slotDone(bool)));
// connect(m_pTimer, TQ_SIGNAL(timeout()), TQ_SLOT(repaint()));
#ifdef Q_WS_X11
#ifdef TQ_WS_X11
d->twin = new DesktopWallpaperWatcher();
connect(d->twin, TQ_SIGNAL(currentDesktopChanged(int)), TQ_SLOT(desktopChanged(int)));
#endif
@ -120,7 +120,7 @@ void KMyRootPixmap::desktopChanged(int desktop)
!wallpaperForDesktop(m_Desk).isNull())
return;
// #ifdef Q_WS_X11
// #ifdef TQ_WS_X11
// if (KWin::windowInfo(m_pWidget->topLevelWidget()->winId()).desktop() == NET::OnAllDesktops &&
// pixmapName(m_Desk) != pixmapName(desktop))
// #endif

Loading…
Cancel
Save