[prev in list] [next in list] [prev in thread] [next in thread]
List: kopete-devel
Subject: Re: [Kopete-devel] Fwd: Re: Kopete 0.4.1 [PATCH]
From: Martijn Klingens <klingens () kde ! org>
Date: 2002-06-25 12:27:05
[Download RAW message or body]
On Tuesday 25 June 2002 14:17, Duncan Mac-Vicar Prett wrote:
> I attach my version of kopetecontactviewitem.cpp so you can have a look.
>
> When one of my buddies comes online, kopete now plays a sound, and writes a
> message to the statusBar, so that I can actually see whose status changed.
>
> I just modified the following function:
>
> void KopeteContactViewItem::slotStatusChanged() {
> setPixmap(0,
> KGlobal::iconLoader()->loadIcon(mContact->statusIcon(), KIcon::Small));
> updateVisibility();
> kopeteapp->statusBar()->message(mContact->name()+ i18n(" is
> now")+mContact->statusText() + "!");
> if (mContact->statusText() == i18n("Online")) {
> KNotifyClient::event("kopete_online");
> }
> mParent->sortChildItems(0, false);
> }
Feel free to apply a version for KopeteMetaContactLVI, I don't think the
'classic' KopeteContactLVI is the right place anymore...
--
Martijn
_______________________________________________
Kopete-devel mailing list
Kopete-devel@mail.kde.org
http://mail.kde.org/mailman/listinfo/kopete-devel
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic