summaryrefslogtreecommitdiffstats
path: root/kjsembed/builtins
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-01-24 13:44:04 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-01-24 13:44:04 -0600
commit72a82366e0b94a52125683f3ee3a8ffd3691294b (patch)
tree787ee6497a0bf5e2e730f58d57dcbc9dc5377548 /kjsembed/builtins
parent43e3dc950c8050c2ba850b5707077790870aa734 (diff)
downloadtdebindings-72a82366e0b94a52125683f3ee3a8ffd3691294b.tar.gz
tdebindings-72a82366e0b94a52125683f3ee3a8ffd3691294b.zip
Rename KGlobal, KProcess, and KClipboard to avoid conflicts with KDE4
Diffstat (limited to 'kjsembed/builtins')
-rw-r--r--kjsembed/builtins/resources.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/kjsembed/builtins/resources.cpp b/kjsembed/builtins/resources.cpp
index b7244d84..fb98f1ae 100644
--- a/kjsembed/builtins/resources.cpp
+++ b/kjsembed/builtins/resources.cpp
@@ -78,34 +78,34 @@ KJS::Value StdDirsImp::call( KJS::ExecState *exec, KJS::Object &/*self*/, const
{
TQString arg0 = extractTQString(exec, args, 0);
TQString arg1 = extractTQString(exec, args, 1);
- TQString path = KGlobal::dirs ()->findResource(arg0.latin1(), arg1);
+ TQString path = TDEGlobal::dirs ()->findResource(arg0.latin1(), arg1);
return KJS::String( path );
}
case StdDirsImp::addResourceType:
{
TQString arg0 = extractTQString(exec, args, 0);
TQString arg1 = extractTQString(exec, args, 1);
- bool isOk = KGlobal::dirs ()->addResourceType(arg0.latin1(), arg1);
+ bool isOk = TDEGlobal::dirs ()->addResourceType(arg0.latin1(), arg1);
return KJS::Boolean( isOk );
}
case StdDirsImp::kde_default:
{
TQString arg0 = extractTQString(exec, args, 0);
- TQString path = KGlobal::dirs ()->kde_default(arg0.latin1());
+ TQString path = TDEGlobal::dirs ()->kde_default(arg0.latin1());
return KJS::String( path );
}
case StdDirsImp::addResourceDir:
{
TQString arg0 = extractTQString(exec, args, 0);
TQString arg1 = extractTQString(exec, args, 1);
- bool isOk = KGlobal::dirs ()->addResourceDir(arg0.latin1(), arg1);
+ bool isOk = TDEGlobal::dirs ()->addResourceDir(arg0.latin1(), arg1);
return KJS::Boolean( isOk );
}
case StdDirsImp::findResourceDir:
{
TQString arg0 = extractTQString(exec, args, 0);
TQString arg1 = extractTQString(exec, args, 1);
- TQString path = KGlobal::dirs ()->findResourceDir(arg0.latin1(), arg1);
+ TQString path = TDEGlobal::dirs ()->findResourceDir(arg0.latin1(), arg1);
return KJS::String( path );
}
case StdDirsImp::saveLocation:
@@ -113,7 +113,7 @@ KJS::Value StdDirsImp::call( KJS::ExecState *exec, KJS::Object &/*self*/, const
TQString arg0 = extractTQString(exec, args, 0);
TQString arg1 = extractTQString(exec, args, 1);
bool arg2 = (args.size() > 2) ? args[2].toBoolean(exec) : true;
- TQString path = KGlobal::dirs ()->saveLocation(arg0.latin1(), arg1, arg2);
+ TQString path = TDEGlobal::dirs ()->saveLocation(arg0.latin1(), arg1, arg2);
return KJS::String( path );
}
case StdDirsImp::makeDir: