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

List:       kde-devel
Subject:    Re: Random Musing
From:       Luke Sandell <sandell () freeshell ! org>
Date:       2004-05-13 21:21:42
Message-ID: 200405132121.42261.sandell () freeshell ! org
[Download RAW message or body]

I guess my main concern wasn't so much "extending" ( why does this always have 
to be quoted? ) C++ as it was to recognize that slots and methods are not 
mutually exclusive. Sometimes, when I am designing a class, I can't decide 
whether or not to make a method a slot because I cannot forsee whether or not 
I would like to connect some signal to it in the future. Sometimes i have 
come across methods in the Qt Library that I wish were a slot.  However, 
under my scheme, I would just have to throw QSLOT in front of it and it would 
become a slot, rather than move it around. Plus we go from three scope 
declarations (public, protected, private) to eight (public, protected, 
private, public slots, protected slots, private slots, signals, k_dcop) and 
this seems like an unecessarily  complication. But as usual I am probably 
wrong.

Sincerely,

Luke Sandell

On Thursday 13 May 2004 5:13 pm, Rolf Magnus wrote:
> Whenever someone says that, I answer that C++ itself started as an
> "extension" to C and so C++ would actually never have become successful if
> its early users would have had the same opinion. And there are still
> compilers out there that convert the C++ code into pure C code instead of
> directly into executable code (e.g. Comeau).
> Also, there seem to be much more people that get concerned about moc and
> the few "extensions" it offers than people having problems with IDLs, which
> are a lot more than just a simple extension.
 
>> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<
[prev in list] [next in list] [prev in thread] [next in thread] 

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