diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-08-10 22:19:39 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-08-10 22:19:39 +0000 |
commit | 2bc1d72869b62af05ae4feafd878203b526da8c5 (patch) | |
tree | 2676903bb600bd9646644856e354940471ad84e2 /lanbrowsing/kcmlisa/setupwizard.cpp | |
parent | 937b2991d8e78166eea904c80ad04d34607017a4 (diff) | |
download | tdenetwork-2bc1d72869b62af05ae4feafd878203b526da8c5.tar.gz tdenetwork-2bc1d72869b62af05ae4feafd878203b526da8c5.zip |
rename the following methods:
tqparent parent
tqmask mask
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdenetwork@1246260 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'lanbrowsing/kcmlisa/setupwizard.cpp')
-rw-r--r-- | lanbrowsing/kcmlisa/setupwizard.cpp | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/lanbrowsing/kcmlisa/setupwizard.cpp b/lanbrowsing/kcmlisa/setupwizard.cpp index 82873c00..f5b985e1 100644 --- a/lanbrowsing/kcmlisa/setupwizard.cpp +++ b/lanbrowsing/kcmlisa/setupwizard.cpp @@ -31,8 +31,8 @@ #include <netinet/in.h> #include <arpa/inet.h> -SetupWizard::SetupWizard(TQWidget* tqparent, LisaConfigInfo* configInfo) - :TQWizard(tqparent,"hallo",true) +SetupWizard::SetupWizard(TQWidget* parent, LisaConfigInfo* configInfo) + :TQWizard(parent,"hallo",true) ,m_page1(0) ,m_noNicPage(0) ,m_multiNicPage(0) @@ -208,12 +208,12 @@ void SetupWizard::setupAddressesPage() { m_addressesPage=new TQVBox(this); TQLabel *info=new TQLabel(i18n("All IP addresses included in the specified range will be pinged.<br>" - "If you are part of a small network, e.g. with network tqmask 255.255.255.0<br>" - "use your IP address/network tqmask.<br>"),m_addressesPage); + "If you are part of a small network, e.g. with network mask 255.255.255.0<br>" + "use your IP address/network mask.<br>"),m_addressesPage); info->setTextFormat(TQt::RichText); m_pingAddresses=new KRestrictedLine(m_addressesPage,"0123456789./;-"); info=new TQLabel(i18n("<br>There are four ways to specify address ranges:<br>" - "1. IP address/network tqmask, like <code>192.168.0.0/255.255.255.0;</code><br>" + "1. IP address/network mask, like <code>192.168.0.0/255.255.255.0;</code><br>" "2. single IP addresses, like <code>10.0.0.23;</code><br>" "3. continuous ranges, like <code>10.0.1.0-10.0.1.200;</code><br>" "4. ranges for each part of the address, like <code>10-10.1-5.1-25.1-3;</code><br>" @@ -237,7 +237,7 @@ void SetupWizard::setupAllowedPage() "It provides a simple IP address based way to specify \"trusted\" hosts.<br>" "Only hosts which fit into the addresses given here are accepted by LISa as clients. " "The list of hosts published by LISa will also only contain hosts which fit into this scheme.<br>" - "Usually you enter your IP address/network tqmask here."),m_allowedAddressesPage); + "Usually you enter your IP address/network mask here."),m_allowedAddressesPage); info->tqsetAlignment(AlignLeft|AlignVCenter|WordBreak); m_allowedAddresses=new KRestrictedLine(m_allowedAddressesPage,"0123456789./-;"); m_trustedHostsLabel=new TQLabel(m_allowedAddressesPage); @@ -255,7 +255,7 @@ void SetupWizard::setupAllowedPage() void SetupWizard::setupBcastPage() { m_bcastPage=new TQVBox(this); - TQLabel *info=new TQLabel(i18n("<br>Enter your IP address and network tqmask here, like <code>192.168.0.1/255.255.255.0</code>"),m_bcastPage); + TQLabel *info=new TQLabel(i18n("<br>Enter your IP address and network mask here, like <code>192.168.0.1/255.255.255.0</code>"),m_bcastPage); info->tqsetAlignment(AlignLeft|AlignVCenter|WordBreak); m_bcastAddress=new KRestrictedLine(m_bcastPage,"0123456789./"); info=new TQLabel(i18n("<br>To reduce the network load, the LISa servers in one network<br>" @@ -398,7 +398,7 @@ void SetupWizard::next() m_nicListBox->clear(); for (MyNIC *nic=m_nics->first(); nic!=0; nic=m_nics->next()) { - TQString tmp=nic->name+": "+nic->addr+"/"+nic->nettqmask+";"; + TQString tmp=nic->name+": "+nic->addr+"/"+nic->netmask+";"; m_nicListBox->insertItem(tmp); } m_nicListBox->setSelected(0,true); @@ -462,7 +462,7 @@ void SetupWizard::showPage(TQWidget* page) text+=i18n("You can use the same syntax as on the previous page.<br>"); else text+=i18n("There are three ways to specify IP addresses:<br>" - "1. IP address/network tqmask, like<code> 192.168.0.0/255.255.255.0;</code><br>" + "1. IP address/network mask, like<code> 192.168.0.0/255.255.255.0;</code><br>" "2. continuous ranges, like<code> 10.0.1.0-10.0.1.200;</code><br>" "3. single IP addresses, like<code> 10.0.0.23;</code><br>" "You can also enter combinations of 1 to 3, separated by \";\", <br>" |