diff --git a/applets/CMakeLists.txt b/applets/CMakeLists.txt --- a/applets/CMakeLists.txt +++ b/applets/CMakeLists.txt @@ -1,6 +1,7 @@ plasma_install_package(activitypager org.kde.plasma.activitypager) add_subdirectory(fifteenPuzzle) add_subdirectory(fuzzy-clock) +add_subdirectory(binary-clock) add_subdirectory(calculator) add_subdirectory(colorpicker) add_subdirectory(mediaframe) diff --git a/applets/binary-clock/CMakeLists.txt b/applets/binary-clock/CMakeLists.txt --- a/applets/binary-clock/CMakeLists.txt +++ b/applets/binary-clock/CMakeLists.txt @@ -1,10 +1,3 @@ -set(binaryclock_SRCS binaryclock.cpp) +project(binaryclock) -kde4_add_ui_files(binaryclock_SRCS clockConfig.ui) -kde4_add_plugin(plasma_applet_binaryclock ${binaryclock_SRCS}) - -target_link_libraries(plasma_applet_binaryclock ${KDE4WORKSPACE_PLASMACLOCK_LIBRARY} ${KDE4_PLASMA_LIBS} ${KDE4_KDEUI_LIBS}) - -install(TARGETS plasma_applet_binaryclock DESTINATION ${PLUGIN_INSTALL_DIR}) - -install(FILES plasma-applet-binaryclock.desktop DESTINATION ${SERVICES_INSTALL_DIR}) +plasma_install_package(package org.kde.plasma.binaryclock) diff --git a/applets/binary-clock/Messages.sh b/applets/binary-clock/Messages.sh --- a/applets/binary-clock/Messages.sh +++ b/applets/binary-clock/Messages.sh @@ -1,3 +1,4 @@ #! /usr/bin/env bash -$EXTRACTRC *.ui >> rc.cpp -$XGETTEXT *.cpp -o $podir/plasma_applet_binaryclock.pot +$EXTRACTRC `find . -name \*.rc -o -name \*.ui -o -name \*.kcfg` >> rc.cpp +$XGETTEXT `find . -name \*.qml -o -name \*.cpp` -o $podir/plasma_applet_org.kde.plasma.binaryclock.pot +rm -f rc.cpp diff --git a/applets/binary-clock/binaryclock.h b/applets/binary-clock/binaryclock.h deleted file mode 100644 --- a/applets/binary-clock/binaryclock.h +++ /dev/null @@ -1,87 +0,0 @@ -/*************************************************************************** - * Copyright 2007 by Riccardo Iaconelli * - * Copyright 2007 by Davide Bettio * - * * - * 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 . * - ***************************************************************************/ - -#ifndef BINARYCLOCK_H -#define BINARYCLOCK_H - -#include - -#include - -#include "ui_clockConfig.h" - -class QTime; -class QColor; - -namespace Plasma { - class DataEngine; -} - -class BinaryClock : public ClockApplet -{ - Q_OBJECT - public: - BinaryClock(QObject *parent, const QVariantList &args); - ~BinaryClock(); - - void init(); - void paintInterface(QPainter *painter, const QStyleOptionGraphicsItem *option, const QRect& contentsRect); - void constraintsEvent(Plasma::Constraints constraints); - - public slots: - void dataUpdated(const QString &name, const Plasma::DataEngine::Data &data); - - protected: - void createClockConfigurationInterface(KConfigDialog *parent); - void clockConfigAccepted(); - void clockConfigChanged(); - void changeEngineTimezone(const QString &oldTimezone, const QString &newTimezone); - - private slots: - void updateColors(); - - private: - void connectToEngine(); - - int getWidthFromHeight(int h) const; - int getHeightFromWidth(int w) const; - - bool m_showSeconds; - bool m_showOffLeds; - bool m_showGrid; - - bool m_customOnLedsColor; - bool m_customOffLedsColor; - bool m_customGridColor; - - QColor m_onLedsColor; - QColor m_offLedsColor; - QColor m_gridColor; - - QTime m_lastTimeSeen; - QTime m_time; - int m_updateIndex; - - Ui::clockConfig ui; -}; - -K_EXPORT_PLASMA_APPLET(binaryclock, BinaryClock) - -#endif diff --git a/applets/binary-clock/clockConfig.ui b/applets/binary-clock/clockConfig.ui deleted file mode 100644 --- a/applets/binary-clock/clockConfig.ui +++ /dev/null @@ -1,423 +0,0 @@ - - clockConfig - - - - 0 - 0 - 586 - 349 - - - - - 400 - 300 - - - - - - - - 75 - true - - - - Appearance - - - - - - - Active LEDs: - - - Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter - - - - - - - - - Use custom color for active LEDs: - - - - - - - - - - Qt::Horizontal - - - - 40 - 20 - - - - - - - - - - Qt::Vertical - - - QSizePolicy::Fixed - - - - 20 - 7 - - - - - - - - Inactive LEDs: - - - Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter - - - - - - - Show the inactive LEDs - - - Check this if you want to see the inactive LEDs. - - - Show - - - true - - - - - - - Use theme color - - - - - - - - - - 0 - 0 - - - - Use custom color for inactive LEDs: - - - - - - - - - - Qt::Horizontal - - - - 40 - 20 - - - - - - - - - - Qt::Vertical - - - QSizePolicy::Fixed - - - - 20 - 7 - - - - - - - - Grid: - - - Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter - - - - - - - Show the grid - - - Check this if you want to see a grid around leds. - - - Show - - - true - - - - - - - Use theme color - - - - - - - - - Use custom grid color: - - - - - - - - - - Qt::Horizontal - - - - 40 - 20 - - - - - - - - - - Qt::Vertical - - - QSizePolicy::Fixed - - - - 20 - 13 - - - - - - - - - 75 - true - - - - Information - - - - - - - Qt::Vertical - - - - 20 - 40 - - - - - - - - Use theme color - - - - - - - Seconds: - - - Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter - - - - - - - Show the seconds LEDs - - - Check this if you want to display seconds LEDs in order to see the seconds. - - - Show - - - - - - - - KColorButton - QPushButton -
kcolorbutton.h
-
-
- - - - onLedsDefaultColorRadioButton - toggled(bool) - onLedsCustomColorButton - setDisabled(bool) - - - 558 - 55 - - - 423 - 82 - - - - - offLedsDefaultColorRadioButton - toggled(bool) - offLedsCustomColorButton - setDisabled(bool) - - - 566 - 148 - - - 424 - 172 - - - - - gridDefaultColorRadioButton - toggled(bool) - gridCustomColorButton - setDisabled(bool) - - - 547 - 243 - - - 395 - 267 - - - - - showOffLedsCheckBox - toggled(bool) - offLedsDefaultColorRadioButton - setEnabled(bool) - - - 164 - 124 - - - 184 - 147 - - - - - showOffLedsCheckBox - toggled(bool) - offLedsCustomColorRadioButton - setEnabled(bool) - - - 296 - 120 - - - 296 - 176 - - - - - showGridCheckBox - toggled(bool) - gridDefaultColorRadioButton - setEnabled(bool) - - - 165 - 217 - - - 191 - 238 - - - - - showGridCheckBox - toggled(bool) - gridCustomColorRadioButton - setEnabled(bool) - - - 264 - 210 - - - 256 - 268 - - - - -
diff --git a/applets/binary-clock/package/contents/config/config.qml b/applets/binary-clock/package/contents/config/config.qml new file mode 100644 --- /dev/null +++ b/applets/binary-clock/package/contents/config/config.qml @@ -0,0 +1,32 @@ +/* + * Copyright 2014 Joseph Wenninger + * + * Based on analog-clock config.qml: + * Copyright 2013 Marco Martin + * + * 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 2.010-1301, USA. + */ + +import QtQuick 2.0 + +import org.kde.plasma.configuration 2.0 + +ConfigModel { + ConfigCategory { + name: i18n("Appearance") + icon: "preferences-desktop-color" + source: "configGeneral.qml" + } +} diff --git a/applets/binary-clock/package/contents/config/main.xml b/applets/binary-clock/package/contents/config/main.xml new file mode 100644 --- /dev/null +++ b/applets/binary-clock/package/contents/config/main.xml @@ -0,0 +1,38 @@ + + + + + + + true + + + true + + + true + + + false + + + green + + + false + + + red + + + false + + + blue + + + + diff --git a/applets/binary-clock/package/contents/ui/BinaryClock.qml b/applets/binary-clock/package/contents/ui/BinaryClock.qml new file mode 100644 --- /dev/null +++ b/applets/binary-clock/package/contents/ui/BinaryClock.qml @@ -0,0 +1,146 @@ +/* + * Rewrite of the KDE4-Plasma Binary Clock for KF5/Plasma/QML + * + * Copyright 2014 Joseph Wenninger + * + * Original code (KDE4): + * Copyright 2007 by Riccardo Iaconelli * + * Copyright 2007 by Davide Bettio + * + * Based on FuzzyClock.qml: + * Copyright 2013 Heena Mahour + * Copyright 2013 Sebastian Kügler + * Copyright 2013 Martin Klapetek + * Copyright 2014 David Edmundson + * Copyright 2014 Kai Uwe Broulik + * + * 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, see . + */ + +import QtQuick 2.0 +import QtQuick.Layouts 1.1 +import org.kde.plasma.core 2.0 as PlasmaCore +import org.kde.plasma.components 2.0 as Components + +Item { + id: main + + property real w1: (main.height-5*units.smallSpacing)*dots/4 + + Layout.minimumWidth: w1 < 20 ? 20 : w1 + Layout.maximumWidth: Infinity + Layout.preferredWidth: Layout.minimumWidth + + Layout.minimumHeight: 16+(units.smallSpacing * 5) + // Layout.maximumHeight: vertical ? Layout.minimumHeight : Infinity + //Layout.preferredHeight: Layout.minimumHeight + + + property int formFactor: plasmoid.formFactor + property int timePixelSize: theme.defaultFont.pixelSize + + property bool constrained: formFactor == PlasmaCore.Types.Vertical || formFactor == PlasmaCore.Types.Horizontal + + property bool showSeconds: root.showSeconds + + property int hours:root.hours + property int minutes:root.minutes + property int seconds:root.seconds + + property bool showOffLeds: plasmoid.configuration.showOffLeds + property bool showGrid: plasmoid.configuration.showGrid + + property int dots: showSeconds? 6:4 + + property color onColor: plasmoid.configuration.useCustomColorForActive?plasmoid.configuration.customColorForActive: theme.textColor + property color offColor: plasmoid.configuration.useCustomColorForInactive?plasmoid.configuration.customColorForInactive:Qt.rgba(onColor.r,onColor.g,onColor.b,0.4) + property color gridColor: plasmoid.configuration.useCustomColorForGrid?plasmoid.configuration.customColorForGrid:Qt.rgba(onColor.r,onColor.g,onColor.b,0.6) + + property real dotSize: Math.min((height-5*units.smallSpacing)/4,(width-(dots+1)*units.smallSpacing)/dots) + property real displayTop: (height - 4*dotSize-3*units.smallSpacing) /2 + property real displayLeft: (width - dots*dotSize-(dots-1)*units.smallSpacing) /2 + + MouseArea { + id: mouseArea + anchors.fill: parent + hoverEnabled: true + onClicked: plasmoid.expanded = !plasmoid.expanded + } + + + /*hours*/ + DotColumn { + x:displayLeft + y:displayTop + val:hours + startbit:4 + } + DotColumn { + x:displayLeft+(dotSize+units.smallSpacing) + y:displayTop + val:hours + startbit:0 + } + + + /*minutes*/ + DotColumn { + x:displayLeft+(dotSize+units.smallSpacing)*2 + y:displayTop + val:minutes + startbit:4 + } + DotColumn { + x:displayLeft+(dotSize+units.smallSpacing)*3 + y:displayTop + val:minutes + startbit:0 + } + + /* seconds */ + DotColumn { + x:displayLeft+(dotSize+units.smallSpacing)*4 + y:displayTop + val:seconds + startbit:4 + visible:showSeconds + } + + DotColumn { + x:displayLeft+(dotSize+units.smallSpacing)*5 + y:displayTop + val:seconds + startbit:0 + visible:showSeconds + } + + Rectangle { + x:displayLeft-units.smallSpacing + y:displayTop-units.smallSpacing + width:dots*(dotSize+units.smallSpacing)+units.smallSpacing + height:units.smallSpacing + visible:showGrid + color:gridColor + } + + Rectangle { + x:displayLeft-units.smallSpacing + y:displayTop + width:units.smallSpacing + height:4*(dotSize+units.smallSpacing) + visible:showGrid + color:gridColor + } + +} diff --git a/applets/binary-clock/package/contents/ui/Dot.qml b/applets/binary-clock/package/contents/ui/Dot.qml new file mode 100644 --- /dev/null +++ b/applets/binary-clock/package/contents/ui/Dot.qml @@ -0,0 +1,54 @@ +/* + * Rewrite of the KDE4-Plasma Binary Clock for KF5/Plasma/QML + * + * Copyright 2014 Joseph Wenninger + * + * Original code (KDE4): + * Copyright 2007 by Riccardo Iaconelli * + * Copyright 2007 by Davide Bettio + * + * 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, see . + */ + +import QtQuick 2.0 + +Item { + property int val + property int bit + + Rectangle { + width: main.dotSize + height: width + color: (val & bit) ? main.onColor:main.offColor + x:0 + y:0 + visible:main.showOffLeds || color!=main.offColor + } + Rectangle { + visible:main.showGrid + x:0 + y:main.dotSize + width:main.dotSize + height:units.smallSpacing + color:main.gridColor; + } + Rectangle { + visible:main.showGrid + x:main.dotSize + y:0 + width:units.smallSpacing + height:main.dotSize+units.smallSpacing + color:main.gridColor + } +} \ No newline at end of file diff --git a/applets/binary-clock/package/contents/ui/DotColumn.qml b/applets/binary-clock/package/contents/ui/DotColumn.qml new file mode 100644 --- /dev/null +++ b/applets/binary-clock/package/contents/ui/DotColumn.qml @@ -0,0 +1,54 @@ +/* + * Rewrite of the KDE4-Plasma Binary Clock for KF5/Plasma/QML + * + * Copyright 2014 Joseph Wenninger + * + * Original code (KDE4): + * Copyright 2007 by Riccardo Iaconelli * + * Copyright 2007 by Davide Bettio + * + * 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, see . + */ + +import QtQuick 2.0 + + +Item { + property int val + property int startbit + Dot { + x:0 + y:0 + val:parent.val + bit:1<<(startbit+3) + } + Dot { + x:0 + y:(dotSize+units.smallSpacing) + val:parent.val + bit:1<<(startbit+2) + } + Dot { + x:0 + y:2*(dotSize+units.smallSpacing) + val:parent.val + bit:1<<(startbit+1) + } + Dot { + x:0 + y:3*(dotSize+units.smallSpacing) + val:parent.val + bit:1< + * + * Based on analog-clock configGeneral.qml: + * Copyright 2013 David Edmundson + * + * 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 2.010-1301, USA. + */ + +import QtQuick 2.0 +import QtQuick.Controls 1.0 as QtControls +import QtQuick.Dialogs 1.1 +import QtQuick.Layouts 1.1 + + +QtControls.GroupBox { + width: childrenRect.width + height: childrenRect.height + + flat: true + title: i18n("Appearance") + + property alias cfg_showGrid: showGridCheckBox.checked + property alias cfg_showOffLeds: showOffLedsCheckBox.checked + property alias cfg_showSeconds: showSecondsCheckBox.checked + property alias cfg_useCustomColorForActive: useCustomColorForActiveCheckBox.checked + property alias cfg_customColorForActive: customColorForActive.color + property alias cfg_useCustomColorForInactive: useCustomColorForInactiveCheckBox.checked + property alias cfg_customColorForInactive: customColorForInactive.color + property alias cfg_useCustomColorForGrid: useCustomColorForGridCheckBox.checked + property alias cfg_customColorForGrid: customColorForGrid.color + + ColorDialog { + property var element; + id: colorDialog + visible: false + modality: Qt.WindowModal + title: "Choose a color" + showAlphaChannel: true + onAccepted: { element.color=color } + onRejected: { } + } + + + ColumnLayout { + QtControls.CheckBox { + id: showGridCheckBox + text: i18n("Draw grid") + } + QtControls.CheckBox { + id: showOffLedsCheckBox + text: i18n("Show inactive LEDs:") + } + QtControls.CheckBox { + id: showSecondsCheckBox + text: i18n("Display seconds") + } + QtControls.Label { + text: i18n("Colors:") + } + GridLayout { + columns: 2; + QtControls.CheckBox { + id: useCustomColorForActiveCheckBox + text: i18n("Use custom color for active LEDs") + } + Rectangle { + width:20 + height:20 + id:customColorForActive + MouseArea { + anchors.fill: parent + onClicked: { + colorDialog.element=parent; + colorDialog.color=parent.color; + colorDialog.open(); + } + } + } + + QtControls.CheckBox { + id: useCustomColorForInactiveCheckBox + text: i18n("Use custom color for inactive LEDs") + } + Rectangle { + width:20 + height:20 + id:customColorForInactive + MouseArea { + anchors.fill: parent + onClicked: { + colorDialog.element=parent; + colorDialog.color=parent.color; + colorDialog.open(); + } + } + } + + QtControls.CheckBox { + id: useCustomColorForGridCheckBox + text: i18n("Use custom color for grid") + } + Rectangle { + width:20 + height:20 + id:customColorForGrid + MouseArea { + anchors.fill: parent + onClicked: { + colorDialog.element=parent; + colorDialog.color=parent.color; + colorDialog.open(); + } + } + } + } + } +} diff --git a/applets/binary-clock/package/contents/ui/main.qml b/applets/binary-clock/package/contents/ui/main.qml new file mode 100644 --- /dev/null +++ b/applets/binary-clock/package/contents/ui/main.qml @@ -0,0 +1,70 @@ +/* + * Copyright 2014 Joseph Wenninger + * + * Based on fuzzy-clock main.qml: + * Copyright 2013 Heena Mahour + * Copyright 2013 Sebastian Kügler + * Copyright 2014 Kai Uwe Broulik + * + * 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, see . + */ +import QtQuick 2.0 +import QtQuick.Layouts 1.1 + +import org.kde.plasma.plasmoid 2.0 +import org.kde.plasma.core 2.0 as PlasmaCore +import org.kde.plasma.components 2.0 as PlasmaComponents +import org.kde.plasma.extras 2.0 as PlasmaExtras +import org.kde.plasma.calendar 2.0 as PlasmaCalendar + +Item { + id: root + + property bool showSeconds:plasmoid.configuration.showSeconds + property int hours + property int minutes + property int seconds + width: units.gridUnit * 10 + height: units.gridUnit * 4 + + Plasmoid.preferredRepresentation: Plasmoid.compactRepresentation + + Plasmoid.toolTipMainText: Qt.formatDate(dataSource.data["Local"]["DateTime"],"dddd") + Plasmoid.toolTipSubText: Qt.formatDate(dataSource.data["Local"]["DateTime"], Qt.locale().dateFormat(Locale.LongFormat).replace(/(^dddd.?\s)|(,?\sdddd$)/, "")) + + PlasmaCore.DataSource { + id: dataSource + engine: "time" + connectedSources: ["Local"] + interval: showSeconds?1000:30000 + onDataChanged: { + var date = new Date(data["Local"]["DateTime"]); + hours = date.getHours(); + minutes = date.getMinutes(); + seconds = date.getSeconds(); + } + Component.onCompleted: { + onDataChanged(); + } + } + + Plasmoid.compactRepresentation: BinaryClock { } + + Plasmoid.fullRepresentation: PlasmaCalendar.MonthView { + Layout.minimumWidth: units.gridUnit * 20 + Layout.minimumHeight: units.gridUnit * 20 + + today: dataSource.data["Local"]["DateTime"] + } +} diff --git a/applets/binary-clock/plasma-applet-binaryclock.desktop b/applets/binary-clock/package/metadata.desktop rename from applets/binary-clock/plasma-applet-binaryclock.desktop rename to applets/binary-clock/package/metadata.desktop --- a/applets/binary-clock/plasma-applet-binaryclock.desktop +++ b/applets/binary-clock/package/metadata.desktop @@ -109,19 +109,21 @@ Comment[zh_CN]=以二进制格式显示的时间 Comment[zh_TW]=以二進位格式顯示時間 Icon=clock + Type=Service ServiceTypes=Plasma/Applet - -X-KDE-Library=plasma_applet_binaryclock -X-KDE-PluginInfo-Author=Davide Bettio -X-KDE-PluginInfo-Email=davide.bettio@kdemail.net -X-KDE-PluginInfo-Name=binaryclock -X-KDE-PluginInfo-Version=1.0 -X-KDE-PluginInfo-Website=http://plasma.kde.org/ +X-KDE-PluginInfo-Author=Joseph Wenninger,Davide Bettio +X-KDE-PluginInfo-Email=jowenn@kde.org, davide.bettio@kdemail.net +X-KDE-PluginInfo-Name=org.kde.plasma.binaryclock +X-KDE-PluginInfo-Version=2.0 +X-KDE-PluginInfo-Website=plasma.kde.org +X-KDE-PluginInfo-Category=Date and Time +X-Plasma-Provides=org.kde.plasma.time,org.kde.plasma.date X-KDE-PluginInfo-Category=Date and Time -X-KDE-PluginInfo-Depends= -X-KDE-PluginInfo-License=GPL -X-KDE-PluginInfo-EnabledByDefault=true +X-Plasma-API=declarativeappletscript +X-Plasma-MainScript=ui/main.qml +X-Plasma-RemoteLocation= +-X-KDE-PluginInfo-Depends= +-X-KDE-PluginInfo-License=GPL +-X-KDE-PluginInfo-EnabledByDefault=true -X-Plasma-Requires-FileDialog=Unused -X-Plasma-Requires-LaunchApp=Unused