Update of /home/kde/kdegames/atlantik/client
In directory office:/tmp/cvs-serv14467/client
Modified Files:
selectserver_widget.cpp
Log Message:
I suggest you read the docu before you report bugs next time
CCMAIL: [email protected]
Index: selectserver_widget.cpp
===================================================================
RCS file: /home/kde/kdegames/atlantik/client/selectserver_widget.cpp,v
retrieving revision 1.21
retrieving revision 1.22
diff -u -d -r1.21 -r1.22
--- selectserver_widget.cpp 9 Jan 2003 01:35:43 -0000 1.21
+++ selectserver_widget.cpp 24 Feb 2003 19:28:34 -0000 1.22
@@ -33,11 +33,11 @@
// bgroup = new QVButtonGroup(i18n("Start or select a monopd server"), this, "bgroup");
bgroup = new QVButtonGroup(i18n("Select monopd Server"), this, "bgroup");
bgroup->setExclusive(true);
- m_mainLayout->addWidget(bgroup);
+ m_mainLayout->addWidget(bgroup);
// Button for local games
// m_localGameButton = new QRadioButton(QString(i18n("Start a local server")), bgroup, "m_localGameButton");
-// connect(m_localGameButton, SIGNAL(stateChanged(int)), this, SLOT(validateConnectButton()));
+// connect(m_localGameButton, SIGNAL(stateChanged(int)), this, SLOT(validateConnectButton()));
// Button for on-line games
// m_onlineGameButton = new QRadioButton(QString(i18n("Select a server to play a game on-line")), bgroup, "m_onlineGameButton");
@@ -59,11 +59,12 @@
connect(m_serverList, SIGNAL(selectionChanged(QListViewItem *)), this, SLOT(validateConnectButton()));
QHBoxLayout *buttonBox = new QHBoxLayout(this, 0, KDialog::spacingHint());
- m_mainLayout->addItem(buttonBox);
+ m_mainLayout->addItem(buttonBox);
buttonBox->addItem(new QSpacerItem(20, 20, QSizePolicy::Expanding, QSizePolicy::Minimum));
- m_refreshButton = new KPushButton( (useMonopigatorOnStart ? BarIcon("reload", KIcon::SizeSmall) : BarIcon("network", KIcon::SizeSmall)), (useMonopigatorOnStart ? i18n("Refresh") : i18n("Server List")), this);
+ m_refreshButton = new KPushButton( KGuiItem(useMonopigatorOnStart ? i18n("Refresh") : i18n("Server List"),
+ useMonopigatorOnStart ? "reload" : "network"), this);
buttonBox->addWidget(m_refreshButton);
connect(m_refreshButton, SIGNAL(clicked()), this, SLOT(slotRefresh()));
@@ -73,7 +74,7 @@
buttonBox->addWidget(m_connectButton);
connect(m_connectButton, SIGNAL(clicked()), this, SLOT(slotConnect()));
-
+
// Status indicator
status_label = new QLabel(this);
m_mainLayout->addWidget(status_label);
@@ -100,9 +101,7 @@
{
// Hardcoded, but there aren't any other Monopigator root servers at the moment
status_label->setText(i18n("Retrieving server list..."));
- m_refreshButton->setText(i18n("Refresh"));
- // FIXME: change pixmap
- // m_refreshButton->setPixmap(BarIcon("reload", KIcon::SizeSmall));
+ m_refreshButton->setGuiItem(KGuiItem(i18n("Refresh"), "reload"));
m_monopigator->loadData("http://gator.monopd.net/");
}
lmpx.com only provides a reader for public news (NNTP) servers. It is not
affiliated with the servers or forums shown here and is not responsible for
the content of articles, which is written by their respective authors.