diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-08-09 22:25:47 -0500 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-08-09 22:25:47 -0500 |
commit | 03256f3cd5149f3ff5f5f45765b0b0659db4e036 (patch) | |
tree | caabe9e1c0e3edfd06ea5aefd4d7279664cd9ede /experimental/tqtinterface/qt4/bin | |
parent | 0594950f65a713c2d12e8eb6ddd3f5f9b306ec08 (diff) | |
download | tde-03256f3cd5149f3ff5f5f45765b0b0659db4e036.tar.gz tde-03256f3cd5149f3ff5f5f45765b0b0659db4e036.zip |
rename the following methods:
tqfind find
tqreplace replace
tqcontains contains
Diffstat (limited to 'experimental/tqtinterface/qt4/bin')
-rwxr-xr-x | experimental/tqtinterface/qt4/bin/findtr | 2 | ||||
-rwxr-xr-x | experimental/tqtinterface/qt4/bin/qt20fix | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/experimental/tqtinterface/qt4/bin/findtr b/experimental/tqtinterface/qt4/bin/findtr index dbdca4df3..73c0e07a0 100755 --- a/experimental/tqtinterface/qt4/bin/findtr +++ b/experimental/tqtinterface/qt4/bin/findtr @@ -37,7 +37,7 @@ msgstr "" $scope = ""; if ( $#ARGV < 0 ) { - print STDERR "Usage: tqfindtr sourcefile ... >project.po\n"; + print STDERR "Usage: findtr sourcefile ... >project.po\n"; exit 1; } diff --git a/experimental/tqtinterface/qt4/bin/qt20fix b/experimental/tqtinterface/qt4/bin/qt20fix index 403673806..bf70671c2 100755 --- a/experimental/tqtinterface/qt4/bin/qt20fix +++ b/experimental/tqtinterface/qt4/bin/qt20fix @@ -62,7 +62,7 @@ sub parseline{ # -# this is the big array of globals and their tqreplacements. add stuff +# this is the big array of globals and their replacements. add stuff # at will. # @@ -236,7 +236,7 @@ while( <STDIN> ) { next unless ( $currentfile[$line-1] =~ /\b$variable\b/ ); if ( $currentfile[$line-1] =~ s/([^a-zA-Z0-9])::$variable\b/$1$globals{$variable}/ || $currentfile[$line-1] =~ s/([^a-zA-Z0-9:])$variable\b/$1$globals{$variable}/ ) { - print "$file:$line:tqreplaced \`$variable\' with \`$globals{$variable}\'\n"; + print "$file:$line:replaced \`$variable\' with \`$globals{$variable}\'\n"; $changes++; $totalchanges++ } |