diff --git a/touch/EpisodeDetail.qml b/touch/EpisodeDetail.qml index fed4fed..b771a66 100644 --- a/touch/EpisodeDetail.qml +++ b/touch/EpisodeDetail.qml @@ -20,8 +20,6 @@ import QtQuick 2.0 -import 'constants.js' as Constants - SlidePage { id: detailPage diff --git a/touch/PListView.qml b/touch/PListView.qml index b53e9c7..4c929f9 100644 --- a/touch/PListView.qml +++ b/touch/PListView.qml @@ -20,8 +20,6 @@ import QtQuick 2.0 -import 'constants.js' as Constants - ListView { id: pListView diff --git a/touch/SlidePage.qml b/touch/SlidePage.qml index 2d1435d..60c7c1c 100644 --- a/touch/SlidePage.qml +++ b/touch/SlidePage.qml @@ -20,8 +20,6 @@ import QtQuick 2.0 -import 'constants.js' as Constants - Rectangle { id: page color: '#88000000' diff --git a/touch/SlidePageHeader.qml b/touch/SlidePageHeader.qml index 0435ba0..80dde73 100644 --- a/touch/SlidePageHeader.qml +++ b/touch/SlidePageHeader.qml @@ -20,7 +20,7 @@ import QtQuick 2.0 -import 'constants.js' as Constants +import 'common/constants.js' as Constants Item { id: slidePageHeader diff --git a/touch/constants.js b/touch/constants.js deleted file mode 100644 index 28e3076..0000000 --- a/touch/constants.js +++ /dev/null @@ -1,39 +0,0 @@ - -/** - * - * gPodder QML UI Reference Implementation - * Copyright (c) 2013, Thomas Perl - * - * Permission to use, copy, modify, and/or distribute this software for any - * purpose with or without fee is hereby granted, provided that the above - * copyright notice and this permission notice appear in all copies. - * - * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH - * REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY - * AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, - * INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM - * LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR - * OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR - * PERFORMANCE OF THIS SOFTWARE. - * - */ - -var layout = { - header: { - height: 100, /* page header height */ - }, -}; - -var colors = { - download: '#8ae234', /* download green */ - select: '#7f5785', /* gpodder dark purple */ - fresh: '#cf65de', /* gpodder purple */ - playback: '#729fcf', /* playback blue */ -}; - -var state = { - normal: 0, - downloaded: 1, - deleted: 2, -}; -