summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Klapetek <[email protected]>2015-05-13 11:38:41 +0200
committerMartin Klapetek <[email protected]>2015-05-13 11:38:41 +0200
commite10e4356d16963bc073593c916d628f78bcfa202 (patch)
treea35654a666c518c32750ea697d72c27425dc7c19
parent42d3992d602b5bf5c2cf9805eb1e358aaac6cc4f (diff)
[contactlist] Remove unused component
It's not used and it even tries to import org.kde.plasma.graphicswidgets
-rw-r--r--contactlist/org.kde.ktp-contactlist/contents/ui/ExternalLabel.qml55
1 files changed, 0 insertions, 55 deletions
diff --git a/contactlist/org.kde.ktp-contactlist/contents/ui/ExternalLabel.qml b/contactlist/org.kde.ktp-contactlist/contents/ui/ExternalLabel.qml
deleted file mode 100644
index 3674211..0000000
--- a/contactlist/org.kde.ktp-contactlist/contents/ui/ExternalLabel.qml
+++ /dev/null
@@ -1,55 +0,0 @@
-/***************************************************************************
- * Copyright (C) 2011 by Francesco Nwokeka <[email protected]> *
- * *
- * 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) any later version. *
- * *
- * 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, write to the *
- * Free Software Foundation, Inc., *
- * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA *
- ***************************************************************************/
-
-import QtQuick 2.1
-import org.kde.plasma.core 2.0 as PlasmaCore
-import org.kde.plasma.graphicswidgets 0.1 as PlasmaWidgets
-
-Item {
- id: label;
-
- // this property holds which side the label is to be viewed. Default is left
- // and changes when user changes screen edge from settings ui.
- property string orientation: "left";
- signal orientationChanged();
- property QtObject theme: PlasmaCore.Theme {}
-
- PlasmaWidgets.IconWidget {
- id: labelIcon;
- icon: QIcon("kde-telepathy");
- drawBackground: false;
- text: i18n("ContactList");
- orientation: QtHorizontal;
- textBackgroundColor: theme.backgroundColor;
- anchors.fill: parent;
- }
-
- function setOrientation(newOrientation)
- {
- if (newOrientation == "left"
- || newOrientation == "right"
- || newOrientation == "bottom"
- || newOrientation == "top") {
- label.orientation = newOrientation;
- label.orientationChanged();
- } else {
- console.log("CAN'T SET FAILED ORIENTATION!");
- }
- }
-}