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

List:       kde-bindings
Subject:    [Kde-bindings] KDE4 Smoke ideas
From:       Ashley Winters <jahqueel () yahoo ! com>
Date:       2005-06-10 7:43:16
Message-ID: 20050610074316.41190.qmail () web50904 ! mail ! yahoo ! com
[Download RAW message or body]

As I promised earler, I threw up my ideas for a Smoke based off Qt4's
meta-calling conventions. It's long and technical.

http://jahqueel.blogspot.com/2005/06/smoke-for-kde4.html

The cliffs notes version:
* Every function should be made a slot
  - that means you can connect() to anything
  - only one function call implementation required to use regular
functions, virtual functions, and signals/slot

* non-QObjects should have QObject proxy classes
  - QString/QRect/etc functions would be slots, and called the same way
as everything else

* Virtual functions in C++ should emit themselves
  - that probably means you can have multiple mouseMoveEvent handlers
  - you can handle virtual functions in ANOTHER object
    + $foo->connect($bar, mouseMoveEvent => 'doSomething')

Ashley Winters


		
__________________________________ 
Discover Yahoo! 
Use Yahoo! to plan a weekend, have fun online and more. Check it out! 
http://discover.yahoo.com/
_______________________________________________
Kde-bindings mailing list
Kde-bindings@kde.org
https://mail.kde.org/mailman/listinfo/kde-bindings
[prev in list] [next in list] [prev in thread] [next in thread] 

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