summaryrefslogtreecommitdiffstats
path: root/klipper
diff options
context:
space:
mode:
authorMichele Calgaro <[email protected]>2023-07-12 10:17:40 +0900
committerMichele Calgaro <[email protected]>2023-07-13 16:25:00 +0900
commit76fa61f90d0fdaacff018bccae25b3c2ef1b4ea8 (patch)
treed104cde3708dce85cfd6b3ed73cfbafa4ffb9e06 /klipper
parenta5979a0e0f46e7da68d50d16919e46b89dc9e9e9 (diff)
downloadtdebase-76fa61f90d0fdaacff018bccae25b3c2ef1b4ea8.tar.gz
tdebase-76fa61f90d0fdaacff018bccae25b3c2ef1b4ea8.zip
Replace _OBJECT_NAME_STRING defines with actual strings. This relates to the merging of tqtinterface with tqt3.
Signed-off-by: Michele Calgaro <[email protected]> (cherry picked from commit 22625693f124aae09863f4d33e30b625a96c3557)
Diffstat (limited to 'klipper')
-rw-r--r--klipper/toplevel.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/klipper/toplevel.cpp b/klipper/toplevel.cpp
index ecdac5af7..252cf4ac2 100644
--- a/klipper/toplevel.cpp
+++ b/klipper/toplevel.cpp
@@ -1056,10 +1056,10 @@ bool KlipperWidget::ignoreClipboardChanges() const
TQWidget *focusWidget = tqApp->focusWidget();
if ( focusWidget )
{
- if ( focusWidget->inherits( TQSPINBOX_OBJECT_NAME_STRING ) ||
+ if ( focusWidget->inherits( "TQSpinBox" ) ||
(focusWidget->parentWidget() &&
- focusWidget->inherits(TQLINEEDIT_OBJECT_NAME_STRING) &&
- focusWidget->parentWidget()->inherits(TQSPINWIDGET_OBJECT_NAME_STRING)) )
+ focusWidget->inherits("TQLineEdit") &&
+ focusWidget->parentWidget()->inherits("TQSpinWidget")) )
{
return true;
}