diff options
author | Timothy Pearson <[email protected]> | 2011-12-18 18:33:51 -0600 |
---|---|---|
committer | Timothy Pearson <[email protected]> | 2011-12-18 18:33:51 -0600 |
commit | 089118c18533dfa3e6ce5065dbebdd4db94051f1 (patch) | |
tree | ce014fb2326a80fcfafa2362b7ff88486aa17c96 /lanbrowsing/kcmlisa | |
parent | 83677e35509b4dafac63b76995652bdf3b49f209 (diff) | |
download | tdenetwork-089118c18533dfa3e6ce5065dbebdd4db94051f1.tar.gz tdenetwork-089118c18533dfa3e6ce5065dbebdd4db94051f1.zip |
Rename old tq methods that no longer need a unique name
Diffstat (limited to 'lanbrowsing/kcmlisa')
-rw-r--r-- | lanbrowsing/kcmlisa/findnic.cpp | 6 | ||||
-rw-r--r-- | lanbrowsing/kcmlisa/kcmlisa.cpp | 2 | ||||
-rw-r--r-- | lanbrowsing/kcmlisa/setupwizard.cpp | 22 |
3 files changed, 15 insertions, 15 deletions
diff --git a/lanbrowsing/kcmlisa/findnic.cpp b/lanbrowsing/kcmlisa/findnic.cpp index d7437848..721834c9 100644 --- a/lanbrowsing/kcmlisa/findnic.cpp +++ b/lanbrowsing/kcmlisa/findnic.cpp @@ -275,21 +275,21 @@ TQString flags_tos (unsigned int flags) if (flags & IFF_BROADCAST) { if (tmp.length()) { - tmp += TQString::tqfromLatin1(", "); + tmp += TQString::fromLatin1(", "); } tmp += i18n("Broadcast"); } if (flags & IFF_MULTICAST) { if (tmp.length()) { - tmp += TQString::tqfromLatin1(", "); + tmp += TQString::fromLatin1(", "); } tmp += i18n("Multicast"); } if (flags & IFF_LOOPBACK) { if (tmp.length()) { - tmp += TQString::tqfromLatin1(", "); + tmp += TQString::fromLatin1(", "); } tmp += i18n("Loopback"); } diff --git a/lanbrowsing/kcmlisa/kcmlisa.cpp b/lanbrowsing/kcmlisa/kcmlisa.cpp index ea0ee2d9..3a9e061d 100644 --- a/lanbrowsing/kcmlisa/kcmlisa.cpp +++ b/lanbrowsing/kcmlisa/kcmlisa.cpp @@ -108,7 +108,7 @@ LisaSettings::LisaSettings(const TQString& config, TQWidget *parent) hbox->setSpacing(10); // m_autoSetup=new TQPushButton(i18n("&Guided LISa Setup..."),hbox); m_autoSetup=new TQPushButton(i18n("Setup Wizard..."),hbox); - m_autoSetup->setFixedWidth( m_autoSetup->tqsizeHint().width() ); + m_autoSetup->setFixedWidth( m_autoSetup->sizeHint().width() ); m_suggestSettings=new TQPushButton(i18n("&Suggest Settings"),hbox); diff --git a/lanbrowsing/kcmlisa/setupwizard.cpp b/lanbrowsing/kcmlisa/setupwizard.cpp index f5b985e1..53b5033d 100644 --- a/lanbrowsing/kcmlisa/setupwizard.cpp +++ b/lanbrowsing/kcmlisa/setupwizard.cpp @@ -199,7 +199,7 @@ void SetupWizard::setupSearchPage() m_searchPage->setSpacing(KDialog::spacingHint()); m_searchPage->setMargin(KDialog::marginHint()); info=new TQLabel(i18n("<b>If unsure, keep it as is.</b>"),m_searchPage); - info->tqsetAlignment(AlignRight|AlignVCenter); + info->setAlignment(AlignRight|AlignVCenter); setHelpEnabled( m_searchPage, false ); } @@ -219,13 +219,13 @@ void SetupWizard::setupAddressesPage() "4. ranges for each part of the address, like <code>10-10.1-5.1-25.1-3;</code><br>" "You can also enter combinations of 1 to 4, separated by \";\", like<br>" "<code>192.168.0.0/255.255.255.0;10.0.0.0;10.0.1.1-10.0.1.100;</code><br>"),m_addressesPage); - info->tqsetAlignment(AlignLeft|AlignVCenter|WordBreak); + info->setAlignment(AlignLeft|AlignVCenter|WordBreak); TQWidget *dummy=new TQWidget(m_addressesPage); m_addressesPage->setStretchFactor(dummy,10); m_addressesPage->setSpacing(KDialog::spacingHint()); m_addressesPage->setMargin(KDialog::marginHint()); info=new TQLabel(i18n("<b>If unsure, keep it as is.</b>"), m_addressesPage); - info->tqsetAlignment(AlignRight|AlignVCenter); + info->setAlignment(AlignRight|AlignVCenter); setHelpEnabled( m_addressesPage, false ); } @@ -238,7 +238,7 @@ void SetupWizard::setupAllowedPage() "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 mask here."),m_allowedAddressesPage); - info->tqsetAlignment(AlignLeft|AlignVCenter|WordBreak); + info->setAlignment(AlignLeft|AlignVCenter|WordBreak); m_allowedAddresses=new KRestrictedLine(m_allowedAddressesPage,"0123456789./-;"); m_trustedHostsLabel=new TQLabel(m_allowedAddressesPage); @@ -247,7 +247,7 @@ void SetupWizard::setupAllowedPage() m_allowedAddressesPage->setSpacing(KDialog::spacingHint()); m_allowedAddressesPage->setMargin(KDialog::marginHint()); info=new TQLabel(i18n("<b>If unsure, keep it as is.</b>"), m_allowedAddressesPage); - info->tqsetAlignment(AlignRight|AlignVCenter); + info->setAlignment(AlignRight|AlignVCenter); setHelpEnabled( m_allowedAddressesPage, false ); } @@ -256,18 +256,18 @@ void SetupWizard::setupBcastPage() { m_bcastPage=new TQVBox(this); 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); + info->setAlignment(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>" "cooperate with each other. Therefore you have to enter the broadcast<br>" "address here. If you are connected to more than one network, choose <br>" "one of the broadcast addresses."),m_bcastPage); - info->tqsetAlignment(AlignLeft|AlignVCenter|WordBreak); + info->setAlignment(AlignLeft|AlignVCenter|WordBreak); TQWidget *dummy=new TQWidget(m_bcastPage); m_bcastPage->setStretchFactor(dummy,10); m_bcastPage->setSpacing(KDialog::spacingHint()); info=new TQLabel(i18n("<b>If unsure, keep it as is.</b>"), m_bcastPage); - info->tqsetAlignment(AlignRight|AlignVCenter); + info->setAlignment(AlignRight|AlignVCenter); m_bcastPage->setSpacing(KDialog::spacingHint()); m_bcastPage->setMargin(KDialog::marginHint()); @@ -287,13 +287,13 @@ void SetupWizard::setupUpdateIntervalPage() "up to 16 times the value you enter here, if nobody accesses the LISa server. " "So if you enter 300 sec = 5 min here, this does not mean that LISa will ping " "your whole network every 5 minutes. The interval will increase up to 16 x 5 min = 80 min."),m_intervalPage); - info->tqsetAlignment(AlignLeft|AlignVCenter|WordBreak); + info->setAlignment(AlignLeft|AlignVCenter|WordBreak); TQWidget *dummy=new TQWidget(m_intervalPage); m_intervalPage->setStretchFactor(dummy,10); m_intervalPage->setSpacing(KDialog::spacingHint()); m_intervalPage->setMargin(KDialog::marginHint()); info=new TQLabel(i18n("<b>If unsure, keep it as is.</b>"), m_intervalPage); - info->tqsetAlignment(AlignRight|AlignVCenter); + info->setAlignment(AlignRight|AlignVCenter); info->setTextFormat(TQt::RichText); setHelpEnabled( m_intervalPage, false ); @@ -338,7 +338,7 @@ void SetupWizard::setupAdvancedSettingsPage() //m_advancedPage->setMargin(KDialog::marginHint()); info=new TQLabel(i18n("<b>If unsure, keep it as is.</b>"), m_advancedPage); - info->tqsetAlignment(AlignRight|AlignVCenter); + info->setAlignment(AlignRight|AlignVCenter); connect(m_secondScan,TQT_SIGNAL(toggled(bool)),m_secondWait,TQT_SLOT(setEnabled(bool))); setHelpEnabled( m_advancedPage, false ); |