Commit 18187a11 authored by Aleix Pol Gonzalez's avatar Aleix Pol Gonzalez 🐧

Remove unused files

parent 7fcd1499
import QtQuick.Controls 1.2
MessageAction {
property alias message: action.tooltip
property alias enabled: action.enabled
theAction: Action {
id: action
enabled: false
text: i18n("Got it");
onTriggered: { enabled=false }
}
}
/***************************************************************************
* Copyright © 2014 Aleix Pol Gonzalez <aleixpol@blue-systems.com> *
* *
* This program is free software; you can redistribute it and/or *
* modify it under the terms of the GNU General Public License as *
* published by the Free Software Foundation; either version 2 of *
* the License or (at your option) version 3 or any later version *
* accepted by the membership of KDE e.V. (or its successor approved *
* by the membership of KDE e.V.), which shall act as a proxy *
* defined in Section 14 of version 3 of the license. *
* *
* This program is distributed in the hope that it will be useful, *
* but WITHOUT ANY WARRANTY; without even the implied warranty of *
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
* GNU General Public License for more details. *
* *
* You should have received a copy of the GNU General Public License *
* along with this program. If not, see <http://www.gnu.org/licenses/>. *
***************************************************************************/
import QtQuick 2.1
import QtQuick.Controls 1.1
import QtQuick.Layouts 1.1
import org.kde.discover.app 1.0
Rectangle {
id: msg
property QtObject theAction: null
Layout.minimumHeight: row.Layout.minimumHeight
visible: theAction.enabled
color: DiscoverSystemPalette.highlight
RowLayout {
id: row
anchors {
fill: parent
leftMargin: 5
rightMargin: 5
}
Label {
Layout.fillWidth: true
text: theAction.whatsThis || theAction.tooltip
color: DiscoverSystemPalette.highlightedText
}
Button {
text: theAction.text
onClicked: theAction.trigger()
}
Button {
iconName: "dialog-close"
onClicked: msg.visible = false
}
}
}
......@@ -20,8 +20,6 @@
<file>qml/ReviewDelegate.qml</file>
<file>qml/Heading.qml</file>
<file>qml/AddSourceDialog.qml</file>
<file>qml/MessageAction.qml</file>
<file>qml/JustMessageAction.qml</file>
<file>qml/ConditionalLoader.qml</file>
<file>qml/LinkButton.qml</file>
<file>qml/ApplicationScreenshots.qml</file>
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment