From patchwork Wed Oct 23 06:26:51 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Rolf Eike Beer X-Patchwork-Id: 13846723 Received: from mx1.emlix.com (mx1.emlix.com [178.63.209.131]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 212CA165F0C; Wed, 23 Oct 2024 08:56:09 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=178.63.209.131 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1729673772; cv=none; b=FcaS9J5xQJl9g8bUb2eYMmtnFbLB0QSh7TX2Von1TTiZKxNf61KYVGji/4B+Uz+sKZ23rUaFhIEl81cw1s9Dj0p8iS5B1HTSd/MrpxTpHP3VWa+ezNOPiiXbtr6qOC7f5D9EJEwQTjA0P8XY1h41FAbMFkTUBARH5meWamXYyG0= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1729673772; c=relaxed/simple; bh=LtUuF4KAjrjmqUd8QvWj0hAG1Z8HkwAdOYmGjMckmC0=; h=From:Cc:Subject:Date:Message-ID:MIME-Version:Content-Type:To; b=hGCUBAgoXivhcn80rXcOjmPBGT411/4ElsIGRClZX1pHAkCAm9wMa98HTsFIQpM6mN/SoDWlQRROctoMXbh1vBoOBpqs5PRRGD6A0VoDNwIIebFST2PlpD2Nxqm6U/NMyxO+Cfdq/HATunzDHT9uAh+Z7eUz3D9qlL4IU1Wo8f4= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=emlix.com; spf=pass smtp.mailfrom=emlix.com; arc=none smtp.client-ip=178.63.209.131 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=emlix.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=emlix.com Received: from mailer.emlix.com (p5098be52.dip0.t-ipconnect.de [80.152.190.82]) (using TLSv1.2 with cipher ADH-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.emlix.com (Postfix) with ESMTPS id E18F45F8A7; Wed, 23 Oct 2024 10:56:07 +0200 (CEST) From: Rolf Eike Beer Cc: linux-kbuild@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH 0/7] improve qconfig C++ code Date: Wed, 23 Oct 2024 08:26:51 +0200 Message-ID: <4960180.31r3eYUQgx@devpool47.emlix.com> Organization: emlix GmbH Precedence: bulk X-Mailing-List: linux-kbuild@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Resent-Message-ID: <202410231056.07265.> Resent-Date: Wed, 23 Oct 2024 10:56:07 +0200 Resent-From: Rolf Eike Beer To: Masahiro Yamada Resent-To: Masahiro Yamada Resent-Cc: linux-kbuild@vger.kernel.org, linux-kernel@vger.kernel.org While playing around with qconfig I made some cleanups that I seemed to forgot to send out. This uses more of the Qt API that is already present to make the code a bit nicer (YMMV). Especially it adds some keyboard shortcuts for the default actions (Save, Save as and the like). Rolf Eike Beer (7): kconfig: qconf: simplify character replacement kconfig: qconf: use default platform shortcuts kconfig: qconf: use nullptr in C++11 code kconfig: qconf: use QCommandLineParser kconfig: qconf: use preferred form of QString API kconfig: qconf: use QString to store path to configuration file kconfig: qconf: use QByteArray API instead of manually constructing a string