[pim/kcalutils] src: Remove unused Stringify::incidenceSecrecyList

Volker Krause <[email protected]>
Newsgroups gmane.comp.kde.cvs
Message-ID <[email protected]>
Git commit d9f6ce17423976f7796e9a5eee4d392ff74350ef by Volker Krause.
Committed on 04/08/2026 at 16:47.
Pushed by winterz into branch 'master'.

Remove unused Stringify::incidenceSecrecyList

M  +0    -9    src/stringify.cpp
M  +0    -6    src/stringify.h

https://invent.kde.org/pim/kcalutils/-/commit/d9f6ce17423976f7796e9a5eee4d392ff74350ef

diff --git a/src/stringify.cpp b/src/stringify.cpp
index e7becd2e0..5c2b02998 100644
--- a/src/stringify.cpp
+++ b/src/stringify.cpp
@@ -78,15 +78,6 @@ QString Stringify::incidenceSecrecy(Incidence::Secrecy secrecy)
     return QString();
 }
 
-QStringList Stringify::incidenceSecrecyList()
-{
-    const QStringList list{incidenceSecrecy(Incidence::SecrecyPublic),
-                           incidenceSecrecy(Incidence::SecrecyPrivate),
-                           incidenceSecrecy(Incidence::SecrecyConfidential)};
-
-    return list;
-}
-
 QString Stringify::incidenceStatus(Incidence::Status status)
 {
     switch (status) {
diff --git a/src/stringify.h b/src/stringify.h
index cc61363c1..a03e86d0a 100644
--- a/src/stringify.h
+++ b/src/stringify.h
@@ -63,12 +63,6 @@ namespace Stringify
 */
 [[nodiscard]] KCALUTILS_EXPORT QString incidenceSecrecy(KCalendarCore::Incidence::Secrecy secrecy);
 
-/*!
-  Returns a list of all available Secrecy types as a list of translated strings.
-  \sa incidenceSecrecy().
-*/
-[[nodiscard]] KCALUTILS_EXPORT QStringList incidenceSecrecyList();
-
 /*!
   Get a translated string representation of an Incidence status.
   \param status the Incidence::Status to convert to string
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.