diff options
author | François Andriot <albator78@libertysurf.fr> | 2013-12-28 20:29:52 +0100 |
---|---|---|
committer | François Andriot <albator78@libertysurf.fr> | 2013-12-28 20:29:52 +0100 |
commit | 4a3e6e0caf179b6ba22f5fb76a6208f3e84ceade (patch) | |
tree | cac0d48146738d2991bbeadbd50ecd956bdb31ff /redhat/libraries/pytdeextensions/pytdeextensions-14.0.0-tqt.patch | |
parent | 173aeaded0e4e6ca4dee09ed401e3c483fd2ff7d (diff) | |
parent | c55ee4f291ee28be12e57a83d59b050f3952258b (diff) | |
download | tde-packaging-4a3e6e0caf179b6ba22f5fb76a6208f3e84ceade.tar.gz tde-packaging-4a3e6e0caf179b6ba22f5fb76a6208f3e84ceade.zip |
RPM Packaging: updates for R14
Diffstat (limited to 'redhat/libraries/pytdeextensions/pytdeextensions-14.0.0-tqt.patch')
-rw-r--r-- | redhat/libraries/pytdeextensions/pytdeextensions-14.0.0-tqt.patch | 58 |
1 files changed, 58 insertions, 0 deletions
diff --git a/redhat/libraries/pytdeextensions/pytdeextensions-14.0.0-tqt.patch b/redhat/libraries/pytdeextensions/pytdeextensions-14.0.0-tqt.patch new file mode 100644 index 000000000..7b004d8c5 --- /dev/null +++ b/redhat/libraries/pytdeextensions/pytdeextensions-14.0.0-tqt.patch @@ -0,0 +1,58 @@ +--- pytdeextensions/src/kdedistutils.py.ORI 2013-12-28 14:50:50.209401866 +0100 ++++ pytdeextensions/src/kdedistutils.py 2013-12-28 15:36:18.381316251 +0100 +@@ -892,7 +892,7 @@ + return NULL; + } + +-static TDECModule* return_instance( QWidget *parent, const char *name ) { ++static TDECModule* return_instance( TQWidget *parent, const char *name ) { + TDECModule* tdecmodule; + PyObject *pyTDECModuleTuple; + PyObject *pyTDECModule; +@@ -901,7 +901,7 @@ + + // Try to determine what py script we're loading. Note that "name" + // typically appears to be NULL. +- QString script(MODULE_NAME); ++ TQString script(MODULE_NAME); + + // Reload libpython, but this time tell the runtime linker to make the + // symbols global and available for later loaded libraries/module. +@@ -914,8 +914,8 @@ + } + + // Add the path to the python script to the interpreter search path. +- QString path = QString(MODULE_DIR); +- if(path == QString::null) { ++ TQString path = TQString(MODULE_DIR); ++ if(path == TQString::null) { + return report_error ("***Failed to locate script path"); + } + if(!pyize->appendToSysPath (path.latin1 ())) { +@@ -930,14 +930,14 @@ + } + + // Inject a helper function +- QString bridge = QString("import sip\n" ++ TQString bridge = TQString("import sip\n" + "import qt\n" + "def kcontrol_bridge_" FACTORY "(parent,name):\n" + " if parent!=0:\n" + #if SIP_VERSION >= 0x040200 +- " wparent = sip.wrapinstance(parent,qt.QWidget)\n" ++ " wparent = sip.wrapinstance(parent,qt.TQWidget)\n" + #else +- " wparent = sip.wrapinstance(parent,'QWidget')\n" ++ " wparent = sip.wrapinstance(parent,'TQWidget')\n" + #endif + " else:\n" + " wparent = None\n" +@@ -997,7 +997,7 @@ + + extern "C" { + // Factory function that kcontrol will call. +- TDECModule* CPP_FACTORY(QWidget *parent, const char *name) { ++ TDECModule* CPP_FACTORY(TQWidget *parent, const char *name) { + return return_instance(parent, name); + } + } |