From a7af74e75730559f7f9661e449eb269e356d9907 Mon Sep 17 00:00:00 2001 From: tpearson Date: Mon, 1 Mar 2010 18:16:46 +0000 Subject: Added KDE3 version of pykdeextensions git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/libraries/pykdeextensions@1097589 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- src/qtdesigner.py | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 src/qtdesigner.py (limited to 'src/qtdesigner.py') 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 : simon@simonzone.com # +# # +########################################################################### +# # +# 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 -- cgit v1.2.1