summaryrefslogtreecommitdiffstats
path: root/libkonq/konq_historycomm.cc
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2020-12-07 22:58:44 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2020-12-07 23:22:36 +0900
commitad6f3f6402df4bdf88672d511e21ab1e9b88d978 (patch)
treebacd0af440aa1a0671045d431406cda36d4df618 /libkonq/konq_historycomm.cc
parent6ab96d20b89c0e1d86abc00513c7cec304d85800 (diff)
downloadtdebase-ad6f3f6402df4bdf88672d511e21ab1e9b88d978.tar.gz
tdebase-ad6f3f6402df4bdf88672d511e21ab1e9b88d978.zip
Renaming of files in preparation for code style tools.
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it> (cherry picked from commit 145abc15d57fb29701a12e8a14dcb9c1fd72e9be)
Diffstat (limited to 'libkonq/konq_historycomm.cc')
-rw-r--r--libkonq/konq_historycomm.cc41
1 files changed, 0 insertions, 41 deletions
diff --git a/libkonq/konq_historycomm.cc b/libkonq/konq_historycomm.cc
deleted file mode 100644
index 6cfd9b53f..000000000
--- a/libkonq/konq_historycomm.cc
+++ /dev/null
@@ -1,41 +0,0 @@
-#include "konq_historycomm.h"
-
-bool KonqHistoryEntry::marshalURLAsStrings;
-
-// TQDataStream operators (read and write a KonqHistoryEntry
-// from/into a TQDataStream)
-TQDataStream& operator<< (TQDataStream& s, const KonqHistoryEntry& e) {
- if (KonqHistoryEntry::marshalURLAsStrings)
- s << e.url.url();
- else
- s << e.url;
-
- s << e.typedURL;
- s << e.title;
- s << e.numberOfTimesVisited;
- s << e.firstVisited;
- s << e.lastVisited;
-
- return s;
-}
-
-TQDataStream& operator>> (TQDataStream& s, KonqHistoryEntry& e) {
- if (KonqHistoryEntry::marshalURLAsStrings)
- {
- TQString url;
- s >> url;
- e.url = url;
- }
- else
- {
- s>>e.url;
- }
-
- s >> e.typedURL;
- s >> e.title;
- s >> e.numberOfTimesVisited;
- s >> e.firstVisited;
- s >> e.lastVisited;
-
- return s;
-}