Warning, /plasma/plasma-firewall/kcm/ui/PortTextField.qml is written in an unsupported language. File is not indexed.

0001 // SPDX-License-Identifier: GPL-2.0-only OR GPL-3.0-only OR LicenseRef-KDE-Accepted-GPL
0002 // SPDX-FileCopyrightText: 2018 Alexis Lopes Zubeta <contact@azubieta.net>
0003 // SPDX-FileCopyrightText: 2020 Tomaz Canabrava <tcanabrava@kde.org>
0004 
0005 
0006 import QtQuick 2.15
0007 import QtQuick.Controls 2.9 as QQC2
0008 
0009 QQC2.TextField {
0010     id: root
0011     placeholderText: i18n("Any Port")
0012     validator: RegularExpressionValidator {
0013         regularExpression:/^([0-9]{1,4}|[1-5][0-9]{4}|6[0-4][0-9]{3}|65[0-4][0-9]{2}|655[0-2][0-9]|6553[0-5])$/
0014     }
0015 }