file.setFileName(QStandardPaths::writableLocation(QStandardPaths::DataLocation)+QLatin1Char('/')+filename);//determine filename in local user KDE directory tree.
file.setFileName(QStandardPaths::writableLocation(QStandardPaths::DataLocation)+QLatin1Char('/')+"colors.dat");//determine filename in local user KDE directory tree.