Skip to main content
🎄 Early Access Discount 🎄 Feature FlagsFrom Concept to Cultural Revolution

Guillaume

Member since Oct 29, 2011

Recent Blog Comments By Guillaume

  • Using One Object Per Event Type With Publish And Subscribe (Pub/Sub)

    Posted on Oct 29, 2011 at 2:49 PM

    [sorry for the double post] Qt code sample class c : public QObject{ Q_OBJECT public: c(){ connect(this, SIGNAL(somethingdone()), this, SLOT(dosomethingelse()));   connect(this, SIGNAL(somethingdonewithparam(int x)), this, SLOT(dosomethingelsewithparam(int x)));   }   void dosomething()... read more »

  • Using One Object Per Event Type With Publish And Subscribe (Pub/Sub)

    Posted on Oct 29, 2011 at 2:42 PM

    This pretty much like the signal/slot system in Qt. Classes have signals and slots and you connect signals to slots. When the signal is emited(fired) it calls all the slots connected to it in an arbitrary order. It must feel somewhat awkward in javascript since the event mechanism is already somewh... read more »

I believe in love. I believe in compassion. I believe in human rights. I believe that we can afford to give more of these gifts to the world around us because it costs us nothing to be decent and kind and understanding. And, I want you to know that when you land on this site, you are accepted for who you are, no matter how you identify, what truths you live, or whatever kind of goofy shit makes you feel alive! Rock on with your bad self!
Ben Nadel