summaryrefslogtreecommitdiffstats
path: root/atlantik
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-02-04 14:16:20 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-02-04 14:16:20 -0600
commit64ced13f94a9695148d38a84ee27e421f91e503a (patch)
tree88745a8a2c82382d21a5c268a3170e68c00b3835 /atlantik
parent41ef6ae3bd30baee1f8a40f418bc2d63a8ce5ce6 (diff)
downloadtdegames-64ced13f94a9695148d38a84ee27e421f91e503a.tar.gz
tdegames-64ced13f94a9695148d38a84ee27e421f91e503a.zip
Rename KIcon to enhance compatibility with KDE4
Diffstat (limited to 'atlantik')
-rw-r--r--atlantik/ChangeLog4
-rw-r--r--atlantik/client/configdlg.cpp14
-rw-r--r--atlantik/client/eventlogwidget.cpp2
-rw-r--r--atlantik/client/selectserver_widget.cpp4
-rw-r--r--atlantik/libatlantikui/trade_widget.cpp4
5 files changed, 14 insertions, 14 deletions
diff --git a/atlantik/ChangeLog b/atlantik/ChangeLog
index 6b84a3a9..7a074484 100644
--- a/atlantik/ChangeLog
+++ b/atlantik/ChangeLog
@@ -2,7 +2,7 @@
-----
- Show mortgage and house prices/values on estate views.
-- Make token image a saved configuration setting, use KIconDialog.
+- Make token image a saved configuration setting, use TDEIconDialog.
- Avoid scrollbar by using KWrappedListViewItem.
0.7.2 (KDE 3.3.2)
@@ -188,7 +188,7 @@
2002-02-13 (kaper)
----------
-- Nicer button layouts (QSpacerItems, KIcon::SizeSmall, margin/spacingHints)
+- Nicer button layouts (QSpacerItems, TDEIcon::SizeSmall, margin/spacingHints)
2002-02-11 (kaper)
----------
diff --git a/atlantik/client/configdlg.cpp b/atlantik/client/configdlg.cpp
index 380f9831..9703f676 100644
--- a/atlantik/client/configdlg.cpp
+++ b/atlantik/client/configdlg.cpp
@@ -43,10 +43,10 @@
ConfigDialog::ConfigDialog(Atlantik* parent, const char *name) : KDialogBase(IconList, i18n("Configure Atlantik"), Ok|Cancel, Ok, parent, "config_atlantik", false, name)
{
m_parent = parent;
- p_general = addPage(i18n("General"), i18n("General"), BarIcon("configure", KIcon::SizeMedium));
- p_p13n = addPage(i18n("Personalization"), i18n("Personalization"), BarIcon("personal", KIcon::SizeMedium));
- p_board = addPage(i18n("Board"), i18n("Board"), BarIcon("monop_board", KIcon::SizeMedium));
- p_monopigator = addPage(i18n("Meta Server"), i18n("Meta Server"), BarIcon("network", KIcon::SizeMedium));
+ p_general = addPage(i18n("General"), i18n("General"), BarIcon("configure", TDEIcon::SizeMedium));
+ p_p13n = addPage(i18n("Personalization"), i18n("Personalization"), BarIcon("personal", TDEIcon::SizeMedium));
+ p_board = addPage(i18n("Board"), i18n("Board"), BarIcon("monop_board", TDEIcon::SizeMedium));
+ p_monopigator = addPage(i18n("Meta Server"), i18n("Meta Server"), BarIcon("network", TDEIcon::SizeMedium));
configGeneral = new ConfigGeneral(this, p_general, "configGeneral");
configPlayer = new ConfigPlayer(this, p_p13n, "configPlayer");
@@ -146,15 +146,15 @@ TQString ConfigPlayer::playerImage()
}
void ConfigPlayer::chooseImage()
{
- KIconDialog iconDialog( this, "iconDialog" );
+ TDEIconDialog iconDialog( this, "iconDialog" );
#ifdef KDE_3_1_FEATURES
iconDialog.setCustomLocation( locate("appdata", "themes/default/tokens/") );
#endif
#ifdef KDE_3_3_FEATURES
- iconDialog.setup( KIcon::Desktop, KIcon::Application, false, 0, true, true, true ); // begin with user icons, lock editing
+ iconDialog.setup( TDEIcon::Desktop, TDEIcon::Application, false, 0, true, true, true ); // begin with user icons, lock editing
#else
- iconDialog.setup( KIcon::Desktop, KIcon::Application, false, 0, true ); // begin with user icons
+ iconDialog.setup( TDEIcon::Desktop, TDEIcon::Application, false, 0, true ); // begin with user icons
#endif
TQString image = iconDialog.openDialog();
diff --git a/atlantik/client/eventlogwidget.cpp b/atlantik/client/eventlogwidget.cpp
index 43733a7b..ae9e7f94 100644
--- a/atlantik/client/eventlogwidget.cpp
+++ b/atlantik/client/eventlogwidget.cpp
@@ -72,7 +72,7 @@ EventLogWidget::EventLogWidget(EventLog *eventLog, TQWidget *parent, const char
actionBox->addItem(new TQSpacerItem(20, 20, TQSizePolicy::Expanding, TQSizePolicy::Minimum));
- m_saveButton = new KPushButton(BarIcon("filesave", KIcon::SizeSmall), i18n("&Save As..."), this);
+ m_saveButton = new KPushButton(BarIcon("filesave", TDEIcon::SizeSmall), i18n("&Save As..."), this);
actionBox->addWidget(m_saveButton);
connect(m_saveButton, TQT_SIGNAL(clicked()), this, TQT_SLOT(save()));
diff --git a/atlantik/client/selectserver_widget.cpp b/atlantik/client/selectserver_widget.cpp
index 7c2fe488..def6beaf 100644
--- a/atlantik/client/selectserver_widget.cpp
+++ b/atlantik/client/selectserver_widget.cpp
@@ -82,7 +82,7 @@ SelectServer::SelectServer(bool useMonopigatorOnStart, bool hideDevelopmentServe
connect(m_refreshButton, TQT_SIGNAL(clicked()), this, TQT_SLOT(slotRefresh()));
// Connect
- m_connectButton = new KPushButton(BarIconSet("forward", KIcon::SizeSmall), i18n("Connect"), this);
+ m_connectButton = new KPushButton(BarIconSet("forward", TDEIcon::SizeSmall), i18n("Connect"), this);
m_connectButton->setEnabled(false);
buttonBox->addWidget(m_connectButton);
@@ -122,7 +122,7 @@ void SelectServer::initMonopigator()
void SelectServer::slotMonopigatorAdd(TQString ip, TQString host, TQString port, TQString version, int users)
{
MonopigatorEntry *item = new MonopigatorEntry(m_serverList, host, TQString::number(9999), version, (users == -1) ? i18n("unknown") : TQString::number(users), port, ip);
- item->setPixmap(0, BarIcon("atlantik", KIcon::SizeSmall));
+ item->setPixmap(0, BarIcon("atlantik", TDEIcon::SizeSmall));
if ( item->isDev() )
{
diff --git a/atlantik/libatlantikui/trade_widget.cpp b/atlantik/libatlantikui/trade_widget.cpp
index f6bd126c..deb56f30 100644
--- a/atlantik/libatlantikui/trade_widget.cpp
+++ b/atlantik/libatlantikui/trade_widget.cpp
@@ -130,12 +130,12 @@ TradeDisplay::TradeDisplay(Trade *trade, AtlanticCore *atlanticCore, TQWidget *p
actionBox->addItem(new TQSpacerItem(20, 20, TQSizePolicy::Expanding, TQSizePolicy::Minimum));
- m_rejectButton = new KPushButton(BarIcon("cancel", KIcon::SizeSmall), i18n("Reject"), this);
+ m_rejectButton = new KPushButton(BarIcon("cancel", TDEIcon::SizeSmall), i18n("Reject"), this);
actionBox->addWidget(m_rejectButton);
connect(m_rejectButton, TQT_SIGNAL(clicked()), this, TQT_SLOT(reject()));
- m_acceptButton = new KPushButton(BarIcon("ok", KIcon::SizeSmall), i18n("Accept"), this);
+ m_acceptButton = new KPushButton(BarIcon("ok", TDEIcon::SizeSmall), i18n("Accept"), this);
// m_acceptButton->setEnabled(false);
actionBox->addWidget(m_acceptButton);