summaryrefslogtreecommitdiffstats
path: root/smoke/qt/generate.pl.in
diff options
context:
space:
mode:
authorTimothy Pearson <[email protected]>2012-01-01 18:24:37 -0600
committerTimothy Pearson <[email protected]>2012-01-01 18:24:37 -0600
commit4e997a9c6e25689dca65a2ec573a599699ef8170 (patch)
treefdb5ecac42fb8204df9fc8c9abe1c784d4719e0e /smoke/qt/generate.pl.in
parentbfa107694b2507a7116f8856cafe4ab1375da8a9 (diff)
downloadlibtqt-perl-4e997a9c6e25689dca65a2ec573a599699ef8170.tar.gz
libtqt-perl-4e997a9c6e25689dca65a2ec573a599699ef8170.zip
Initial TQt conversion
Diffstat (limited to 'smoke/qt/generate.pl.in')
-rw-r--r--smoke/qt/generate.pl.in24
1 files changed, 12 insertions, 12 deletions
diff --git a/smoke/qt/generate.pl.in b/smoke/qt/generate.pl.in
index 5f4a669..4fa8cd4 100644
--- a/smoke/qt/generate.pl.in
+++ b/smoke/qt/generate.pl.in
@@ -1,6 +1,6 @@
#!/usr/bin/perl -w
-## Run this first, to generate the x_*.cpp files from the Qt headers
+## Run this first, to generate the x_*.cpp files from the TQt headers
## using kalyptus
my $kalyptusdir = "../../kalyptus";
@@ -25,7 +25,7 @@ if (-d $outdir) { system "rm -f $outdir/x_*.cpp"; } else { mkdir $outdir; }
mkdir $finaloutdir unless (-d $finaloutdir);
-# Load the QT_NO_* macros found in "qtdefines". They'll be passed to kalyptus
+# Load the TQT_NO_* macros found in "qtdefines". They'll be passed to kalyptus
my $macros="";
if ( -e $definespath ){
print "Found '$defines'. Reading preprocessor symbols from there...\n";
@@ -39,9 +39,9 @@ chdir "$kalyptusdir" or die "Couldn't go to $kalyptusdir (edit script to change
# We don't want all of them - e.g. not template-based stuff
my %excludes = (
'qaccessible.h' => 1, # Accessibility support is not compiled by defaut
- 'qassistantclient.h' => 1, # Not part of Qt (introduced in Qt-3.1)
+ 'qassistantclient.h' => 1, # Not part of TQt (introduced in TQt-3.1)
'qmotif.h' => 1, #
- 'qmotifwidget.h' => 1, # Motif extension (introduced in Qt-3.1)
+ 'qmotifwidget.h' => 1, # Motif extension (introduced in TQt-3.1)
'qmotifdialog.h' => 1, #
'qxt.h' => 1, # Xt
'qxtwidget.h' => 1, # Xt
@@ -49,11 +49,11 @@ my %excludes = (
'qgl.h' => 1, # OpenGL
'qglcolormap.h' => 1, # OpenGL
'qnp.h' => 1, # NSPlugin
- 'qttableview.h' => 1, # Not in Qt anymore...
- 'qtmultilineedit.h' => 1, # Not in Qt anymore...
+ 'qttableview.h' => 1, # Not in TQt anymore...
+ 'qtmultilineedit.h' => 1, # Not in TQt anymore...
'qwidgetfactory.h' => 1, # Just an interface
- 'qsharedmemory.h' => 1, # "not part of the Qt API" they say
- 'qwindowsstyle.h' => 1, # Qt windowsstyle, plugin
+ 'qsharedmemory.h' => 1, # "not part of the TQt API" they say
+ 'qwindowsstyle.h' => 1, # TQt windowsstyle, plugin
'qmotifstyle.h' => 1,
'qcompactstyle.h' => 1,
'qinterlacestyle.h' => 1,
@@ -64,7 +64,7 @@ my %excludes = (
'qwindowsxpstyle.h' => 1 # play on the safe side
);
-# Some systems have a QTDIR = KDEDIR = PREFIX
+# Some systems have a TQTDIR = KDEDIR = PREFIX
# We need a complete list
my %includes;
@@ -78,18 +78,18 @@ if("@KDE_HAVE_GL@" eq "yes")
open(DEFS, $definespath);
my @defs = <DEFS>;
close DEFS;
- if(!grep(/QT_NO_OPENGL/, @defs))
+ if(!grep(/TQT_NO_OPENGL/, @defs))
{
$excludes{'qgl.h'} = undef;
$excludes{'qglcolormap.h'} = undef;
}
else
{
- print STDERR "Qt was not compiled with OpenGL support...\n Skipping QGL Classes.\n";
+ print STDERR "TQt was not compiled with OpenGL support...\n Skipping TQGL Classes.\n";
}
}
-# List Qt headers, and exclude the ones listed above
+# List TQt headers, and exclude the ones listed above
my @headers = ();
$qtinc= '@qt_includes@';