Replace TQ_*Focus* and TQ_Scale* defines

Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
(cherry picked from commit 38f84cb09b)
r14.1.x r14.1.1
Michele Calgaro 1 year ago
parent 70940a449d
commit f5c63412a8
Signed by: MicheleC
GPG Key ID: 2A75B7CA8ADED5CF

@ -71,7 +71,7 @@ MainWidget::MainWidget ( TDEAboutData *about, bool tren, TQWidget *parent, const
int sty=15; int sty=15;
extent_visible=false; extent_visible=false;
setFocusPolicy(TQ_NoFocus); setFocusPolicy(TQWidget::NoFocus);
TDEConfig *cfg = TDEApplication::kApplication()->config(); TDEConfig *cfg = TDEApplication::kApplication()->config();
if (cfg) if (cfg)
{ {
@ -953,7 +953,7 @@ KbdDock::KbdDock ( MainWidget *m )
: DragWidget ( 0, "Dock", WStyle_Customize | TQt::WX11BypassWM |WStyle_NormalBorder ), mainWidget ( m ) : DragWidget ( 0, "Dock", WStyle_Customize | TQt::WX11BypassWM |WStyle_NormalBorder ), mainWidget ( m )
{ {
setFocusPolicy ( TQ_NoFocus ); setFocusPolicy ( TQWidget::NoFocus );
icn=UserIcon ( "dock" ); icn=UserIcon ( "dock" );
resize ( 96,47 ); resize ( 96,47 );

@ -15,7 +15,7 @@ VButton::VButton(TQWidget *parent, const char *name): TQPushButton (parent,name)
TDEConfig *cfg = TDEApplication::kApplication()->config(); TDEConfig *cfg = TDEApplication::kApplication()->config();
TQString keysC = cfg->readEntry("keysColor", "#f0f0f0"); TQString keysC = cfg->readEntry("keysColor", "#f0f0f0");
setColor(TQColor(keysC)); setColor(TQColor(keysC));
setFocusPolicy(TQ_NoFocus); setFocusPolicy(TQWidget::NoFocus);
resize(30,30); resize(30,30);
press=false; press=false;
} }

Loading…
Cancel
Save