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

void Dolphin::readProperties ( KConfig *  config  )  [protected]

This method is called when this app is restored. The KConfig object points to the session management config file that was saved with saveProperties

Definition at line 336 of file dolphin.cpp.

References DolphinView::setURL(), DolphinView::setURLEditable(), and toggleSplitView().

{
    config->setGroup("Primary view");
    m_view[PrimaryIdx]->setURL(config->readEntry("URL"));
    m_view[PrimaryIdx]->setURLEditable(config->readBoolEntry("Editable URL"));
    if (config->hasGroup("Secondary view")) {
        config->setGroup("Secondary view");
        if (m_view[SecondaryIdx] == 0) {
            toggleSplitView();
        }
        m_view[SecondaryIdx]->setURL(config->readEntry("URL"));
        m_view[SecondaryIdx]->setURLEditable(config->readBoolEntry("Editable URL"));
    }
    else if (m_view[SecondaryIdx] != 0) {
        toggleSplitView();
    }
}


Generated by  Doxygen 1.6.0   Back to index