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.

void CMainWindow::setMainWinSticky()
{
#ifndef USE_KDE
  CSupport::changeWinSticky(winId(), true);
#endif
}

void CMainWindow::changeMainWinSticky(bool _bStick)
{
#ifndef USE_KDE
  CSupport::changeWinSticky(winId(), _bStick);
#endif
}

// Erik

-- 
The day Microsoft makes something that doesn't suck is probably the day 
they start making vacuum cleaners.
  -- Ernst Jan Plugge

Erik Johansson
http://ejohansson.se

Attachment: pgpLcMaNmZmHP.pgp
Description: PGP signature

_______________________________________________
Licq-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/licq-devel

Reply via email to