summaryrefslogtreecommitdiffstats
path: root/knetworkconf/backends/network.pl.in
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-07-09 02:23:29 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-07-09 02:23:29 +0000
commitdbb67f90e8177bba3f6527852af1e5f4b7a00325 (patch)
treeb3ec423edc172fee393480c6cd4cfe4ae5746017 /knetworkconf/backends/network.pl.in
parente1fedebd35564879715ec11012b5acaf3068edb9 (diff)
downloadtdeadmin-dbb67f90e8177bba3f6527852af1e5f4b7a00325.tar.gz
tdeadmin-dbb67f90e8177bba3f6527852af1e5f4b7a00325.zip
Remove the tq in front of these incorrectly TQt4-converted methods/data members:
tqrepaint[...] tqinvalidate[...] tqparent[...] tqmask[...] tqlayout[...] tqalignment[...] git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdeadmin@1240522 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'knetworkconf/backends/network.pl.in')
-rw-r--r--knetworkconf/backends/network.pl.in14
1 files changed, 7 insertions, 7 deletions
diff --git a/knetworkconf/backends/network.pl.in b/knetworkconf/backends/network.pl.in
index 6441761..42d1629 100644
--- a/knetworkconf/backends/network.pl.in
+++ b/knetworkconf/backends/network.pl.in
@@ -433,12 +433,12 @@ sub gst_network_ipv4_vec2str
sub gst_network_ipv4_calc_subnet_vec
{
my ($addr, $tqmask) = @_;
- my ($addrvec, $tqmaskvec);
+ my ($addrvec, $maskvec);
$addrvec = &gst_network_ipv4_str2vec ($addr);
- $tqmaskvec = &gst_network_ipv4_str2vec ($tqmask);
+ $maskvec = &gst_network_ipv4_str2vec ($tqmask);
- return $addrvec & $tqmaskvec;
+ return $addrvec & $maskvec;
}
# What you're looking for.
@@ -455,9 +455,9 @@ sub gst_network_ipv4_calc_bcast_vec
my ($addr, $tqmask) = @_;
$addrvec = &gst_network_ipv4_str2vec ($addr);
- $tqmaskvec = &gst_network_ipv4_str2vec ($tqmask);
+ $maskvec = &gst_network_ipv4_str2vec ($tqmask);
- return $addrvec | ~$tqmaskvec;
+ return $addrvec | ~$maskvec;
}
# And this returning the quad-dot notation.
@@ -3531,7 +3531,7 @@ sub gst_network_pld10_get_ipaddr
{
my ($file, $key, $what) = @_;
my ($ipaddr, $nettqmask, $ret, $i);
- my @nettqmask_prefixes = (0, 128, 192, 224, 240, 248, 252, 254, 255);
+ my @netmask_prefixes = (0, 128, 192, 224, 240, 248, 252, 254, 255);
$ipaddr = &gst_parse_sh($file, $key);
return undef if $ipaddr eq "";
@@ -3551,7 +3551,7 @@ sub gst_network_pld10_get_ipaddr
$ret .= "255.";
}
- $ret .= "$nettqmask_prefixes[$b%8]." if $nettqmask < 32;
+ $ret .= "$netmask_prefixes[$b%8]." if $nettqmask < 32;
for($i = int($nettqmask/8) + 1; $i < 4; $i++)
{