summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/MainWidget.cpp4
-rw-r--r--src/VButton.cpp2
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;
}