Changeset View
Changeset View
Standalone View
Standalone View
kcms/nightcolor/package/contents/ui/TimeField.qml
Show All 9 Lines | |||||
10 | but WITHOUT ANY WARRANTY; without even the implied warranty of | 10 | but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
11 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | 11 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
12 | GNU General Public License for more details. | 12 | GNU General Public License for more details. | ||
13 | 13 | | |||
14 | You should have received a copy of the GNU General Public License | 14 | You should have received a copy of the GNU General Public License | ||
15 | along with this program. If not, see <http://www.gnu.org/licenses/>. | 15 | along with this program. If not, see <http://www.gnu.org/licenses/>. | ||
16 | *********************************************************************/ | 16 | *********************************************************************/ | ||
17 | import QtQuick 2.1 | 17 | import QtQuick 2.1 | ||
18 | import QtQuick.Layouts 1.1 | 18 | import QtQuick.Controls 2.5 as QQC2 | ||
19 | import QtQuick.Controls 2.2 as Controls | | |||
20 | 19 | | |||
21 | Controls.TextField { | 20 | QQC2.TextField { | ||
22 | id: field | 21 | id: field | ||
23 | 22 | | |||
24 | property date backend | 23 | property date backend | ||
25 | horizontalAlignment: TextInput.AlignHCenter | 24 | horizontalAlignment: TextInput.AlignHCenter | ||
26 | 25 | | |||
27 | onBackendChanged: readIn() | 26 | onBackendChanged: readIn() | ||
28 | 27 | | |||
29 | function getNormedDate() { | 28 | function getNormedDate() { | ||
▲ Show 20 Lines • Show All 45 Lines • Show Last 20 Lines |