• Skip to content
  • Skip to link menu
KDE 4.2 API Reference
  • KDE API Reference
  • kdelibs
  • Sitemap
  • Contact Us
 

KIO

KIO::RenameDialogPlugin

KIO::RenameDialogPlugin Class Reference

Base class for RenameDialog plugins. More...

#include <renamedialogplugin.h>

Inheritance diagram for KIO::RenameDialogPlugin:

Inheritance graph
[legend]

List of all members.


Classes

class  FileItem
 File Representation consisting of the KUrl, MimeType and filesize and the times of the last changes. More...

Public Member Functions

virtual void handle (KIO::RenameDialog_Mode mode, const FileItem &srcFile, const FileItem &dstFile)=0
 RenameDialogPlugin (QDialog *dialog)
virtual bool wantToHandle (RenameDialog_Mode mode, const FileItem &srcFile, const FileItem &dstFile) const =0

Detailed Description

Base class for RenameDialog plugins.

Creating your own RenameDialog Plugin allows you to have a different representation of data depending on the to be copied files.

Definition at line 45 of file renamedialogplugin.h.


Constructor & Destructor Documentation

RenameDialogPlugin::RenameDialogPlugin ( QDialog *  dialog  ) 

The Rename Dialog will be embedded into a QDialog.

Definition at line 89 of file renamedialogplugin.cpp.


Member Function Documentation

virtual void KIO::RenameDialogPlugin::handle ( KIO::RenameDialog_Mode  mode,
const FileItem &  srcFile,
const FileItem &  dstFile 
) [pure virtual]

Present the data of.

Parameters:
srcFile and
dstFile the way you want to. You will be embedded into the parentWidget().
mode The actual mode of the Rename Dialog
srcFile The FileItem of the source
dstFile The FileItem of the destination

virtual bool KIO::RenameDialogPlugin::wantToHandle ( RenameDialog_Mode  mode,
const FileItem &  srcFile,
const FileItem &  dstFile 
) const [pure virtual]

This function will be invoked by the KIO::RenameDialog to check if you to handle the src and destination file.

Parameters:
mode The actual mode of the Rename Dialog
srcFile The FileItem representation of the source file
dstFile The FileItem representation of the destination file
Returns:
Return TRUE if you want to handle/display a resolution
See also:
handle


The documentation for this class was generated from the following files:
  • renamedialogplugin.h
  • renamedialogplugin.cpp

KIO

Skip menu "KIO"
  • Main Page
  • Namespace List
  • Class Hierarchy
  • Alphabetical List
  • Class List
  • File List
  • Namespace Members
  • Class Members
  • Related Pages

kdelibs

Skip menu "kdelibs"
  • DNSSD
  • Interfaces
  •   KHexEdit
  •   KMediaPlayer
  •   KSpeech
  •   KTextEditor
  • Kate
  • kconf_update
  • KDE3Support
  •   KUnitTest
  • KDECore
  • KDED
  • KDEsu
  • KDEUI
  • KDocTools
  • KFile
  • KHTML
  • KImgIO
  • KInit
  • kio
  • KIOSlave
  • KJS
  •   KJS-API
  •   WTF
  • kjsembed
  • KNewStuff
  • KParts
  • Kross
  • KUtils
  • Nepomuk
  • Plasma
  • Solid
  • Sonnet
  • ThreadWeaver
Generated for kdelibs by doxygen 1.5.7
This website is maintained by Adriaan de Groot and Allen Winter.
KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal