summaryrefslogtreecommitdiffstats
path: root/libtdegames
diff options
context:
space:
mode:
authorTimothy Pearson <[email protected]>2013-02-04 14:16:20 -0600
committerTimothy Pearson <[email protected]>2013-02-04 14:16:20 -0600
commit64ced13f94a9695148d38a84ee27e421f91e503a (patch)
tree88745a8a2c82382d21a5c268a3170e68c00b3835 /libtdegames
parent41ef6ae3bd30baee1f8a40f418bc2d63a8ce5ce6 (diff)
downloadtdegames-64ced13f94a9695148d38a84ee27e421f91e503a.tar.gz
tdegames-64ced13f94a9695148d38a84ee27e421f91e503a.zip
Rename KIcon to enhance compatibility with KDE4
Diffstat (limited to 'libtdegames')
-rw-r--r--libtdegames/highscore/kexthighscore_gui.cpp2
-rw-r--r--libtdegames/kcarddialog.cpp10
2 files changed, 6 insertions, 6 deletions
diff --git a/libtdegames/highscore/kexthighscore_gui.cpp b/libtdegames/highscore/kexthighscore_gui.cpp
index 19f9c004..d11d10ce 100644
--- a/libtdegames/highscore/kexthighscore_gui.cpp
+++ b/libtdegames/highscore/kexthighscore_gui.cpp
@@ -211,7 +211,7 @@ HighscoresDialog::HighscoresDialog(int rank, TQWidget *parent)
TQString title = internal->manager.gameTypeLabel(i, Manager::I18N);
TQString icon = internal->manager.gameTypeLabel(i, Manager::Icon);
TQWidget *w = addVBoxPage(title, TQString(),
- BarIcon(icon, KIcon::SizeLarge));
+ BarIcon(icon, TDEIcon::SizeLarge));
if ( i==internal->gameType() ) createPage(w);
}
diff --git a/libtdegames/kcarddialog.cpp b/libtdegames/kcarddialog.cpp
index b6967b5b..9434b799 100644
--- a/libtdegames/kcarddialog.cpp
+++ b/libtdegames/kcarddialog.cpp
@@ -87,8 +87,8 @@ public:
TQLabel* deckLabel;
TQLabel* cardLabel;
- KIconView* deckIconView;
- KIconView* cardIconView;
+ TDEIconView* deckIconView;
+ TDEIconView* cardIconView;
TQCheckBox* randomDeck;
TQCheckBox* randomCardDir;
TQCheckBox* globalDeck;
@@ -277,7 +277,7 @@ void KCardDialog::setupDialog(bool showResizeBox)
TQGroupBox* grp1 = new TQGroupBox(1,Qt::Horizontal, i18n("Choose Backside"), plainPage());
layout->addWidget(grp1);
- d->deckIconView = new KIconView(grp1,"decks");
+ d->deckIconView = new TDEIconView(grp1,"decks");
d->deckIconView->setSpacing(8);
/*
deckIconView->setGridX(-1);
@@ -329,7 +329,7 @@ void KCardDialog::setupDialog(bool showResizeBox)
TQGroupBox* grp2 = new TQGroupBox(1,Qt::Horizontal, i18n("Choose Frontside"), plainPage());
layout->addWidget(grp2);
- d->cardIconView =new KIconView(grp2,"cards");
+ d->cardIconView =new TDEIconView(grp2,"cards");
/*
cardIconView->setGridX(36);
cardIconView->setGridY(50);
@@ -416,7 +416,7 @@ void KCardDialog::setupDialog(bool showResizeBox)
// leads to an always resizing dialog which is *very* ugly. i worked around
// this by using a TQWidget which is the only child widget of the group box.
// The other widget are managed inside this TQWidget - a stretch area on the
- // right ensures that the KIconViews are not resized...
+ // right ensures that the TDEIconViews are not resized...
// note that the dialog is still resized if you you scale the pixmap very
// large. This is desired behaviour as i don't want to make the box even