Fix incorrectly renamed strings

pull/1/head
Slávek Banko 10 years ago
parent d18ea9131c
commit 895b21c103

@ -158,7 +158,7 @@ Atlantik::Atlantik ()
m_mainLayout = new TQGridLayout(m_mainWidget, 3, 2); m_mainLayout = new TQGridLayout(m_mainWidget, 3, 2);
setCentralWidget(m_mainWidget); setCentralWidget(m_mainWidget);
//Qt::Vertical view area for portfolios. // Vertical view area for portfolios.
m_portfolioScroll = new TQScrollView(m_mainWidget, "pfScroll"); m_portfolioScroll = new TQScrollView(m_mainWidget, "pfScroll");
m_mainLayout->addWidget( m_portfolioScroll, 0, 0 ); m_mainLayout->addWidget( m_portfolioScroll, 0, 0 );
m_portfolioScroll->setHScrollBarMode( TQScrollView::AlwaysOff ); 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 // Check command-line args to see if we need to connect or show Monopigator window
TDECmdLineArgs *args = TDECmdLineArgs::parsedArgs(); TDECmdLineArgs *args = TDECmdLineArgs::parsedArgs();
TQCString host = args->getOption("host"); TQCString host = args->getOption("host");
TQCString port = args->getOption("port"); TQCString port = args->getOption("port");
if (!host.isNull() && !port.isNull()) if (!host.isNull() && !port.isNull())
m_atlantikNetwork->serverConnect(host, port.toInt()); m_atlantikNetwork->serverConnect(host, port.toInt());
else else
@ -446,7 +446,7 @@ void Atlantik::slotNetworkConnected()
void Atlantik::slotNetworkError(int errnum) void Atlantik::slotNetworkError(int errnum)
{ {
TQString errMsg(i18n("Error connecting: ")); TQString errMsg(i18n("Error connecting: "));
switch (m_atlantikNetwork->status()) switch (m_atlantikNetwork->status())
{ {
case IO_ConnectError: case IO_ConnectError:
@ -490,7 +490,7 @@ void Atlantik::slotConfigure()
if (m_configDialog == 0) if (m_configDialog == 0)
m_configDialog = new ConfigDialog(this); m_configDialog = new ConfigDialog(this);
m_configDialog->show(); m_configDialog->show();
connect(m_configDialog, TQT_SIGNAL(okClicked()), TQT_TQOBJECT(this), TQT_SLOT(slotUpdateConfig())); 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 // Check command-line args to see if we need to auto-join
TDECmdLineArgs *args = TDECmdLineArgs::parsedArgs(); TDECmdLineArgs *args = TDECmdLineArgs::parsedArgs();
TQCString game = args->getOption("game"); TQCString game = args->getOption("game");
if (!game.isNull()) if (!game.isNull())
m_atlantikNetwork->joinGame(game.toInt()); m_atlantikNetwork->joinGame(game.toInt());
} }

@ -51,7 +51,7 @@ SelectConfiguration::SelectConfiguration(AtlanticCore *atlanticCore, TQWidget *p
playerButtons->addItem(new TQSpacerItem(20, 20, TQSizePolicy::Expanding, TQSizePolicy::Minimum)); 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)); m_mainLayout->addItem(new TQSpacerItem(20, 20, TQSizePolicy::Minimum, TQSizePolicy::Expanding));
// Server buttons. // Server buttons.
@ -74,7 +74,7 @@ SelectConfiguration::SelectConfiguration(AtlanticCore *atlanticCore, TQWidget *p
Player *playerSelf = m_atlanticCore->playerSelf(); Player *playerSelf = m_atlanticCore->playerSelf();
playerChanged(playerSelf); playerChanged(playerSelf);
connect(playerSelf, TQT_SIGNAL(changed(Player *)), this, TQT_SLOT(playerChanged(Player *))); connect(playerSelf, TQT_SIGNAL(changed(Player *)), this, TQT_SLOT(playerChanged(Player *)));
emit statusMessage(i18n("Retrieving configuration list...")); emit statusMessage(i18n("Retrieving configuration list..."));
} }
@ -89,7 +89,7 @@ void SelectConfiguration::addConfigOption(ConfigOption *configOption)
TQCheckBox *checkBox = new TQCheckBox(configOption->description(), m_configBox, "checkbox"); TQCheckBox *checkBox = new TQCheckBox(configOption->description(), m_configBox, "checkbox");
m_configMap[(TQObject *)checkBox] = configOption; m_configMap[(TQObject *)checkBox] = configOption;
m_configBoxMap[configOption] = checkBox; m_configBoxMap[configOption] = checkBox;
checkBox->setChecked( configOption->value().toInt() ); checkBox->setChecked( configOption->value().toInt() );
checkBox->setEnabled( configOption->edit() && m_atlanticCore->selfIsMaster() ); checkBox->setEnabled( configOption->edit() && m_atlanticCore->selfIsMaster() );
checkBox->show(); checkBox->show();

@ -50,7 +50,7 @@
class KDE_EXPORT KGameProgress : public TQFrame, public TQRangeControl class KDE_EXPORT KGameProgress : public TQFrame, public TQRangeControl
{ {
Q_OBJECT Q_OBJECT
TQ_ENUMS( BarStyle ) TQ_ENUMS( BarStyle )
TQ_PROPERTY( int value READ value WRITE setValue) TQ_PROPERTY( int value READ value WRITE setValue)
TQ_PROPERTY( BarStyle barStyle READ barStyle WRITE setBarStyle ) TQ_PROPERTY( BarStyle barStyle READ barStyle WRITE setBarStyle )
@ -109,7 +109,7 @@ public:
/** /**
* Set the orientation of the progress bar. * 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); void setOrientation(Orientation);

Loading…
Cancel
Save