summaryrefslogtreecommitdiffstats
path: root/src/serverwizard.ui.h
diff options
context:
space:
mode:
authorSlávek Banko <slavek.banko@axis.cz>2013-07-27 16:57:53 +0200
committerSlávek Banko <slavek.banko@axis.cz>2013-07-27 18:48:46 +0200
commit7c2bc4b5ce4fc1a72868aa949e9ec49fbe2e7931 (patch)
tree4655c7263ca5c64d23d10167cb459dd9cb253815 /src/serverwizard.ui.h
parent88ea2b6cd4382627fb6efca9cc54825aee881d1e (diff)
downloadtork-7c2bc4b5ce4fc1a72868aa949e9ec49fbe2e7931.tar.gz
tork-7c2bc4b5ce4fc1a72868aa949e9ec49fbe2e7931.zip
Initial TQt conversion
Diffstat (limited to 'src/serverwizard.ui.h')
-rw-r--r--src/serverwizard.ui.h28
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();
}