diff --git a/src/komposeglobal.cpp b/src/komposeglobal.cpp index 78735ed..02a9622 100644 --- a/src/komposeglobal.cpp +++ b/src/komposeglobal.cpp @@ -252,7 +252,7 @@ void KomposeGlobal::slotDone(bool success) void KomposeGlobal::enablePixmapExports() { -#ifdef Q_WS_X11 +#ifdef TQ_WS_X11 kdDebug() << "KomposeGlobal::enablePixmapExports()" << endl; DCOPClient *client = kapp->dcopClient(); if (!client->isAttached()) diff --git a/src/komposeglobal.h b/src/komposeglobal.h index 42da49b..69d5857 100644 --- a/src/komposeglobal.h +++ b/src/komposeglobal.h @@ -27,7 +27,7 @@ class KWinModule; #include #endif -#if defined(Q_WS_X11) && defined(HAVE_XCOMPOSITE) && defined(HAVE_XDAMAGE) && TQT_VERSION >= 0x030300 +#if defined(TQ_WS_X11) && defined(HAVE_XCOMPOSITE) && defined(HAVE_XDAMAGE) && TQT_VERSION >= 0x030300 # define COMPOSITE #endif