summaryrefslogtreecommitdiffstats
path: root/libtdeedu
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2023-09-02 15:53:00 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2023-09-04 10:10:24 +0900
commit7a9e5fefa81e292e306c727fab3e2a2b29c35c6e (patch)
treec8228cbdd6ab9c518a234013eb41e07f50ef3284 /libtdeedu
parenta4d6089d3190091585de62066433167bc70007ab (diff)
downloadtdeedu-7a9e5fefa81e292e306c727fab3e2a2b29c35c6e.tar.gz
tdeedu-7a9e5fefa81e292e306c727fab3e2a2b29c35c6e.zip
Replace TQ_*Focus* and TQ_Scale* defines
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it> (cherry picked from commit f673794b12fa8685c6682fad9ce67a3a971e25f9)
Diffstat (limited to 'libtdeedu')
-rw-r--r--libtdeedu/extdate/extdatetbl.cpp2
-rw-r--r--libtdeedu/extdate/extdatetimeedit.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/libtdeedu/extdate/extdatetbl.cpp b/libtdeedu/extdate/extdatetbl.cpp
index 7b60954b..dc12d180 100644
--- a/libtdeedu/extdate/extdatetbl.cpp
+++ b/libtdeedu/extdate/extdatetbl.cpp
@@ -126,7 +126,7 @@ ExtDateTable::ExtDateTable(TQWidget *parent, ExtDate date_, const char* name, WF
kdDebug() << "ExtDateTable ctor: WARNING: Given date is invalid, using current date." << endl;
date_=ExtDate::currentDate();
}
- setFocusPolicy( TQ_StrongFocus );
+ setFocusPolicy( TQWidget::StrongFocus );
setNumRows(7); // 6 weeks max + headline
setNumCols(7); // 7 days a week
setHScrollBarMode(AlwaysOff);
diff --git a/libtdeedu/extdate/extdatetimeedit.cpp b/libtdeedu/extdate/extdatetimeedit.cpp
index 1fe1a22c..e351f440 100644
--- a/libtdeedu/extdate/extdatetimeedit.cpp
+++ b/libtdeedu/extdate/extdatetimeedit.cpp
@@ -372,7 +372,7 @@ void ExtDateTimeEditor::init()
setBackgroundMode( PaletteBase );
setFocusSection( -1 );
installEventFilter( this );
- setFocusPolicy( TQ_WheelFocus );
+ setFocusPolicy( TQWidget::WheelFocus );
}