diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2023-09-02 15:51:16 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2023-09-02 15:51:16 +0900 |
commit | 38f84cb09bdd98c86712f7f692ea6e9069f44ec6 (patch) | |
tree | 801f7a8e8ec85e2667c639677b735eddb76c3966 /src | |
parent | 8abfadf6f203cd326d62da508b89340d918ba040 (diff) | |
download | kvkbd-38f84cb09bdd98c86712f7f692ea6e9069f44ec6.tar.gz kvkbd-38f84cb09bdd98c86712f7f692ea6e9069f44ec6.zip |
Replace TQ_*Focus* and TQ_Scale* defines
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
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; } |