filemanager/src/inc/fmdefine.h
changeset 48 1bebd60c0f00
parent 44 22e202702210
equal deleted inserted replaced
44:22e202702210 48:1bebd60c0f00
    89 #define Regex_ValidFileFolderName QString( "^[^\\\\/:*?\"<>|]*[^\\\\/:*?\"<>|\\s][^\\\\/:*?\"<>|]*$" )
    89 #define Regex_ValidFileFolderName QString( "^[^\\\\/:*?\"<>|]*[^\\\\/:*?\"<>|\\s][^\\\\/:*?\"<>|]*$" )
    90 
    90 
    91 // is not end with dot( trim blank characters in the end first )
    91 // is not end with dot( trim blank characters in the end first )
    92 #define Regex_ValidNotEndWithDot QString( "^.*[^\\.\\s][\\s]*$" )
    92 #define Regex_ValidNotEndWithDot QString( "^.*[^\\.\\s][\\s]*$" )
    93 
    93 
       
    94 // use slash(/) not backslash(\) or QDir::separator() because QRegExp can not recognize BackSlash(\)
       
    95 #define RegexWidecard_SystemFolder      QString( "?:/system/*" )
       
    96 #define RegexWidecard_SysFolder         QString( "?:/sys/*" )
       
    97 #define RegexWidecard_PrivateFolder     QString( "?:/private/*" )
       
    98 #define RegexWidecard_ResourceFolder    QString( "?:/resource/*" )
       
    99 
       
   100 #define Char_Slash       QChar( '/' )
       
   101 #define Char_BackSlash   QChar( '\\' )
       
   102 
    94 #endif 
   103 #endif