From 64ced13f94a9695148d38a84ee27e421f91e503a Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Mon, 4 Feb 2013 14:16:20 -0600 Subject: Rename KIcon to enhance compatibility with KDE4 --- libtdegames/highscore/kexthighscore_gui.cpp | 2 +- libtdegames/kcarddialog.cpp | 10 +++++----- 2 files changed, 6 insertions(+), 6 deletions(-) (limited to 'libtdegames') 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 -- cgit v1.2.1