.TH "KIO::RenameDlg" kde3 "11 Jun 2005" "Version Version 3.4.1" "kio Library" \" -*- nroff -*-
.ad l
.nh
.SH NAME
KIO::RenameDlg \- A dialog for the options to rename two files. A dialog for renaming files. 
.PP
\fBSince:\fP
.RS 4
3.1. 
.RE
.PP
 

.PP
.SH SYNOPSIS
.br
.PP
\fC#include <renamedlg.h>\fP
.PP
Inherits \fBQDialog\fP.
.PP
.SS "Public Slots"

.in +1c
.ti -1c
.RI "void \fBb0Pressed\fP ()"
.br
.ti -1c
.RI "void \fBb1Pressed\fP ()"
.br
.ti -1c
.RI "void \fBb2Pressed\fP ()"
.br
.ti -1c
.RI "void \fBb3Pressed\fP ()"
.br
.ti -1c
.RI "void \fBb4Pressed\fP ()"
.br
.ti -1c
.RI "void \fBb5Pressed\fP ()"
.br
.ti -1c
.RI "void \fBb6Pressed\fP ()"
.br
.ti -1c
.RI "void \fBb7Pressed\fP ()"
.br
.ti -1c
.RI "void \fBb8Pressed\fP ()"
.br
.in -1c
.SS "Public Member Functions"

.in +1c
.ti -1c
.RI "\fBRenameDlg\fP (\fBQWidget\fP *parent, const \fBQString\fP &caption, const \fBQString\fP &src, const \fBQString\fP &dest, RenameDlg_Mode mode, \fBKIO::filesize_t\fP sizeSrc=(\fBKIO::filesize_t\fP)-1, \fBKIO::filesize_t\fP sizeDest=(\fBKIO::filesize_t\fP)-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)"
.br
.ti -1c
.RI "\fBKURL\fP \fBnewDestURL\fP ()"
.br
.in -1c
.SS "Static Public Member Functions"

.in +1c
.ti -1c
.RI "static \fBQString\fP \fBsuggestName\fP (const \fBKURL\fP &baseURL, const \fBQString\fP &oldName)"
.br
.in -1c
.SS "Protected Slots"

.in +1c
.ti -1c
.RI "void \fBenableRenameButton\fP (const \fBQString\fP &)"
.br
.in -1c
.SH "Detailed Description"
.PP 
A dialog for the options to rename two files. A dialog for renaming files. 
.PP
\fBSince:\fP
.RS 4
3.1. 
.RE
.PP

.PP
Definition at line 48 of file renamedlg.h.
.SH "Constructor & Destructor Documentation"
.PP 
.SS "KIO::RenameDlg::RenameDlg (\fBQWidget\fP * parent, const \fBQString\fP & caption, const \fBQString\fP & src, const \fBQString\fP & dest, RenameDlg_Mode mode, \fBKIO::filesize_t\fP sizeSrc = \fC(\fBKIO::filesize_t\fP)-1\fP, \fBKIO::filesize_t\fP sizeDest = \fC(\fBKIO::filesize_t\fP)-1\fP, time_t ctimeSrc = \fC(time_t)-1\fP, time_t ctimeDest = \fC(time_t)-1\fP, time_t mtimeSrc = \fC(time_t)-1\fP, time_t mtimeDest = \fC(time_t)-1\fP, bool modal = \fCfalse\fP)"
.PP
Construct a 'rename' dialog. 
.PP
\fBParameters:\fP
.RS 4
\fIparent\fP parent widget (often 0) 
.br
\fIcaption\fP the caption for the dialog box 
.br
\fIsrc\fP the url to the file/dir we're trying to copy, as it's part of the text message 
.br
\fIdest\fP the path to destination file/dir, i.e. the one that already exists 
.br
\fImode\fP parameters for the dialog (which buttons to show...), 
.br
\fIsizeSrc\fP size of source file 
.br
\fIsizeDest\fP size of destination file 
.br
\fIctimeSrc\fP creation time of source file 
.br
\fIctimeDest\fP creation time of destination file 
.br
\fImtimeSrc\fP modification time of source file 
.br
\fImtimeDest\fP modification time of destination file 
.br
\fImodal\fP set to true for a modal dialog 
.RE
.PP
\fBSee also:\fP
.RS 4
RenameDlg_Mode 
.RE
.PP

.SH "Member Function Documentation"
.PP 
.SS "\fBKURL\fP KIO::RenameDlg::newDestURL ()"
.PP
\fBReturns:\fP
.RS 4
the new destination valid only if RENAME was chosen 
.RE
.PP

.SS "static \fBQString\fP KIO::RenameDlg::suggestName (const \fBKURL\fP & baseURL, const \fBQString\fP & oldName)\fC [static]\fP"
.PP
Given a directory path and a filename (which usually exists already), this function returns a suggested name for a file that doesn't exist in that directory. 
.PP
The existence is only checked for local urls though. The suggested file name is of the form foo_1 foo_2 etc. 
.PP
\fBSince:\fP
.RS 4
3.4 
.RE
.PP

.PP
Referenced by KDirOperator::mkdir().
.SS "void KIO::RenameDlg::b0Pressed ()\fC [slot]\fP"
.PP
KDE4: rename to cancelPressed(), renamePressed() etc. 
.PP


.SH "Author"
.PP 
Generated automatically by Doxygen for kio Library from the source code.
