diff options
author | Timothy Pearson <[email protected]> | 2013-01-26 13:18:40 -0600 |
---|---|---|
committer | Timothy Pearson <[email protected]> | 2013-01-26 13:18:40 -0600 |
commit | 82072ef281de2d5948a42fb69ae800d47e0800be (patch) | |
tree | be82dd63affaf693c5e0857c997fa9589d344cc2 /kommander/examples/current/editor-poc.kmdr | |
parent | 93ec82602aa008218cc1ee075ff13d65b3a317ea (diff) | |
download | tdewebdev-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-x | kommander/examples/current/editor-poc.kmdr | 14 |
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 < 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) == "<p>" then lc = lc + 1 cc = 0 @@ -199,11 +199,11 @@ while chrs < maxc do if inlink == true then //debug("examining link at row"+lc+" between col "+cp+" and col "+cc) if (Self.Item(0) == lc &&Self.Item(1) >= cp && Self.Item(1) <= 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 |