I need a little syntax help please

Qt Code:
  1. some_class some_function(QString some_string) {
  2. some_class string_collection;
  3. if (some_string.isEmpty()) {
  4.  
  5. more_strings = new some_class("Warning", "Error", "FooBar");
  6. }
  7. else {
  8.  
  9. more_strings = new some_class("Warning1", "Error1", "FooBar1");
  10. }
  11.  
  12. return more_strings; }
To copy to clipboard, switch view to plain text mode 
I can't compile that ... where is my mistake?