1 # -*- coding: utf-8 -*- |
|
2 |
|
3 # Copyright (c) 2022 - 2023 Detlev Offenbach <detlev@die-offenbachs.de> |
|
4 # |
|
5 |
|
6 """ |
|
7 Module implementing a compatibility interface of the EricPixmapCache functionality to |
|
8 satisfy old plug-ins. |
|
9 """ |
|
10 |
|
11 from eric7.EricGui import EricPixmapCache |
|
12 |
|
13 getPixmap = EricPixmapCache.getPixmap |
|
14 getIcon = EricPixmapCache.getIcon |
|
15 getSymlinkIcon = EricPixmapCache.getSymlinkIcon |
|
16 getCombinedIcon = EricPixmapCache.getCombinedIcon |
|
17 addSearchPath = EricPixmapCache.addSearchPath |
|
18 removeSearchPath = EricPixmapCache.removeSearchPath |
|
19 |
|
20 # TODO: remove this module with release 23.4 |
|