/dports/graphics/digikam/digikam-7.4.0/core/dplugins/generic/tools/jalbum/wizard/ |
H A D | jalbumoutputpage.cpp | 55 : destUrl(nullptr), in Private() 61 DFileSelector* destUrl; member in DigikamGenericJAlbumPlugin::JAlbumOutputPage::Private 89 d->destUrl = new DFileSelector(main); in JAlbumOutputPage() 90 d->destUrl->setFileDlgTitle(i18n("Projects Folder")); in JAlbumOutputPage() 91 d->destUrl->setFileDlgMode(QFileDialog::Directory); in JAlbumOutputPage() 93 textLabel1->setBuddy(d->destUrl); in JAlbumOutputPage() 102 grid->addWidget(d->destUrl, 1, 1, 1, 1); in JAlbumOutputPage() 113 connect(d->destUrl, SIGNAL(signalUrlSelected(QUrl)), in JAlbumOutputPage() 134 d->destUrl->setFileDlgPath(info->m_destPath); in initializePage() 140 if (d->destUrl->fileDlgPath().isEmpty()) in validatePage() [all …]
|
/dports/graphics/digikam/digikam-7.4.0/core/dplugins/generic/tools/htmlgallery/wizard/ |
H A D | htmloutputpage.cpp | 55 : destUrl (nullptr), in Private() 62 DFileSelector* destUrl; member in DigikamGenericHtmlGalleryPlugin::HTMLOutputPage::Private 91 d->destUrl = new DFileSelector(main); in HTMLOutputPage() 93 d->destUrl->setFileDlgMode(QFileDialog::Directory); in HTMLOutputPage() 94 d->destUrl->setFileDlgOptions(QFileDialog::ShowDirsOnly); in HTMLOutputPage() 95 textLabel1->setBuddy(d->destUrl); in HTMLOutputPage() 116 grid->addWidget(d->destUrl, 1, 1, 1, 1); in HTMLOutputPage() 126 connect(d->destUrl->lineEdit(), SIGNAL(textEdited(QString)), in HTMLOutputPage() 129 connect(d->destUrl, SIGNAL(signalUrlSelected(QUrl)), in HTMLOutputPage() 152 d->destUrl->setFileDlgPath(info->destUrl().toLocalFile()); in initializePage() [all …]
|
/dports/graphics/digikam/digikam-7.4.0/core/dplugins/generic/tools/printcreator/wizard/ |
H A D | advprintoutputpage.cpp | 56 destUrl (nullptr), in Private() 72 DFileSelector* destUrl; member in DigikamGenericPrintCreatorPlugin::AdvPrintOutputPage::Private 113 d->destUrl = new DFileSelector(main); in AdvPrintOutputPage() 114 d->destUrl->setFileDlgMode(QFileDialog::Directory); in AdvPrintOutputPage() 115 d->destUrl->setFileDlgOptions(QFileDialog::ShowDirsOnly); in AdvPrintOutputPage() 116 d->destUrl->setFileDlgTitle(i18n("Destination Folder")); in AdvPrintOutputPage() 118 fileLabel->setBuddy(d->destUrl); in AdvPrintOutputPage() 138 grid->addWidget(d->destUrl, 1, 1, 1, 1); in AdvPrintOutputPage() 150 connect(d->destUrl, SIGNAL(signalUrlSelected(QUrl)), in AdvPrintOutputPage() 169 if (d->destUrl->fileDlgPath().isEmpty()) in validatePage() [all …]
|
/dports/graphics/digikam/digikam-7.4.0/core/dplugins/generic/tools/videoslideshow/wizard/ |
H A D | vidslideoutputpage.cpp | 60 : destUrl(nullptr), in Private() 75 DFileSelector* destUrl; member in DigikamGenericVideoSlideShowPlugin::VidSlideOutputPage::Private 125 d->destUrl = new DFileSelector(main); in VidSlideOutputPage() 126 d->destUrl->setFileDlgMode(QFileDialog::Directory); in VidSlideOutputPage() 127 d->destUrl->setFileDlgOptions(QFileDialog::ShowDirsOnly); in VidSlideOutputPage() 128 d->destUrl->setFileDlgTitle(i18n("Destination Folder")); in VidSlideOutputPage() 130 fileLabel->setBuddy(d->destUrl); in VidSlideOutputPage() 164 grid->addWidget(d->destUrl, 1, 1, 1, 1); in VidSlideOutputPage() 177 connect(d->destUrl, SIGNAL(signalUrlSelected(QUrl)), in VidSlideOutputPage() 196 if (d->destUrl->fileDlgPath().isEmpty()) in validatePage() [all …]
|
/dports/x11-fm/dolphin/dolphin-21.12.3/src/views/ |
H A D | draganddrophelper.cpp | 20 bool DragAndDropHelper::urlListMatchesUrl(const QList<QUrl>& urls, const QUrl& destUrl) in urlListMatchesUrl() argument 22 auto iteratorResult = m_urlListMatchesUrlCache.constFind(destUrl); in urlListMatchesUrl() 28 std::find_if(urls.constBegin(), urls.constEnd(), [destUrl](const QUrl& url) { in urlListMatchesUrl() 29 return url.matches(destUrl, QUrl::StripTrailingSlash); in urlListMatchesUrl() 32 return *m_urlListMatchesUrlCache.insert(destUrl, destUrlMatches); in urlListMatchesUrl() 35 KIO::DropJob* DragAndDropHelper::dropUrls(const QUrl& destUrl, QDropEvent* event, QWidget* window) in dropUrls() argument 45 message.setArguments({destUrl.toDisplayString(QUrl::PreferLocalFile)}); in dropUrls() 48 if (urlListMatchesUrl(event->mimeData()->urls(), destUrl)) { in dropUrls() 53 KIO::DropJob *job = KIO::drop(event, destUrl); in dropUrls()
|
/dports/graphics/digikam/digikam-7.4.0/core/libs/iojobs/ |
H A D | iojobdata.cpp | 65 QUrl destUrl; member in Digikam::IOJobData::Private 85 d->destUrl = d->destAlbum->fileUrl(); in IOJobData() 95 d->destUrl = dest; in IOJobData() 111 d->destUrl = d->destAlbum->fileUrl(); in IOJobData() 131 d->destUrl = d->destAlbum->fileUrl(); in IOJobData() 142 d->destUrl = dest; in IOJobData() 161 d->destUrl.setPath(d->destUrl.path() + newName); in IOJobData() 202 const QUrl& destUrl) in setDestUrl() argument 206 d->changeDestMap.insert(srcUrl, destUrl); in setDestUrl() 239 QUrl IOJobData::destUrl(const QUrl& srcUrl) const in destUrl() function in Digikam::IOJobData [all …]
|
H A D | iojob.cpp | 74 QDir dstDir(m_data->destUrl().toLocalFile()); in run() 129 QUrl destUrl = QUrl::fromLocalFile(destenation); in run() local 133 destenation = DFileOperations::getUniqueFolderUrl(destUrl).toLocalFile(); in run() 137 QUrl renamed = DFileOperations::getUniqueFileUrl(destUrl); in run() 353 QUrl destUrl = m_data->destUrl(renameUrl); in run() local 354 QFileInfo fileInfo(destUrl.toLocalFile()); in run() 365 if (!DTrash::deleteImage(destUrl.toLocalFile(), m_data->jobTime())) in run() 368 QDir::toNativeSeparators(destUrl.toLocalFile()))); in run() 378 QDir::toNativeSeparators(destUrl.toLocalFile()))); in run() 387 << destUrl.toLocalFile(); in run() [all …]
|
/dports/x11-fm/krusader2/krusader-2.7.2/krusader/Archive/ |
H A D | packjob.cpp | 36 startAbstractJobThread(new PackThread(srcUrl, destUrl, fileNames, type, packProps)); in PackJob() 39 PackJob * PackJob::createPacker(const QUrl &srcUrl, const QUrl &destUrl, const QStringList & fileNa… in createPacker() argument 41 return new PackJob(srcUrl, destUrl, fileNames, type, packProps); in createPacker() 44 PackThread::PackThread(const QUrl &srcUrl, const QUrl &destUrl, const QStringList & fileNames, in PackThread() argument 46 AbstractJobThread(), _sourceUrl(srcUrl), _destUrl(destUrl), _fileNames(fileNames), in PackThread() 124 UnpackJob::UnpackJob(const QUrl &srcUrl, const QUrl &destUrl, const QStringList & fileNames) : Abst… in UnpackJob() argument 126 startAbstractJobThread(new UnpackThread(srcUrl, destUrl, fileNames)); in UnpackJob() 129 UnpackJob * UnpackJob::createUnpacker(const QUrl &srcUrl, const QUrl &destUrl, const QStringList & … in createUnpacker() argument 131 return new UnpackJob(srcUrl, destUrl, fileNames); in createUnpacker() 134 UnpackThread::UnpackThread(const QUrl &srcUrl, const QUrl &destUrl, const QStringList & fileNames) : in UnpackThread() argument [all …]
|
H A D | packjob.h | 38 …PackJob(const QUrl &srcUrl, const QUrl &destUrl, const QStringList & fileNames, const QString &typ… 41 …static PackJob * createPacker(const QUrl &srcUrl, const QUrl &destUrl, const QStringList & fileNam… 50 …PackThread(const QUrl &srcUrl, const QUrl &destUrl, const QStringList & fileNames, const QString &… 100 UnpackJob(const QUrl &srcUrl, const QUrl &destUrl, const QStringList & fileNames); 103 …static UnpackJob * createUnpacker(const QUrl &srcUrl, const QUrl &destUrl, const QStringList & fil… 112 UnpackThread(const QUrl &srcUrl, const QUrl &destUrl, const QStringList & fileNames);
|
/dports/devel/kf5-kio/kio-5.89.0/src/widgets/ |
H A D | paste.cpp | 68 static QUrl getDestinationUrl(const QUrl &srcUrl, const QUrl &destUrl, QWidget *widget) in getDestinationUrl() argument 70 …KIO::StatJob *job = KIO::stat(destUrl, destUrl.isLocalFile() ? KIO::HideProgressInfo : KIO::Defaul… in getDestinationUrl() 88 return destUrl; in getDestinationUrl() 92 return destUrl; in getDestinationUrl() 173 const QUrl destUrl = getDestinationUrl(u, *newUrl, widget); in chooseFormatAndUrl() local 174 *newUrl = destUrl; in chooseFormatAndUrl() 247 const QUrl newUrl = getNewFileName(destUrl, dialogText, suggestedFilename, widget); in pasteMimeDataImpl() 261 if (!destUrl.isValid()) { in pasteClipboard() 262 KMessageBox::error(widget, i18n("Malformed URL\n%1", destUrl.errorString())); in pasteClipboard() 263 qCWarning(KIO_WIDGETS) << destUrl.errorString(); in pasteClipboard() [all …]
|
H A D | clipboardupdater.cpp | 36 QUrl dUrl = copyJob->destUrl().adjusted(QUrl::StripTrailingSlash); in overwriteUrlsInClipboard() 41 newUrls << fileCopyJob->destUrl(); in overwriteUrlsInClipboard() 72 QUrl dUrl = copyJob->destUrl().adjusted(QUrl::StripTrailingSlash); in updateUrlsInClipboard() 81 clipboardUrls.replace(index, fileCopyJob->destUrl()); in updateUrlsInClipboard() 159 void ClipboardUpdater::update(const QUrl &srcUrl, const QUrl &destUrl) in update() argument 167 clipboardUrls.replace(index, destUrl); in update()
|
/dports/x11-toolkits/plasma5-kdeplasma-addons/kdeplasma-addons-5.23.5/applets/comic/ |
H A D | comicsaver.cpp | 27 QUrl destUrl = QUrl::fromLocalFile(mSavingDir->getDir() + QLatin1Char('/') + name); in save() local 29 destUrl = QFileDialog::getSaveFileUrl(nullptr, QString(), destUrl, QStringLiteral("*.png")); in save() 31 if (!destUrl.isValid()) { in save() 35 mSavingDir->setDir(destUrl.path()); in save() 36 comic.image().save(destUrl.toLocalFile(), "PNG"); in save()
|
/dports/graphics/gwenview/gwenview-21.12.3/tests/auto/ |
H A D | importertest.cpp | 90 importer.start(list, destUrl); in testSuccessfulImport() 103 QUrl dst = destUrl; in testSuccessfulImport() 175 importer.start(list, destUrl); in testSkippedUrlList() 184 importer.start(list, destUrl); in testSkippedUrlList() 204 importer.start(list, destUrl); in testRenamedCount() 212 QUrl url = destUrl; in testRenamedCount() 220 importer.start(list, destUrl); in testRenamedCount() 279 importer.start(list, destUrl); in testAutoRenameFormat() 287 QUrl dst = destUrl; in testAutoRenameFormat() 294 importer.start(list, destUrl); in testAutoRenameFormat() [all …]
|
/dports/www/py-wsgidav/WsgiDAV-3.1.0/wsgidav/prop_man/ |
H A D | couch_property_manager.py | 206 def copy_properties(self, srcUrl, destUrl, environ=None): argument 210 "copy_properties(%s, %s): src has no properties" % (srcUrl, destUrl) 213 _logger.debug("copy_properties(%s, %s)" % (srcUrl, destUrl)) 214 assert not self._find(destUrl) 217 "url": destUrl, 218 "title": compat.quote(destUrl), 224 def move_properties(self, srcUrl, destUrl, with_children, environ=None): argument 225 _logger.debug("move_properties(%s, %s, %s)" % (srcUrl, destUrl, with_children)) 230 newDest = doc["url"].replace(srcUrl, destUrl) 239 _logger.debug("move property %s -> %s" % (doc["url"], destUrl)) [all …]
|
H A D | mongo_property_manager.py | 164 def copy_properties(self, srcUrl, destUrl, environ=None): argument 168 "copy_properties(%s, %s): src has no properties" % (srcUrl, destUrl) 171 _logger.debug("copy_properties(%s, %s)" % (srcUrl, destUrl)) 175 def move_properties(self, srcUrl, destUrl, with_children, environ=None): argument 176 _logger.debug("move_properties(%s, %s, %s)" % (srcUrl, destUrl, with_children)) 183 newDest = doc["_url"].replace(srcUrl, destUrl) 192 _logger.debug("move property %s -> %s" % (doc["_url"], destUrl)) 193 doc["_url"] = destUrl
|
/dports/www/py-seafdav/seafdav-8.0.7-server/wsgidav/prop_man/ |
H A D | couch_property_manager.py | 205 def copy_properties(self, srcUrl, destUrl, environ=None): argument 209 "copy_properties(%s, %s): src has no properties" % (srcUrl, destUrl) 212 _logger.debug("copy_properties(%s, %s)" % (srcUrl, destUrl)) 213 assert not self._find(destUrl) 216 "url": destUrl, 217 "title": compat.quote(destUrl), 223 def move_properties(self, srcUrl, destUrl, with_children, environ=None): argument 224 _logger.debug("move_properties(%s, %s, %s)" % (srcUrl, destUrl, with_children)) 229 newDest = doc["url"].replace(srcUrl, destUrl) 238 _logger.debug("move property %s -> %s" % (doc["url"], destUrl)) [all …]
|
H A D | mongo_property_manager.py | 165 def copy_properties(self, srcUrl, destUrl, environ=None): argument 169 "copy_properties(%s, %s): src has no properties" % (srcUrl, destUrl) 172 _logger.debug("copy_properties(%s, %s)" % (srcUrl, destUrl)) 176 def move_properties(self, srcUrl, destUrl, with_children, environ=None): argument 177 _logger.debug("move_properties(%s, %s, %s)" % (srcUrl, destUrl, with_children)) 184 newDest = doc["_url"].replace(srcUrl, destUrl) 193 _logger.debug("move property %s -> %s" % (doc["_url"], destUrl)) 194 doc["_url"] = destUrl
|
/dports/misc/kf5-purpose/purpose-5.89.0/src/plugins/nextcloud/ |
H A D | nextcloudjob.cpp | 55 QUrl destUrl; in gotCredentials() local 56 destUrl.setHost(acc->valueAsString(QStringLiteral("dav/host"))); in gotCredentials() 57 destUrl.setScheme(QStringLiteral("webdav")); in gotCredentials() 58 destUrl.setPath(acc->valueAsString(QStringLiteral("dav/storagePath")) + folder); in gotCredentials() 59 …destUrl.setUserName(credentialsJob->credentialsData().value(QStringLiteral("UserName")).toString()… in gotCredentials() 60 … destUrl.setPassword(credentialsJob->credentialsData().value(QStringLiteral("Secret")).toString()); in gotCredentials() 64 KIO::CopyJob *copyJob = KIO::copy(sourceUrls, destUrl); in gotCredentials()
|
/dports/graphics/gwenview/gwenview-21.12.3/app/ |
H A D | fileoperations.cpp | 105 QUrl destUrl = dialog->selectedUrls().at(0); in copyMoveOrLink() local 110 job = KIO::copy(urlList, destUrl); in copyMoveOrLink() 113 job = KIO::move(urlList, destUrl); in copyMoveOrLink() 116 job = KIO::link(urlList, destUrl); in copyMoveOrLink() 125 destUrl = destUrl.adjusted(QUrl::RemoveFilename|QUrl::StripTrailingSlash); in copyMoveOrLink() 127 contextManager->setTargetDirUrl(destUrl); in copyMoveOrLink() 186 void showMenuForDroppedUrls(QWidget *parent, const QList<QUrl> &urlList, const QUrl &destUrl) in showMenuForDroppedUrls() argument 193 if (!destUrl.isValid()) { in showMenuForDroppedUrls() 209 job = KIO::move(urlList, destUrl); in showMenuForDroppedUrls() 211 job = KIO::copy(urlList, destUrl); in showMenuForDroppedUrls() [all …]
|
/dports/graphics/digikam/digikam-7.4.0/core/libs/threadimageio/engine/ |
H A D | dfileoperations.cpp | 169 QUrl destUrl(orgUrl); in getUniqueFileUrl() local 170 QFileInfo fi(destUrl.toLocalFile()); in getUniqueFileUrl() 186 QFileInfo nfi(destUrl.toLocalFile()); in getUniqueFileUrl() 200 destUrl = destUrl.adjusted(QUrl::RemoveFilename); in getUniqueFileUrl() 201 destUrl.setPath(destUrl.path() + completeBaseName + in getUniqueFileUrl() 208 return destUrl; in getUniqueFileUrl() 214 QUrl destUrl(orgUrl); in getUniqueFolderUrl() local 215 QFileInfo fi(destUrl.toLocalFile()); in getUniqueFolderUrl() 240 destUrl = destUrl.adjusted(QUrl::RemoveFilename); in getUniqueFolderUrl() 241 destUrl.setPath(destUrl.path() + completeFileName + in getUniqueFolderUrl() [all …]
|
/dports/net/kget/kget-21.12.3/ui/ |
H A D | newtransferdialog.cpp | 331 const QUrl destUrl = UrlChecker::destUrl(dest, source); in checkInput() local 332 if (UrlChecker::wouldOverwrite(source, destUrl)) { in checkInput() 348 m_destination = UrlChecker::destUrl(dest, source); in checkInput() 441 const QUrl destUrl = UrlChecker::destUrl(m_destination, sourceUrl); in dialogAccepted() local 449 FileDeleter::deleteFile(destUrl); in dialogAccepted() 638 …const QUrl destUrl = UrlChecker::destUrl(QUrl::fromLocalFile(folder), sourceUrl, suggestedFileName… in handleUrls() local 646 …const QUrl destUrl = UrlChecker::destUrl(QUrl::fromLocalFile(defaultFolder), sourceUrl, suggestedF… in handleUrls() local 672 const QUrl destUrl = UrlChecker::destUrl(folderUrl, sourceUrl); in handleUrls() local 686 const QUrl destUrl = UrlChecker::destUrl(folderUrl, sourceUrl); in handleUrls() local 721 const QUrl destUrl = UrlChecker::destUrl(folderUrl, sourceUrl); in handleUrls() local [all …]
|
/dports/x11/plasma5-plasma-workspace/plasma-workspace-5.23.5/libnotificationmanager/ |
H A D | job_p.cpp | 77 QUrl JobPrivate::destUrl() const in destUrl() function in JobPrivate 163 const QUrl destUrl = this->destUrl(); in text() local 164 const QString prettyDestUrl = prettyUrl(destUrl); in text() 169 …destUrlString = QStringLiteral("<a href=\"%1\">%2</a>").arg(destUrl.toString(QUrl::PrettyDecoded),… in text() 378 QUrl destUrl = QUrl(urlVariant.variant().toUrl().adjusted(QUrl::StripTrailingSlash)); // urgh in setDestUrl() local 379 if (destUrl.scheme().isEmpty()) { in setDestUrl() 380 qCInfo(NOTIFICATIONMANAGER) << "Job from" << m_applicationName << "set a destUrl" << destUrl in setDestUrl() 382 destUrl.setScheme(QStringLiteral("file")); in setDestUrl() 385 updateField(destUrl, m_destUrl, &Job::destUrlChanged); in setDestUrl() 437 const QUrl destUrl = QUrl(it->toUrl().adjusted(QUrl::StripTrailingSlash)); // urgh in update() local [all …]
|
/dports/net/kio-gdrive/kio-gdrive-21.12.3/purpose/ |
H A D | gdrivejob.cpp | 29 QUrl destUrl; in start() local 30 destUrl.setScheme(QStringLiteral("gdrive")); in start() 31 destUrl.setPath(accountName + folder); in start() 35 KIO::CopyJob *copyJob = KIO::copy(sourceUrls, destUrl); in start()
|
/dports/net/kget/kget-21.12.3/core/ |
H A D | kget.cpp | 246 destUrl = getValidDestUrl(destUrl, srcUrl); in addTransfer() 248 if (destUrl == QUrl()) in addTransfer() 309 QUrl destUrl; in addTransfer() local 332 if (destUrl == QUrl()) in addTransfer() 1005 if (!destUrl.isEmpty()) { in destFileInputDialog() 1009 return destUrl; in destFileInputDialog() 1090 QUrl destUrl = destDir; in getValidDestUrl() local 1097 destUrl = destUrl.adjusted( QUrl::RemoveFilename ); in getValidDestUrl() 1098 destUrl.setPath(destUrl.path() + filename); in getValidDestUrl() 1123 } else if (destUrl.isLocalFile() && QFile::exists(destUrl.toLocalFile())) { in getValidDestUrl() [all …]
|
/dports/multimedia/kdenlive/kdenlive-21.12.3/src/jobs/ |
H A D | transcodetask.cpp | 107 QString destUrl = dir.absoluteFilePath(fileName); in run() local 108 destUrl.append(QString::number(fileCount).rightJustified(4, '0', false)); in run() 130 …(t.section(QLatin1Char(' '), 1).replace(QLatin1String("%1"), QString("avformat:%1").arg(destUrl))); in run() 193 parameters << t.replace(QLatin1String("%1"), destUrl); in run() 207 destUrl.append(transcoderExt); in run() 213 if (QFileInfo(destUrl).size() == 0) { in run() 214 QFile::remove(destUrl); in run() 226 newProps.insert(QStringLiteral("resource"), destUrl); in run() 227 newProps.insert(QStringLiteral("kdenlive:clipname"), QFileInfo(destUrl).fileName()); in run() 237 …d(pCore->window(), "addProjectClip", Qt::QueuedConnection, Q_ARG(QString,destUrl), Q_ARG(QString,f… in run() [all …]
|