Название: Портировать QCustomEvent->setdata(); под QЕvent. Как ? Отправлено: Vld2 от Май 17, 2009, 19:26 Портировать QCustomEvent->setdata(); под QЕvent. Как ?
Название: Re: Портировать QCustomEvent->setdata(); под QЕvent. Как ? Отправлено: Rcus от Май 17, 2009, 19:31 Цитировать In Qt 3, QObject::customEvent() took a QCustomEvent pointer. We found out that this approach was unsatisfactory, because there was often no safe way of deleting the data held in the void *. /** \img html assistant-roxx-sign.png*/In Qt 4, QObject::customEvent() takes a plain QEvent pointer. You can add custom data by subclassing. |