#include <kpropertiesdialog.h>
Inheritance diagram for KPropertiesDialog:

Public Slots | |
| virtual void | slotOk () |
| virtual void | slotCancel () |
Signals | |
| void | propertiesClosed () |
Public Methods | |
| KPropertiesDialog (KFileItem *item, QWidget *parent=0L, const char *name=0L, bool modal=false, bool autoShow=true) | |
| KPropertiesDialog (KFileItemList _items, QWidget *parent=0L, const char *name=0L, bool modal=false, bool autoShow=true) | |
| KPropertiesDialog (const KURL &_url, mode_t _mode, QWidget *parent=0L, const char *name=0L, bool modal=false, bool autoShow=true) | |
| KPropertiesDialog (const KURL &_url, QWidget *parent=0L, const char *name=0L, bool modal=false, bool autoShow=true) | |
| KPropertiesDialog (const KURL &_tempUrl, const KURL &_currentDir, const QString &_defaultName, QWidget *parent=0L, const char *name=0L, bool modal=false, bool autoShow=true) | |
| KPropertiesDialog (const QString &title, QWidget *parent=0L, const char *name=0L, bool modal=false) | |
| virtual | ~KPropertiesDialog () |
| void | insertPlugin (KPropsDlgPlugin *plugin) |
| const KURL & | kurl () const |
| KFileItem * | item () |
| KFileItemList | items () const |
| KDialogBase * | dialog () |
| const KURL & | currentDir () const |
| const QString & | defaultName () const |
| void | updateUrl (const KURL &_newUrl) |
| void | rename (const QString &_name) |
| void | abortApplying () |
| void | showFileSharingPage () |
Static Public Methods | |
| bool | canDisplay (KFileItemList _items) |
Protected Methods | |
| virtual void | virtual_hook (int id, void *data) |
This class must be created with (void)new KPropertiesDialog(...) It will take care of deleting itself.
Definition at line 64 of file kpropertiesdialog.h.
|
||||||||||||||||||||||||
|
Brings up a Properties dialog. Normal constructor for file-manager-like applications. Normally you will use this method rather than the one below.
|
|
||||||||||||||||||||||||
|
Brings up a Properties dialog. Normal constructor for file-manager-like applications.
|
|
||||||||||||||||||||||||||||
|
Brings up a Properties dialog. Convenience constructor for non-file-manager applications.
|
|
||||||||||||||||||||||||
|
Brings up a Properties dialog. Convenience constructor for non-file-manager applications.
|
|
||||||||||||||||||||||||||||||||
|
Creates 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.
|
|
||||||||||||||||||||
|
Creates an empty properties dialog (for applications that want use a standard dialog, but for things not doable via the plugin-mechanism).
|
|
|
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. |
|
|
To abort applying changes. |
|
|
|
|
|
If we are building this dialog from a template,
Definition at line 229 of file kpropertiesdialog.h. |
|
|
If we are building this dialog from a template,
Definition at line 236 of file kpropertiesdialog.h. |
|
|
Definition at line 221 of file kpropertiesdialog.h. |
|
|
Adds a "3rd party" properties plugin to the dialog. Useful for extending the properties mechanism. To create a new plugin type, inherit from the base class KPropsPlugin and implement all the methods. If you define a service .desktop file for your plugin, you do not need to call insertPlugin().
|
|
|
Definition at line 210 of file kpropertiesdialog.h. |
|
|
Definition at line 215 of file kpropertiesdialog.h. |
|
|
Definition at line 202 of file kpropertiesdialog.h. |
|
|
Emitted when we have finished with the properties (be it Apply or Cancel) |
|
|
see FilePropsPlugin::applyChanges Can only be called if the dialog applies to a single file/URL.
|
|
|
|
|
|
Activated when the Cancel button has been clicked. The QDialog::reject() is activated in regular mode and QDialog::done( Cancel ) when in message box mode. Reimplemented from KDialogBase. |
|
|
Called when the user presses 'Ok'. Reimplemented from KDialogBase. |
|
|
Updates the item url (either called by rename or because a global apps/mimelnk desktop file is being saved) Can only be called if the dialog applies to a single file/URL.
|
1.2.18