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

List:       kwrite-devel
Subject:    Is KTextEditor::Document a real KPart::Part?
From:       Jeroen Wijnhout <Jeroen.Wijnhout () kdemail ! net>
Date:       2005-06-26 10:37:21
Message-ID: 200506261237.21952.Jeroen.Wijnhout () kdemail ! net
[Download RAW message or body]

Hi,

While busy thinking about redesigning elements of Kile, I was wondering the 
following:

In Kate (and in Kile) a document is added to the GUI by
calling guiFactory()->addClient() on the corresponding view. However, for a 
KPart it should be sufficient to call
KParts::PartManager::addPart (perhaps followed by setActivePart) and 
createGUI.

However, this does not work for KTextEditor::Document KParts. What is going 
on? Why do I have to treat KTextEditor::Document as special?

best,
Jeroen
-- 
Kile -- KDE Integrated LaTeX Environment
http://kile.sourceforge.net
_______________________________________________
KWrite-Devel mailing list
KWrite-Devel@kde.org
https://mail.kde.org/mailman/listinfo/kwrite-devel
[prev in list] [next in list] [prev in thread] [next in thread] 

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