File indexing completed on 2024-06-23 05:14:15
0001 /* -*- mode: c++; c-basic-offset:4 -*- 0002 utils/debug-helpers.h 0003 0004 This file is part of Kleopatra, the KDE keymanager 0005 SPDX-FileCopyrightText: 2022 g10 Code GmbH 0006 SPDX-FileContributor: Ingo Klöcker <dev@ingo-kloecker.de> 0007 0008 SPDX-License-Identifier: GPL-2.0-or-later 0009 */ 0010 0011 #pragma once 0012 0013 class QWidget; 0014 0015 namespace Kleo 0016 { 0017 0018 /// debug-logs the widget chain defined by QWidget::nextInFocusChain() 0019 void dumpFocusChain(QWidget *window); 0020 0021 /// debug-logs the widgets that would get focus by contiuous tabbing and backtabbing 0022 void dumpTabOrder(QWidget *widget); 0023 0024 }