[prev in list] [next in list] [prev in thread] [next in thread] 

List:       ktexteditor-devel
Subject:    Re: My Interfaces changes planed for KDE 4.0
From:       Christoph Cullmann <cullmann () babylon2k ! de>
Date:       2005-07-20 16:21:33
Message-ID: 200507201821.33764 () cullmann
[Download RAW message or body]

[Attachment #2 (multipart/signed)]


On Wednesday 20 July 2005 14:19, Dominik Haumann wrote:
> Hi,
> 
> KTextEditor::Document does not provide 
>  * a signal that informs that the buffer changed
>  * a function to ask whether a buffer is modified.
> 
> the Kate::Document does provide it (somenow), I suggest to add
>  (1) signal KTextEditor::Document::bufferModifiedStateChanged(); and
>  (2) bool KTextEditor::Document::isBufferModified() const;
> and adapt Kate::Document to use it.
> 
> Just for info: buffer-modified has *nothing* to do with modified-on-hd (that 
> is why I call it "bufferModified"). As the KTE::ModifiedInterface atm only 
> is for modified-on-hd stuff I think the best place for (1) and (2) are 
> directly in the KTE::Document.
> 
> Any comments?
Hmm, we already havea textChanged() signal + we have the isModified out of KParts::ReadWritePart,
shouldn't this be enough?

-- 
Christoph Cullmann
KDE Developer, kde.org Maintainance Team
http://www.babylon2k.de, cullmann@kde.org

[Attachment #5 (application/pgp-signature)]

_______________________________________________
Ktexteditor-devel mailing list
Ktexteditor-devel@kde.org
https://mail.kde.org/mailman/listinfo/ktexteditor-devel


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic