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 | eaa7ee2e0bbca40ba3173c4304f81957e8964291 (patch) | |
tree | 4f793aa48a5080aedc94ce6e519c3b86708f2b88 /tqtinterface/qt4/bin | |
parent | 79a9d7a46a20d4a0923bc06fc471fdc2176ef865 (diff) | |
download | experimental-eaa7ee2e0bbca40ba3173c4304f81957e8964291.tar.gz experimental-eaa7ee2e0bbca40ba3173c4304f81957e8964291.zip |
rename the following methods:
tqfind find
tqreplace replace
tqcontains contains
Diffstat (limited to 'tqtinterface/qt4/bin')
-rwxr-xr-x | tqtinterface/qt4/bin/findtr | 2 | ||||
-rwxr-xr-x | tqtinterface/qt4/bin/qt20fix | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/tqtinterface/qt4/bin/findtr b/tqtinterface/qt4/bin/findtr index dbdca4d..73c0e07 100755 --- a/tqtinterface/qt4/bin/findtr +++ b/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/tqtinterface/qt4/bin/qt20fix b/tqtinterface/qt4/bin/qt20fix index 4036738..bf70671 100755 --- a/tqtinterface/qt4/bin/qt20fix +++ b/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++ } |