class KFileDialog


Definition#include <kfiledialog.h>
InheritsKFileBaseDialog
List of all Methods
Annotated List
Files
Globals
Hierarchy
Index

Public Members

Protected Members

QString getOpenFileName (const char *dir= 0, const char *filter= 0, QWidget *parent= 0, const char *name= 0)
[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:
dirThis specifies the path the dialog will start in.
filterThis is a space seperated list of shell globs.
parentThe widget the dialog will be centered on initially.
nameThe name of the dialog widget.

QString getSaveFileName (const char *dir= 0, const char *filter= 0, QWidget *parent= 0, const char *name= 0)
[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:
dirThis specifies the path the dialog will start in.
filterThis is a space seperated list of shell globs.
parentThe widget the dialog will be centered on initially.
nameThe name of the dialog widget.

QString getOpenFileURL (const char *url= 0, const char *filter= 0, QWidget *parent= 0, const char *name= 0)
[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)
[static]

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


Generated by: root@porky.devel.redhat.com on Mon Feb 21 16:51:11 200.