libLumina/LuminaThemes.cpp
bool LTHEME::saveLocalTheme(QString name, QStringList contents){
  QString localdir = QDir::homePath()+"/.lumina/themes/";
  if(!QFile::exists(localdir)){  QDir dir; dir.mkpath(localdir); }
  return LUtils::writeFile(localdir+name+".qss.template", contents, true);
}
//Save a new theme/color file
Save a new theme/color file
Save a new theme / color file
bool LTHEME::saveLocalTheme(QString name, QStringList contents){
  QString localdir = QDir::homePath()+"/.lumina/themes/";
  if(!QFile::exists(localdir)){  QDir dir; dir.mkpath(localdir); }
  return LUtils::writeFile(localdir+name+".qss.template", contents, true);
}
bool LTHEME :: saveLocalTheme ( QString name , QStringList contents ) { QString localdir = QDir :: homePath ( ) + " " ; if ( ! QFile :: exists ( localdir ) ) { QDir dir ; dir . mkpath ( localdir ) ; } return LUtils :: writeFile ( localdir + name + " " , contents , true ) ; }
Save a new theme/color file
Save a new theme / color file