[Kommander-devel] Several useful features

Eric Laffoon eric at kdewebdev.org
Wed Sep 6 11:01:48 EDT 2006


Hi Michal,
I think since Kommander makes such good use of text files and reading them by 
line into arrays or widgets we might benefit from the following
@File.exists
@File.lines
@file.chars

Some other things I noticed. We still have the associatedText DCOP calls which 
seemed of little use and were not made into regular function calls. It seems 
they are rather useful working with Konsole widgets. Maybe we should make 
functions of them.

Also, what is the deal with Konsole.setText? I can think of times this would 
be nice but here is how I had to use the Konsole to get output.
	@dcop(@dcopid, KommanderIf, "setAssociatedText(QString,QString)", Konsole1, 
"echo Close and reopen as user")
	@Konsole1.execute
Wouldn't it be more consistent to have the ability to set text? It seems most 
logical probably to have it echo text as we can clear it.
-- 
Eric Laffoon
Project Lead - kdewebdev module


More information about the Kommander-devel mailing list