eric6/Helpviewer/FlashCookieManager/FlashCookie.py

branch
maintenance
changeset 7286
7eb04391adf7
parent 7226
babe80d84a3e
parent 7285
1ff497f33f31
child 7287
1c17f2191bdd
--- a/eric6/Helpviewer/FlashCookieManager/FlashCookie.py	Mon Sep 09 18:52:08 2019 +0200
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,40 +0,0 @@
-# -*- coding: utf-8 -*-
-
-# Copyright (c) 2015 - 2019 Detlev Offenbach <detlev@die-offenbachs.de>
-#
-
-"""
-Module implementing the Flash cookie class.
-"""
-
-from __future__ import unicode_literals
-
-from PyQt5.QtCore import QDateTime
-
-
-class FlashCookie(object):
-    """
-    Class implementing the Flash cookie.
-    """
-    def __init__(self):
-        """
-        Constructor
-        """
-        self.name = ""
-        self.origin = ""
-        self.size = 0
-        self.path = ""
-        self.contents = ""
-        self.lastModified = QDateTime()
-    
-    def __eq__(self, other):
-        """
-        Special method to compare to another Flash cookie.
-        
-        @param other reference to the other Flash cookie
-        @type FlashCookie
-        @return flag indicating equality of the two cookies
-        @rtype bool
-        """
-        return (self.name == other.name and
-                self.path == other.path)

eric ide

mercurial