diff options
Diffstat (limited to 'libtdegames')
-rw-r--r-- | libtdegames/kcarddialog.cpp | 10 |
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; |