Branch: r14.0.x

44193c39 2015-03-04 22:41:08 Slávek Banko
Fix incorrectly renamed strings
(cherry picked from commit 895b21c103b99df631506fe0d846119d5b28a8e3)
M atlantik/client/atlantik.cpp
M atlantik/client/selectconfiguration_widget.cpp
M libtdegames/kgameprogress.h
diff --git a/atlantik/client/atlantik.cpp b/atlantik/client/atlantik.cpp
index efbf2a0..fbbe24e 100644
--- a/atlantik/client/atlantik.cpp
+++ b/atlantik/client/atlantik.cpp
@@ -158,7 +158,7 @@
 	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 @@
 	// 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::slotNetworkError(int errnum)
 {
 	TQString errMsg(i18n("Error connecting: "));
-	
+
 	switch (m_atlantikNetwork->status())
 	{
 		case IO_ConnectError:
@@ -490,7 +490,7 @@
 	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 @@
 	// 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 eb67a99..f8f5585 100644
--- a/atlantik/client/selectconfiguration_widget.cpp
+++ b/atlantik/client/selectconfiguration_widget.cpp
@@ -51,7 +51,7 @@
 
 	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 @@
 	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 @@
 	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();
diff --git a/libtdegames/kgameprogress.h b/libtdegames/kgameprogress.h
index 6aa987f..2f5e8e5 100644
--- a/libtdegames/kgameprogress.h
+++ b/libtdegames/kgameprogress.h
@@ -50,7 +50,7 @@
 class KDE_EXPORT KGameProgress : public TQFrame, public TQRangeControl
 {
   Q_OBJECT
-  
+
   TQ_ENUMS( BarStyle )
   TQ_PROPERTY( int value READ value WRITE setValue)
   TQ_PROPERTY( BarStyle barStyle READ barStyle WRITE setBarStyle )
@@ -109,7 +109,7 @@
   /**
    * Set the orientation of the progress bar.
    *
-   * Allowed values are @pQt::Horizontal and @pQt::Vertical.
+   * Allowed values are @p Qt::Horizontal and @p Qt::Vertical.
    */
   void setOrientation(Orientation);