[Kde-bindings] problems with KDE::UrlRequester in korundum4

Stefano Crocco stefano.crocco at alice.it
Fri Jun 27 07:59:10 UTC 2008


I'm trying to use the KDE::UrlRequester widget from the latest svn version of 
korundum4 and I'm having issues in changing its mode. In particular:
1) I can't find the constants corresponding to the KFile::Modes C++ 
enumerator. I looked in the KDE and KIO modules and in the KDE::UrlRequester 
and KDE::FileDialog class and, just to be sure, also in the ruby File class, 
but I wasn't able to find them or the File class or module where, according to 
the KDE C++ api, they should be. I don't know whether these constants have 
been left out or if I've been looking for them in the wrong places.
2) If I try to call the KDE::UrlRequester#setMode method I get a NoMethodError 
exception, while according to rbkde4api the method should exist. This can be 
only a consequence of the above issue, though: since I couldn't find the 
constants, I tried to call this method using the numerical values of the 
enumerator, which maybe can't be done.

Stefano



More information about the Kde-bindings mailing list