chmodjob.cpp
173 int answer = KMessageBox::warningContinueCancel( 0, i18n( "<qt>Could not modify the ownership of file <b>%1</b>. You have insufficient access to the file to perform the change.</qt>" ).arg(path), TQString::null, i18n("&Skip File") );
209 //kdDebug(7007) << " ChmodJob::slotResult( TDEIO::Job * job ) m_lstItems:" << m_lstItems.count() << endl;
252 return new ChmodJob( lstItems, permissions, mask, newOwnerID, newGroupID, recursive, showProgressInfo );
virtual void addSubjob(Job *job, bool inheritMetaData=true)
Definition: job.cpp:183
const TQString & errorText() const
Returns the error text if there has been an error.
Definition: jobclasses.h:110
A ListJob is allows you to get the get the content of a directory.
Definition: jobclasses.h:1391
This job changes permissions on a list of files or directories, optionally in a recursive manner.
Definition: chmodjob.h:37
void addMetaData(const TQString &key, const TQString &value)
Definition: job.cpp:434
TDEIO_EXPORT ListJob * listRecursive(const KURL &url, bool showProgressInfo=true, bool includeHidden=true)
The same as the previous method, but recurses subdirectories.
Definition: job.cpp:2222
@ UDS_FILE_TYPE
File type, part of the mode returned by stat (for a link, this returns the file type of the pointed i...
Definition: global.h:366
TDEIO_EXPORT ChmodJob * chmod(const KFileItemList &lstItems, int permissions, int mask, TQString newOwner, TQString newGroup, bool recursive, bool showProgressInfo=true)
Creates a job that changes permissions/ownership on several files or directories, optionally recursiv...
Definition: chmodjob.cpp:230
bool isLink() const
Returns true if this item represents a link in the UNIX sense of a link.
Definition: tdefileitem.h:200
void emitResult()
Utility function to emit the result signal, and suicide this job.
Definition: job.cpp:249
ChmodJob(const KFileItemList &lstItems, int permissions, int mask, int newOwner, int newGroup, bool recursive, bool showProgressInfo)
Create new ChmodJobs using the TDEIO::chmod() function.
Definition: chmodjob.cpp:43
@ UDS_LINK_DEST
Name of the file where the link points to Allows to check for a symlink (don't use S_ISLNK !...
Definition: global.h:369
mode_t permissions() const
Returns the permissions of the file (stat.st_mode containing only permissions).
Definition: tdefileitem.h:148
A KFileItem is a generic class to handle a file, local or remote.
Definition: tdefileitem.h:41