From f5c63412a8d17e34b28e4f050d5bbdc3ff8466ea Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Sat, 2 Sep 2023 15:51:16 +0900 Subject: Replace TQ_*Focus* and TQ_Scale* defines Signed-off-by: Michele Calgaro (cherry picked from commit 38f84cb09bdd98c86712f7f692ea6e9069f44ec6) --- src/MainWidget.cpp | 4 ++-- src/VButton.cpp | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'src') diff --git a/src/MainWidget.cpp b/src/MainWidget.cpp index 076ebf7..b4a96c9 100644 --- a/src/MainWidget.cpp +++ b/src/MainWidget.cpp @@ -71,7 +71,7 @@ MainWidget::MainWidget ( TDEAboutData *about, bool tren, TQWidget *parent, const int sty=15; extent_visible=false; - setFocusPolicy(TQ_NoFocus); + setFocusPolicy(TQWidget::NoFocus); TDEConfig *cfg = TDEApplication::kApplication()->config(); if (cfg) { @@ -953,7 +953,7 @@ KbdDock::KbdDock ( MainWidget *m ) : DragWidget ( 0, "Dock", WStyle_Customize | TQt::WX11BypassWM |WStyle_NormalBorder ), mainWidget ( m ) { - setFocusPolicy ( TQ_NoFocus ); + setFocusPolicy ( TQWidget::NoFocus ); icn=UserIcon ( "dock" ); resize ( 96,47 ); diff --git a/src/VButton.cpp b/src/VButton.cpp index 46e36ec..7d469d4 100644 --- a/src/VButton.cpp +++ b/src/VButton.cpp @@ -15,7 +15,7 @@ VButton::VButton(TQWidget *parent, const char *name): TQPushButton (parent,name) TDEConfig *cfg = TDEApplication::kApplication()->config(); TQString keysC = cfg->readEntry("keysColor", "#f0f0f0"); setColor(TQColor(keysC)); - setFocusPolicy(TQ_NoFocus); + setFocusPolicy(TQWidget::NoFocus); resize(30,30); press=false; } -- cgit v1.2.1