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:
void Widget::on_Start_clicked()
{
...
QString content
= stream.
readAll();
lines.at(0).
void Widget::on_Start_clicked()
{
...
QTextStream stream(&file);
QString content = stream.readAll();
QStringList lines = content.split("\\n");
lines.at(0).
To copy to clipboard, switch view to plain text mode
but if I do this:
void Widget::on_Start_clicked()
{
...
QString content
= stream.
readAll();
line.
void Widget::on_Start_clicked()
{
...
QTextStream stream(&file);
QString content = stream.readAll();
QStringList lines = content.split("\\n");
QString line = lines.at(0);
line.
To copy to clipboard, switch view to plain text mode
it works.
So .. what's going on?
Bookmarks