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

List:       kde-commits
Subject:    quality/krazy2/plugins/c++
From:       Allen Winter <winter () kde ! org>
Date:       2008-04-08 22:24:20
Message-ID: 1207693460.374658.22160.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 794944 by winterz:

add a check for QImage::depth(), which Fredrik had asked for a long time ago.
add a TODO for checking QString::isNull() one day when we have a real parser.


 M  +4 -1      qmethods  


--- trunk/quality/krazy2/plugins/c++/qmethods #794943:794944
@@ -42,7 +42,7 @@
 use Krazy::PreProcess;
 
 my($Prog) = "qmethods";
-my($Version) = "1.2";
+my($Version) = "1.3";
 
 my($help) = '';
 my($version) = '';
@@ -96,6 +96,9 @@
   &doIt($line,'QWidget::showMinimized','showMinimized\s*\(\s*\)','');
   &doIt($line,'QWidget::showNormal','showNormal\s*\(\s*\)','');
   &doIt($line,'QSystemTrayIcon::showMessage','showMessage\s*\(\s*i18','');
+  &doIt($line,'QImage::depth','depth\s*\(\s*\)/','[Pp]ix|desktop|screen|pd-');
+# when we have a real parser, check for the following as well:
+# QString::isNull (in almost all cases, QString::isEmpty should be used instead)
 }
 
 if (!$cnt) {
[prev in list] [next in list] [prev in thread] [next in thread] 

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