emit validated(checksumType, checksum);
}
-CSyncChecksumHook::CSyncChecksumHook()
-{
-}
+CSyncChecksumHook::CSyncChecksumHook() = default;
QByteArray CSyncChecksumHook::hook(const QByteArray &path, const QByteArray &otherChecksumHeader, void * /*this_obj*/)
{
addInTreeExcludeFilePath(fi.absoluteFilePath());
}
-ExcludedFiles::~ExcludedFiles()
-{
-}
+ExcludedFiles::~ExcludedFiles() = default;
void ExcludedFiles::addExcludeFilePath(const QString &path)
{
_timeSinceLastETagCheck.invalidate();
}
-AccountState::~AccountState()
-{
-}
+AccountState::~AccountState() = default;
AccountState *AccountState::loadFromSettings(AccountPtr account, QSettings & /*settings*/)
{
QObject::connect(&_pollTimer, &QTimer::timeout, this, &Flow2Auth::slotPollTimerTimeout);
}
-Flow2Auth::~Flow2Auth()
-{
-}
+Flow2Auth::~Flow2Auth() = default;
void Flow2Auth::start()
{
Q_LOGGING_CATEGORY(lcOauth, "nextcloud.sync.credentials.oauth", QtInfoMsg)
-OAuth::~OAuth()
-{
-}
+OAuth::~OAuth() = default;
static void httpReplyAndClose(QTcpSocket *socket, const char *code, const char *html,
const char *moreHeaders = nullptr)
}
-FolderStatusModel::~FolderStatusModel()
-{
-}
+FolderStatusModel::~FolderStatusModel() = default;
static bool sortByFolderHeader(const FolderStatusModel::SubFolderInfo &lhs, const FolderStatusModel::SubFolderInfo &rhs)
{
{
}
-FolderWatcher::~FolderWatcher()
-{
-}
+FolderWatcher::~FolderWatcher() = default;
void FolderWatcher::init(const QString &root)
{
QMetaObject::invokeMethod(this, "slotAddFolderRecursive", Q_ARG(QString, path));
}
-FolderWatcherPrivate::~FolderWatcherPrivate()
-{
-}
+FolderWatcherPrivate::~FolderWatcherPrivate() = default;
// attention: result list passed by reference!
bool FolderWatcherPrivate::findFoldersBelow(const QDir &dir, QStringList &fullList)
_ui.warnLabel->hide();
}
-FolderWizardLocalPath::~FolderWizardLocalPath()
-{
-}
+FolderWizardLocalPath::~FolderWizardLocalPath() = default;
void FolderWizardLocalPath::initializePage()
{
return job;
}
-FolderWizardRemotePath::~FolderWizardRemotePath()
-{
-}
+FolderWizardRemotePath::~FolderWizardRemotePath() = default;
bool FolderWizardRemotePath::isComplete() const
{
layout->addWidget(_selectiveSync);
}
-FolderWizardSelectiveSync::~FolderWizardSelectiveSync()
-{
-}
+FolderWizardSelectiveSync::~FolderWizardSelectiveSync() = default;
void FolderWizardSelectiveSync::initializePage()
setButtonText(QWizard::FinishButton, tr("Add Sync Connection"));
}
-FolderWizard::~FolderWizard()
-{
-}
+FolderWizard::~FolderWizard() = default;
bool FolderWizard::eventFilter(QObject *watched, QEvent *event)
{
_logWidget->document()->setMaximumBlockCount(lines);
}
-LogBrowser::~LogBrowser()
-{
-}
+LogBrowser::~LogBrowser() = default;
void LogBrowser::showEvent(QShowEvent *)
{
}
}
-SyncLogDialog::~SyncLogDialog()
-{
-}
+SyncLogDialog::~SyncLogDialog() = default;
}
namespace OCC {
-SyncRunFileLog::SyncRunFileLog()
-{
-}
+SyncRunFileLog::SyncRunFileLog() = default;
QString SyncRunFileLog::dateTimeStr(const QDateTime &dt)
{
}
}
-OwncloudSetupPage::~OwncloudSetupPage()
-{
-}
+OwncloudSetupPage::~OwncloudSetupPage() = default;
void OwncloudSetupPage::slotStyleChanged()
{
setupCustomization();
}
-OwncloudWizardResultPage::~OwncloudWizardResultPage()
-{
-}
+OwncloudWizardResultPage::~OwncloudWizardResultPage() = default;
void OwncloudWizardResultPage::setComplete(bool complete)
{
return &_e2e;
}
-Account::~Account()
-{
-}
+Account::~Account() = default;
QString Account::davPath() const
{
_relativeDownloadDelayTimer.setSingleShot(true); // will be restarted from the measuring timer
}
-BandwidthManager::~BandwidthManager()
-{
-}
+BandwidthManager::~BandwidthManager() = default;
void BandwidthManager::registerUploadDevice(UploadDevice *p)
{
}
}
-ClientSideEncryption::ClientSideEncryption()
-{
-}
+ClientSideEncryption::ClientSideEncryption() = default;
void ClientSideEncryption::setAccount(AccountPtr account)
{
{
}
-CookieJar::~CookieJar()
-{
-}
+CookieJar::~CookieJar() = default;
bool CookieJar::setCookiesFromUrl(const QList<QNetworkCookie> &cookieList, const QUrl &url)
{
}
-LsColXMLParser::LsColXMLParser()
-{
-}
+LsColXMLParser::LsColXMLParser() = default;
bool LsColXMLParser::parse(const QByteArray &xml, QHash<QString, ExtraFolderInfo> *fileInfo, const QString &expectedPath)
{
return value;
}
-OwncloudPropagator::~OwncloudPropagator()
-{
-}
+OwncloudPropagator::~OwncloudPropagator() = default;
int OwncloudPropagator::maximumActiveTransferJob()
// ================================================================================
-CleanupPollsJob::~CleanupPollsJob()
-{
-}
+CleanupPollsJob::~CleanupPollsJob() = default;
void CleanupPollsJob::start()
{
{
}
-ProgressDispatcher::~ProgressDispatcher()
-{
-}
+ProgressDispatcher::~ProgressDispatcher() = default;
void ProgressDispatcher::setProgressInfo(const QString &folder, const ProgressInfo &progress)
{
return _instance;
}
-Theme::~Theme()
-{
-}
+Theme::~Theme() = default;
QString Theme::statusHeaderText(SyncResult::Status status) const
{