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

kio

"RenameDlg related Functions"


Functions

KIO_EXPORT RenameDlg_Result KIO::open_RenameDlg (const QString &caption, const QString &src, const QString &dest, RenameDlg_Mode mode, QString &newDestPath, KIO::filesize_t sizeSrc=(KIO::filesize_t)-1, KIO::filesize_t sizeDest=(KIO::filesize_t)-1, time_t ctimeSrc=(time_t)-1, time_t ctimeDest=(time_t)-1, time_t mtimeSrc=(time_t)-1, time_t mtimeDest=(time_t)-1)

Detailed Description

Construct a modal, parent-less "rename" dialog, and return a result code, as well as the new dest. Much easier to use than the class RenameDlg directly.

Parameters:
caption the caption for the dialog box
src the URL of the file/dir we're trying to copy, as it's part of the text message
dest the URL of the destination file/dir, i.e. the one that already exists
mode parameters for the dialog (which buttons to show...), see RenameDlg_Mode
newDest the new destination path, valid if R_RENAME was returned.
sizeSrc size of source file
sizeDest size of destination file
ctimeSrc creation time of source file
ctimeDest creation time of destination file
mtimeSrc modification time of source file
mtimeDest modification time of destination file
Returns:
the result

Function Documentation

RenameDlg_Result KIO::open_RenameDlg ( const QString &  caption,
const QString &  src,
const QString &  dest,
RenameDlg_Mode  mode,
QString &  newDestPath,
KIO::filesize_t  sizeSrc = (KIO::filesize_t) -1,
KIO::filesize_t  sizeDest = (KIO::filesize_t) -1,
time_t  ctimeSrc = (time_t) -1,
time_t  ctimeDest = (time_t) -1,
time_t  mtimeSrc = (time_t) -1,
time_t  mtimeDest = (time_t) -1 
)

Definition at line 547 of file renamedlg.cpp.

kio

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

API Reference

Skip menu "API Reference"
  • dcop
  • DNSSD
  • interfaces
  • Kate
  • kconf_update
  • KDECore
  • KDED
  • kdefx
  • KDEsu
  • kdeui
  • KDocTools
  • KHTML
  • KImgIO
  • KInit
  • kio
  • kioslave
  • KJS
  • KNewStuff
  • KParts
  • KUtils
Generated for API Reference by doxygen 1.5.9
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