KFilePropsPlugin Class Reference
'General' plugin This plugin displays the name of the file, its size and access times. More...
#include <kpropertiesdialog.h>
Inheritance diagram for KFilePropsPlugin:

Public Methods | |
KFilePropsPlugin (KPropertiesDialog *_props) | |
Constructor. | |
virtual void | applyChanges () |
Applies all changes made. | |
void | postApplyChanges () |
Called after all plugins applied their changes. | |
Static Public Methods | |
bool | supports (KFileItemList _items) |
Tests whether the files specified by _items need a 'General' plugin. |
Detailed Description
'General' plugin This plugin displays the name of the file, its size and access times.
Definition at line 392 of file kpropertiesdialog.h.
Constructor & Destructor Documentation
|
Member Function Documentation
|
Applies all changes made. This plugin must be always the first plugin in the dialog, since this function may rename the file which may confuse other applyChanges functions. Reimplemented from KPropsDlgPlugin. Definition at line 1049 of file kpropertiesdialog.cpp. References KPropertiesDialog::abortApplying(), QObject::connect(), KIO::copy(), KIO::encodeFileName(), QString::isEmpty(), KPropertiesDialog::kurl(), QString::length(), KIO::move(), KURL::path(), KPropsDlgPlugin::properties, KPropertiesDialog::rename(), KMessageBox::sorry(), QString::truncate(), and KURL::url(). |
|
Tests whether the files specified by _items need a 'General' plugin.
Definition at line 1040 of file kpropertiesdialog.cpp. Referenced by KPropertiesDialog::canDisplay(). |
|
Called after all plugins applied their changes.
Definition at line 1197 of file kpropertiesdialog.cpp. References QPtrListIterator< KFileItem >::current(), KPropertiesDialog::items(), and KPropsDlgPlugin::properties. Referenced by KPropertiesDialog::slotOk(). |
The documentation for this class was generated from the following files: