Public Members
- KFileDialog (const char *dirName, const char *filter= 0, QWidget *parent= 0, const char *name= 0, bool modal = false, bool acceptURLs = true)
- static QString getOpenFileName (const char *dir= 0, const char *filter= 0, QWidget *parent= 0, const char *name= 0)
- static QString getSaveFileName (const char *dir= 0, const char *filter= 0, QWidget *parent= 0, const char *name= 0)
- static QString getOpenFileURL (const char *url= 0, const char *filter= 0, QWidget *parent= 0, const char *name= 0)
- static QString getSaveFileURL (const char *url= 0, const char *filter= 0, QWidget *parent= 0, const char *name= 0)
Protected Members
- virtual KFileInfoContents * initFileList ( QWidget *parent)
- virtual bool getShowFilter ()
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:
dir | This specifies the path the dialog will start in.
|
filter | This is a space seperated list of shell globs.
|
parent | The widget the dialog will be centered on initially.
|
name | The 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:
dir | This specifies the path the dialog will start in.
|
filter | This is a space seperated list of shell globs.
|
parent | The widget the dialog will be centered on initially.
|
name | The 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: prospector@boris.devel.redhat.com on Fri Apr 27 17:30:12 200. |