diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-06-11 04:44:41 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-06-11 04:44:41 +0000 |
commit | a374efce3a207b39514be3c52264091400ce297e (patch) | |
tree | 77bdf654b55826d4f59b53a5621310206bcaead1 /kig/pykig/pykig.py | |
parent | f81a494f3957d5cf38c787973415597941934727 (diff) | |
download | tdeedu-a374efce3a207b39514be3c52264091400ce297e.tar.gz tdeedu-a374efce3a207b39514be3c52264091400ce297e.zip |
TQt4 port kdeedu
This enables compilation under both Qt3 and Qt4
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdeedu@1236073 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kig/pykig/pykig.py')
-rwxr-xr-x | kig/pykig/pykig.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/kig/pykig/pykig.py b/kig/pykig/pykig.py index 106c8a0c..3e2a5cdf 100755 --- a/kig/pykig/pykig.py +++ b/kig/pykig/pykig.py @@ -457,9 +457,9 @@ class Property(PropObj): genealogia: Property <- PropObj <- KigDOP <- object """ - def __init__(self, type, parent, shown, name, internal, + def __init__(self, type, tqparent, shown, name, internal, width, pointstyle, linestyle, color): - PropObj.__init__(self, True, type, (parent,), shown, name, internal, + PropObj.__init__(self, True, type, (tqparent,), shown, name, internal, width, pointstyle, linestyle, color) # print shown @@ -491,7 +491,7 @@ data=(\ def convstr(s): for o, n in DICT: - s=s.replace(o, n) + s=s.tqreplace(o, n) return s def databuild(nomeclasse, nomekig, v="val"): |