37 QLabel, |
37 QLabel, |
38 QLineEdit, |
38 QLineEdit, |
39 QVBoxLayout, |
39 QVBoxLayout, |
40 ) |
40 ) |
41 |
41 |
42 from eric7 import Preferences, Utilities |
42 from eric7 import Globals, Preferences |
43 from eric7.EricGui.EricOverrideCursor import EricOverrideCursor |
43 from eric7.EricGui.EricOverrideCursor import EricOverrideCursor |
44 from eric7.EricWidgets import EricMessageBox |
44 from eric7.EricWidgets import EricMessageBox |
45 from eric7.WebBrowser.WebBrowserWindow import WebBrowserWindow |
45 from eric7.WebBrowser.WebBrowserWindow import WebBrowserWindow |
46 |
46 |
47 |
47 |
131 Public method to get the directory sessions are stored in. |
131 Public method to get the directory sessions are stored in. |
132 |
132 |
133 @return name of the sessions directory |
133 @return name of the sessions directory |
134 @rtype str |
134 @rtype str |
135 """ |
135 """ |
136 return os.path.join(Utilities.getConfigDir(), "web_browser", "sessions") |
136 return os.path.join(Globals.getConfigDir(), "web_browser", "sessions") |
137 |
137 |
138 def defaultSessionFile(self): |
138 def defaultSessionFile(self): |
139 """ |
139 """ |
140 Public method to get the name of the default session file. |
140 Public method to get the name of the default session file. |
141 |
141 |