Home · All Classes · All Functions · Overviews |
The following class members are part of the Qt 3 support layer. They are provided to help you port old code to Qt 4. We advise against using them in new code.
QSocketNotifier ( int socket, Type type, QObject * parent, const char * name ) |
Use the QSocketNotifier() constructor combined with the QObject::setObjectName() function instead.
For example, if you have code like
QSocketNotifier *notifier = new QSocketNotifier(socket, type, parent, name);
you can rewrite it as
QSocketNotifier *notifier = new QSocketNotifier(socket, type, parent); notifier->setObjectName(name);
Copyright © 2009 Nokia Corporation and/or its subsidiary(-ies) | Trademarks | Qt 4.6.0 |