filemanager/src/inc/fmdefine.h
changeset 48 1bebd60c0f00
parent 44 22e202702210
--- a/filemanager/src/inc/fmdefine.h	Fri Sep 17 08:27:42 2010 +0300
+++ b/filemanager/src/inc/fmdefine.h	Mon Oct 04 00:06:46 2010 +0300
@@ -91,4 +91,13 @@
 // is not end with dot( trim blank characters in the end first )
 #define Regex_ValidNotEndWithDot QString( "^.*[^\\.\\s][\\s]*$" )
 
+// use slash(/) not backslash(\) or QDir::separator() because QRegExp can not recognize BackSlash(\)
+#define RegexWidecard_SystemFolder      QString( "?:/system/*" )
+#define RegexWidecard_SysFolder         QString( "?:/sys/*" )
+#define RegexWidecard_PrivateFolder     QString( "?:/private/*" )
+#define RegexWidecard_ResourceFolder    QString( "?:/resource/*" )
+
+#define Char_Slash       QChar( '/' )
+#define Char_BackSlash   QChar( '\\' )
+
 #endif