src/eric7/Preferences/__init__.py

branch
eric7
changeset 9559
34fc53e6159d
parent 9537
66a2e32ecba9
child 9563
8ee667840224
--- a/src/eric7/Preferences/__init__.py	Sun Dec 04 10:34:43 2022 +0100
+++ b/src/eric7/Preferences/__init__.py	Sun Dec 04 11:58:37 2022 +0100
@@ -351,7 +351,7 @@
             "application/x-tex",
             "application/x-texinfo",
             "image/svg+xml",
-            "message/rfc822", 
+            "message/rfc822",
         ],
     }
 
@@ -1221,15 +1221,6 @@
         "PySide6ToolsDir": "",
     }
 
-    # defaults for corba related stuff
-    corbaDefaults = {"omniidl": ""}
-
-    # defaults for protobuf related stuff
-    protobufDefaults = {
-        "protoc": "",
-        "grpcPython": "",
-    }
-
     # defaults for user related stuff
     userDefaults = {
         "Email": "",
@@ -3157,50 +3148,6 @@
     Prefs.settings.setValue("Qt/" + key, value)
 
 
-def getCorba(key):
-    """
-    Module function to retrieve the various Corba settings.
-
-    @param key the key of the value to get
-    @return the requested corba setting
-    """
-    return Prefs.settings.value("Corba/" + key, Prefs.corbaDefaults[key])
-
-
-def setCorba(key, value):
-    """
-    Module function to store the various Corba settings.
-
-    @param key the key of the setting to be set
-    @param value the value to be set
-    """
-    Prefs.settings.setValue("Corba/" + key, value)
-
-
-def getProtobuf(key):
-    """
-    Module function to retrieve the various protobuf settings.
-
-    @param key the key of the value to get
-    @type str
-    @return the requested protobuf setting
-    @rtype any
-    """
-    return Prefs.settings.value("Protobuf/" + key, Prefs.protobufDefaults[key])
-
-
-def setProtobuf(key, value):
-    """
-    Module function to store the various protobuf settings.
-
-    @param key the key of the setting to be set
-    @type str
-    @param value the value to be set
-    @type any
-    """
-    Prefs.settings.setValue("Protobuf/" + key, value)
-
-
 def getUser(key):
     """
     Module function to retrieve the various user settings.

eric ide

mercurial