From 9fee4e73ccdcd30dcd6efd53e22f3e8280271db3 Mon Sep 17 00:00:00 2001 From: saturneric Date: Mon, 20 Oct 2025 14:56:01 +0200 Subject: refactor(pinentry): remove bundled `m_pinentry` module * Delete all source and resource files related to the internal pinentry functionality. * Stop building the pinentry module in the main build system. * Simplify structure and reduce maintenance overhead by relying on external pinentry utilities. * May affect passphrase input and related UI flows; verify integration points. --- src/m_pinentry/accessibility.cpp | 44 ---------------------------------------- 1 file changed, 44 deletions(-) delete mode 100644 src/m_pinentry/accessibility.cpp (limited to 'src/m_pinentry/accessibility.cpp') diff --git a/src/m_pinentry/accessibility.cpp b/src/m_pinentry/accessibility.cpp deleted file mode 100644 index f139832..0000000 --- a/src/m_pinentry/accessibility.cpp +++ /dev/null @@ -1,44 +0,0 @@ -/* accessibility.cpp - Helpers for making pinentry accessible - * Copyright (C) 2021 g10 Code GmbH - * - * Software engineering by Ingo Klöcker - * - * 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; if not, see . - * SPDX-License-Identifier: GPL-2.0+ - */ - -#include "accessibility.h" - -#include -#include - -namespace Accessibility { - -void setDescription(QWidget *w, const QString &text) { - if (w) { -#ifndef QT_NO_ACCESSIBILITY - w->setAccessibleDescription(text); -#endif - } -} - -void setName(QWidget *w, const QString &text) { - if (w) { -#ifndef QT_NO_ACCESSIBILITY - w->setAccessibleName(text); -#endif - } -} - -} // namespace Accessibility -- cgit v1.2.3