11 |
11 |
12 from PyQt6.QtCore import QCoreApplication, QDate, Qt |
12 from PyQt6.QtCore import QCoreApplication, QDate, Qt |
13 |
13 |
14 from .BookmarksImporter import BookmarksImporter |
14 from .BookmarksImporter import BookmarksImporter |
15 |
15 |
16 import UI.PixmapCache |
16 from eric7.EricGui import EricPixmapCache |
17 import Globals |
17 from eric7 import Globals |
18 |
18 |
19 |
19 |
20 def getImporterInfo(sourceId): |
20 def getImporterInfo(sourceId): |
21 """ |
21 """ |
22 Module function to get information for the given source id. |
22 Module function to get information for the given source id. |
35 os.path.expandvars("%USERPROFILE%\\Favorites") |
35 os.path.expandvars("%USERPROFILE%\\Favorites") |
36 if Globals.isWindowsPlatform() |
36 if Globals.isWindowsPlatform() |
37 else "" |
37 else "" |
38 ) |
38 ) |
39 return ( |
39 return ( |
40 UI.PixmapCache.getPixmap("internet_explorer"), |
40 EricPixmapCache.getPixmap("internet_explorer"), |
41 "Internet Explorer", |
41 "Internet Explorer", |
42 "", |
42 "", |
43 QCoreApplication.translate( |
43 QCoreApplication.translate( |
44 "IExplorerImporter", |
44 "IExplorerImporter", |
45 """Internet Explorer stores its bookmarks in the""" |
45 """Internet Explorer stores its bookmarks in the""" |