PortList Class | Extending Qt Creator Manual

Extending Qt Creator Manual | PortList

Extending Qt Creator Manual 4.6.0

# PortList Class

(Utils::PortList)

- List of all members, including inherited members

## Public Functions

| PortList()
| PortList(const PortList &other)
| ~PortList()
void | addPort(Port port)
void | addRange(Port startPort, Port endPort)
bool | contains(Port port) const
int | count() const
Port | getNext()
bool | hasMore() const
QString | toString() const
PortList & | operator=(const PortList &other)

## Static Public Members

PortList | fromString(const QString &portsSpec)
QString | regularExpression()

## Member Function Documentation

### PortList::PortList()

Default constructs an instance of PortList.

### PortList::PortList(const PortList &other)

Copy constructor.

### PortList::~PortList()

Destroys the instance of PortList.

### void PortList::addPort(Port port)

### void PortList::addRange(Port startPort, Port endPort)

### bool PortList::contains(Port port) const

### int PortList::count() const

### `[static]` PortList PortList::fromString(const QString &portsSpec)

### Port PortList::getNext()

### bool PortList::hasMore() const

### `[static]` QString PortList::regularExpression()

### QString PortList::toString() const

### PortList &PortList::operator=(const PortList &other)

Copy-assignment operator.