summaryrefslogtreecommitdiffstats
path: root/libkonq/konq_historycomm.cc
diff options
context:
space:
mode:
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;
-}