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

List:       kde-core-devel
Subject:    Re: slots and dcopobjects
From:       David Faure <david () mandrakesoft ! com>
Date:       2000-08-02 18:47:11
[Download RAW message or body]

On Wed, 02 Aug 2000, Antonio Larrosa wrote :
>So the moral seems to be :
>Don't connect signals to slots which are also "dcop slots".
>
>Please tell me that I'm wrong :)

Alas, no. I have also discovered that a dcop method (it's not a slot)
can't be a slot at the same time.

That's the reason for the following ugly thing in kdebase/kdesktop/desktop.cc:

void KDesktop::slotConfigure()  // normal slot
{
   configure();
}
 
void KDesktop::configure() // dcop method
{ 
 ... do the stuff here
}

Bah :(

-- 
David FAURE, david@mandrakesoft.com, faure@kde.org
http://home.clara.net/faure/, http://www.konqueror.org/
KDE, Making The Future of Computing Available Today
See http://www.kde.org/kde1-and-kde2.html for how to set up KDE 2

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

Configure | About | News | Add a list | Sponsored by KoreLogic