summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichele Calgaro <[email protected]>2024-02-13 11:03:26 +0900
committerMichele Calgaro <[email protected]>2024-02-14 21:17:40 +0900
commit01d5ee0f43c2e67ffbf952c11cc733edfb5626b8 (patch)
tree56b8ddc3d59a17dc293e15b955c9281577f470c2
parent6ba6bda93037b9a0f73525d0dd7ca124c1702a9b (diff)
downloadtwin-style-crystal-01d5ee0f43c2e67ffbf952c11cc733edfb5626b8.tar.gz
twin-style-crystal-01d5ee0f43c2e67ffbf952c11cc733edfb5626b8.zip
Replace Q_WS_* defines with TQ_WS_* equivalents
Signed-off-by: Michele Calgaro <[email protected]> (cherry picked from commit a80f0aa7c9ff591395ae0c739b58013296b3509f)
-rw-r--r--client/myrootpixmap.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/client/myrootpixmap.cpp b/client/myrootpixmap.cpp
index 6fc6033..1504147 100644
--- a/client/myrootpixmap.cpp
+++ b/client/myrootpixmap.cpp
@@ -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