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

List:       kde-commits
Subject:    kdeextragear-2/konversation/konversation
From:       İsmail Dönmez <ismail () kde ! org ! tr>
Date:       2005-04-27 19:03:36
Message-ID: 20050427190336.8E5B7630 () office ! kde ! org
[Download RAW message or body]

CVS commit by cartman: 

argonel is right. Move static initialization to common.cpp


  M +4 -0      common.cpp   1.54
  M +0 -5      common.h   1.11


--- kdeextragear-2/konversation/konversation/common.h  #1.10:1.11
@@ -19,5 +19,4 @@ class QBitmap;
 class QPixmap;
 
-#include <qregexp.h>
 #include "guess_ja.h"
 
@@ -30,8 +29,4 @@ namespace Konversation
   bool isUtf8(const QCString& text);
   JapaneseCode::Type guess_ja(const char* text, int length);
-
-  static QRegExp colorRegExp("((\003([0-9]|0[0-9]|1[0-5])(,([0-9]|0[0-9]|1[0-5])|)|\017)|\x02|\x09|\x13|\x16|\x1f)");
                
-  static QRegExp urlPattern("((www\\.(?!\\.)|(fish|(f|ht)tp(|s))://)([\\d\\w\\./,\\':~\\?=;#@\\-\\+\\%\\*\\{\\}\\!]|&amp;)+)|"
                
-                            "([-.\\d\\w]+@[-.\\d\\w]{2,}\\.[\\w]{2,})");
 }
 

--- kdeextragear-2/konversation/konversation/common.cpp  #1.53:1.54
@@ -28,4 +28,8 @@ namespace Konversation {
 #include "unicode.cpp"
 
+static QRegExp colorRegExp("((\003([0-9]|0[0-9]|1[0-5])(,([0-9]|0[0-9]|1[0-5])|)|\017)|\x02|\x09|\x13|\x16|\x1f)");
 +static QRegExp urlPattern("((www\\.(?!\\.)|(fish|(f|ht)tp(|s))://)([\\d\\w\\./,\\':~\\?=;#@\\-\\+\\%\\*\\{\\}\\!]|&amp;)+)|"
 +                            "([-.\\d\\w]+@[-.\\d\\w]{2,}\\.[\\w]{2,})");
+
 QString removeIrcMarkup(const QString& text)
 {


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

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