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

void k4dirstat::openURL ( const KUrl &  url )

Open an URL specified by command line argument.

Definition at line 349 of file k4dirstat.cpp.

References KDirStat::KDirTreeView::openURL(), and statusMsg().

Referenced by fileAskOpenDir(), fileAskOpenUrl(), and fileOpenRecent().

{
    statusMsg( i18n( "Opening directory..." ) );

    _treeView->openURL( url );
    _fileOpenRecent->addUrl( url );
    _fileRefreshAll->setEnabled( true );
    setCaption( url.fileName(), false );

    statusMsg( i18n( "Ready." ) );
}

Here is the call graph for this function:

Here is the caller graph for this function:


Generated by  Doxygen 1.6.0   Back to index