src/string.h

changeset 237
ec77f6e9a19f
parent 236
b58d35dc5d52
child 251
c4b96bc41298
equal deleted inserted replaced
236:b58d35dc5d52 237:ec77f6e9a19f
95 bool operator!= STR_COMPARE_OPERATOR (const char*, !=) 95 bool operator!= STR_COMPARE_OPERATOR (const char*, !=)
96 bool operator!= STR_COMPARE_OPERATOR (String, !=) 96 bool operator!= STR_COMPARE_OPERATOR (String, !=)
97 bool operator! () const { return empty (); } 97 bool operator! () const { return empty (); }
98 operator const char* () const { return chars (); } 98 operator const char* () const { return chars (); }
99 operator QString () { return chars (); } 99 operator QString () { return chars (); }
100 operator const QString () const { return chars (); }
100 101
101 private: 102 private:
102 std::string m_string; 103 std::string m_string;
103 } str; 104 } str;
104 105

mercurial