Replace Q_WS_* defines with TQ_WS_* equivalents

Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
(cherry picked from commit a80f0aa7c9)
r14.1.x
Michele Calgaro 9 months ago
parent 6ba6bda930
commit 01d5ee0f43
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