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

List:       kde-commits
Subject:    KDE/kdebase/runtime/drkonqi
From:       Laurent Montel <montel () kde ! org>
Date:       2011-01-06 8:42:48
Message-ID: 20110106084248.7B182AC8B0 () svn ! kde ! org
[Download RAW message or body]

SVN commit 1212220 by mlaurent:

const'ify


 M  +1 -1      bugzillalib.cpp  
 M  +3 -3      bugzillalib.h  


--- trunk/KDE/kdebase/runtime/drkonqi/bugzillalib.cpp #1212219:1212220
@@ -690,7 +690,7 @@
 
 //BEGIN BugzillaCSVParser
 
-BugListCSVParser::BugListCSVParser(QByteArray data)
+BugListCSVParser::BugListCSVParser(const QByteArray& data)
 {
     m_data = data;
     m_isValid = false;
--- trunk/KDE/kdebase/runtime/drkonqi/bugzillalib.h #1212219:1212220
@@ -180,7 +180,7 @@
 
     BugReport parse();
 
-    bool isValid() {
+    bool isValid() const {
         return m_valid;
     }
 
@@ -194,9 +194,9 @@
 class BugListCSVParser
 {
 public:
-    BugListCSVParser(QByteArray);
+    BugListCSVParser(const QByteArray&);
 
-    bool isValid() {
+    bool isValid() const {
         return m_isValid;
     }
 
[prev in list] [next in list] [prev in thread] [next in thread] 

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