Commit 661fa098 authored by Aleix Pol Gonzalez's avatar Aleix Pol Gonzalez 🐧

Introduce bare documentation for the KDE Connect kcm

parent c0576f76
......@@ -12,6 +12,7 @@ set(CMAKE_MODULE_PATH ${ECM_MODULE_PATH} ${ECM_KDE_MODULE_DIR} ${CMAKE_SOURCE_DI
find_package(Qt5 5.2 REQUIRED COMPONENTS Quick)
find_package(KF5 REQUIRED COMPONENTS I18n ConfigWidgets DBusAddons IconThemes)
find_package(KF5DocTools)
find_package(Qca-qt5 2.1.0 REQUIRED)
find_package(TelepathyQt5 0.9.5)
find_package(TelepathyQt5Service 0.9.7)
......@@ -54,6 +55,9 @@ add_subdirectory(plugins)
add_subdirectory(plasmoid)
add_subdirectory(cli)
add_subdirectory(fileitemactionplugin)
if(KF5DocTools_FOUND)
add_subdirectory(doc)
endif()
if (TelepathyQt5_FOUND AND TelepathyQt5Service_FOUND)
add_subdirectory(telepathy-cm)
......
kdoctools_create_handbook(index.docbook INSTALL_DESTINATION ${HTML_INSTALL_DIR}/en SUBDIR kdeconnect)
<?xml version="1.0" ?>
<!DOCTYPE article PUBLIC "-//KDE//DTD DocBook XML V4.5-Based Variant V1.1//EN"
"dtd/kdedbx45.dtd" [
<!ENTITY % addindex "IGNORE">
<!ENTITY % English "INCLUDE" > <!-- change language only here -->
]>
<article id="kdeconnect" lang="&language;">
<articleinfo>
<title>KDE Connect</title>
<authorgroup>
<author>&Aleix.Pol;</author>
<!-- TRANS:ROLES_OF_TRANSLATORS -->
</authorgroup>
<date>2015-10-19</date>
<releaseinfo>0.9</releaseinfo>
<keywordset>
<keyword>KDE</keyword>
<keyword>Connect</keyword>
<keyword>phone</keyword>
<keyword>remote</keyword>
<keyword>device</keyword>
<keyword>pair</keyword>
</keywordset>
</articleinfo>
<sect1 id="kdeconnect-kcm">
<title>KDE Connect</title>
<para>You can use this dialog to configure which devices we're paired to. It's useful since it will specify who we're sharing information with.</para>
</sect1>
</article>
......@@ -85,7 +85,7 @@ KdeConnectKcm::KdeConnectKcm(QWidget *parent, const QVariantList&)
kcmUi->rename_edit->setText(daemon->announcedName());
setRenameMode(false);
setButtons(KCModule::NoAdditionalButton);
setButtons(KCModule::Help | KCModule::NoAdditionalButton);
connect(devicesModel, SIGNAL(dataChanged(QModelIndex,QModelIndex)),
this, SLOT(resetSelection()));
......
......@@ -91,4 +91,6 @@ X-KDE-Keywords[uk]=Network,Android,Devices,мережа,андроїд,прис
X-KDE-Keywords[x-test]=xxNetworkxx,xxAndroidxx,xxDevicesxx
X-KDE-Keywords[zh_CN]=Network,Android,Devices,网络,安卓,设备
X-DocPath=kdeconnect/index.html
Categories=Qt;KDE;X-KDE-settings-kdeconnect;
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