summaryrefslogtreecommitdiffstats
path: root/kwordquiz/src
diff options
context:
space:
mode:
authorTimothy Pearson <[email protected]>2013-01-31 13:27:40 -0600
committerTimothy Pearson <[email protected]>2013-01-31 13:27:40 -0600
commit949de8193689ca683656ae666fda3e89f115567e (patch)
treee4bb1b7141470b44afcc9d826aa75548faa52e47 /kwordquiz/src
parent9a22ee8ba6a3a310bab85ea82c8d9d68293b82c0 (diff)
downloadtdeedu-949de8193689ca683656ae666fda3e89f115567e.tar.gz
tdeedu-949de8193689ca683656ae666fda3e89f115567e.zip
Rename KStandard for enhanced compatibility with KDE4
Diffstat (limited to 'kwordquiz/src')
-rw-r--r--kwordquiz/src/kwordquiz.cpp2
-rw-r--r--kwordquiz/src/kwqnewstuff.cpp4
2 files changed, 3 insertions, 3 deletions
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?")