Main Page   Modules   Namespace List   Class Hierarchy   Compound List   File List   Namespace Members   Compound Members   Related Pages  

KIO::RenameDlg Class Reference

#include <renamedlg.h>

List of all members.

Public Methods

 RenameDlg (QWidget *parent, const QString &caption, const QString &src, const QString &dest, RenameDlg_Mode mode, 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, bool modal=FALSE)
KURL newDestURL ()


Detailed Description

A dialog for the options to rename two files
Since:
3.1

Definition at line 43 of file renamedlg.h.


Constructor & Destructor Documentation

KIO::RenameDlg::RenameDlg QWidget *    parent,
const QString &    caption,
const QString &    src,
const QString &    dest,
RenameDlg_Mode    mode,
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,
bool    modal = FALSE
 

Construct a "rename" dialog

Parameters:
parent  parent widget (often 0)
caption  the caption for the dialog box
src  the url to the file/dir we're trying to copy, as it's part of the text message
dest  the path to destination file/dir, i.e. the one that already exists
mode  parameters for the dialog (which buttons to show...),
See also:
RenameDlg_Mode
The following parameters bring optionnal information about src and dest
Parameters:
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
modal  set to true for a modal dialog


Member Function Documentation

KURL KIO::RenameDlg::newDestURL  
 

Returns:
the new destination valid only if RENAME was chosen


The documentation for this class was generated from the following file:
Generated on Wed Aug 13 23:30:33 2003 for kdelibs by doxygen1.2.18