svn path=/trunk/playground/utils/dolphin/; revision=606929
QString name(i18n("New Folder"));
baseURL.path(KUrl::AddTrailingSlash);
QString name(i18n("New Folder"));
baseURL.path(KUrl::AddTrailingSlash);
if (baseURL.isLocalFile() && QFileInfo(baseURL.path(KUrl::AddTrailingSlash) + name).exists()) {
name = KIO::RenameDlg::suggestName(baseURL, i18n("New Folder"));
if (baseURL.isLocalFile() && QFileInfo(baseURL.path(KUrl::AddTrailingSlash) + name).exists()) {
name = KIO::RenameDlg::suggestName(baseURL, i18n("New Folder"));
KFileItemList::const_iterator it = list->begin();
const KFileItemList::const_iterator end = list->end();
KFileItemList::const_iterator it = list->begin();
const KFileItemList::const_iterator end = list->end();
const KUrl& url = item->url();
// only enable the 'Move to Trash' action for local files
if (!url.isLocalFile()) {
const KUrl& url = item->url();
// only enable the 'Move to Trash' action for local files
if (!url.isLocalFile()) {
if (list != 0) {
KFileItemList::const_iterator it = list->begin();
const KFileItemList::const_iterator end = list->end();
if (list != 0) {
KFileItemList::const_iterator it = list->begin();
const KFileItemList::const_iterator end = list->end();
urls.append(item->url());
++it;
}
urls.append(item->url());
++it;
}