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

List:       ktexteditor-devel
Subject:    Re: hide/replace some ktexteditor features
From:       Flavio Castelli <micron () madlab ! it>
Date:       2005-10-05 17:30:43
Message-ID: 200510051930.44466.micron () madlab ! it
[Download RAW message or body]

On Wednesday 05 October 2005 14:16, Hamish Rodda wrote:
> I think (and i haven't tested this but) the save action that you want to
> remove is in the actionCollection() of your document, not your app.  try
> iterating the actionCollection() of your KTextEditor::Document.

good idea, but it doesn't help :(


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?

Cheers
	Flavio

-- 
|§ micron<- ICQ #118796665
|§ GPG Key:
|§  ~ Keyserver: pgp.mit.edu
|§  ~ KeyID: 6D632BED

~ "Progress is merely a realisation of utopias" ~
_______________________________________________
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