From 949de8193689ca683656ae666fda3e89f115567e Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Thu, 31 Jan 2013 13:27:40 -0600 Subject: Rename KStandard for enhanced compatibility with KDE4 --- kwordquiz/src/kwordquiz.cpp | 2 +- kwordquiz/src/kwqnewstuff.cpp | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'kwordquiz') diff --git a/kwordquiz/src/kwordquiz.cpp b/kwordquiz/src/kwordquiz.cpp index fd4abfcb..8dc0c2ef 100644 --- a/kwordquiz/src/kwordquiz.cpp +++ b/kwordquiz/src/kwordquiz.cpp @@ -1084,7 +1084,7 @@ TQString KWordQuizApp::charIcon(const TQChar & c) TQString s = locateLocal("icon", "char" + TQString::number(c.unicode()) + ".png"); ///No need to redraw if it already exists - if (KStandardDirs::exists(s)) + if (TDEStandardDirs::exists(s)) return s; TQRect r(4, 4, 120, 120); diff --git a/kwordquiz/src/kwqnewstuff.cpp b/kwordquiz/src/kwqnewstuff.cpp index 64d620cd..c2af5aae 100644 --- a/kwordquiz/src/kwqnewstuff.cpp +++ b/kwordquiz/src/kwqnewstuff.cpp @@ -61,7 +61,7 @@ TQString KWQNewStuff::destinationPath(KNS::Entry * entry) else { file = TQDir::home().path() + "/" + path + "/"; - KStandardDirs::makeDir(file); //ensure the directory exists + TDEStandardDirs::makeDir(file); //ensure the directory exists file += fileName; } return file; @@ -75,7 +75,7 @@ TQString KWQNewStuff::downloadDestination(KNS::Entry * entry) { TQString file = destinationPath(entry); - if (KStandardDirs::exists(file)) + if (TDEStandardDirs::exists(file)) { int result = KMessageBox::questionYesNo(parentWidget(), i18n("The file '%1' already exists. Do you want to overwrite it?") -- cgit v1.2.1