[Marble-devel] Review Request: Make online menu use a renderType() function rather than a cast check

Wes Hardaker wjhns25 at hardakers.net
Sun Jun 20 17:58:42 CEST 2010


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
http://reviewboard.kde.org/r/4410/
-----------------------------------------------------------

Review request for marble.


Summary
-------

This patch adds a renderType() function for determining the type of plugin it is and where the action() should be placed (eg, in the online menu).  Previously it was using a cast check and thus limited the types of actions that can be placed into the online menu to only things of a certain class tree.


Diffs
-----

  trunk/KDE/kdeedu/marble/src/QtMainWindow.cpp 1140314 
  trunk/KDE/kdeedu/marble/src/lib/AbstractDataPlugin.h 1140314 
  trunk/KDE/kdeedu/marble/src/lib/AbstractDataPlugin.cpp 1140314 
  trunk/KDE/kdeedu/marble/src/lib/RenderPlugin.h 1140314 
  trunk/KDE/kdeedu/marble/src/lib/RenderPlugin.cpp 1140314 
  trunk/KDE/kdeedu/marble/src/marble_part.cpp 1140314 

Diff: http://reviewboard.kde.org/r/4410/diff


Testing
-------

Not much, since current SVN trunk crashes immediately on start up for me.  But it should be safe.


Thanks,

Wes

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.kde.org/pipermail/marble-devel/attachments/20100620/93fad32b/attachment.htm 


More information about the Marble-devel mailing list