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) | |
virtual void | applyChanges () |
void | postApplyChanges () |
Static Public Methods | |
bool | supports (KFileItemList _items) |
Detailed Description
'General' plugin This plugin displays the name of the file, its size and access times.
Definition at line 407 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 1150 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 1141 of file kpropertiesdialog.cpp. Referenced by KPropertiesDialog::canDisplay(). |
|
Called after all plugins applied their changes.
Definition at line 1313 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: