Main Page   Modules   Namespace List   Class Hierarchy   Compound List   File List   Namespace Members   Compound Members   Related Pages  

KURLRequesterDlg Class Reference

Simple dialog to enter a filename/url. More...

#include <kurlrequesterdlg.h>

Inheritance diagram for KURLRequesterDlg:

KDialogBase KDialog List of all members.

Public Methods

 KURLRequesterDlg (const QString &url, QWidget *parent, const char *name, bool modal=true)
 KURLRequesterDlg (const QString &url, const QString &text, QWidget *parent, const char *name, bool modal=true)
 ~KURLRequesterDlg ()
KURL selectedURL () const
KFileDialogfileDialog ()
KURLRequesterurlRequester ()

Static Public Methods

KURL getURL (const QString &url=QString::null, QWidget *parent=0, const QString &caption=QString::null)

Detailed Description

Simple dialog to enter a filename/url.

Dialog in which a user can enter a filename or url. It is a dialog encapsulating KURLRequester. The API is derived from KFileDialog.

Author:
Wilco Greven <j.w.greven@student.utwente.nl>

Definition at line 38 of file kurlrequesterdlg.h.


Constructor & Destructor Documentation

KURLRequesterDlg::KURLRequesterDlg const QString &    url,
QWidget *    parent,
const char *    name,
bool    modal = true
 

Constructs a KURLRequesterDlg.

Parameters:
url  The url of the directory to start in. Use QString::null to start in the current working directory, or the last directory where a file has been selected.
modal  Specifies whether the dialog should be opened as modal or not.

KURLRequesterDlg::KURLRequesterDlg const QString &    url,
const QString &    text,
QWidget *    parent,
const char *    name,
bool    modal = true
 

Constructs a KURLRequesterDlg.

Parameters:
url  The url of the directory to start in. Use QString::null to start in the current working directory, or the last directory where a file has been selected.
text  Text of the label
modal  Specifies whether the dialog should be opened as modal or not.

KURLRequesterDlg::~KURLRequesterDlg  
 

Destructs the dialog.


Member Function Documentation

KFileDialog* KURLRequesterDlg::fileDialog  
 

Returns a pointer to the file dialog used by the KURLRequester.

KURL KURLRequesterDlg::getURL const QString &    url = QString::null,
QWidget *    parent = 0,
const QString &    caption = QString::null
[static]
 

Creates a modal dialog, executes it and returns the selected URL.

Parameters:
url  This specifies the initial path of the input line.
parent  The widget the dialog will be centered on initially.

KURL KURLRequesterDlg::selectedURL  
 

Returns the fully qualified filename.

KURLRequester* KURLRequesterDlg::urlRequester  
 

Returns a pointer to the KURLRequester.


The documentation for this class was generated from the following file:
Generated on Wed Aug 13 23:30:28 2003 for kdelibs by doxygen1.2.18