summaryrefslogtreecommitdiffstats
path: root/src/qtdesigner.py
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-03-01 18:16:46 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-03-01 18:16:46 +0000
commita7af74e75730559f7f9661e449eb269e356d9907 (patch)
tree72026b40b3a513aa21d630fb09ae10edab7f9e18 /src/qtdesigner.py
downloadpytdeextensions-a7af74e75730559f7f9661e449eb269e356d9907.tar.gz
pytdeextensions-a7af74e75730559f7f9661e449eb269e356d9907.zip
Added KDE3 version of pykdeextensions
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/libraries/pykdeextensions@1097589 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'src/qtdesigner.py')
-rw-r--r--src/qtdesigner.py26
1 files changed, 26 insertions, 0 deletions
diff --git a/src/qtdesigner.py b/src/qtdesigner.py
new file mode 100644
index 0000000..3a7b55a
--- /dev/null
+++ b/src/qtdesigner.py
@@ -0,0 +1,26 @@
+#!/usr/bin/python
+###########################################################################
+# qtdesigner - description #
+# ------------------------------ #
+# begin : Thu Apr 21 2005 #
+# copyright : (C) 2005 by Simon Edwards #
+# email : [email protected] #
+# #
+###########################################################################
+# #
+# This program is free software; you can redistribute it and/or modify #
+# it under the terms of the GNU Library General Public License as #
+# published by the Free Software Foundation; either version 2 of the #
+# License, or (at your option) any later version. #
+# #
+###########################################################################
+
+import __builtin__
+import qtuicompiler
+
+python_import = __builtin__.__import__
+def load(*args):
+ qtuicompiler.DynamicImport(args,False)
+ return apply(python_import,args)
+
+__builtin__.__import__ = load