From a374efce3a207b39514be3c52264091400ce297e Mon Sep 17 00:00:00 2001 From: tpearson Date: Sat, 11 Jun 2011 04:44:41 +0000 Subject: 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 --- kig/pykig/pykig.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'kig/pykig/pykig.py') 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"): -- cgit v1.2.1