File indexing completed on 2024-04-14 05:35:09

0001 #!/usr/bin/perl -pi
0002 
0003 s!Q(3|)WhatsThis::add\s*\(\s*([^,]*),!\2->setWhatsThis(!g;
0004 s!#include <q3whatsthis.h>!!g;
0005 
0006 s!QToolTip::add\s*\(\s*([^,]*),!\1->setToolTip(!;
0007 
0008 
0009 # Q(V|H)GroupBox convertion
0010 # TODO add #include <Q3GroupBox>
0011 s!new\s*QVGroupBox\s*\(!new Q3GroupBox\(1, Qt::Horizontal,!g;
0012 s!new\s*QHGroupBox\s*\(!new Q3GroupBox\(1, Qt::Vertical,!g;
0013 s!QVGroupBox\s*\*!Q3GroupBox *!g;
0014 s!#include <qvgroupbox.h>!!g;