Fix spelling

Change-Id: If3d5e09b2553d95caacd3e61a1bb108f1172111f
Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@digia.com>
This commit is contained in:
Olivier Goffart 2013-03-04 15:22:47 +01:00 committed by The Qt Project
parent bc741b867c
commit f9497b1a54
2 changed files with 4 additions and 4 deletions

View File

@ -4194,7 +4194,7 @@ void qDeleteInEventHandler(QObject *o)
connecting to a static function or a functor connecting to a static function or a functor
\a slot a pointer only used when using Qt::UniqueConnection \a slot a pointer only used when using Qt::UniqueConnection
\a type the Qt::ConnctionType passed as argument to connect \a type the Qt::ConnctionType passed as argument to connect
\a types an array of integer with the metatype id of the parametter of the signal \a types an array of integer with the metatype id of the parameter of the signal
to be used with queued connection to be used with queued connection
must stay valid at least for the whole time of the connection, this function must stay valid at least for the whole time of the connection, this function
do not take ownership. typically static data. do not take ownership. typically static data.
@ -4209,7 +4209,7 @@ QMetaObject::Connection QObject::connectImpl(const QObject *sender, void **signa
const int *types, const QMetaObject *senderMetaObject) const int *types, const QMetaObject *senderMetaObject)
{ {
if (!sender || !signal || !slotObj || !senderMetaObject) { if (!sender || !signal || !slotObj || !senderMetaObject) {
qWarning("QObject::connect: invalid null parametter"); qWarning("QObject::connect: invalid null parameter");
if (slotObj) if (slotObj)
slotObj->destroyIfLastRef(); slotObj->destroyIfLastRef();
return QMetaObject::Connection(); return QMetaObject::Connection();

View File

@ -59,7 +59,7 @@ namespace QtPrivate {
/* /*
The following List classes are used to help to handle the list of arguments. The following List classes are used to help to handle the list of arguments.
It follow the same principles as the lisp lists. It follow the same principles as the lisp lists.
List_Left<L,N> take a list and a number as a parametter and returns (via the Value typedef, List_Left<L,N> take a list and a number as a parameter and returns (via the Value typedef,
the list composed of the first N element of the list the list composed of the first N element of the list
*/ */
#ifndef Q_COMPILER_VARIADIC_TEMPLATES #ifndef Q_COMPILER_VARIADIC_TEMPLATES
@ -113,7 +113,7 @@ namespace QtPrivate {
- ArgumentCount is the number of argument, or -1 if it is unknown - ArgumentCount is the number of argument, or -1 if it is unknown
- the Object typedef is the Object of a pointer to member function - the Object typedef is the Object of a pointer to member function
- the Arguments typedef is the list of argument (in a QtPrivate::List) - the Arguments typedef is the list of argument (in a QtPrivate::List)
- the Function typedef is an alias to the template parametter Func - the Function typedef is an alias to the template parameter Func
- the call<Args, R>(f,o,args) method is used to call that slot - the call<Args, R>(f,o,args) method is used to call that slot
Args is the list of argument of the signal Args is the list of argument of the signal
R is the return type of the signal R is the return type of the signal