Port KAnimatedSystemTray into KSystemTray
Allen Winter
winter at kde.org
Mon Sep 15 17:25:11 BST 2008
On Monday 15 September 2008 11:50:25 Pino Toscano wrote:
> Alle sabato 13 settembre 2008, Lukas Appelhans ha scritto:
> > There is the KAnimatedSystemTrayIcon-class in Kopete now for some time... I
> > would like to use it in Shaman as well, so I copied it first...
>
> This patch introduces a small source incompatibility. Previous code like:
> KSystemTrayIcon *icon = new KSystemTrayIcon(0);
> now it generates ambiguity, due to the two constructors:
> KSystemTrayIcon(QWidget* parent = 0);
> KSystemTrayIcon(QMovie* movie, QWidget* parent = 0);
>
> what is the proper solution for that?
> a) fix the previous "faulty" user code
> (kdebase/workspace/ksystraycmd/ksystraycmd.cpp:28)
> b) fix or remove the new KSystemTrayIcon constructor
> c) else?
Yes, please do something source compatible.
Compile failures are happening in kdepim/ktimetracker because of this.
More information about the kde-core-devel
mailing list