CopyToPart Class Reference
Plugin that does basic filecopying using KIO. More...
#include <copyto_part.h>
Inheritance diagram for CopyToPart:


Public Member Functions | |
CopyToPart (QObject *parent, const char *name, const QStringList &) | |
~CopyToPart () | |
Private Slots | |
void | contextMenu (QPopupMenu *popup, const Context *context) |
void | doCopy () |
Private Member Functions | |
QString | relativeProjectPath (QString path) |
Private Attributes | |
KURL::List | _fileList |
Detailed Description
Plugin that does basic filecopying using KIO.This plugin can be used in webbased projects (PHP) to upload a local file to the server. It also makes a nice compilment to the FileSelector plugin which can browser remote filesystems. Using the CopyTo plugin it is now possible to download what you find.. ;)
Still very basic, doesn't do a lot of the niceties one expects (history, error checking..)
'Traditional' works like 'cp'. All selected files are copied to one target directory.
'Relative' copies files to the target directories maintaining the relative path of the files. This only works if the target directories already exists and will silently fail if not.
- Author(s):
- Jens Dagerbo aka teatime
Definition at line 27 of file copyto_part.h.
Constructor & Destructor Documentation
|
Definition at line 47 of file copyto_part.cpp. References contextMenu(), KDevPlugin::core(), and KXMLGUIClient::setInstance(). |
|
Definition at line 57 of file copyto_part.cpp. |
Member Function Documentation
|
Definition at line 61 of file copyto_part.cpp. References _fileList, doCopy(), Context::hasType(), and FileContext::urls(). Referenced by CopyToPart(). |
|
Definition at line 73 of file copyto_part.cpp. References _fileList, KIO::NetAccess::exists(), file, CopyToDialogBase::fileList, KURL::fromPathOrURL(), KURL::isValid(), KDevPlugin::project(), relativeProjectPath(), CopyToDialogBase::traditional, KIO::NetAccess::upload(), KURL::url(), and CopyToDialogBase::url_line. Referenced by contextMenu(). |
|
Definition at line 122 of file copyto_part.cpp. References KDevPlugin::project(), and KDevProject::projectDirectory(). Referenced by doCopy(). |
Member Data Documentation
|
Definition at line 43 of file copyto_part.h. Referenced by contextMenu(), and doCopy(). |
The documentation for this class was generated from the following files:
- parts/copyto/copyto_part.h
- parts/copyto/copyto_part.cpp