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

List:       kde-commits
Subject:    KDE/kdepimlibs/ktnef
From:       Allen Winter <winter () kde ! org>
Date:       2009-02-15 16:02:57
Message-ID: 1234713777.227246.4767.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 926525 by winterz:

QLatin1String-ification


 M  +6 -6      formatter.cpp  


--- trunk/KDE/kdepimlibs/ktnef/formatter.cpp #926524:926525
@@ -217,21 +217,21 @@
       bool bCompatMethodAccepted = false;
       bool bCompatMethodAcceptedCond = false;
       bool bCompatMethodDeclined = false;
-      if ( msgClass.startsWith( "IPM.MICROSOFT SCHEDULE." ) ) {
+      if ( msgClass.startsWith( QLatin1String( "IPM.MICROSOFT SCHEDULE." ) ) ) {
         bCompatClassAppointment = true;
-        if ( msgClass.endsWith( ".MTGREQ" ) ) {
+        if ( msgClass.endsWith( QLatin1String( ".MTGREQ" ) ) ) {
           bCompatMethodRequest = true;
         }
-        if ( msgClass.endsWith( ".MTGCNCL" ) ) {
+        if ( msgClass.endsWith( QLatin1String( ".MTGCNCL" ) ) ) {
           bCompatMethodCancled = true;
         }
-        if ( msgClass.endsWith( ".MTGRESPP" ) ) {
+        if ( msgClass.endsWith( QLatin1String( ".MTGRESPP" ) ) ) {
           bCompatMethodAccepted = true;
         }
-        if ( msgClass.endsWith( ".MTGRESPA" ) ) {
+        if ( msgClass.endsWith( QLatin1String( ".MTGRESPA" ) ) ) {
           bCompatMethodAcceptedCond = true;
         }
-        if ( msgClass.endsWith( ".MTGRESPN" ) ) {
+        if ( msgClass.endsWith( QLatin1String( ".MTGRESPN" ) ) ) {
           bCompatMethodDeclined = true;
         }
       }
[prev in list] [next in list] [prev in thread] [next in thread] 

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