[Qt-interest] Convert to signal and slot
William Gordon Rutherdale (rutherw)
rutherw at cisco.com
Thu Jul 21 22:00:34 CEST 2011
> -----Original Message-----
> From: qt-interest-bounces+rutherw=cisco.com at qt.nokia.com [mailto:qt-
> interest-bounces+rutherw=cisco.com at qt.nokia.com] On Behalf Of
> Konstantin Tokarev
> Sent: 21 July 2011 14:26
> To: Sajjad
> Cc: qt-interest at trolltech.com
> Subject: Re: [Qt-interest] Convert to signal and slot
>
> 21.07.2011, 21:42, "Sajjad" <dosto.walla at gmail.com>:
> > Hello forum,I have a project where they have the observer pattern
> implemented and i want to re-implement it using the Qt's signal and
> slot mechanism.
>
> Are you sure you need it? You can freely use observer pattern with Qt.
>
In other words (for the benefit of the original poster), Qt already
provides observer semantics. That's what signal / slot / connect() is
for.
-Will
More information about the Qt-interest-old
mailing list