diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2024-02-13 11:03:26 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2024-02-13 11:03:26 +0900 |
commit | a80f0aa7c9ff591395ae0c739b58013296b3509f (patch) | |
tree | 83863bfc3f6350a094a58a3eceaeffd3d186ead4 | |
parent | e8ec823504f263870631f764709b507d479d2b85 (diff) | |
download | twin-style-crystal-a80f0aa7c9ff591395ae0c739b58013296b3509f.tar.gz twin-style-crystal-a80f0aa7c9ff591395ae0c739b58013296b3509f.zip |
Replace Q_WS_* defines with TQ_WS_* equivalents
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
-rw-r--r-- | client/myrootpixmap.cpp | 6 |
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 |