summaryrefslogtreecommitdiffstats
path: root/libtdegames
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-01-31 13:28:09 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-01-31 13:28:09 -0600
commit905e326a1d1fc90f1626bcb12e01efa387375827 (patch)
tree5fd1b3ee1d527590ccde087d55d8686529e568d1 /libtdegames
parentac666ecfcc3118940f230481fdb85cbb237402c8 (diff)
downloadtdegames-905e326a1d1fc90f1626bcb12e01efa387375827.tar.gz
tdegames-905e326a1d1fc90f1626bcb12e01efa387375827.zip
Rename KStandard for enhanced compatibility with KDE4
Diffstat (limited to 'libtdegames')
-rw-r--r--libtdegames/kcarddialog.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/libtdegames/kcarddialog.cpp b/libtdegames/kcarddialog.cpp
index f544f308..b6967b5b 100644
--- a/libtdegames/kcarddialog.cpp
+++ b/libtdegames/kcarddialog.cpp
@@ -234,11 +234,11 @@ TQString KCardDialog::getCardPath(const TQString &carddir, int index)
KCardDialog::init();
TQString entry = carddir + TQString::number(index);
- if (KStandardDirs::exists(entry + TQString::fromLatin1(".png")))
+ if (TDEStandardDirs::exists(entry + TQString::fromLatin1(".png")))
return entry + TQString::fromLatin1(".png");
// rather theoretical
- if (KStandardDirs::exists(entry + TQString::fromLatin1(".xpm")))
+ if (TDEStandardDirs::exists(entry + TQString::fromLatin1(".xpm")))
return entry + TQString::fromLatin1(".xpm");
return TQString();
@@ -562,11 +562,11 @@ void KCardDialog::slotCardClicked(TQIconViewItem *item)
TQString KCardDialog::getDeckName(const TQString &desktop)
{
TQString entry = desktop.left(desktop.length() - strlen(".desktop"));
- if (KStandardDirs::exists(entry + TQString::fromLatin1(".png")))
+ if (TDEStandardDirs::exists(entry + TQString::fromLatin1(".png")))
return entry + TQString::fromLatin1(".png");
// rather theoretical
- if (KStandardDirs::exists(entry + TQString::fromLatin1(".xpm")))
+ if (TDEStandardDirs::exists(entry + TQString::fromLatin1(".xpm")))
return entry + TQString::fromLatin1(".xpm");
return TQString();
}
@@ -799,7 +799,7 @@ void KCardDialog::init()
static bool _inited = false;
if (_inited)
return;
- TDEGlobal::dirs()->addResourceType("cards", KStandardDirs::kde_default("data") + TQString::fromLatin1("carddecks/"));
+ TDEGlobal::dirs()->addResourceType("cards", TDEStandardDirs::kde_default("data") + TQString::fromLatin1("carddecks/"));
TDEGlobal::locale()->insertCatalogue("libtdegames");
_inited = true;