various minor changes:

+ whitespace improvement
+ code cleanup
This commit is contained in:
wmayer
2017-11-21 17:51:22 +01:00
parent 952a4a781f
commit 4d63e9a4c4
20 changed files with 86 additions and 126 deletions

View File

@@ -58,7 +58,7 @@
# undef _POSIX_C_SOURCE
# undef _XOPEN_SOURCE
# include <basewrapper.h>
# include <conversions.h>
# include <sbkconverter.h>
# include <sbkmodule.h>
# include <typeresolver.h>
# include <shiboken.h>
@@ -75,7 +75,7 @@ PyTypeObject** SbkPySide_QtGuiTypes=NULL;
# undef _POSIX_C_SOURCE
# undef _XOPEN_SOURCE
# include <basewrapper.h>
# include <conversions.h>
# include <sbkconverter.h>
# include <sbkmodule.h>
# include <typeresolver.h>
# include <shiboken.h>
@@ -1254,8 +1254,8 @@ void PyResource::load(const char* name)
/**
* Makes a connection between the sender widget \a sender and its signal \a signal
* of the created resource and Python callback function \a cb.
* If the sender widget does not exist or no resource has been loaded this method returns FALSE,
* otherwise it returns TRUE.
* If the sender widget does not exist or no resource has been loaded this method returns false,
* otherwise it returns true.
*/
bool PyResource::connect(const char* sender, const char* signal, PyObject* cb)
{