[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kopete-devel
Subject:    Re: [Kopete-devel] Bug#41122: message window gets no status update
From:       Martijn Klingens <klingens () kde ! org>
Date:       2002-04-17 10:30:42
[Download RAW message or body]

On Wednesday 17 April 2002 12:12, Daniel Stone wrote:
> On Wed, Apr 17, 2002 at 10:34:52AM +0200, Martijn Klingens wrote:
> > On Wednesday 17 April 2002 01:02, Ryan Cumming wrote:
> > > That works correctly in KopeteChatWindow (IIRC). We -really- need to
> > > switch over the plugins to KopeteChatWindow.
> >
> > Yup... but have you seen the code of e.g. the MSN plugin? It's not in a
> > state that already easily allows that... function calls and signal
> > passing through three layers of objects and then asynchronously creating
> > the window when the server replies back. Good luck porting that :-P
> >
> > (Not to mention that it's inherently wrong to delay chat window creation
> > until you got a server response - it makes the user think nothing is
> > happening after clicking a contact in the list, if the link is slowish.)
>
> So how would I port Jabber to KopeteChatWindow?

Well... if you're lucky and the Jabber code is decently designed it would be a 
matter of creating a new KopeteChatWindow instead of your own chat window in 
the JabberContact::execute() method (inherited from KopeteContact).

If you're unlucky that's easily said, but hard to get done.

YMMV :-)

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