diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-06-25 05:28:35 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-06-25 05:28:35 +0000 |
commit | f008adb5a77e094eaf6abf3fc0f36958e66896a5 (patch) | |
tree | 8e9244c4d4957c36be81e15b566b4aa5ea26c982 /kivio/kiviopart/stencils/Flowcharting/BasicFlowcharting/PyStencil.spy | |
parent | 1210f27b660efb7b37ff43ec68763e85a403471f (diff) | |
download | koffice-f008adb5a77e094eaf6abf3fc0f36958e66896a5.tar.gz koffice-f008adb5a77e094eaf6abf3fc0f36958e66896a5.zip |
TQt4 port koffice
This should enable compilation under both Qt3 and Qt4; fixes for any missed components will be forthcoming
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/koffice@1238284 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kivio/kiviopart/stencils/Flowcharting/BasicFlowcharting/PyStencil.spy')
-rw-r--r-- | kivio/kiviopart/stencils/Flowcharting/BasicFlowcharting/PyStencil.spy | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/kivio/kiviopart/stencils/Flowcharting/BasicFlowcharting/PyStencil.spy b/kivio/kiviopart/stencils/Flowcharting/BasicFlowcharting/PyStencil.spy index fc01b542..aa11f970 100644 --- a/kivio/kiviopart/stencils/Flowcharting/BasicFlowcharting/PyStencil.spy +++ b/kivio/kiviopart/stencils/Flowcharting/BasicFlowcharting/PyStencil.spy @@ -4,7 +4,7 @@ <Author data="Dmitry Poplavsky"/> <Title data="Python"/> <Id data="Python"/> - <Description data="Basic flowcharting card shape"/> + <Description data="Basic flowcharting card tqshape"/> <Version data="0.1"/> <Web data="www.thekompany.com"/> <Email data="dima@kde.org"/> @@ -40,7 +40,7 @@ connector_targets = [ { "x":x+2, "y":y-2 }, ] -shapes = { +tqshapes = { "rect" :{ "type" : "Rectangle", "fillstyle" : "solid", @@ -96,12 +96,12 @@ connector_targets = [ { "x":x+2, "y":y-2 }, { "x":(x+x2)/2, "y":y } ] -shapes["rect2"]["x"] = x+w-35 -shapes["rect2"]["y"] = y+h-35 -shapes["rect2"]["w"] = 20 -shapes["rect2"]["h"] = 20 +tqshapes["rect2"]["x"] = x+w-35 +tqshapes["rect2"]["y"] = y+h-35 +tqshapes["rect2"]["w"] = 20 +tqshapes["rect2"]["h"] = 20 -if ( shapes["text"]["text"] == "1" ): +if ( tqshapes["text"]["text"] == "1" ): stencil = curLayer().firstStencil() stencil.setText( "x:"+str(x)+" y:"+str(y) ) |