I'm a total newbie to OOP but I know this, whenever I type "." next to an object, IDE nicely shows me all of it's methods and functions. But not in this case:
Qt Code:
  1. void Widget::on_Start_clicked()
  2. {
  3. ...
  4. QTextStream stream(&file);
  5. QString content = stream.readAll();
  6. QStringList lines = content.split("\\n");
  7. lines.at(0).
To copy to clipboard, switch view to plain text mode 
but if I do this:
Qt Code:
  1. void Widget::on_Start_clicked()
  2. {
  3. ...
  4. QTextStream stream(&file);
  5. QString content = stream.readAll();
  6. QStringList lines = content.split("\\n");
  7. QString line = lines.at(0);
  8. line.
To copy to clipboard, switch view to plain text mode 
it works.

So .. what's going on?