.TH "KFilePropsPlugin" 3 "28 Jan 2004" "kio Library" \" -*- nroff -*-
.ad l
.nh
.SH NAME
KFilePropsPlugin \- 'General' plugin This plugin displays the name of the file, its size and access times.  

.PP
.SH SYNOPSIS
.br
.PP
\fC#include <kpropertiesdialog.h>\fP
.PP
Inherits \fBKPropsDlgPlugin\fP.
.PP
.SS "Public Member Functions"

.in +1c
.ti -1c
.RI "\fBKFilePropsPlugin\fP (\fBKPropertiesDialog\fP *_props)"
.br
.RI "\fIConstructor. \fP"
.ti -1c
.RI "virtual void \fBapplyChanges\fP ()"
.br
.RI "\fIApplies all changes made. \fP"
.ti -1c
.RI "void \fBpostApplyChanges\fP ()"
.br
.RI "\fICalled after all plugins applied their changes. \fP"
.in -1c
.SS "Static Public Member Functions"

.in +1c
.ti -1c
.RI "bool \fBsupports\fP (\fBKFileItemList\fP _items)"
.br
.RI "\fITests whether the files specified by _items need a 'General' plugin. \fP"
.in -1c
.SS "Protected Slots"

.in +1c
.ti -1c
.RI "void \fBslotCopyFinished\fP (\fBKIO::Job\fP *)"
.br
.ti -1c
.RI "void \fBslotFileRenamed\fP (\fBKIO::Job\fP *, const  \fBKURL\fP &, const  \fBKURL\fP &)"
.br
.ti -1c
.RI "void \fBslotDirSizeFinished\fP (\fBKIO::Job\fP *)"
.br
.ti -1c
.RI "void \fBslotFoundMountPoint\fP (const  \fBQString\fP &mp, unsigned long kBSize, unsigned long kBUsed, unsigned long kBAvail)"
.br
.ti -1c
.RI "void \fBslotSizeStop\fP ()"
.br
.ti -1c
.RI "void \fBslotSizeDetermine\fP ()"
.br
.in -1c
.SH "Detailed Description"
.PP 
'General' plugin This plugin displays the name of the file, its size and access times. Definition at line 392 of file kpropertiesdialog.h.
.SH "Constructor & Destructor Documentation"
.PP 
.SS "KFilePropsPlugin::KFilePropsPlugin (\fBKPropertiesDialog\fP * _props)"
.PP
Constructor. Definition at line 612 of file kpropertiesdialog.cpp.
.PP
References QGridLayout::addLayout(), QGridLayout::addMultiCellWidget(), KDialogBase::addPage(), QGridLayout::addWidget(), KPropsDlgPlugin::changed(), QObject::connect(), QPtrList::count(), QPtrListIterator::current(), KPropertiesDialog::currentDir(), KIO::decodeFileName(), KMimeType::defaultMimeType(), KPropertiesDialog::defaultName(), KIcon::Device, KPropertiesDialog::dialog(), KURL::directory(), KURL::fileName(), KMimeType::findByFileContent(), KMimeType::findByURL(), KIO::findPathMountPoint(), QString::fromLatin1(), KMimeType::iconForURL(), KPropsDlgPlugin::isDesktopFile(), KFileItem::isDir(), QString::isEmpty(), KFileItem::isLink(), KURL::isLocalFile(), QString::isNull(), KPropertiesDialog::item(), KPropertiesDialog::items(), KPropertiesDialog::kurl(), KFileItem::linkDest(), KGlobal::locale(), KDialog::marginHint(), KFileItem::mimeComment(), KFileItem::mode(), KURL::path(), KURL::prettyURL(), KPropsDlgPlugin::properties, KURL::protocol(), KDiskFreeSp::readDF(), KConfigBase::readEntry(), QGridLayout::setColStretch(), KConfigBase::setDesktopGroup(), KIconButton::setIcon(), KIconButton::setIconType(), QLabel::setPixmap(), KIconButton::setStrictIconSize(), QPushButton::setText(), QLineEdit::setText(), QLabel::setText(), QDateTime::setTime_t(), KFileItem::size(), KDialog::spacingHint(), KFileItem::time(), KGlobalSettings::trashPath(), and KFileItem::url().
.SH "Member Function Documentation"
.PP 
.SS "void KFilePropsPlugin::applyChanges ()\fC [virtual]\fP"
.PP
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 \fBKPropsDlgPlugin\fP.
.PP
Definition at line 1054 of file kpropertiesdialog.cpp.
.PP
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().
.SS "bool KFilePropsPlugin::supports (\fBKFileItemList\fP _items)\fC [static]\fP"
.PP
Tests whether the files specified by _items need a 'General' plugin. Definition at line 1045 of file kpropertiesdialog.cpp.
.PP
Referenced by KPropertiesDialog::canDisplay().
.SS "void KFilePropsPlugin::postApplyChanges ()"
.PP
Called after all plugins applied their changes. Definition at line 1202 of file kpropertiesdialog.cpp.
.PP
References QValueList< KURL >::append(), QPtrListIterator::current(), KPropertiesDialog::items(), and KPropsDlgPlugin::properties.
.PP
Referenced by KPropertiesDialog::slotOk().

.SH "Author"
.PP 
Generated automatically by Doxygen for kio Library from the source code.
