diff options
author | Michele Calgaro <[email protected]> | 2023-09-02 15:51:16 +0900 |
---|---|---|
committer | Michele Calgaro <[email protected]> | 2023-09-04 09:52:29 +0900 |
commit | f5c63412a8d17e34b28e4f050d5bbdc3ff8466ea (patch) | |
tree | 801f7a8e8ec85e2667c639677b735eddb76c3966 /src | |
parent | 70940a449d5249844df8296400de437295a38419 (diff) | |
download | kvkbd-f5c63412a8d17e34b28e4f050d5bbdc3ff8466ea.tar.gz kvkbd-f5c63412a8d17e34b28e4f050d5bbdc3ff8466ea.zip |
Replace TQ_*Focus* and TQ_Scale* definesr14.1.1
Signed-off-by: Michele Calgaro <[email protected]>
(cherry picked from commit 38f84cb09bdd98c86712f7f692ea6e9069f44ec6)
Diffstat (limited to 'src')
-rw-r--r-- | src/MainWidget.cpp | 4 | ||||
-rw-r--r-- | src/VButton.cpp | 2 |
2 files changed, 3 insertions, 3 deletions
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; } |