[Kde-perl] setInputMask Trouble

Joe Claborn joe at claborn.net
Fri Apr 16 22:33:49 CEST 2004


Here is a small example

use Qt;
$a = Qt::Application \@ARGV;
$b = Qt::LineEdit "", undef;   # undef parent
# This line gives me grief
$b->setInputMask("A; ");
$b->show;
$a->setMainWidget($b);
$a->exec;

gives
--- No method to call for :
        QLineEdit::setInputMask('A; ')

Any clues as to what I'm doing wrong?

(And - my many thanks to all who work to make perlQT - I think it's great)


-- 
Joe Claborn
joe at claborn.net
254-829-2448



More information about the Kde-perl mailing list