setInputMask Trouble

Joe Claborn <[email protected]>
Newsgroups gmane.comp.kde.devel.perl
Message-ID <[email protected]>
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
[email protected]
254-829-2448
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.