[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:       Dominik Haumann <dhdev () gmx ! de>
Date:       2005-07-20 12:19:27
Message-ID: 200507201419.27301.dhdev () gmx ! de
[Download RAW message or body]

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?

Cheers,
Dominik
_______________________________________________
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