12 |
12 |
13 from PyQt6.QtCore import QCoreApplication, QDate, Qt, QUrl |
13 from PyQt6.QtCore import QCoreApplication, QDate, Qt, QUrl |
14 |
14 |
15 from .BookmarksImporter import BookmarksImporter |
15 from .BookmarksImporter import BookmarksImporter |
16 |
16 |
17 import UI.PixmapCache |
17 from eric7.EricGui import EricPixmapCache |
18 import Globals |
18 from eric7 import Globals |
19 |
19 |
20 |
20 |
21 def getImporterInfo(sourceId): |
21 def getImporterInfo(sourceId): |
22 """ |
22 """ |
23 Module function to get information for the given source id. |
23 Module function to get information for the given source id. |
39 "~/Library/Application Support/Firefox/Profiles" |
39 "~/Library/Application Support/Firefox/Profiles" |
40 ) |
40 ) |
41 else: |
41 else: |
42 standardDir = os.path.expanduser("~/.mozilla/firefox") |
42 standardDir = os.path.expanduser("~/.mozilla/firefox") |
43 return ( |
43 return ( |
44 UI.PixmapCache.getPixmap("chrome"), |
44 EricPixmapCache.getPixmap("chrome"), |
45 "Mozilla Firefox", |
45 "Mozilla Firefox", |
46 "places.sqlite", |
46 "places.sqlite", |
47 QCoreApplication.translate( |
47 QCoreApplication.translate( |
48 "FirefoxImporter", |
48 "FirefoxImporter", |
49 """Mozilla Firefox stores its bookmarks in the""" |
49 """Mozilla Firefox stores its bookmarks in the""" |