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.