Main Page | Recent changes | Edit this page | Page history

Printable version | Disclaimers | Privacy policy

Not logged in
Log in | Help
 

Platform API TODO

From KDevelop

  1. compile libkdevelop.la with -DQT_NO_CAST_FROM_ASCII
  2. move stuff from the public API to private/internal headers
  3. remove booleans from the API (we should use enums) and Q_DECLARE_FLAGS stuff
  4. try to use interfaces (== Q_INTERFACE, Q_DECLARE_INTERFACEm and so on..)
  5. qobject_cast no dynamic_cast
  6. singleton using Q_GLOBAL_STATIC
  7. we should avoid the use of QList<Blah*> in the public API
    • it's very difficult using QVariable/QMetaType to wrap such methods
    • instead of exposing QList<> we should use something like: int documentCount() const; Document *documentAt(int index) const;
  8. we should try to remove things like setFoo()
  9. we should make our interface state-less
    • the point is one plug-in can change the state of the encoding and another plug-in expectes/requires a different state == a mess (more or less what we have in kdev3)
  10. no assumption about having a project local, have support for remote projects

Retrieved from "http://www.kdevelop.org/mediawiki/index.php/Platform_API_TODO"

This page has been accessed 7,716 times. This page was last modified 21:17, 9 December 2006. Content is available under GNU Free Documentation License 1.2.


[Main Page]
Main Page
Community portal
Current events
Recent changes
Help
Donations

Edit this page
Discuss this page
Page history
What links here
Related changes

Special pages
Bug reports