Am Mittwoch, 7. Juni 2006 23:36 schrieb Erik Johansson: > Hi, > > One more thing. The patch does not compile with kde enabled. The problem is > that Qt's meta object compiler (moc) don't understand pre-processor macros. > This means that #ifndef USE_KDE wont work when used in slot declarations. > So, you need to drop #ifndef ... #endif around setMainWinSticky() and > changeMsgWinSticky() in mainwin.h, and make the functions empty in > mainwin.cpp when USE_KDE is defined.
What about adding this to CSupport::changeWinSticky(winId, sticky) for KDE: #ifdef USE_KDE if (sticky) KWin::setState(winId, NET::Sticky); else KWin::clearState(winId, NET::Sticky); #else <current code> #endif See http://developer.kde.org/documentation/library/3.5-api/kdelibs-apidocs/kdecore/html/classKWin.html#e15 for more information about the call and the possible states. I haven't tested this but I'm pretty sure it's the right call ;) Bye, Stefan aka mETz _______________________________________________ Licq-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/licq-devel