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

List:       ktexteditor-devel
Subject:    Re: hide/replace some ktexteditor features
From:       Anders Lund <anders () alweb ! dk>
Date:       2005-10-05 17:43:42
Message-ID: 200510051943.44901.anders () alweb ! dk
[Download RAW message or body]

On Wednesday 05 October 2005 19:30, Flavio Castelli wrote:
> Here's the code:
>
> KTextEditor::Document *doc;
> doc =
> KTextEditor::EditorChooser::createDocument(0,"KTextEditor::Document");
> [...]
> unsigned int actions doc->actionCollection()->count();
>
> but actions is zero...
>
> Any hint?

The actioncollection is in KateDocument, not in KTextEditor::Document. So 
you'd need to use that. 

-anders
-- 
www: http://alweb.dk
jabber: anderslund@jabber.dk
_______________________________________________
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