• Skip to content
  • Skip to link menu
  • KDE API Reference
  • kdelibs-4.10.5 API Reference
  • KDE Home
  • Contact Us
 

KIO

  • KIO
  • RenameDialogPlugin
Classes | Public Member Functions
KIO::RenameDialogPlugin Class Reference

#include <renamedialogplugin.h>

Inheritance diagram for KIO::RenameDialogPlugin:
QWidget

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

 RenameDialogPlugin (QDialog *dialog)
virtual void handle (KIO::RenameDialog_Mode mode, const FileItem &srcFile, const FileItem &dstFile)=0
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:
srcFileand
dstFilethe way you want to. You will be embedded into the parentWidget().
modeThe actual mode of the Rename Dialog
srcFileThe FileItem of the source
dstFileThe 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:
modeThe actual mode of the Rename Dialog
srcFileThe FileItem representation of the source file
dstFileThe 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
This file is part of the KDE documentation.
Documentation copyright © 1996-2013 The KDE developers.
Generated on Tue Jul 23 2013 22:01:06 by doxygen 1.8.1.1 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.

KIO

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

kdelibs-4.10.5 API Reference

Skip menu "kdelibs-4.10.5 API Reference"
  • DNSSD
  • Interfaces
  •   KHexEdit
  •   KMediaPlayer
  •   KSpeech
  •   KTextEditor
  • kconf_update
  • KDE3Support
  •   KUnitTest
  • KDECore
  • KDED
  • KDEsu
  • KDEUI
  • KDEWebKit
  • KDocTools
  • KFile
  • KHTML
  • KImgIO
  • KInit
  • kio
  • KIOSlave
  • KJS
  •   KJS-API
  •   WTF
  • kjsembed
  • KNewStuff
  • KParts
  • KPty
  • Kross
  • KUnitConversion
  • KUtils
  • Nepomuk
  • Plasma
  • Solid
  • Sonnet
  • ThreadWeaver
Report problems with this website to our bug tracking system.
Contact the specific authors with questions and comments about the page contents.

KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal