summaryrefslogtreecommitdiff
path: root/src/downloaditem.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/downloaditem.h')
-rw-r--r--src/downloaditem.h20
1 files changed, 16 insertions, 4 deletions
diff --git a/src/downloaditem.h b/src/downloaditem.h
index 80f905bb..05e4d438 100644
--- a/src/downloaditem.h
+++ b/src/downloaditem.h
@@ -58,16 +58,28 @@ class DownloadItem : public QObject
public:
explicit DownloadItem(const QString &srcUrl, const QString &destUrl, const QDateTime &d, QObject *parent = 0);
- inline QDateTime dateTime() const { return m_dateTime; }
- inline QString originUrl() const { return m_srcUrlString; }
+ inline QDateTime dateTime() const
+ {
+ return m_dateTime;
+ }
+ inline QString originUrl() const
+ {
+ return m_srcUrlString;
+ }
QString destinationUrl() const;
QString fileName() const;
QString fileDirectory() const;
QString icon() const;
// Necessary to provide i18nized strings to javascript.
- Q_INVOKABLE QString i18nOpenDir() const { return i18n("Open directory"); }
- Q_INVOKABLE QString i18nOpenFile() const { return i18n("Open file"); }
+ Q_INVOKABLE QString i18nOpenDir() const
+ {
+ return i18n("Open directory");
+ }
+ Q_INVOKABLE QString i18nOpenFile() const
+ {
+ return i18n("Open file");
+ }
// For transfer control and notification
void setKGetTransferDbusPath(const QString &path);