summaryrefslogtreecommitdiffstats
path: root/kexi/main
diff options
context:
space:
mode:
Diffstat (limited to 'kexi/main')
-rw-r--r--kexi/main/printing/kexisimpleprintingengine.cpp2
-rw-r--r--kexi/main/startup/KexiNewProjectWizard.cpp2
2 files changed, 2 insertions, 2 deletions
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"));