>>>>> "Abdelrazak" == Abdelrazak Younes <[EMAIL PROTECTED]> writes:

Abdelrazak> Hum, I don't know, did someone tested your changes on
Abdelrazak> qt2/X11/Mac? I would tend to think that the X11 clipboard
Abdelrazak> wouldn't need this change but I don't know really. 

I would assume that the X11 clipboard always uses LF, but I have no
way to check.

Abdelrazak> The Qt4 documentation is misleading, only Q_OS_* are
Abdelrazak> documented, not Q_WS_*. I have verified that Q_OS_X11 does
Abdelrazak> not exist in qglobal.h, only Q_WS_X11; 

X11 is a window system, not an operating system.

Abdelrazak> I thought it to be the same for MAC, hence the change. But
Abdelrazak> Q_OS_MAC and Q_OS_MACX are defined:

Abdelrazak> #if defined(Q_OS_DARWIN) # define Q_OS_MAC /* Q_OS_MAC is
Abdelrazak> mostly for compatiblity, but also more clear */ # define
Abdelrazak> Q_OS_MACX /* Q_OS_MACX is only for compatiblity.*/ #endif

I guess Q_OS_MAC should be replaced with Q_OS_DARWIN, if we want to
keep it.

JMarc

Reply via email to