diff options
author | Timothy Pearson <[email protected]> | 2013-02-04 14:16:20 -0600 |
---|---|---|
committer | Timothy Pearson <[email protected]> | 2013-02-04 14:16:20 -0600 |
commit | 64ced13f94a9695148d38a84ee27e421f91e503a (patch) | |
tree | 88745a8a2c82382d21a5c268a3170e68c00b3835 /atlantik/client/configdlg.cpp | |
parent | 41ef6ae3bd30baee1f8a40f418bc2d63a8ce5ce6 (diff) | |
download | tdegames-64ced13f94a9695148d38a84ee27e421f91e503a.tar.gz tdegames-64ced13f94a9695148d38a84ee27e421f91e503a.zip |
Rename KIcon to enhance compatibility with KDE4
Diffstat (limited to 'atlantik/client/configdlg.cpp')
-rw-r--r-- | atlantik/client/configdlg.cpp | 14 |
1 files changed, 7 insertions, 7 deletions
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(); |