Commit 93ca4283 authored by David Jarvie's avatar David Jarvie
Browse files

Remove KAlarm Akonadi resource

KAlarm no longer uses the Akonadi resource, which is no longer maintained
parent c65c0161
Pipeline #141565 passed with stage
in 9 minutes and 4 seconds
......@@ -13,7 +13,6 @@ Dependencies:
'pim/akonadi-contacts' : '@same'
'pim/akonadi-mime' : '@same'
'pim/akonadi-notes' : '@same'
'pim/kalarmcal' : '@same'
'pim/kcalutils' : '@same'
'pim/kidentitymanagement' : '@same'
'pim/kimap' : '@same'
......
......@@ -77,7 +77,6 @@ set(KIMAP_LIB_VERSION "5.19.40")
set(KMBOX_LIB_VERSION "5.19.40")
set(AKONADICALENDAR_LIB_VERSION "5.19.42")
set(KONTACTINTERFACE_LIB_VERSION "5.19.40")
set(AKONADIKALARM_LIB_VERSION "5.19.40")
set(KMIME_LIB_VERSION "5.19.40")
set(AKONADIMIME_LIB_VERSION "5.19.41")
set(AKONADICONTACT_LIB_VERSION "5.19.40")
......@@ -141,7 +140,6 @@ find_package(KF5MailTransportAkonadi ${KMAILTRANSPORT_LIB_VERSION} CONFIG REQUIR
find_package(KF5IdentityManagement ${IDENTITYMANAGEMENT_LIB_VERSION} CONFIG REQUIRED)
find_package(KF5AkonadiContact ${AKONADICONTACT_LIB_VERSION} CONFIG REQUIRED)
find_package(KF5Contacts ${KF5_MIN_VERSION} CONFIG REQUIRED)
find_package(KF5AlarmCalendar ${AKONADIKALARM_LIB_VERSION} CONFIG)
find_package(KF5CalendarCore ${KF5_MIN_VERSION} CONFIG REQUIRED)
find_package(KF5CalendarUtils ${CALENDARUTILS_LIB_VERSION} CONFIG REQUIRED)
find_package(KF5Mbox ${KMBOX_LIB_VERSION} CONFIG REQUIRED)
......
......@@ -27,18 +27,18 @@ Notes:
</mime-type>
<mime-type type="application/x-vnd.kde.alarm">
<sub-class-of type="text/calendar"/>
<comment>KAlarm Alarm</comment>
<comment>Legacy KAlarm Alarm</comment>
</mime-type>
<mime-type type="application/x-vnd.kde.alarm.active">
<sub-class-of type="application/x-vnd.kde.alarm"/>
<comment>KAlarm Active Alarm</comment>
<comment>Legacy KAlarm Active Alarm</comment>
</mime-type>
<mime-type type="application/x-vnd.kde.alarm.archived">
<sub-class-of type="application/x-vnd.kde.alarm"/>
<comment>KAlarm Archived Alarm</comment>
<comment>Legacy KAlarm Archived Alarm</comment>
</mime-type>
<mime-type type="application/x-vnd.kde.alarm.template">
<sub-class-of type="application/x-vnd.kde.alarm"/>
<comment>KAlarm Alarm Template</comment>
<comment>Legacy KAlarm Alarm Template</comment>
</mime-type>
</mime-info>
......@@ -37,9 +37,6 @@ endmacro( akonadi_add_resourcetest )
add_subdirectory( akonotes )
if (TARGET KF5::AlarmCalendar)
add_subdirectory( kalarm )
endif()
add_subdirectory( contacts )
add_subdirectory( dav )
add_subdirectory( ical )
......
add_definitions(-DTRANSLATION_DOMAIN=\"akonadi_kalarm_resource\")
add_subdirectory(kalarm)
add_subdirectory(kalarmdir)
#! /usr/bin/env bash
# SPDX-License-Identifier: CC0-1.0
# SPDX-FileCopyrightText: none
$EXTRACTRC `find . -name \*.kcfg -o -name \*.ui` >> rc.cpp || exit 11
$XGETTEXT `find . \( ! -path "./kdepim-runtime/*" \) -a \( -name "*.cpp" -o -name "*.h" \)` -o $podir/akonadi_kalarm_resource.pot
rm -f rc.cpp
include_directories(
${CMAKE_CURRENT_BINARY_DIR}
${CMAKE_CURRENT_SOURCE_DIR}/../shared
${CMAKE_CURRENT_SOURCE_DIR}/../../ical/shared
)
set(kalarmresource_common_SRCS)
kconfig_add_kcfg_files(kalarmresource_common_SRCS settings.kcfgc)
############################ Resource ##################################
add_definitions(-DSETTINGS_NAMESPACE=Akonadi_KAlarm_Resource)
# Fix a race condition. alarmtyperadiowidget.cpp is used by two targets, we have
# to be sure the ui file was generated before building them.
set_source_files_properties(
../shared/alarmtyperadiowidget.cpp
PROPERTIES OBJECT_DEPENDS ${CMAKE_CURRENT_BINARY_DIR}/ui_alarmtyperadiowidget.h
)
set(kalarmresource_SRCS
${CMAKE_CURRENT_SOURCE_DIR}/../../ical/shared/icalresourcebase.cpp
kalarmresource.cpp
../shared/kalarmresourcecommon.cpp
../shared/alarmtyperadiowidget.cpp
kalarmresource.h
../shared/kalarmresourcecommon.h
../shared/alarmtyperadiowidget.h
${kalarmresource_common_SRCS}
)
install(FILES kalarmresource.desktop DESTINATION "${KDE_INSTALL_DATAROOTDIR}/akonadi/agents")
ki18n_wrap_ui(kalarmresource_SRCS ../shared/alarmtyperadiowidget.ui)
kcfg_generate_dbus_interface(${CMAKE_CURRENT_SOURCE_DIR}/kalarmresource.kcfg org.kde.Akonadi.KAlarm.Settings)
qt_add_dbus_adaptor(kalarmresource_SRCS
${CMAKE_CURRENT_BINARY_DIR}/org.kde.Akonadi.KAlarm.Settings.xml settings.h Akonadi_KAlarm_Resource::Settings icalsettingsadaptor ICalSettingsAdaptor)
ecm_qt_declare_logging_category(kalarmresource_SRCS HEADER kalarmresource_debug.h IDENTIFIER KALARMRESOURCE_LOG CATEGORY_NAME org.kde.pim.kalarmresource
DESCRIPTION "kalarm file resource (kdepim-runtime)"
OLD_CATEGORY_NAMES log_kalarmresource
EXPORT KDEPIMRUNTIME
)
add_custom_target(kalarm_resource_xml ALL DEPENDS ${CMAKE_CURRENT_BINARY_DIR}/org.kde.Akonadi.KAlarm.Settings.xml)
add_executable(akonadi_kalarm_resource ${kalarmresource_SRCS})
if (COMPILE_WITH_UNITY_CMAKE_SUPPORT)
set_target_properties(akonadi_kalarm_resource PROPERTIES UNITY_BUILD ON)
endif()
if( APPLE )
set_target_properties(akonadi_kalarm_resource PROPERTIES MACOSX_BUNDLE_INFO_PLIST ${CMAKE_CURRENT_SOURCE_DIR}/../Info.plist.template)
set_target_properties(akonadi_kalarm_resource PROPERTIES MACOSX_BUNDLE_GUI_IDENTIFIER "org.kde.Akonadi.KAlarm")
set_target_properties(akonadi_kalarm_resource PROPERTIES MACOSX_BUNDLE_BUNDLE_NAME "KDE Akonadi KAlarm Resource")
endif ()
target_link_libraries(akonadi_kalarm_resource
KF5::AlarmCalendar
KF5::AkonadiCore
KF5::CalendarCore
KF5::KIOCore
KF5::AkonadiAgentBase
KF5::I18n
akonadi-singlefileresource
)
install(TARGETS akonadi_kalarm_resource ${KDE_INSTALL_TARGETS_DEFAULT_ARGS})
############################## Config plugin #################################
kcoreaddons_add_plugin(kalarmconfig
INSTALL_NAMESPACE "akonadi/config"
)
target_sources(kalarmconfig PRIVATE
kalarmconfig.cpp
../shared/alarmtyperadiowidget.cpp
${kalarmresource_common_SRCS}
)
target_link_libraries(kalarmconfig
KF5::AkonadiCore
KF5::AlarmCalendar
akonadi-singlefileresource
)
/*
* SPDX-FileCopyrightText: 2018 Daniel Vrátil <dvratil@kde.org>
* SPDX-FileCopyrightText: 2019 David Jarvie <djarvie@kde.org>
*
* SPDX-License-Identifier: LGPL-2.0-or-later
*/
#include "alarmtyperadiowidget.h"
#include "settings.h"
#include "singlefileresourceconfigbase.h"
class KAlarmConfigBase : public SingleFileResourceConfigBase<SETTINGS_NAMESPACE::Settings>
{
public:
KAlarmConfigBase(const KSharedConfigPtr &config, QWidget *parent, const QVariantList &params)
: SingleFileResourceConfigBase<SETTINGS_NAMESPACE::Settings>(config, parent, params)
{
mTypeSelector.reset(new AlarmTypeRadioWidget(parent));
const QStringList types = mSettings->alarmTypes();
CalEvent::Type alarmType = CalEvent::ACTIVE;
if (!types.isEmpty()) {
alarmType = CalEvent::type(types[0]);
}
mTypeSelector->setAlarmType(alarmType);
mWidget->appendWidget(mTypeSelector.data());
mWidget->setMonitorEnabled(false);
}
Q_REQUIRED_RESULT bool save() const override
{
mSettings->setAlarmTypes(CalEvent::mimeTypes(mTypeSelector->alarmType()));
return SingleFileResourceConfigBase<SETTINGS_NAMESPACE::Settings>::save();
}
private:
QScopedPointer<AlarmTypeRadioWidget> mTypeSelector;
};
class KAlarmConfig : public KAlarmConfigBase
{
Q_OBJECT
public:
using KAlarmConfigBase::KAlarmConfigBase;
};
AKONADI_AGENTCONFIG_FACTORY(KAlarmConfigFactory, "kalarmconfig.json", KAlarmConfig)
#include "kalarmconfig.moc"
{
"X-Akonadi-PluginType": "AgentConfig",
"X-Akonadi-Library": "kalarmconfig",
"X-Akonadi-AgentConfig-Type": "akonadi_kalarm_resource"
}
This diff is collapsed.
[Desktop Entry]
Name=KAlarm Calendar File
Name[ar]=ملفّ تقاويم «منبّهك»
Name[bg]=Календарен файл на KAlarm
Name[bs]=KAlarm Kalendar Datoteka
Name[ca]=Fitxer de calendari del KAlarm
Name[ca@valencia]=Fitxer de calendari del KAlarm
Name[cs]=Soubor kalendáře KAlarm
Name[da]=KAlarm-kalenderfil
Name[de]=KAlarm-Kalenderdatei
Name[el]=Αρχείο ημερολογίου KAlarm
Name[en_GB]=KAlarm Calendar File
Name[es]=Archivo de calendario de KAlarm
Name[et]=KAlarmi kalendrifail
Name[fi]=KAlarm-kalenteritiedosto
Name[fr]=Fichier d'agenda KAlarm
Name[ga]=Comhad Féilire KAlarm
Name[gl]=Ficheiro de calendario de KAlarm
Name[hsb]=KAlarm protykowa dataja
Name[hu]=KAlarm naptárfájl
Name[ia]=File de calendario de KAlarm
Name[it]=Calendario di KAlarm
Name[ja]=KAlarm カレンダーファイル
Name[kk]=KAlarm күнтізбе файлы
Name[km]=ឯកសារ​ប្រតិទិន​របស់ KAlarm
Name[ko]=KAlarm 달력 파일
Name[lt]=KAlarm kalendoriaus failas
Name[lv]=KAlarm kalendāra fails
Name[nb]=KAlarm kalenderfil
Name[nds]=KAlarm-Kalennerdatei
Name[nl]=KAlarm-agendabestand
Name[nn]=KAlarm-kalenderfil
Name[pa]=ਕੇ-ਅਲਾਰਮ ਕੈਲੰਡਰ ਫਾਇਲ
Name[pl]=Plik kalendarza KAlarm
Name[pt]=Ficheiro de Calendário do KAlarm
Name[pt_BR]=Arquivo de calendário do KAlarm
Name[ru]=Файл календаря KAlarm
Name[sk]=Súbor kalendára KAlarm
Name[sl]=Koledarska datoteka KAlarma
Name[sr]=К‑алармов календарски фајл
Name[sr@ijekavian]=К‑алармов календарски фајл
Name[sr@ijekavianlatin]=K‑alarmov kalendarski fajl
Name[sr@latin]=K‑alarmov kalendarski fajl
Name[sv]=Kalarm-kalenderfil
Name[tr]=KAlarm Takvim Dosyası
Name[uk]=Файл календаря KAlarm
Name[x-test]=xxKAlarm Calendar Filexx
Name[zh_CN]=KAlarm 日历文件
Name[zh_TW]=KAlarm 行事曆檔案
Comment=Loads data from a KAlarm calendar file
Comment[ar]=يحمّل البيانات من ملفّ تقاويم «منبّهك»
Comment[bg]=Зареждане на данни от календарен файл KAlarm
Comment[bs]=Učitava podatke iz KAlarm kalendar datoteke
Comment[ca]=Carrega les dades des d'un fitxer de calendari del KAlarm
Comment[ca@valencia]=Carrega les dades des d'un fitxer de calendari del KAlarm
Comment[cs]=Načítá data ze souboru kalendáře KAlarm
Comment[da]=Indlæser data fra KAlarm-kalenderfil
Comment[de]=Lädt Daten aus einer KAlarm-Kalenderdatei
Comment[el]=Φόρτωση δεδομένων από ένα αρχείο ημερολογίου του KAlarm
Comment[en_GB]=Loads data from a KAlarm calendar file
Comment[es]=Carga datos de un archivo de calendario de KAlarm
Comment[et]=Andmete laadimine KAlarmi kalendrifailist
Comment[fi]=Noutaa tietoa KAlarmin kalenteritiedostosta
Comment[fr]=Charge les données depuis un fichier d'agenda KAlarm
Comment[ga]=Breiseán a luchtaíonn sonraí ó chomhad féilire KAlarm
Comment[gl]=Carga datos desde un ficheiro de calendario de KAlarm.
Comment[hsb]=Čita daty z KAlarm-protykoweje dataje
Comment[hu]=Adatok betöltése egy KAlarm naptárfájlból
Comment[ia]=Carga datos ex un file de calendario de KAlarm
Comment[it]=Carica dati da un calendario di KAlarm
Comment[ja]=KAlarm のカレンダーファイルからデータを読み込みます
Comment[kk]=KAlarm-дың күнтізбе файлдан деректі алу
Comment[km]=ផ្ទុក​ទិន្នន័យ​ពី​ឯកសារ​ប្រតិទិន​របស់ KAlarm
Comment[ko]=KAlarm 달력 파일에서 데이터를 가져옵니다
Comment[lt]=Įkelia duomenis iš KAlarm kalendoriaus failo
Comment[lv]=Ielādē datus no KAlarm kalendāra faila
Comment[nb]=Laster data fra en KAlarm kalenderfil
Comment[nds]=Laadt Daten ut en KAlarm-Kalennerdatei
Comment[nl]=Laadt gegevens van een KAlarm-agendabestand
Comment[nn]=Lastar data frå ei KAlarm-kalenderfil
Comment[pl]=Wczytuje dane z pliku kalendarza KAlarm
Comment[pt]=Carrega os dados de um ficheiro de calendário do KAlarm
Comment[pt_BR]=Carrega os dados de um arquivo de calendário do KAlarm
Comment[ru]=Загрузка данных из файла календаря KAlarm
Comment[sk]=Načíta dáta zo súboru kalendára KAlarm
Comment[sl]=Naloži podatke iz koledarske datoteke KAlarma
Comment[sr]=Учитава податке из К‑алармовог календарског фајла
Comment[sr@ijekavian]=Учитава податке из К‑алармовог календарског фајла
Comment[sr@ijekavianlatin]=Učitava podatke iz K‑alarmovog kalendarskog fajla
Comment[sr@latin]=Učitava podatke iz K‑alarmovog kalendarskog fajla
Comment[sv]=Laddar data från en Kalarm-kalenderfil
Comment[tr]=KAlarm takvim dosyasından veri yükler
Comment[uk]=Завантажує дані з файла календаря KAlarm
Comment[x-test]=xxLoads data from a KAlarm calendar filexx
Comment[zh_CN]=从 KAlarm 日历文件加载数据
Comment[zh_TW]=從 KAlarm 行事曆檔載入資料
Type=AkonadiResource
Exec=akonadi_kalarm_resource
Icon=kalarm
X-Akonadi-MimeTypes=application/x-vnd.kde.alarm,application/x-vnd.kde.alarm.active,application/x-vnd.kde.alarm.archived,application/x-vnd.kde.alarm.template
X-Akonadi-Capabilities=Resource
X-Akonadi-Identifier=akonadi_kalarm_resource
/*
* kalarmresource.h - Akonadi resource for KAlarm
* Program: kalarm
* SPDX-FileCopyrightText: 2009-2020 David Jarvie <djarvie@kde.org>
*
* SPDX-License-Identifier: LGPL-2.0-or-later
*/
#pragma once
#include "icalresourcebase.h"
#include <KAlarmCal/KACalendar>
using namespace KAlarmCal;
class KJob;
namespace Akonadi
{
class CollectionFetchJob;
}
class KAlarmResource : public ICalResourceBase
{
Q_OBJECT
public:
explicit KAlarmResource(const QString &id);
~KAlarmResource() override;
protected:
using ResourceBase::retrieveItems; // Suppress -Woverload-virtual
void retrieveItems(const Akonadi::Collection &) override;
void doRetrieveItems(const Akonadi::Collection &) override;
bool doRetrieveItems(const Akonadi::Item::List &items, const QSet<QByteArray> &parts) override;
bool readFromFile(const QString &fileName) override;
bool writeToFile(const QString &fileName) override;
void itemAdded(const Akonadi::Item &, const Akonadi::Collection &) override;
void itemChanged(const Akonadi::Item &, const QSet<QByteArray> &parts) override;
void collectionChanged(const Akonadi::Collection &) override;
void retrieveCollections() override;
bool readOnly() const override;
private Q_SLOTS:
void settingsChanged();
void collectionFetchResult(KJob *);
void updateFormat(KJob *);
void setCompatibility(KJob *);
private:
void checkFileCompatibility(const Akonadi::Collection & = Akonadi::Collection(), bool createAttribute = false);
Akonadi::CollectionFetchJob *fetchCollection(const char *slot);
KACalendar::Compat mCompatibility;
KACalendar::Compat mFileCompatibility; // calendar file compatibility found by readFromFile()
int mVersion; // calendar format version
int mFileVersion; // calendar format version found by readFromFile()
bool mHaveReadFile{false}; // the calendar file has been read
bool mFetchedAttributes{false}; // attributes have been fetched after initialisation
bool mUpdatingFormat{false}; // writeToFile() can ignore mCompatibility
bool mFileChangedReadOnly{false}; // make readOnly() return true
QString mBackupFile; // backup file name, if another process has changed the calendar file
};
<?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" >
<kcfgfile arg="true" />
<group name="General">
<entry name="Path" type="Path">
<label>Path to KAlarm calendar file.</label>
<default></default>
</entry>
<entry name="DisplayName" type="String">
<label>Display name.</label>
<default></default>
</entry>
<entry name="ReadOnly" type="Bool">
<label>Do not change the actual backend data.</label>
<default>false</default>
</entry>
<entry name="MonitorFile" type="Bool">
<label>Monitor file for changes.</label>
<default>true</default>
</entry>
<entry name="AlarmTypes" type="StringList">
<label>Alarm types.</label>
</entry>
<entry name="UpdateStorageFormat" type="Bool">
<label>Update backend storage format.</label>
<default>false</default>
</entry>
</group>
</kcfg>
File=kalarmresource.kcfg
ClassName=Settings
Mutators=true
ItemAccessors=true
SetUserTexts=true
Singleton=false
GlobalEnums=true
NameSpace=Akonadi_KAlarm_Resource
TranslationSystem=kde
include_directories(
${CMAKE_CURRENT_BINARY_DIR}
${CMAKE_CURRENT_SOURCE_DIR}/../shared
)
########### next target ###############
add_definitions(-DSETTINGS_NAMESPACE=Akonadi_KAlarm_Dir_Resource)
set(kalarmdirresource_SRCS
kalarmdirresource_debug.cpp
settingsdialog.cpp
kalarmdirresource.cpp
../shared/kalarmresourcecommon.cpp
../shared/alarmtypewidget.cpp
kalarmdirresource_debug.h
settingsdialog.h
kalarmdirresource.h
../shared/kalarmresourcecommon.h
../shared/alarmtypewidget.h
)
install(FILES kalarmdirresource.desktop DESTINATION "${KDE_INSTALL_DATAROOTDIR}/akonadi/agents")
ki18n_wrap_ui(kalarmdirresource_SRCS settingsdialog.ui ../shared/alarmtypewidget.ui)
kconfig_add_kcfg_files(kalarmdirresource_SRCS settings.kcfgc)
kcfg_generate_dbus_interface(${CMAKE_CURRENT_SOURCE_DIR}/kalarmdirresource.kcfg org.kde.Akonadi.KAlarmDir.Settings)
qt_add_dbus_adaptor(kalarmdirresource_SRCS
${CMAKE_CURRENT_BINARY_DIR}/org.kde.Akonadi.KAlarmDir.Settings.xml settings.h Akonadi_KAlarm_Dir_Resource::Settings kalarmdirsettingsadaptor KAlarmDirSettingsAdaptor)
ecm_qt_declare_logging_category(kalarmdirresource_SRCS HEADER kalarmdirresource_debug.h IDENTIFIER KALARMDIRRESOURCE_LOG CATEGORY_NAME org.kde.pim.kalarmdirresource
DESCRIPTION "kalarm directory resource (kdepim-runtime)"
OLD_CATEGORY_NAMES log_kalarmdirresource
EXPORT KDEPIMRUNTIME
)
add_custom_target(kalarmdir_resource_xml ALL DEPENDS ${CMAKE_CURRENT_BINARY_DIR}/org.kde.Akonadi.KAlarmDir.Settings.xml)
add_executable(akonadi_kalarm_dir_resource ${kalarmdirresource_SRCS})
if (COMPILE_WITH_UNITY_CMAKE_SUPPORT)
set_target_properties(akonadi_kalarm_dir_resource PROPERTIES UNITY_BUILD ON)
endif()
if( APPLE )
set_target_properties(akonadi_kalarm_dir_resource PROPERTIES MACOSX_BUNDLE_INFO_PLIST ${CMAKE_CURRENT_SOURCE_DIR}/../Info.plist.template)
set_target_properties(akonadi_kalarm_dir_resource PROPERTIES MACOSX_BUNDLE_GUI_IDENTIFIER "org.kde.Akonadi.KAlarmDir")
set_target_properties(akonadi_kalarm_dir_resource PROPERTIES MACOSX_BUNDLE_BUNDLE_NAME "KDE Akonadi KAlarm Directory Resource")
endif ()
target_link_libraries(akonadi_kalarm_dir_resource
KF5::KIOCore
KF5::KIOWidgets
KF5::ConfigWidgets
KF5::WindowSystem
KF5::AlarmCalendar
KF5::AkonadiCore
KF5::CalendarCore
KF5::AkonadiAgentBase
)
install(TARGETS akonadi_kalarm_dir_resource ${KDE_INSTALL_TARGETS_DEFAULT_ARGS})
/*
* autoqpointer.h - QPointer which on destruction deletes object
* Program: kalarm
* SPDX-FileCopyrightText: 2009 David Jarvie <djarvie@kde.org>
*
* SPDX-License-Identifier: GPL-2.0-or-later
*/
#pragma once
#include <QPointer>
/**
* A QPointer which when destructed, deletes the object it points to.
*
* @author David Jarvie <djarvie@kde.org>
*/
template<class T> class AutoQPointer : public QPointer<T>
{
public:
AutoQPointer()
: QPointer<T>()
{
}
AutoQPointer(T *p)
: QPointer<T>(p)
{
}
AutoQPointer(const QPointer<T> &p)
: QPointer<T>(p)
{
}
~AutoQPointer()
{
delete this->data();
}
AutoQPointer<T> &operator=(const AutoQPointer<T> &p)
{
QPointer<T>::operator=(p);
return *this;
}
AutoQPointer<T> &operator=(T *p)
{
QPointer<T>::operator=(p);
return *this;
}
};
This diff is collapsed.
[Desktop Entry]
Name=KAlarm Directory
Name[ar]=دليل «منبّهك»
Name[bg]=Папка за KAlarm
Name[bs]=KAlarm direktorij
Name[ca]=Directori del KAlarm
Name[ca@valencia]=Directori del KAlarm
Name[cs]=Adresář KAlarmu
Name[da]=KAlarm-mappe
Name[de]=KAlarm-Ordner
Name[el]=Κατάλογος KAlarm
Name[en_GB]=KAlarm Directory
Name[es]=Directorio de KAlarm
Name[et]=KAlarmi kataloog
Name[fi]=KAlarm-kansio
Name[fr]=Dossier KAlarm
Name[ga]=Comhadlann KAlarm
Name[gl]=Directorio de KAlarm
Name[hsb]=KAlarm-zapisk
Name[hu]=KAlarm mappa
Name[ia]=Directorio de KAlarm
Name[it]=Directory KAlarm
Name[kk]=KAlarm каталогын
Name[km]=ថត KAlarm
Name[ko]=KAlarm 디렉터리
Name[lt]=KAlarm aplankas
Name[lv]=KAlarm mape
Name[nb]=KAlarn-mappe
Name[nds]=KAlarm-Verteken
Name[nl]=KAlarm-map
Name[pl]=Katalog KAlarm
Name[pt]=Pasta do KAlarm
Name[pt_BR]=Pasta do KAlarm
Name[ru]=Папка KAlarm
Name[sk]=Adresár KAlarm
Name[sl]=Mapa za KAlarm
Name[sr]=К‑алармова фасцикла
Name[sr@ijekavian]=К‑алармова фасцикла
Name[sr@ijekavianlatin]=K‑alarmova fascikla
Name[sr@latin]=K‑alarmova fascikla
Name[sv]=Kalarm-katalog
Name[tr]=KAlarm Dizini
Name[uk]=Каталог KAlarm
Name[x-test]=xxKAlarm Directoryxx
Name[zh_CN]=KAlarm 目录
Name[zh_TW]=KAlarm 目錄
Comment=Loads data from a local KAlarm folder
Comment[ar]=يحمّل البيانات من مجلّد «منبّهك» محليّ
Comment[bg]=Зареждане на данни от локална папка KAlarm
Comment[bs]=Čita podatke iz lokalnog KAlarm direktorija
Comment[ca]=Carrega les dades des d'una carpeta local del KAlarm
Comment[ca@valencia]=Carrega les dades des d'una carpeta local del KAlarm
Comment[cs]=Načítá data z místní složky KAlarmu
Comment[da]=Indlæser data fra en lokal KAlarm-mappe
Comment[de]=Laden von Daten aus einem lokalen KAlarm-Ordner
Comment[el]=Φορτώνει δεδομένα από έναν τοπικό φάκελο KAlarm
Comment[en_GB]=Loads data from a local KAlarm folder
Comment[es]=Carga datos de una carpeta local de KAlarm
Comment[et]=Andmete laadimine kohalikust KAlarmi kataloogist
Comment[fi]=Lataa tietoja paikallisesta KAlarm-kansiosta
Comment[fr]=Charge des données d'un dossier KAlarm
Comment[ga]=Luchtaíonn sé sonraí ó fhillteán logánta KAlarm
Comment[gl]=Carga datos desde un cartafol de KAlarm local.
Comment[hsb]=Čita daty z lokalneho KAlarm-zapiska
Comment[hu]=Adatok betöltése egy helyi KAlarm mappából
Comment[ia]=Carga datos ex un dossier local de KAlarm
Comment[it]=Carica dati da una cartella locale KAlarm