summaryrefslogtreecommitdiffstats
path: root/libtdeedu/extdate
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-02 15:53:00 +0900
commitf673794b12fa8685c6682fad9ce67a3a971e25f9 (patch)
tree69d91438b76689d69e1c260e938f921ed38c3007 /libtdeedu/extdate
parent1a98e8940e38ae92cf28efcbc945e88c4b25af1c (diff)
downloadtdeedu-f673794b12fa8685c6682fad9ce67a3a971e25f9.tar.gz
tdeedu-f673794b12fa8685c6682fad9ce67a3a971e25f9.zip
Replace TQ_*Focus* and TQ_Scale* defines
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'libtdeedu/extdate')
-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 );
}