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 Member Functions | |
KFilePropsPlugin (KPropertiesDialog *_props) | |
Constructor. | |
virtual void | applyChanges () |
Applies all changes made. | |
void | postApplyChanges () |
Called after all plugins applied their changes. | |
Static Public Member Functions | |
bool | supports (KFileItemList _items) |
Tests whether the files specified by _items need a 'General' plugin. | |
Protected Slots | |
void | slotCopyFinished (KIO::Job *) |
void | slotFileRenamed (KIO::Job *, const KURL &, const KURL &) |
void | slotDirSizeFinished (KIO::Job *) |
void | slotFoundMountPoint (const QString &mp, unsigned long kBSize, unsigned long kBUsed, unsigned long kBAvail) |
void | slotSizeStop () |
void | slotSizeDetermine () |
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 1054 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 1045 of file kpropertiesdialog.cpp. Referenced by KPropertiesDialog::canDisplay(). |
|
Called after all plugins applied their changes.
Definition at line 1202 of file kpropertiesdialog.cpp. References QValueList< KURL >::append(), QPtrListIterator::current(), KPropertiesDialog::items(), and KPropsDlgPlugin::properties. Referenced by KPropertiesDialog::slotOk(). |
The documentation for this class was generated from the following files: