summaryrefslogtreecommitdiffstats
path: root/atlantik
diff options
context:
space:
mode:
authorSlávek Banko <[email protected]>2015-03-05 05:07:40 +0100
committerSlávek Banko <[email protected]>2015-03-05 05:41:08 +0100
commit44193c39f0a67e83404f77138a2daa7225fe6429 (patch)
tree25fc1eb010230b260d9ef9e2641eea70e8f75d39 /atlantik
parent10df58761f55ccf6519e615653175889803e65e5 (diff)
downloadtdegames-44193c39f0a67e83404f77138a2daa7225fe6429.tar.gz
tdegames-44193c39f0a67e83404f77138a2daa7225fe6429.zip
Fix incorrectly renamed strings
(cherry picked from commit 895b21c103b99df631506fe0d846119d5b28a8e3)
Diffstat (limited to 'atlantik')
-rw-r--r--atlantik/client/atlantik.cpp12
-rw-r--r--atlantik/client/selectconfiguration_widget.cpp6
2 files changed, 9 insertions, 9 deletions
diff --git a/atlantik/client/atlantik.cpp b/atlantik/client/atlantik.cpp
index efbf2a0d..fbbe24ec 100644
--- a/atlantik/client/atlantik.cpp
+++ b/atlantik/client/atlantik.cpp
@@ -158,7 +158,7 @@ Atlantik::Atlantik ()
m_mainLayout = new TQGridLayout(m_mainWidget, 3, 2);
setCentralWidget(m_mainWidget);
- //Qt::Vertical view area for portfolios.
+ // Vertical view area for portfolios.
m_portfolioScroll = new TQScrollView(m_mainWidget, "pfScroll");
m_mainLayout->addWidget( m_portfolioScroll, 0, 0 );
m_portfolioScroll->setHScrollBarMode( TQScrollView::AlwaysOff );
@@ -201,8 +201,8 @@ Atlantik::Atlantik ()
// Check command-line args to see if we need to connect or show Monopigator window
TDECmdLineArgs *args = TDECmdLineArgs::parsedArgs();
- TQCString host = args->getOption("host");
- TQCString port = args->getOption("port");
+ TQCString host = args->getOption("host");
+ TQCString port = args->getOption("port");
if (!host.isNull() && !port.isNull())
m_atlantikNetwork->serverConnect(host, port.toInt());
else
@@ -446,7 +446,7 @@ void Atlantik::slotNetworkConnected()
void Atlantik::slotNetworkError(int errnum)
{
TQString errMsg(i18n("Error connecting: "));
-
+
switch (m_atlantikNetwork->status())
{
case IO_ConnectError:
@@ -490,7 +490,7 @@ void Atlantik::slotConfigure()
if (m_configDialog == 0)
m_configDialog = new ConfigDialog(this);
m_configDialog->show();
-
+
connect(m_configDialog, TQT_SIGNAL(okClicked()), TQT_TQOBJECT(this), TQT_SLOT(slotUpdateConfig()));
}
@@ -789,7 +789,7 @@ void Atlantik::sendHandshake()
// Check command-line args to see if we need to auto-join
TDECmdLineArgs *args = TDECmdLineArgs::parsedArgs();
- TQCString game = args->getOption("game");
+ TQCString game = args->getOption("game");
if (!game.isNull())
m_atlantikNetwork->joinGame(game.toInt());
}
diff --git a/atlantik/client/selectconfiguration_widget.cpp b/atlantik/client/selectconfiguration_widget.cpp
index eb67a997..f8f55855 100644
--- a/atlantik/client/selectconfiguration_widget.cpp
+++ b/atlantik/client/selectconfiguration_widget.cpp
@@ -51,7 +51,7 @@ SelectConfiguration::SelectConfiguration(AtlanticCore *atlanticCore, TQWidget *p
playerButtons->addItem(new TQSpacerItem(20, 20, TQSizePolicy::Expanding, TQSizePolicy::Minimum));
- //Qt::Vertical spacer.
+ // Vertical spacer.
m_mainLayout->addItem(new TQSpacerItem(20, 20, TQSizePolicy::Minimum, TQSizePolicy::Expanding));
// Server buttons.
@@ -74,7 +74,7 @@ SelectConfiguration::SelectConfiguration(AtlanticCore *atlanticCore, TQWidget *p
Player *playerSelf = m_atlanticCore->playerSelf();
playerChanged(playerSelf);
connect(playerSelf, TQT_SIGNAL(changed(Player *)), this, TQT_SLOT(playerChanged(Player *)));
-
+
emit statusMessage(i18n("Retrieving configuration list..."));
}
@@ -89,7 +89,7 @@ void SelectConfiguration::addConfigOption(ConfigOption *configOption)
TQCheckBox *checkBox = new TQCheckBox(configOption->description(), m_configBox, "checkbox");
m_configMap[(TQObject *)checkBox] = configOption;
m_configBoxMap[configOption] = checkBox;
-
+
checkBox->setChecked( configOption->value().toInt() );
checkBox->setEnabled( configOption->edit() && m_atlanticCore->selfIsMaster() );
checkBox->show();