KFileDialog Class Reference

[kfile Index] [kfile Hierarchy] [Headers]


#include <kfiledialog.h>

Inherits: KFileBaseDialog

Public Members

Protected Members


QString getOpenFileName(const char *dir= 0, const char *filter= 0, QWidget *parent= 0, const char *name= 0) [public static]

This method creates a modal file dialog and returns the selected filename or an empty string if none was chosen. Note that with this method the user must select an existing filename.

Parameters:
name The name of the dialog widget.
parent The widget the dialog will be centered on initially.
filter This is a space seperated list of shell globs.
dir This specifies the path the dialog will start in.

QString getSaveFileName(const char *dir= 0, const char *filter= 0, QWidget *parent= 0, const char *name= 0) [public static]

This method creates a modal file dialog and returns the selected filename or an empty string if none was chosen. Note that with this method the user need not select an existing filename.

Parameters:
name The name of the dialog widget.
parent The widget the dialog will be centered on initially.
filter This is a space seperated list of shell globs.
dir This specifies the path the dialog will start in.

QString getOpenFileURL(const char *url= 0, const char *filter= 0, QWidget *parent= 0, const char *name= 0) [public static]

This function is similar to getOpenFileName() but allows the user to select a local file or a remote file.

QString getSaveFileURL(const char *url= 0, const char *filter= 0, QWidget *parent= 0, const char *name= 0) [public static]

This function is similar to getSaveFileName() but allows the user to select a local file or a remote file.


Documentation generated by tasin@cd1 on Die Nov 30 17:32:33 CET 1999
Kdoc