class KFileDialog


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

Public Methods

Public Static Methods

Protected Methods


Detailed Description

 KFileDialog (const char *dirName, const char *filter= 0, QWidget *parent= 0, const char *name= 0, bool modal = false, bool acceptURLs = true)

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.

KFileInfoContentsinitFileList ( QWidget *parent)

[protected virtual]

Reimplemented from KFileBaseDialog.

bool  getShowFilter ()

[protected virtual]

Reimplemented from KFileBaseDialog.


Generated by: prospector@porky.devel.redhat.com on Mon Sep 11 01:51:03 2000, using kdoc 2.0a36.