From c8fd906f3ec9f223a4786156789735d0cbf55e78 Mon Sep 17 00:00:00 2001
From: Alexander Golubev <fatzer2@gmail.com>
Date: Tue, 21 Apr 2026 06:22:48 +0300
Subject: KCharSelectTable: rename font() -> fontName()

To avoid hiding `TQWidget::font()` declaration which doesn't translates
that well into bindings' API.

Bug: https://mirror.git.trinitydesktop.org/gitea/TDE/tdebindings/issues/74
Signed-off-by: Alexander Golubev <fatzer2@gmail.com>
---
 tdeui/kcharselect.cpp | 2 +-
 tdeui/kcharselect.h   | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/tdeui/kcharselect.cpp b/tdeui/kcharselect.cpp
index 347165016..20b4cbaca 100644
--- a/tdeui/kcharselect.cpp
+++ b/tdeui/kcharselect.cpp
@@ -106,7 +106,7 @@ protected:
                     "<br>Unicode code point: U+%3"
                     "<br>(In decimal: %4)"
                     "<br>(Character: %5)"
-                    "</qt>" ).arg( cst->font() )
+                    "</qt>" ).arg( cst->fontName() )
                              .arg( character )
                              .arg( hex )
                              .arg( ch.unicode() )
diff --git a/tdeui/kcharselect.h b/tdeui/kcharselect.h
index 5ffd7cc67..c331ba296 100644
--- a/tdeui/kcharselect.h
+++ b/tdeui/kcharselect.h
@@ -61,7 +61,7 @@ public:
     virtual void setChar( const TQChar &_chr );
     virtual void setTableNum( int _tableNum );
 
-    TQString font() const { return vFont; }
+    TQString fontName() const { return vFont; }
     virtual TQChar chr() const { return vChr; }
     int tableNum() const { return vTableNum; }
 
-- 
cgit v1.2.3

