resolve the last remaining apps/runtime dependency the ugly way

svn path=/branches/work/akonadi-ports/kdepim/; revision=1075083
wilder-work
Volker Krause 16 years ago
parent 8752e8b5f6
commit 54ee07cac8
  1. 5
      CMakeLists.txt
  2. 84
      imapresource.kcfg

@ -194,7 +194,7 @@ soprano_add_ontology(kmailprivate_LIB_SRCS
)
macro(add_resource_iface _kcfgFile _ifaceName _className)
kcfg_generate_dbus_interface(${kdepim-runtime_SOURCE_DIR}/resources/${_kcfgFile} ${_ifaceName})
kcfg_generate_dbus_interface(${CMAKE_CURRENT_SOURCE_DIR}/${_kcfgFile} ${_ifaceName})
string(TOLOWER ${_className} _codeFile)
set_source_files_properties( ${CMAKE_CURRENT_BINARY_DIR}/${_ifaceName}.xml PROPERTIES INCLUDE "metatype.h")
qt4_add_dbus_interface(kmailprivate_LIB_SRCS
@ -202,8 +202,7 @@ macro(add_resource_iface _kcfgFile _ifaceName _className)
)
endmacro(add_resource_iface)
add_resource_iface( imap/imapresource.kcfg
org.kde.Akonadi.Imap.Settings ImapSettings )
add_resource_iface( imapresource.kcfg org.kde.Akonadi.Imap.Settings ImapSettings )
# TODO PORT
# qt4_generate_dbus_interface(kmcomposewin.h org.kde.kmail.mailcomposer.xml OPTIONS -a)

@ -0,0 +1,84 @@
<?xml version="1.0" encoding="UTF-8"?>
<kcfg xmlns="http://www.kde.org/standards/kcfg/1.0"
xmlns:kcfg="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" >
<group name="network">
<entry name="ImapServer" type="String">
<label>IMAP server</label>
</entry>
<entry name="UserName" type="String">
<label>Username</label>
</entry>
<entry name="Safety" type="Int">
<label>Defines the encryption type to use</label>
<default>1</default>
</entry>
<entry name="Authentication" type="Int">
<label>Defines the authentication type to use</label>
<default>1</default>
</entry>
<entry name="SubscriptionEnabled" type="Bool">
<label>Defines if the server side subscription is enabled</label>
<default>false</default>
</entry>
</group>
<group name="cache">
<entry name="DisconnectedModeEnabled" type="Bool">
<label>Defines if all the IMAP data should be cached locally all the time</label>
<default>false</default>
</entry>
<entry name="IntervalCheckTime" type="Int">
<label>Check interval in minutes</label>
<default>5</default>
</entry>
<entry name="RetrieveMetadataOnFolderListing" type="Bool">
<label>Defines if the annotations, ACLs and quota information of mailboxes should
also be retrieved when the mailboxes get listed.</label>
<default>true</default>
</entry>
<entry name="AutomaticExpungeEnabled" type="Bool">
<label>Defines if the expunge command is issued automatically, otherwise it should be
triggered manually through the D-Bus interface.</label>
<default>true</default>
</entry>
<entry name="TrashCollection" type="LongLong">
<label>Define which folder is used for trash</label>
<default>-1</default>
</entry>
<entry name="UseDefaultIdentity" type="Bool">
<label>Define if account use default identity</label>
<default>true</default>
</entry>
<entry name="AccountIdentity" type="Int">
<label>Identity account</label>
</entry>
</group>
<group name="idle">
<entry name="IdleRidPath" type="StringList">
<label>RID path to the mailbox to watch for changes</label>
</entry>
</group>
<group name="siever">
<entry name="SieveSupport" type="Bool">
<label>Define if server supports sieve</label>
<default>false</default>
</entry>
<entry name="SieveReuseConfig" type="Bool">
<label>Define if we reuse host and login configuration</label>
<default>true</default>
</entry>
<entry name="SievePort" type="Int">
<label>Define sieve port</label>
<default>2000</default>
</entry>
<entry name="SieveAlternateUrl" type="String">
<label>Define alternate url</label>
</entry>
<entry name="SieveVacationFilename" type="String">
<label>Define default sieve vacation filename</label>
<default>kmail-vacation.siv</default>
</entry>
</group>
</kcfg>
Loading…
Cancel
Save