mattr at kde.org
Sun Jul 3 19:33:02 UTC 2005
On Saturday 02 July 2005 02:01 am, Andras Mantia wrote:
> I made this commit to the SVN. The first part may be not needed,
> altough I think this is the correct way to create the main
> application's GUI which will embed KPart's.
> The second is an obvious bugfix.
> But there is one more line in the commit message that needs to be
> discussed: KDevelop shell relies on a *Kate* signal to detect the
> modification state. This is bad as it will not work with other editors.
> I suggest to remove that and implement an own file changed detection
> connect( part, SIGNAL(modifiedOnDisc(Kate::Document*, bool, unsigned
> char)), this, SLOT(slotDocumentDirty(Kate::Document*, bool, unsigned
> char)) );
I believe that the KTextEditor interfaces provide a signal for this as well.
Using the Kate version is indeed not very good. IIRC, it's in the DocumentExt
interface, but i don't have any docs available to verify.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 189 bytes
Desc: not available
More information about the KDevelop-devel