org.kde.koala
public class RenameDlg extends QDialog
UNKNOWN: A dialog for renaming files.
Constructor Summary | |
---|---|
protected | RenameDlg(Class dummy) |
RenameDlg(QWidget parent, String caption, String src, String dest, int mode, long sizeSrc, long sizeDest, int ctimeSrc, int ctimeDest, int mtimeSrc, int mtimeDest, boolean modal)
Construct a "rename" dialog. | |
RenameDlg(QWidget parent, String caption, String src, String dest, int mode, long sizeSrc, long sizeDest, int ctimeSrc, int ctimeDest, int mtimeSrc, int mtimeDest) | |
RenameDlg(QWidget parent, String caption, String src, String dest, int mode, long sizeSrc, long sizeDest, int ctimeSrc, int ctimeDest, int mtimeSrc) | |
RenameDlg(QWidget parent, String caption, String src, String dest, int mode, long sizeSrc, long sizeDest, int ctimeSrc, int ctimeDest) | |
RenameDlg(QWidget parent, String caption, String src, String dest, int mode, long sizeSrc, long sizeDest, int ctimeSrc) | |
RenameDlg(QWidget parent, String caption, String src, String dest, int mode, long sizeSrc, long sizeDest) | |
RenameDlg(QWidget parent, String caption, String src, String dest, int mode, long sizeSrc) | |
RenameDlg(QWidget parent, String caption, String src, String dest, int mode) |
Method Summary | |
---|---|
void | b0Pressed() |
void | b1Pressed() |
void | b2Pressed() |
void | b3Pressed() |
void | b4Pressed() |
void | b5Pressed() |
void | b6Pressed() |
void | b7Pressed() |
void | b8Pressed() |
String | className() |
protected void | enableRenameButton(String arg1) |
QMetaObject | metaObject() |
KURL | newDestURL() |
static String | suggestName(KURL baseURL, String oldName)
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. |
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...), 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
See Also: RenameDlg_Mode
UNKNOWN: Construct a "rename" dialog.
Returns: the new destination valid only if RENAME was chosen
UNKNOWN:
UNKNOWN: 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.