CVS commit by faure: docu fixes M +3 -0 klibloader.h 1.69 M +8 -7 kmultipledrag.h 1.10 --- kdelibs/kdecore/klibloader.h #1.68:1.69 @@ -304,4 +304,7 @@ private: * of your factory. * + * NOTE: you probably want to use KGenericFactory + * instead of writing your own factory. + * * In the constructor of your factory you should create an instance of KInstance * like this: --- kdelibs/kdecore/kmultipledrag.h #1.9:1.10 @@ -42,13 +42,13 @@ class KMultipleDragPrivate; * \code * KMultipleDrag *drag = new KMultipleDrag( parentWidget ); - * drag->addDragObject( new QImageDrag( someQImage, 0L ) ); - * drag->addDragObject( new KURLDrag( someKURL, 0L ) ); + * drag->addDragObject( new QImageDrag( someQImage, 0 ) ); + * drag->addDragObject( new KURLDrag( someKURL, 0 ) ); * drag->drag(); * \endcode * * Note that the drag objects added to the multiple drag become owned by it. - * For that reason their parent should be 0L. + * For that reason their parent should be 0. * - * @author David Faure + * @author David Faure */ class KDECORE_EXPORT KMultipleDrag : public QDragObject @@ -63,5 +63,5 @@ public: * @param name the name of the object, can be 0 */ - KMultipleDrag( QWidget *dragSource = 0L, const char *name = 0L ); + KMultipleDrag( QWidget *dragSource = 0, const char *name = 0 ); /** @@ -90,4 +90,5 @@ protected: virtual const char* format( int i ) const; +// KDE4: make private QPtrList m_dragObjects; QValueList m_numberFormats;