summaryrefslogtreecommitdiffstats
path: root/kjsembed/builtins
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-01-31 13:27:29 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-01-31 13:27:29 -0600
commit7ef8543bfa4eb291a7e6da1c66eaca751b46ca99 (patch)
tree90d4164a5fe2be6b87876870998219e451c1588e /kjsembed/builtins
parentbe2540d3ed68c7b71995ea5b69c9605f44a158ad (diff)
downloadtdebindings-7ef8543bfa4eb291a7e6da1c66eaca751b46ca99.tar.gz
tdebindings-7ef8543bfa4eb291a7e6da1c66eaca751b46ca99.zip
Rename KStandard for enhanced compatibility with KDE4
Diffstat (limited to 'kjsembed/builtins')
-rw-r--r--kjsembed/builtins/resources.cpp6
-rw-r--r--kjsembed/builtins/resources.h2
2 files changed, 4 insertions, 4 deletions
diff --git a/kjsembed/builtins/resources.cpp b/kjsembed/builtins/resources.cpp
index fb98f1ae..7bf44e1b 100644
--- a/kjsembed/builtins/resources.cpp
+++ b/kjsembed/builtins/resources.cpp
@@ -120,19 +120,19 @@ KJS::Value StdDirsImp::call( KJS::ExecState *exec, KJS::Object &/*self*/, const
{
TQString arg0 = extractTQString(exec, args, 0);
int arg1 = (args.size() > 1) ? args[1].toInteger(exec) : 0755;
- bool isOk = KStandardDirs::makeDir(arg0, arg1);
+ bool isOk = TDEStandardDirs::makeDir(arg0, arg1);
return KJS::Boolean( isOk );
}
case StdDirsImp::exists:
{
TQString arg0 = extractTQString(exec, args, 0);
- bool isOk = KStandardDirs::exists(arg0);
+ bool isOk = TDEStandardDirs::exists(arg0);
return KJS::Boolean( isOk );
}
case StdDirsImp::realPath:
{
TQString arg0 = extractTQString(exec, args, 0);
- TQString path = KStandardDirs::realPath(arg0);
+ TQString path = TDEStandardDirs::realPath(arg0);
return KJS::String( path );
}
case StdDirsImp::currentDirPath:
diff --git a/kjsembed/builtins/resources.h b/kjsembed/builtins/resources.h
index cfd589ce..00bcdeb0 100644
--- a/kjsembed/builtins/resources.h
+++ b/kjsembed/builtins/resources.h
@@ -33,7 +33,7 @@ namespace KJSEmbed {
namespace BuiltIns {
/**
- * KJS binding for KStandardDirs.
+ * KJS binding for TDEStandardDirs.
*
* @author Ian Reinhart Geiser geiseri@kde.org
*/