diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-02-16 20:17:18 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-02-16 20:17:18 +0000 |
commit | cb7eddb91455a69cf66fcd717e91a51ca5e2cfef (patch) | |
tree | cf5546e4d7c44370fbe9ca2be937bd254f30ebaa /conduits/timeconduit | |
download | kpilot-cb7eddb91455a69cf66fcd717e91a51ca5e2cfef.tar.gz kpilot-cb7eddb91455a69cf66fcd717e91a51ca5e2cfef.zip |
Moved kpilot from kdepim to applications, as the core Trinity libraries should not contain hardware-dependent software
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/kpilot@1221127 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'conduits/timeconduit')
-rw-r--r-- | conduits/timeconduit/CMakeLists.txt | 44 | ||||
-rw-r--r-- | conduits/timeconduit/Makefile.am | 22 | ||||
-rw-r--r-- | conduits/timeconduit/time-conduit.cc | 121 | ||||
-rw-r--r-- | conduits/timeconduit/time-conduit.h | 49 | ||||
-rw-r--r-- | conduits/timeconduit/time-factory.cc | 46 | ||||
-rw-r--r-- | conduits/timeconduit/time-factory.h | 41 | ||||
-rw-r--r-- | conduits/timeconduit/time-setup.cc | 86 | ||||
-rw-r--r-- | conduits/timeconduit/time-setup.h | 50 | ||||
-rw-r--r-- | conduits/timeconduit/time-setup_dialog.ui | 122 | ||||
-rw-r--r-- | conduits/timeconduit/timeConduitSettings.kcfgc | 7 | ||||
-rw-r--r-- | conduits/timeconduit/time_conduit.desktop | 105 | ||||
-rw-r--r-- | conduits/timeconduit/timeconduit.kcfg | 17 |
12 files changed, 710 insertions, 0 deletions
diff --git a/conduits/timeconduit/CMakeLists.txt b/conduits/timeconduit/CMakeLists.txt new file mode 100644 index 0000000..e980e72 --- /dev/null +++ b/conduits/timeconduit/CMakeLists.txt @@ -0,0 +1,44 @@ +include_directories( + ${CMAKE_CURRENT_BINARY_DIR} +) + +set(conduit_time_SRCS + time-conduit.cc + time-factory.cc + time-setup.cc +) + +set(conduit_time_UIS + time-setup_dialog.ui +) + +set(conduit_time_KCFGS + timeConduitSettings.kcfgc +) + +kde3_add_kcfg_files(conduit_time_SRCS ${conduit_time_KCFGS}) +kde3_add_ui_files(conduit_time_SRCS ${conduit_time_UIS}) +kde3_automoc(${conduit_time_SRCS}) +add_library(conduit_time SHARED ${conduit_time_SRCS}) + +kpilot_rpath(conduit_time) + +set_target_properties( + conduit_time PROPERTIES LOCATION ${KDE3_PLUGIN_INSTALL_DIR} + PREFIX "" +) + +kde3_install_libtool_file(conduit_time) + +install( + TARGETS conduit_time + LIBRARY DESTINATION ${KDE3_PLUGIN_INSTALL_DIR} +) + +install( + FILES time_conduit.desktop DESTINATION ${KDE3_SERVICES_DIR} +) + +install( + FILES timeconduit.kcfg DESTINATION ${KDE3_KCFG_DIR} +) diff --git a/conduits/timeconduit/Makefile.am b/conduits/timeconduit/Makefile.am new file mode 100644 index 0000000..6a58716 --- /dev/null +++ b/conduits/timeconduit/Makefile.am @@ -0,0 +1,22 @@ +### Makefile for the time conduit +### +### The time conduit is Copyright (C) 2002 by Reinhold Kainhofer + +INCLUDES= $(PISOCK_INCLUDE) -I$(top_srcdir)/kpilot/lib $(all_includes) +METASOURCES = AUTO + +servicedir = $(kde_servicesdir) +service_DATA = time_conduit.desktop + +kde_module_LTLIBRARIES = conduit_time.la + + +conduit_time_la_SOURCES = timeConduitSettings.kcfgc \ + time-factory.cc \ + time-setup.cc \ + time-conduit.cc \ + time-setup_dialog.ui +conduit_time_la_LDFLAGS = -module $(KDE_PLUGIN) $(all_libraries) +conduit_time_la_LIBADD = ../../lib/libkpilot.la $(LIB_KDEUI) + +kde_kcfg_DATA = timeconduit.kcfg diff --git a/conduits/timeconduit/time-conduit.cc b/conduits/timeconduit/time-conduit.cc new file mode 100644 index 0000000..20000e5 --- /dev/null +++ b/conduits/timeconduit/time-conduit.cc @@ -0,0 +1,121 @@ +/* KPilot +** +** Copyright (C) 2002-2003 by Reinhold Kainhofer +** +*/ + +/* +** 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 in a file called COPYING; if not, write to +** the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, +** MA 02110-1301, USA. +*/ + +/* +** Bug reports and questions can be sent to kde-pim@kde.org. +*/ + +#include "options.h" + +#include <time.h> + +#include <pilotSysInfo.h> + +#include <kconfig.h> +#include <kdebug.h> + +#include "time-factory.h" +#include "time-conduit.h" +#include "timeConduitSettings.h" + + +// Something to allow us to check what revision +// the modules are that make up a binary distribution. +extern "C" +{ +unsigned long version_conduit_time = Pilot::PLUGIN_API ; +} + + + +TimeConduit::TimeConduit(KPilotLink * o, + const char *n, + const TQStringList & a) : + ConduitAction(o, n, a) +{ + FUNCTIONSETUP; + fConduitName=i18n("Time"); +} + + + +TimeConduit::~TimeConduit() +{ + FUNCTIONSETUP; +} + + + +void TimeConduit::readConfig() +{ + FUNCTIONSETUP; + TimeConduitSettings::self()->readConfig(); +} + + +/* virtual */ bool TimeConduit::exec() +{ + FUNCTIONSETUP; + + readConfig(); + + if (syncMode().isLocal()) + { +#ifdef DEBUG + DEBUGKPILOT << fname << ": Would have set time to " + << TQDateTime::tqcurrentDateTime().toString() << endl; +#endif + return delayDone(); + } + + emit logMessage(i18n("Setting the clock on the handheld")); + syncHHfromPC(); + return delayDone(); +} + + +void TimeConduit::syncHHfromPC() +{ + FUNCTIONSETUP; + time_t ltime; + time(<ime); + + long int major=fHandle->getSysInfo().getMajorVersion(), + minor=fHandle->getSysInfo().getMinorVersion(); + + if (major==3 && (minor==25 || minor==30)) + { + emit logMessage(i18n("PalmOS 3.25 and 3.3 do not support setting the system time. Skipping the time conduit...")); + return; + } + + int sd = pilotSocket(); + if ( sd > 0 ) + { + dlp_SetSysDateTime( sd, ltime ); + } + else + { + WARNINGKPILOT << "Link is not a real device." << endl; + } +} diff --git a/conduits/timeconduit/time-conduit.h b/conduits/timeconduit/time-conduit.h new file mode 100644 index 0000000..06b6b50 --- /dev/null +++ b/conduits/timeconduit/time-conduit.h @@ -0,0 +1,49 @@ +#ifndef _Time_CONDUIT_H +#define _Time_CONDUIT_H +/* time-conduit.h KPilot +** +** Copyright (C) 2002 by Reinhold Kainhofer +** +*/ + +/* +** 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 in a file called COPYING; if not, write to +** the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, +** MA 02110-1301, USA. +*/ + +/* +** Bug reports and questions can be sent to kde-pim@kde.org +*/ + + +#include <plugin.h> + +class TimeConduit : public ConduitAction +{ +public: + TimeConduit( + KPilotLink *o, + const char *n = 0L, + const TQStringList &a = TQStringList() ); + virtual ~TimeConduit(); + virtual bool exec(); + + void syncHHfromPC(); + +protected: + void readConfig(); +} ; + +#endif diff --git a/conduits/timeconduit/time-factory.cc b/conduits/timeconduit/time-factory.cc new file mode 100644 index 0000000..28548fe --- /dev/null +++ b/conduits/timeconduit/time-factory.cc @@ -0,0 +1,46 @@ +/* Time-factory.cc KPilot +** +** Copyright (C) 2002 by Reinhold Kainhofer +** +** This file defines the factory for the Time-conduit plugin. +*/ + +/* +** 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 in a file called COPYING; if not, write to +** the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, +** MA 02110-1301, USA. +*/ + +/* +** Bug reports and questions can be sent to kde-pim@kde.org +*/ + +#include "options.h" +#include "pluginfactory.h" + +#include "time-conduit.h" +#include "time-setup.h" + + +extern "C" +{ + +void *init_conduit_time() +{ + return new ConduitFactory<TimeWidgetConfig,TimeConduit>(0,"Timeconduit"); +} + +} + + diff --git a/conduits/timeconduit/time-factory.h b/conduits/timeconduit/time-factory.h new file mode 100644 index 0000000..2b53c7c --- /dev/null +++ b/conduits/timeconduit/time-factory.h @@ -0,0 +1,41 @@ +#ifndef _TIME_FACTORY_H +#define _TIME_FACTORY_H +/* Time-factory.h KPilot +** +** Copyright (C) 2002 by Reinhold Kainhofer +** +** This file defines the factory for the Time-conduit plugin. +*/ + +/* +** 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 in a file called COPYING; if not, write to +** the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, +** MA 02110-1301, USA. +*/ + +/* +** Bug reports and questions can be sent to kde-pim@kde.org +*/ + +#define DIR_PCToPalm 0 +#define DIR_PalmToPC 1 + +extern "C" +{ + +void *init_conduit_time(); + +} + +#endif diff --git a/conduits/timeconduit/time-setup.cc b/conduits/timeconduit/time-setup.cc new file mode 100644 index 0000000..409cdc3 --- /dev/null +++ b/conduits/timeconduit/time-setup.cc @@ -0,0 +1,86 @@ +/* Time-setup.cc KPilot +** +** Copyright (C) 2002 by Reinhold Kainhofer +** +** This file defines the setup dialog for the Time-conduit plugin. +*/ + +/* +** 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 in a file called COPYING; if not, write to +** the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, +** MA 02110-1301, USA. +*/ + +/* +** Bug reports and questions can be sent to kde-pim@kde.org +*/ + +#include "options.h" + +#include <tqtabwidget.h> +#include <tqradiobutton.h> +#include <tqbuttongroup.h> + +#include <kapplication.h> +#include <kaboutdata.h> + +#include "time-setup_dialog.h" + +#include "time-setup.moc" +#include "timeConduitSettings.h" + + + +static KAboutData *createAbout() +{ + KAboutData *fAbout = new KAboutData("Timeconduit", + I18N_NOOP("Time Synchronization Conduit for KPilot"), + KPILOT_VERSION, + I18N_NOOP("Synchronizes the Time on the Handheld and the PC"), + KAboutData::License_GPL, + "(C) 2002, Reinhold Kainhofer"); + fAbout->addAuthor("Reinhold Kainhofer", + I18N_NOOP("Primary Author"), "reinhold@kainhofer.com", "http://reinhold.kainhofer.com/"); + return fAbout; +} + + + +TimeWidgetConfig::TimeWidgetConfig(TQWidget *w, const char *n) : + ConduitConfigBase(w,n), + fConfigWidget(new TimeWidget(w)) +{ + FUNCTIONSETUP; + fAbout = createAbout(); + ConduitConfigBase::addAboutPage(fConfigWidget->tabWidget,fAbout); + fWidget=fConfigWidget; + fConduitName=i18n("Time"); +} + +void TimeWidgetConfig::commit() +{ + FUNCTIONSETUP; + TimeConduitSettings::setDirection( + fConfigWidget->directionGroup->id(fConfigWidget->directionGroup->selected()) ); + TimeConduitSettings::self()->writeConfig(); +} + +void TimeWidgetConfig::load() +{ + FUNCTIONSETUP; + TimeConduitSettings::self()->readConfig(); + + fConfigWidget->directionGroup->setButton( TimeConduitSettings::direction() ); +} + diff --git a/conduits/timeconduit/time-setup.h b/conduits/timeconduit/time-setup.h new file mode 100644 index 0000000..b0bb2f0 --- /dev/null +++ b/conduits/timeconduit/time-setup.h @@ -0,0 +1,50 @@ +#ifndef _Time_Time_SETUP_H +#define _Time_Time_SETUP_H +/* knotes-setup.h KPilot +** +** Copyright (C) 2002 by Reinhold Kainhofer +** +** This file defines the widget and behavior for the config dialog +** of the KNotes conduit. +*/ + +/* +** 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 in a file called COPYING; if not, write to +** the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, +** MA 02110-1301, USA. +*/ + +/* +** Bug reports and questions can be sent to kde-pim@kde.org +*/ + +#include "plugin.h" + +class TimeWidget; +class KAboutData; + +class TimeWidgetConfig : public ConduitConfigBase +{ +Q_OBJECT +public: + TimeWidgetConfig(TQWidget *parent, const char *); + virtual void commit(); + virtual void load(); + static ConduitConfigBase *create(TQWidget *,const char *); +protected: + TimeWidget *fConfigWidget; + KAboutData *fAbout; +} ; + +#endif diff --git a/conduits/timeconduit/time-setup_dialog.ui b/conduits/timeconduit/time-setup_dialog.ui new file mode 100644 index 0000000..2860832 --- /dev/null +++ b/conduits/timeconduit/time-setup_dialog.ui @@ -0,0 +1,122 @@ +<!DOCTYPE UI><UI version="3.0" stdsetdef="1"> +<class>TimeWidget</class> +<author>Reinhold Kainhofer</author> +<widget class="QWidget"> + <property name="name"> + <cstring>Form2</cstring> + </property> + <property name="tqgeometry"> + <rect> + <x>0</x> + <y>0</y> + <width>399</width> + <height>293</height> + </rect> + </property> + <grid> + <property name="name"> + <cstring>unnamed</cstring> + </property> + <property name="margin"> + <number>0</number> + </property> + <property name="spacing"> + <number>6</number> + </property> + <widget class="QTabWidget" row="0" column="0"> + <property name="name"> + <cstring>tabWidget</cstring> + </property> + <widget class="QWidget"> + <property name="name"> + <cstring>tab</cstring> + </property> + <attribute name="title"> + <string>General</string> + </attribute> + <grid> + <property name="name"> + <cstring>unnamed</cstring> + </property> + <property name="margin"> + <number>11</number> + </property> + <property name="spacing"> + <number>6</number> + </property> + <spacer row="2" column="0"> + <property name="name"> + <cstring>Spacer3</cstring> + </property> + <property name="orientation"> + <enum>Vertical</enum> + </property> + <property name="sizeType"> + <enum>Expanding</enum> + </property> + </spacer> + <widget class="QButtonGroup" row="0" column="0"> + <property name="name"> + <cstring>directionGroup</cstring> + </property> + <property name="title"> + <string>Direction</string> + </property> + <grid> + <property name="name"> + <cstring>unnamed</cstring> + </property> + <property name="margin"> + <number>11</number> + </property> + <property name="spacing"> + <number>6</number> + </property> + <widget class="QRadioButton" row="0" column="0"> + <property name="name"> + <cstring>RadioButton1</cstring> + </property> + <property name="text"> + <string>Set the &handheld time from the time on the PC</string> + </property> + <property name="checked"> + <bool>true</bool> + </property> + <property name="whatsThis" stdset="0"> + <string><qt>Select this option to synchronize the handheld time with the PC time, by using the PC time on both.</qt></string> + </property> + </widget> + <widget class="QRadioButton" row="1" column="0"> + <property name="name"> + <cstring>RadioButton1_2</cstring> + </property> + <property name="enabled"> + <bool>false</bool> + </property> + <property name="text"> + <string>Set the &PC time from the time on the handheld</string> + </property> + <property name="whatsThis" stdset="0"> + <string><qt>Select this option to synchronize the handheld time with the PC time, by using the handheld time on both.</qt></string> + </property> + </widget> + </grid> + </widget> + <widget class="QLabel" row="1" column="0"> + <property name="name"> + <cstring>TextLabel1</cstring> + </property> + <property name="text"> + <string><qt>PalmOS Version 3.25 and 3.3 do not support setting the system time, so this conduit will be skipped for handhelds that run either of these operating systems.</qt></string> + </property> + </widget> + </grid> + </widget> + </widget> + </grid> +</widget> +<tabstops> + <tabstop>tabWidget</tabstop> +</tabstops> +<tqlayoutdefaults spacing="6" margin="11"/> +</UI> diff --git a/conduits/timeconduit/timeConduitSettings.kcfgc b/conduits/timeconduit/timeConduitSettings.kcfgc new file mode 100644 index 0000000..3487b6a --- /dev/null +++ b/conduits/timeconduit/timeConduitSettings.kcfgc @@ -0,0 +1,7 @@ +File=timeconduit.kcfg +ClassName=TimeConduitSettings +Singleton=true +ItemAccessors=true +Mutators=true +GlobalEnums=true +SetUserTexts=true diff --git a/conduits/timeconduit/time_conduit.desktop b/conduits/timeconduit/time_conduit.desktop new file mode 100644 index 0000000..386868a --- /dev/null +++ b/conduits/timeconduit/time_conduit.desktop @@ -0,0 +1,105 @@ +[Desktop Entry] +Type=Service +Comment=This conduit sets the time on your handheld from the PC clock. +Comment[af]=Hierdie pad stel die tyd op jou draagbare toestel vanaf die PC horlosie. +Comment[bg]=Синхронизация на датата и часа на мобилно устройство с часовника на компютъра +Comment[bs]=Ovaj conduit postavlja vrijeme na vašem ručnom računaru prema PC satu. +Comment[ca]=Aquest conducte estableix l'hora en la vostra agenda electrònica des del rellotge del PC. +Comment[cs]=Toto propojení nastaví čas na vašem handheldu podle PC. +Comment[cy]=Mae'r cwndid yma yn gosod yr amser ar eich llawiadur o gloc y CP. +Comment[da]=Denne kanal sætter tiden på din håndholdte fra PC'ens ur. +Comment[de]=Überträgt die Zeit vom PC auf das mobile Gerät +Comment[el]=Αυτός ο σύνδεσμος ρυθμίζει την ώρα στον υπολογιστή παλάμης σας από το ρολόι του υπολογιστή σας. +Comment[es]=Este conducto fija la hora de su agenda electrónica según el reloj de su PC. +Comment[et]=See kanal sünkroniseerib pihuarvuti aja PC kellaga. +Comment[eu]=Kanal honek zure agenda elektronikoko ordua PC-aren ordura ezartzen du. +Comment[fa]=این لوله، از طریق ساعت PC زمان دستی شما را تنظیم میکند. +Comment[fi]=Tämä yhdyskäytävä asettaa taskutietokoneen kellonajan PC:n kellosta. +Comment[fr]=Ce canal règle l'heure de votre périphérique depuis celle du PC. +Comment[fy]=Dit conduit set de tiid fan jo handheld oan d ehân fan de pc-klok. +Comment[gl]=Este conducto pon a hora do seu aparello portátil dende o reloxo do seu PC. +Comment[hi]=यह कन्ड्यूइट आपके हैंण्डहेल्ड में पीसी घड़ी द्वारा समय नियत करता है. +Comment[hu]=Ez a csatoló beállítja a kéziszámítógép óráját a számítógépé alapján +Comment[is]=Þessi rás stillir klukku lófatölvunnar eftir klukku PC tölvunnar. +Comment[it]=Questo conduit imposta l'ora sul tuo palmare prendendola dall'orologio del PC +Comment[ja]=このコンジットはハンドヘルドの時間をPCの時計に合わせます。 +Comment[km]=បំពង់នេះកំណត់ពេលវេលានៅលើឧបករណ៍យួរដៃរបស់អ្នក ពីនាឡិកាកុំព្យូទ័រ ។ +Comment[lt]=Šis kanalas nustato delninuko laiką pagal PC laiką. +Comment[mk]=Овој канал го поставува времето на рачниот уред според времето на компјутерот. +Comment[ms]=Saluran ini mengeset waktu pada komputer telapak anda dari jam PC. +Comment[nb]=Denne kanalen stiller klokka på PDA-en fra PC-klokka. +Comment[nds]=Synkroniseert stellt Handreekner-Klock na de PC-Klock. +Comment[ne]=यो कन्ड्युटले पीसी घडीबाट ह्यान्डहेल्डमा समय सेट गर्दछ । +Comment[nl]=Dit conduit stelt de tijd van uw handheld in aan de hand van de pc-klok. +Comment[nn]=Denne koplinga set tida på den handheldte eininga di frå PC-klokka. +Comment[pl]=Ten łącznik ustawia zegar na palmtopie zgodnie z zegarem komputera. +Comment[pt]=Esta conduta acerta a hora do seu dispositivo a partir do relógio do PC. +Comment[pt_BR]=Este conduíte define o horário no seu hendheld a partir do relógio do PC. +Comment[ru]=Канал синхронизации времени +Comment[sk]=Táto spojka nastavuje čas na vašom prenosnom zariadení podľa PC. +Comment[sl]=Ta veznik nastavi čas na ročnem računalniku glede na sistemsko uro osebnega računalnika. +Comment[sr]=Овај провод поставља време на вашем ручном рачунару према PC часовнику. +Comment[sr@Latn]=Ovaj provod postavlja vreme na vašem ručnom računaru prema PC časovniku. +Comment[sv]=Den här kanalen ställer in tiden på handdatorn från datorns klocka. +Comment[ta]=இந்த காப்புக்குழாய் பிசி கடிகாரத்தில் இருந்து உங்கள் கையேட்டில் நேரத்தை அமைக்கும் +Comment[tg]=Канали синзронизатсияи муддат +Comment[tr]=Bu bileşen, el bilgisayarınızın saatini PC saatine bakarak ayarlar. +Comment[uk]=Цей акведук синхронізує час у кишеньковому пристрої з часом комп'ютера. +Comment[zh_CN]=此管道把您手持设备的时间与电脑同步。 +Comment[zh_TW]=此軟體經由 PC 時間設定您的 handheld 時間。 +Name=Time Synchronization +Name[af]=Tyd sinkronisasie +Name[ar]=مزامنة الوقت +Name[be]=Сынхранізацыя часу +Name[bg]=Синхронизация +Name[bs]=Sinhronizacija vremena +Name[ca]=Sincronització horària +Name[cs]=Synchronizace času +Name[cy]=Cydamseriad Amser +Name[da]=Tidsynkronisering +Name[de]=Zeit-Abgleich +Name[el]=Συγχρονισμός ώρας +Name[en_GB]=Time Synchronisation +Name[eo]=Temposinkronigo +Name[es]=Sincronización de hora +Name[et]=Aja sünkroniseerimine +Name[eu]=Ordu sinkronizazioa +Name[fa]=همگامسازی زمان +Name[fi]=Ajan synkronointi +Name[fr]=Synchronisation de l'heure +Name[fy]=Tiidssyngronisaasje +Name[gl]=Sincronización Horaria +Name[hi]=समय सिंक्रोनाइज़ेशन +Name[hu]=Időszinkronizálás +Name[is]=Tíma samstilling +Name[it]=Sincronizzazione temporale +Name[ja]=時間同期 +Name[kk]=Уақытты қадамдастыру +Name[km]=សមកាលកម្មពេលវេលា +Name[lt]=Laiko sinchronizavimas +Name[mk]=Синхронизација на време +Name[ms]=Segerakan waktu +Name[nb]=Tidsynkronisering +Name[nds]=Tietsynkroniseren +Name[ne]=समय समक्रमण +Name[nl]=Tijdsynchronisatie +Name[nn]=Tidsynkronisering +Name[pl]=Synchronizacja czasu +Name[pt]=Sincronização Horária +Name[pt_BR]=Sincronização de Horário +Name[ro]=Sincronizare timp +Name[ru]=Синхронизация времени +Name[sk]=Synchronizácia času +Name[sl]=Usklajevanje časa +Name[sr]=Синхронизација времена +Name[sr@Latn]=Sinhronizacija vremena +Name[sv]=Tidssynkronisering +Name[ta]=நேர ஒத்தியக்கம் +Name[tg]=Синхронизатсияи муддат +Name[tr]=Zaman Senkronizasyonu +Name[uk]=Синхронізація часу +Name[zh_CN]=时间同步 +Name[zh_TW]=時刻同步化 +Implemented=file +ServiceTypes=KPilotConduit +X-KDE-Library=conduit_time diff --git a/conduits/timeconduit/timeconduit.kcfg b/conduits/timeconduit/timeconduit.kcfg new file mode 100644 index 0000000..aafa23f --- /dev/null +++ b/conduits/timeconduit/timeconduit.kcfg @@ -0,0 +1,17 @@ +<?xml version="1.0" encoding="UTF-8"?> +<kcfg xmlns="http://www.kde.org/standards/kcfg/1.0" + xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" + xsi:schemaLocation="http://www.kde.org/standards/kcfg/1.0 + http://www.kde.org/standards/kcfg/1.0/kcfg.xsd" > + <kcfgfile name="kpilot_timeconduitrc"/> + <group name="Time-conduit"> + <entry name="Direction" type="Enum"> + <choices> + <choice name="eSetHHfromPC"/> + <choice name="eSetPCfromHH"/> + </choices> + <default>eSetHHfromPC</default> + </entry> + </group> + +</kcfg> |