|
|
The main properties dialog class. A Properties Dialog is a dialog which displays various information about a particular file or URL. This main class holds various related classes, which are instantiated in the form of tab entries in the tabbed dialog that this class provides. The various tabs themselves will let the user view or change information about the file or URL.
This class must be created with (void)new PropertiesDialog(...) It will take care of deleting itself.
bool |
[static]
Returns: whether there are any property pages available for the given file items
|
Bring up a Properties dialog. Normal constructor for file-manager-like applications. Normally you will use this method rather than the one below.
Parameters:
|
Bring up a Properties dialog. Normal constructor for file-manager-like applications.
Parameters:
|
Bring up a Properties dialog. Convenience constructor for non-file-manager applications.
Parameters:
|
Create a properties dialog for a new .desktop file (whose name is not known yet), based on a template. Special constructor for "File / New" in file-manager applications.
Parameters:
|
Create an empty properties dialog (for applications that want use a standard dialog, but for things not doable via the plugin-mechanism.
Parameters:
~ |
[virtual]
Cleans up the properties dialog and frees any associated resources, including the dialog itself. Note that when a properties dialog is closed it cleans up and deletes itself.
void |
Adds a "3rd party" properties plugin to the dialog. Useful for extending the properties mechanism.
To create a new lugin type, inherit from the base class KPropsPlugin and implement all the methods.
Parameters:
const KURL& |
[const]
Returns: a parsed URL. Valid only if dialog shown for one file/url.
KFileItem * |
Returns: the file item for which the dialog is shown HACK : returns the first item of the list
KFileItemList |
[const]
KDialogBase* |
Returns: a pointer to the dialog
const KDialogBase* |
[const]
const KURL& |
[const]
If we are building this dialog from a template,
Returns: the current directory QString::null means no template used
const QString& |
[const]
If we are building this dialog from a template,
Returns: the default name (see 3rd constructor) QString::null means no template used
void |
Updates the item url (either called by rename or because a global apps/mimelnk desktop file is being saved)
Parameters:
void |
#see FilePropsPlugin::applyChanges
Parameters:
void |
To abort applying changes
void |
[virtual slot]
Called when the user presses 'Ok'.
Reimplemented from KDialogBase.
void |
[virtual slot]
Reimplemented from KDialogBase.
void |
[signal]
Notify that we have finished with the properties (be it Apply or Cancel)
void |
[signal]
void |
[signal]
Generated by: prospector@porky.devel.redhat.com on Fri Nov 3 09:59:05 2000, using kdoc 2.0a42. |