diff options
Diffstat (limited to 'am_edit')
-rw-r--r-- | am_edit | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -566,7 +566,7 @@ sub initialise () %kdeopts = (); $kdeopts{"foreign"} = 0; - $kdeopts{"qtonly"} = 0; + $kdeopts{"tqtonly"} = 0; $kdeopts{"noautodist"} = 0; $kdeopts{"foreign-libtool"} = $foreign_libtool; $kdeopts{"nofinal"} = !$use_final; # default @@ -1361,7 +1361,7 @@ sub tag_UIFILES () my $dep_lines = "$source.$cxxsuffix: $sourcedir$source.ui $source.h $source.moc\n"; $dep_lines .= "\trm -f $source.$cxxsuffix\n"; - if (!$kdeopts{"qtonly"}) { + if (!$kdeopts{"tqtonly"}) { $dep_lines .= "\techo '#include <kdialog.h>' > $source.$cxxsuffix\n"; $dep_lines .= "\techo '#include <tdelocale.h>' >> $source.$cxxsuffix\n"; my ($mangled_source) = $source; @@ -1375,7 +1375,7 @@ sub tag_UIFILES () $dep_lines .= "\tif test \"\$\$ret\" = 0; then echo '#include \"$source.moc\"' >> $source.$cxxsuffix; else rm -f $source.$cxxsuffix ; exit \$\$ret ; fi\n\n"; $dep_lines .= "$source.h: $sourcedir$source.ui\n"; $dep_lines .= "\trm -rf $source.h;\n"; - if (!$kdeopts{"qtonly"}) { + if (!$kdeopts{"tqtonly"}) { $dep_lines .= "\t\$(UIC) $sourcedir$source.ui | \$(PERL) -pi -e \"s,public TQWizard,public KWizard,g; s,#include <ntqwizard.h>,#include <kwizard.h>,g; s,public QWizard,public KWizard,g; s,#include <qwizard.h>,#include <kwizard.h>,g\" >> $source.h ;\n"; } else { $dep_lines .= "\t\$(UIC) -o $source.h $sourcedir$source.ui\n"; @@ -2301,7 +2301,7 @@ sub make_bcheck_target() sub make_meta_classes () { - return if ($kdeopts{"qtonly"}); + return if ($kdeopts{"tqtonly"}); my $cppFile; my $hFile; |