/***************************************************************************
 *   Copyright (C) 2003 by Johnathan Burchill,,,                           *
 *   jkerrb@users.sourceforge.net                                                        *
 *                                                                         *
 *   This program is free software; you can redistribute it and/or modify  *
 *   it under the terms of the GNU General Public License as published by  *
 *   the Free Software Foundation; either version 2 of the License, or     *
 *   (at your option) any later version.                                   *
 ***************************************************************************/


#include "kdardirectoryfilterdialog.h"
#include <kfiledialog.h>
#include <klocale.h>
#include <kurlrequester.h>

#include <qlineedit.h>

kdarDirectoryFilterDialog::kdarDirectoryFilterDialog(QWidget* parent, const char* name, bool modal, WFlags fl)
: kdarDirectoryFilterDlg(parent,name, modal,fl)
{
}

kdarDirectoryFilterDialog::~kdarDirectoryFilterDialog()
{
}

/*$SPECIALIZATION$*/
void kdarDirectoryFilterDialog::slotDirectoryFilterSelect( KURLRequester * requester )
{
    if ( !requester ) return;
    requester->setMode( KFile::Directory | KFile::ExistingOnly | KFile::LocalOnly );
}

#include "kdardirectoryfilterdialog.moc"

