Logo Search packages:      
Sourcecode: karchiver version File versions  Download package

void KarchiveurApp::readProperties ( KConfig *  _cfg  )  [protected, virtual]

reads the session config file and restores the application's state including the last opened files and documents by reading the temporary files saved by saveProperties()

See also:
KTMainWindow::readProperties

Definition at line 331 of file karchiveur.cpp.

{
      QString filename = _cfg->readPathEntry("filename");
      bool modified = _cfg->readBoolEntry("modified", false);

      if( modified )
      {
            bool canRecover;
            QString tempname = kapp->checkRecoverFile(filename, canRecover);

            if(canRecover)
            {
                  CFileInfo info(filename);
                  QFile::remove(tempname);
            }
      }
      else
      {
            if(!filename.isEmpty())
            {
            }
      }
}


Generated by  Doxygen 1.6.0   Back to index