summaryrefslogtreecommitdiffstats
path: root/kommander/examples/current/editor-poc.kmdr
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-01-26 13:18:40 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-01-26 13:18:40 -0600
commit82072ef281de2d5948a42fb69ae800d47e0800be (patch)
treebe82dd63affaf693c5e0857c997fa9589d344cc2 /kommander/examples/current/editor-poc.kmdr
parent93ec82602aa008218cc1ee075ff13d65b3a317ea (diff)
downloadtdewebdev-82072ef281de2d5948a42fb69ae800d47e0800be.tar.gz
tdewebdev-82072ef281de2d5948a42fb69ae800d47e0800be.zip
Rename a number of libraries and executables to avoid conflicts with KDE4
Diffstat (limited to 'kommander/examples/current/editor-poc.kmdr')
-rwxr-xr-xkommander/examples/current/editor-poc.kmdr14
1 files changed, 7 insertions, 7 deletions
diff --git a/kommander/examples/current/editor-poc.kmdr b/kommander/examples/current/editor-poc.kmdr
index 12cfe3c2..7e9c9b03 100755
--- a/kommander/examples/current/editor-poc.kmdr
+++ b/kommander/examples/current/editor-poc.kmdr
@@ -181,8 +181,8 @@ while chrs &lt; maxc do
inlink = true
lb = str_toint(str_find(a, "\"", ch)+1)
le = str_toint(str_find(a, "\"", lb))
- linkscript = str_mid(a, lb, le-lb)
- //debug("link data - "+lb+" "+le+" "+linkscript)
+ lintdescript = str_mid(a, lb, le-lb)
+ //debug("link data - "+lb+" "+le+" "+lintdescript)
elseif str_mid(a, ch, 3) == "&lt;p&gt;" then
lc = lc + 1
cc = 0
@@ -199,11 +199,11 @@ while chrs &lt; maxc do
if inlink == true then
//debug("examining link at row"+lc+" between col "+cp+" and col "+cc)
if (Self.Item(0) == lc &amp;&amp;Self.Item(1) &gt;= cp &amp;&amp; Self.Item(1) &lt;= cc) then
- debug("call "+linkscript)
- if widgetExists(linkscript) then
- linkscript.execute(Self.Item(0),Self.Item(1))
- elseif str_left(linkscript, 4) == "http" then
- exec("konqueror --profile webbrowsing "+linkscript)
+ debug("call "+lintdescript)
+ if widgetExists(lintdescript) then
+ lintdescript.execute(Self.Item(0),Self.Item(1))
+ elseif str_left(lintdescript, 4) == "http" then
+ exec("konqueror --profile webbrowsing "+lintdescript)
endif
break
endif