KonqOperations Class Reference
Implements file operations (move,del,trash,shred,paste,copy,move,link...) for konqueror and kdesktop whatever the view mode is (icon, tree, ...). More...
#include <konq_operations.h>
Public Types | |
| enum | { TRASH, DEL, SHRED, COPY, MOVE, LINK, EMPTYTRASH, STAT, MKDIR } |
Signals | |
| void | statFinished (const KFileItem *item) |
Static Public Member Functions | |
| void | editMimeType (const QString &mimeType) |
Pop up properties dialog for mimetype mimeType. | |
| void | del (QWidget *parent, int method, const KURL::List &selectedURLs) |
| void | copy (QWidget *parent, int method, const KURL::List &selectedURLs, const KURL &destUrl) |
| void | doDrop (const KFileItem *destItem, const KURL &destURL, QDropEvent *ev, QWidget *parent) |
| Drop. | |
| void | doPaste (QWidget *parent, const KURL &destURL) |
| Paste the clipboard contents. | |
| void | emptyTrash () |
| void | mkdir (QWidget *parent, const KURL &url) |
| Create a directory. | |
| void | statURL (const KURL &url, const QObject *receiver, const char *member) |
| Get info about a given URL, and when that's done (it's asynchronous!), call a given slot with the KFileItem * as argument. | |
| void | rename (QWidget *parent, const KURL &oldurl, const QString &name) |
Protected Types | |
| enum | { DEFAULT_CONFIRMATION, SKIP_CONFIRMATION, FORCE_CONFIRMATION } |
Protected Slots | |
| void | slotResult (KIO::Job *job) |
| void | slotStatResult (KIO::Job *job) |
| void | asyncDrop (const KFileItem *item) |
| void | slotKIOPaste () |
| void | doFileCopy () |
Protected Member Functions | |
| KonqOperations (QWidget *parent) | |
| bool | askDeleteConfirmation (const KURL::List &selectedURLs, int confirmation) |
| void | _del (int method, const KURL::List &selectedURLs, int confirmation) |
| void | _statURL (const KURL &url, const QObject *receiver, const char *member) |
| void | setOperation (KIO::Job *job, int method, const KURL::List &src, const KURL &dest) |
| void | setDropInfo (DropInfo *info) |
| void | setPasteInfo (KIOPasteInfo *info) |
Detailed Description
Implements file operations (move,del,trash,shred,paste,copy,move,link...) for konqueror and kdesktop whatever the view mode is (icon, tree, ...).
Definition at line 35 of file konq_operations.h.
Member Function Documentation
|
|
Pop up properties dialog for mimetype
Definition at line 68 of file konq_operations.cc. |
|
||||||||||||||||
|
Definition at line 75 of file konq_operations.cc. References _del(). |
|
||||||||||||||||||||
|
Definition at line 163 of file konq_operations.cc. References setOperation(). |
|
||||||||||||||||||||
|
Drop.
Definition at line 356 of file konq_operations.cc. References _statURL(), asyncDrop(), setDropInfo(), and setPasteInfo(). |
|
||||||||||||
|
Paste the clipboard contents.
Definition at line 143 of file konq_operations.cc. References setOperation(). |
|
||||||||||||
|
Create a directory.
Definition at line 135 of file konq_operations.cc. References setOperation(). |
|
||||||||||||||||
|
Get info about a given URL, and when that's done (it's asynchronous!), call a given slot with the KFileItem * as argument. The KFileItem will be deleted by statURL after calling the slot. Make a copy if you need one ! Definition at line 694 of file konq_operations.cc. References _statURL(), and m_method. |
The documentation for this class was generated from the following files:
