#include <kapplication.h>
#include <kdirselectdialog.h>
#include <kmessagebox.h>

int main( int argc, char **argv )
{
    KApplication app( argc, argv, "kdirselectdialogtest" );

    KURL u = KDirSelectDialog::selectDirectory();
    if ( u.isValid() )
        KMessageBox::information( 0L,
                                QString::fromLatin1("You selected the url: %1")
                                .arg( u.prettyURL() ), "Selected URL" );

    return 0;
}
