3 # this is a corny script to check that qtarch hasn't fscked up
4 # the initialisation order of the widgets. perl hackers are free
7 # usage: dlg/checkinitorder.pl *data.C
11 if (/new/ && ! /Layout/) {
12 ( $varname, $parent) = split('=');
16 $parent =~ s/^.*\(\s*//;
17 $parent =~ s/\s*,.*$//;
19 if (!defined($found{$parent})) {
20 print "Widget $varname constructed with ",
21 "uninitialised parent $parent !\n";