# eric7.WebBrowser.ClosedTabsManager

Module implementing a class to manage closed tabs.

### Global Attributes

None

### Classes

ClosedTab | Class implementing a structure to store data about a closed tab.
ClosedTabsManager | Class implementing a manager for closed tabs.

### Functions

None

## ClosedTab

Class implementing a structure to store data about a closed tab.

### Derived from

None

### Class Attributes

position
title
url

### Class Methods

None

### Methods

None

### Static Methods

None

Up

## ClosedTabsManager

Class implementing a manager for closed tabs.

### Signals

closedTabAvailable(boolean)
  emitted to signal a change of availability of closed tabs

### Derived from

QObject

### Class Attributes

None

### Class Methods

None

### Methods

ClosedTabsManager | Constructor
allClosedTabs | Public method to get a list of all closed tabs.
clearList | Public method to clear the list of closed tabs.
getClosedTabAt | Public method to get the indexed closed tab.
isClosedTabAvailable | Public method to check for closed tabs.
recordBrowser | Public method to record the data of a browser about to be closed.

### Static Methods

None

#### ClosedTabsManager (Constructor)

ClosedTabsManager()

Constructor

#### ClosedTabsManager.allClosedTabs

allClosedTabs()

Public method to get a list of all closed tabs.

Return:
  list of closed tabs

Return Type:
  list of ClosedTab

#### ClosedTabsManager.clearList

clearList()

Public method to clear the list of closed tabs.

#### ClosedTabsManager.getClosedTabAt

getClosedTabAt(index)

Public method to get the indexed closed tab.

index (int)
  index of the tab to return

Return:
  requested tab

Return Type:
  ClosedTab

#### ClosedTabsManager.isClosedTabAvailable

isClosedTabAvailable()

Public method to check for closed tabs.

Return:
  flag indicating the availability of closed tab data

Return Type:
  bool

#### ClosedTabsManager.recordBrowser

recordBrowser(browser, position)

Public method to record the data of a browser about to be closed.

browser (WebBrowserView)
  reference to the browser to be closed
position (int)
  index of the tab to be closed

Up