##// END OF EJS Templates
- putting classes without given package into "PythonQt.private" instead of into PythonQt directly....
florianlink -
r101:8db7241036da
parent child
Show More
@@ -1146,7 +1146,7 void PythonQtPrivate::registerCPPClass(const char* typeName, const char* parentT
1146 PyObject* PythonQtPrivate::packageByName(const char* name)
1146 PyObject* PythonQtPrivate::packageByName(const char* name)
1147 {
1147 {
1148 if (name==NULL || name[0]==0) {
1148 if (name==NULL || name[0]==0) {
1149 return _pythonQtModule;
1149 name = "private";
1150 }
1150 }
1151 PyObject* v = _packages.value(name);
1151 PyObject* v = _packages.value(name);
1152 if (!v) {
1152 if (!v) {
@@ -479,6 +479,9 public:
479 //! called by virtual overloads when a python return value can not be converted to the required Qt type
479 //! called by virtual overloads when a python return value can not be converted to the required Qt type
480 void handleVirtualOverloadReturnError(const char* signature, const PythonQtMethodInfo* methodInfo, PyObject* result);
480 void handleVirtualOverloadReturnError(const char* signature, const PythonQtMethodInfo* methodInfo, PyObject* result);
481
481
482 //! get access to the PythonQt module
483 PythonQtObjectPtr pythonQtModule() const { return _pythonQtModule; }
484
482 private:
485 private:
483 //! Setup the shared library suffixes by getting them from the "imp" module.
486 //! Setup the shared library suffixes by getting them from the "imp" module.
484 void setupSharedLibrarySuffixes();
487 void setupSharedLibrarySuffixes();
General Comments 0
You need to be logged in to leave comments. Login now