PDA

View Full Version : What is the difference between setCurrentFile() and setWindowTitle()



rezas1000
29th August 2014, 11:33
Hello
What is the difference between setCurrentFile() and setWindowTitle()?? Because they have similar behavior.
thanks.

faldzip
29th August 2014, 12:04
setCurrentFile()
To what class does this method belong as I could not find it in docs.

wysota
29th August 2014, 14:32
To what class does this method belong as I could not find it in docs.

I think OP meant QWidget::windowFilePath. And docs for QWidget::windowTitle clearly indicate the relation between the two properties.