From 04e50e547f8ed2d6db996bc4816179fa962bd6b1 Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Sat, 2 Sep 2023 15:50:12 +0900 Subject: Replace TQ_*Focus* and TQ_Scale* defines Signed-off-by: Michele Calgaro --- kexi/main/printing/kexisimpleprintingengine.cpp | 2 +- kexi/main/startup/KexiNewProjectWizard.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'kexi/main') diff --git a/kexi/main/printing/kexisimpleprintingengine.cpp b/kexi/main/printing/kexisimpleprintingengine.cpp index 8aed1c0a..c6e75b54 100644 --- a/kexi/main/printing/kexisimpleprintingengine.cpp +++ b/kexi/main/printing/kexisimpleprintingengine.cpp @@ -481,7 +481,7 @@ void KexiSimplePrintingEngine::paintRecord(TQPainter& painter, KexiTableItem *it int( (rect.y()+m_mainLineSpacing/4) / m_SCALE), pixmap.convertToImage().smoothScale( int(pixmapWidth / m_SCALE), int(pixmapHeight / m_SCALE), - TQ_ScaleMin )); + TQImage::ScaleMin )); painter.restore(); // back to m_SCALE:1 scale } } diff --git a/kexi/main/startup/KexiNewProjectWizard.cpp b/kexi/main/startup/KexiNewProjectWizard.cpp index a30f2695..26d9cc64 100644 --- a/kexi/main/startup/KexiNewProjectWizard.cpp +++ b/kexi/main/startup/KexiNewProjectWizard.cpp @@ -192,7 +192,7 @@ KexiNewProjectWizard::KexiNewProjectWizard(KexiDBConnectionSet& conn_set, m_project_selector = new KexiProjectSelectorWidget( m_server_db_name->frm_dblist, "KexiProjectSelectorWidget", 0, false, false ); GLUE_WIDGET(m_project_selector, m_server_db_name->frm_dblist); - m_project_selector->setFocusPolicy(TQ_NoFocus); + m_project_selector->setFocusPolicy(TQWidget::NoFocus); m_project_selector->setSelectable(false); addPage(m_server_db_name, i18n("Select Project's Caption & Database Name")); -- cgit v1.2.1