diff options
Diffstat (limited to 'src/serverwizard.ui.h')
-rw-r--r-- | src/serverwizard.ui.h | 28 |
1 files changed, 14 insertions, 14 deletions
diff --git a/src/serverwizard.ui.h b/src/serverwizard.ui.h index 3375298..20cc9e6 100644 --- a/src/serverwizard.ui.h +++ b/src/serverwizard.ui.h @@ -20,7 +20,7 @@ ***************************************************************************/ #include <kmessagebox.h> #include <kdebug.h> -#include <qstringlist.h> +#include <ntqstringlist.h> #include "tork.h" #include "torkconfig.h" #include "upnpmanager.h" @@ -37,13 +37,13 @@ void ServerWizard::init() displayDiscoveredRouters(); serverName->setText("TorKServer"); - KConfig emailConf( QString::fromLatin1("emaildefaults") ); - emailConf.setGroup(QString::fromLatin1("Defaults")); - QString profile = QString::fromLatin1("PROFILE_"); - profile += emailConf.readEntry(QString::fromLatin1("Profile"), QString::fromLatin1("Default")); + KConfig emailConf( TQString::fromLatin1("emaildefaults") ); + emailConf.setGroup(TQString::fromLatin1("Defaults")); + TQString profile = TQString::fromLatin1("PROFILE_"); + profile += emailConf.readEntry(TQString::fromLatin1("Profile"), TQString::fromLatin1("Default")); emailConf.setGroup(profile); - contactMail->setText(emailConf.readEntry(QString::fromLatin1("EmailAddress"))); + contactMail->setText(emailConf.readEntry(TQString::fromLatin1("EmailAddress"))); } @@ -53,10 +53,10 @@ void ServerWizard::displayDiscoveredRouters() ForwardPorts->setEnabled(true); ForwardPorts->setChecked(true); - QString routers; - QStringList routerList; + TQString routers; + TQStringList routerList; routerList = UPnPManager::Manager()->discoveredRoutersNameList(); - for ( QStringList::Iterator it = routerList.begin(); it != routerList.end(); ++it ) + for ( TQStringList::Iterator it = routerList.begin(); it != routerList.end(); ++it ) { if ((*it).isEmpty()) continue; @@ -65,14 +65,14 @@ void ServerWizard::displayDiscoveredRouters() routers += "</b><br>"; } - QString routerText = i18n("Make Tor Accessible on the Following Routers:<p> %1").arg(routers); + TQString routerText = i18n("Make Tor Accessible on the Following Routers:<p> %1").arg(routers); RoutersFound->setText(routerText); } void -ServerWizard::showPage( QWidget *w ) //virtual +ServerWizard::showPage( TQWidget *w ) //virtual { - QWizard::showPage( w ); + TQWizard::showPage( w ); if (currentPage() == ServerReachability) @@ -94,12 +94,12 @@ ServerWizard::accept() TorkConfig::setForwardPorts(ForwardPorts->isChecked()); TorkConfig::writeConfig(); emit setUpServer(serverType); - QDialog::accept(); + TQDialog::accept(); } void ServerWizard::reject() { - QDialog::reject(); + TQDialog::reject(); } |