summaryrefslogtreecommitdiffstats
path: root/kig
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 /kig
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 'kig')
-rw-r--r--kig/kig/kig_view.cpp2
-rw-r--r--kig/misc/kiginputdialog.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/kig/kig/kig_view.cpp b/kig/kig/kig_view.cpp
index 7d988df4..f55f23f3 100644
--- a/kig/kig/kig_view.cpp
+++ b/kig/kig/kig_view.cpp
@@ -69,7 +69,7 @@ KigWidget::KigWidget( KigPart* part,
{
part->addWidget(this);
- setFocusPolicy(TQ_ClickFocus);
+ setFocusPolicy(TQWidget::ClickFocus);
setBackgroundMode( TQt::NoBackground );
setMouseTracking(true);
diff --git a/kig/misc/kiginputdialog.cpp b/kig/misc/kiginputdialog.cpp
index a596c87c..0462cb10 100644
--- a/kig/misc/kiginputdialog.cpp
+++ b/kig/misc/kiginputdialog.cpp
@@ -84,7 +84,7 @@ KigInputDialog::KigInputDialog( const TQString& caption, const TQString& label,
d->m_textEdit = new KTextEdit( frame );
d->m_textEdit->setText( label );
d->m_textEdit->setReadOnly( true );
- d->m_textEdit->setFocusPolicy( TQ_NoFocus );
+ d->m_textEdit->setFocusPolicy( TQWidget::NoFocus );
// d->m_textEdit->setAlignment( d->m_textEdit->alignment() | TQt::WordBreak );
d->m_textEdit->setFrameStyle( TQFrame::NoFrame );
mainlay->addWidget( d->m_textEdit );