Re: Back from holidays

Andreas Zehender <[email protected]>
Newsgroups gmane.comp.kde.devel.kpovmodeler
Message-ID <02082811415800.04649@wsl21>
On Wednesday 28 August 2002 11:17, CARVALHO Luis Passos wrote:
> 	The standard file browsing classes in KDE don't implement Drag&Drop,
> but the includes give locations of classes that do support it. Anyway,
> either I implement it myself or use those classes.
> 	Comments?

Use a QStoredDrag with mime type "application/kpovmodeler" and the objects 
data. And look at the PMTreeView class for an example how to start a drag 
action.

[...]

> Now seriously. I think I understood it. The general idea at least.
> When we allowed to commit again, just write a paragraph or two explaining
> what needs to be changed in every object,
> so that you don't have to change everything alone.

Too late, I think that's impossible :-)
Well, I am about to change every object. Will take some days of hard work but 
has to be done now.

What you could do at least for new povray 3.5 textures (if you are 
implementing new objects): Add a copy constructor and a virtual method
virtual PMObject* YourClass::copy( ) const { return new YourClass( *this ); }

Greetings,
Andreas

-- 
--------------------------------------------------
 Andreas Zehender, Dipl. Ing. (BA)
 Student, 10th semester computer science
 http://www.azweb.de
 [email protected] | [email protected]      
--------------------------------------------------

List archive and information: http://mail.kde.org/mailman/listinfo/kpovmodeler-devel
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.