diff options
author | Andrea Diamantini <adjam7@gmail.com> | 2008-12-17 02:03:21 +0100 |
---|---|---|
committer | Andrea Diamantini <adjam7@gmail.com> | 2008-12-17 02:03:21 +0100 |
commit | 3fcb4e226ebe126f6c3a289d34f1b6a83c1444c1 (patch) | |
tree | 4a9b7ed9ede825c7c11e1f024f11e9c4c01eafb1 /src/history.cpp | |
parent | Enhanced CMakeLists.txt (diff) | |
download | rekonq-3fcb4e226ebe126f6c3a289d34f1b6a83c1444c1.tar.xz |
qDebug && qWarning --> kDebug && kWarning
Diffstat (limited to 'src/history.cpp')
-rw-r--r-- | src/history.cpp | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/src/history.cpp b/src/history.cpp index 5466963b..36a710b1 100644 --- a/src/history.cpp +++ b/src/history.cpp @@ -24,16 +24,16 @@ #include "autosaver.h" #include "browserapplication.h" +// KDE Includes +#include <KConfig> +#include <KDebug> + // Qt Includes #include <QtCore> #include <QtGui> #include <QtWebKit> #include <QtAlgorithms> -#include <QDebug> - -// KDE Includes -#include <KConfig> static const unsigned int HISTORY_VERSION = 23; @@ -235,7 +235,7 @@ void HistoryManager::load() return; if (!historyFile.open(QFile::ReadOnly)) { - qWarning() << "Unable to open history file" << historyFile.fileName(); + kWarning() << "Unable to open history file" << historyFile.fileName(); return; } @@ -340,7 +340,7 @@ void HistoryManager::save() if (!open) { - qWarning() << "Unable to open history file for saving" + kWarning() << "Unable to open history file for saving" << (saveAll ? tempFile.fileName() : historyFile.fileName()); return; } @@ -359,9 +359,9 @@ void HistoryManager::save() if (saveAll) { if (historyFile.exists() && !historyFile.remove()) - qWarning() << "History: error removing old history." << historyFile.errorString(); + kWarning() << "History: error removing old history." << historyFile.errorString(); if (!tempFile.rename(historyFile.fileName())) - qWarning() << "History: error moving new history over old." << tempFile.errorString() << historyFile.fileName(); + kWarning() << "History: error moving new history over old." << tempFile.errorString() << historyFile.fileName(); } m_lastSavedUrl = m_history.value(0).url; } |