summaryrefslogtreecommitdiff
path: root/src/history/historymanager.h
diff options
context:
space:
mode:
authorAndrea Diamantini <adjam7@gmail.com>2010-04-30 11:23:37 +0200
committerAndrea Diamantini <adjam7@gmail.com>2010-04-30 11:23:37 +0200
commitc896cc340d7e6e0878b3249c5792e6d88a12cf42 (patch)
treefd0a7a61ff1d07f301f2188de5cb6fa473134897 /src/history/historymanager.h
parentA tiny improvement in the error page, showing a fat icon.. :) (diff)
downloadrekonq-c896cc340d7e6e0878b3249c5792e6d88a12cf42.tar.xz
A coding style round
Diffstat (limited to 'src/history/historymanager.h')
-rw-r--r--src/history/historymanager.h24
1 files changed, 12 insertions, 12 deletions
diff --git a/src/history/historymanager.h b/src/history/historymanager.h
index 9a844672..ba9a5cc5 100644
--- a/src/history/historymanager.h
+++ b/src/history/historymanager.h
@@ -12,9 +12,9 @@
* published by the Free Software Foundation; either version 2 of
* the License or (at your option) version 3 or any later version
* accepted by the membership of KDE e.V. (or its successor approved
-* by the membership of KDE e.V.), which shall act as a proxy
+* by the membership of KDE e.V.), which shall act as a proxy
* defined in Section 14 of version 3 of the license.
-*
+*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
@@ -54,12 +54,12 @@ class HistoryItem
public:
HistoryItem() {}
explicit HistoryItem(const QString &u,
- const QDateTime &d = QDateTime(),
+ const QDateTime &d = QDateTime(),
const QString &t = QString()
)
: title(t)
- , url(u),
- dateTime(d)
+ , url(u),
+ dateTime(d)
{}
inline bool operator==(const HistoryItem &other) const
@@ -90,12 +90,12 @@ public:
explicit DownloadItem(const QString &srcUrl,
const QString &destUrl,
const QDateTime &d
- )
- : srcUrlString(srcUrl)
- , destUrlString(destUrl)
- , dateTime(d)
+ )
+ : srcUrlString(srcUrl)
+ , destUrlString(destUrl)
+ , dateTime(d)
{}
-
+
QString srcUrlString;
QString destUrlString;
QDateTime dateTime;
@@ -142,7 +142,7 @@ public:
void removeHistoryEntry(const KUrl &url, const QString &title = QString());
QString titleForHistoryUrl(QString url);
-
+
int historyLimit() const;
void setHistoryLimit(int limit);
@@ -162,7 +162,7 @@ public:
void addDownload(const QString &srcUrl, const QString &destUrl);
DownloadList downloads();
bool clearDownloadsHistory();
-
+
public slots:
void clear();
void loadSettings();