Fwd: KDirOperator

Darío Andrés andresbajotierra at gmail.com
Sun Jan 31 20:04:47 GMT 2010

---------- Forwarded message ----------
From: Niko Sams <niko.sams at gmail.com>
Date: Sat, Jan 30, 2010 at 8:53 AM
Subject: KDirOperator
To: kde-devel at kde.org


I have two issues with KDirOperator.

1. how is setupMenu(int) supposed to be used?
calling operator->setupMenu(KDirOperator::FileActions) after
constructing it doesn't help
because in KDirOperator::activatedMenu setupMenu() is called, and that
calls setupMenu(SortActions | ViewActions | FileActions);
and so resets my setting.

2. I'd like to set a url and the user should not be able to change it
by entering folders etc. My current solution does
this by calling setUrl when the urlEntered signal is emitted. Any
better idea to acomplish this?


>> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<

More information about the kde-core-devel mailing list