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

List:       kde-commits
Subject:    kdelibs/kutils
From:       Benjamin Meyer <benjamin () csh ! rit ! edu>
Date:       2005-02-01 0:49:52
Message-ID: 20050201004952.29CFC1D1FB () office ! kde ! org
[Download RAW message or body]

CVS commit by bmeyer: 

Add empty constructor so the class can be used in QValueList and other
templates classes that requires a () constructor


  M +6 -0      kcmoduleinfo.cpp   1.63
  M +7 -0      kcmoduleinfo.h   1.38


--- kdelibs/kutils/kcmoduleinfo.cpp  #1.62:1.63
@@ -46,4 +46,10 @@ class KCModuleInfo::KCModuleInfoPrivate
 };
 
+KCModuleInfo::KCModuleInfo()
+{
+  _allLoaded = false;
+  d = new KCModuleInfoPrivate;
+}
+
 KCModuleInfo::KCModuleInfo(const QString& desktopFile)
 {

--- kdelibs/kutils/kcmoduleinfo.h  #1.37:1.38
@@ -78,4 +78,11 @@ public:
 
   /**
+   * Same as above but creates an empty KCModuleInfo.
+   * You should not normally call this.
+   * @sinse 3.4
+   */
+  KCModuleInfo();
+
+  /**
    * Assignment operator
    */


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

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