Changeset View
Changeset View
Standalone View
Standalone View
krusader/Archive/abstractthreadedjob.h
Show First 20 Lines • Show All 106 Lines • ▼ Show 20 Line(s) | 105 | protected: | |||
---|---|---|---|---|---|
107 | void setJob(AbstractThreadedJob * job) { | 107 | void setJob(AbstractThreadedJob * job) { | ||
108 | _job = job; | 108 | _job = job; | ||
109 | } | 109 | } | ||
110 | 110 | | |||
111 | QList<QUrl> remoteUrls(const QUrl &baseUrl, const QStringList & files); | 111 | QList<QUrl> remoteUrls(const QUrl &baseUrl, const QStringList & files); | ||
112 | QUrl downloadIfRemote(const QUrl &baseUrl, const QStringList & files); | 112 | QUrl downloadIfRemote(const QUrl &baseUrl, const QStringList & files); | ||
113 | void countLocalFiles(const QUrl &baseUrl, const QStringList &names, unsigned long &totalFiles); | 113 | void countLocalFiles(const QUrl &baseUrl, const QStringList &names, unsigned long &totalFiles); | ||
114 | 114 | | |||
115 | void sendError(int errorCode, QString message); | 115 | void sendError(int errorCode, const QString& message); | ||
116 | void sendInfo(QString message, QString a1 = QString(), QString a2 = QString(), QString a3 = QString(), QString a4 = QString()); | 116 | void sendInfo(const QString& message, const QString& a1 = QString(), const QString& a2 = QString(), const QString& a3 = QString(), const QString& a4 = QString()); | ||
117 | void sendReset(QString message, QString a1 = QString(""), QString a2 = QString(""), QString a3 = QString(""), QString a4 = QString("")); | 117 | void sendReset(const QString& message, const QString& a1 = QString(""), const QString& a2 = QString(""), const QString& a3 = QString(""), const QString& a4 = QString("")); | ||
118 | void sendSuccess(); | 118 | void sendSuccess(); | ||
119 | void sendMessage(const QString &message); | 119 | void sendMessage(const QString &message); | ||
120 | void sendMaxProgressValue(qulonglong value); | 120 | void sendMaxProgressValue(qulonglong value); | ||
121 | void sendAddProgress(qulonglong value, const QString &progress = QString()); | 121 | void sendAddProgress(qulonglong value, const QString &progress = QString()); | ||
122 | 122 | | |||
123 | void setProgressTitle(const QString &title) { | 123 | void setProgressTitle(const QString &title) { | ||
124 | _progressTitle = title; | 124 | _progressTitle = title; | ||
125 | } | 125 | } | ||
▲ Show 20 Lines • Show All 63 Lines • Show Last 20 Lines |