Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CPP

qstring get if empty

QString str = "";
if(str.size() == 0){ //if str is empty or null
	
}
else if(str.isEmpty()){ //if str is empty but not null
	
}
else if(str.isNull()){ //if str is empty and null
	
}
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #qstring #empty
ADD COMMENT
Topic
Name
9+8 =