#14 inherit Qt::TDialog gives error

closed-invalid
None
5
2002-12-13
2002-12-12
No

## This is "ServerProp.pm"
package ServerProp;
use Qt;
use Qt::isa qw( Qt::TDialog );
.....
.....
sub NEW{
shift->SUPER::NEW(@_);
...
...
}

## The actuall call is "ServerProp($obj,$mysql,this)"
## The call is made from another package
## It seems the run-time error below thinks I'm
calling "QDnsSocket".

##This is the run-time error.
--- No method to call for :
QDnsSocket::new('ServerProp...', QListViewItem,
Net::MySQL=HASH(0x83f5df0), QWidget)
at /usr/lib/perl5/site_perl/5.8.0/i386-linux-thread-
multi/Qt.pm line 61.

Thanks!!
-chance

Discussion

  • germain garand

    germain garand - 2002-12-13
    • assigned_to: nobody --> germaingarand
    • status: open --> closed-invalid
     
  • germain garand

    germain garand - 2002-12-13

    Logged In: YES
    user_id=145773

    Hi,
    ah, that's simply because there's no such a class as QTDialog :)

    What you want is probably :

    use Qt::isa qw| Qt::Dialog |;

    Cheers,
    G.

     

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks