[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    kdelibs/kdecore
From:       David Faure <faure () kde ! org>
Date:       2005-04-08 12:44:15
Message-ID: 20050408124415.C62FC645 () office ! kde ! org
[Download RAW message or body]

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<PluginClassName>
+ * 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 <david@mandrakesoft.com>
+ * @author David Faure <faure@kde.org>
  */
 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<QDragObject> m_dragObjects;
     QValueList<int> m_numberFormats;


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic