Hi,

there were some reports on irc that Kopete can't be compiled on Mac/Win and 
with gcc 3.

It's because OnlineStatusIconEngine from kopeteonlinestatus.cpp wants to use 
protected 
functions in kopeteonlinestatusmanager.h but we can't declare 
OnlineStatusIconEngine as
a friend of Kopete::OnlineStatusManager.

I had to move the OnlineStatusIconEngine to kopeteonlinestatus.h so 
Kopete::OnlineStatusManager
can see it. I've also tried to move OnlineStatusIconEngine from 
OnlineStatus::Private
and leave it in kopeteonlinestatus.cpp but it didn't work.

The commit that broke it was 760807.
Btw I couldn't test it so anybody with gcc 3 or Mac/Win please test it.

Is it ok or somebody has better idea?

Regards,
Roman

Attachment: fixprotected.diff
Description: Binary data

_______________________________________________
kopete-devel mailing list
[email protected]
https://mail.kde.org/mailman/listinfo/kopete-devel

Reply via email to