<div class="gmail_quote">On Wed, Aug 5, 2009 at 9:30 PM, Andreas Pakulat <span dir="ltr"><<a href="mailto:apaku@gmx.de">apaku@gmx.de</a>></span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div class="im">On 05.08.09 12:39:32, Aleix Pol wrote:<br>
> Yes, I know... but it was a little workaroundish... I think that the files<br>
> that don't have a url representation is because they have a specific URL<br>
> (like unnamed or something like that). Plus we still need some way to get<br>
> the information from the Document.<br>
<br>
</div>Hmm, I just remembered that just the URL won't be enough, you'll also<br>
have to have a proper mimetype to register your custom document with the<br>
documentcontroller. So you'll have to make sure to supply either a<br>
custom mimetype, or you could use the diff-mimetype but will have to<br>
make sure that KMimeType will identify the given url as that mimetype...<br>
<br>
Andreas<br>
<font color="#888888"><br>
--<br>
You may get an opportunity for advancement today. Watch it!<br>
</font><div><div></div><div class="h5"><br>
_______________________________________________<br>
KDevelop-devel mailing list<br>
<a href="mailto:KDevelop-devel@kdevelop.org">KDevelop-devel@kdevelop.org</a><br>
<a href="https://barney.cs.uni-potsdam.de/mailman/listinfo/kdevelop-devel" target="_blank">https://barney.cs.uni-potsdam.de/mailman/listinfo/kdevelop-devel</a><br>
</div></div></blockquote></div><br>If the URL is the file's, we will have the .cpp mimetype (in the case of .cpp files). I should add something after or smth like that, isn't it?<br>