summaryrefslogtreecommitdiffstats
path: root/tdeprint/kmfactory.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2012-02-14 21:18:11 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2012-02-14 21:18:11 -0600
commitfc3c9d3c5ff6ed64cdaeaf2e9c050aa3037fe335 (patch)
treef1e7de165d9a038aed66481b047cd32b4e1091df /tdeprint/kmfactory.cpp
parent00894908e7b9359d8432a615380bf3db1d4745a0 (diff)
downloadtdelibs-fc3c9d3c5ff6ed64cdaeaf2e9c050aa3037fe335.tar.gz
tdelibs-fc3c9d3c5ff6ed64cdaeaf2e9c050aa3037fe335.zip
Update various qt function definitions and static methods for tqt3
Diffstat (limited to 'tdeprint/kmfactory.cpp')
-rw-r--r--tdeprint/kmfactory.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/tdeprint/kmfactory.cpp b/tdeprint/kmfactory.cpp
index b79c76240..67fbd98ca 100644
--- a/tdeprint/kmfactory.cpp
+++ b/tdeprint/kmfactory.cpp
@@ -96,7 +96,7 @@ KMFactory::KMFactory()
m_implementation = 0;
m_factory = 0;
m_printconfig = 0;
-#if QT_VERSION >= 230
+#if TQT_VERSION >= 230
// Qt's default behavior, to generate EPS in some cases and not in others, sucks.
// This is fixed in Qt 3.0, but for Qt 2.x we need to disable it explicitly.
// If this is a problem for anyone, we can add a public method to set this flag.
@@ -134,7 +134,7 @@ KMManager* KMFactory::manager()
{
if (!m_manager)
createManager();
- Q_CHECK_PTR(m_manager);
+ TQ_CHECK_PTR(m_manager);
return m_manager;
}
@@ -142,7 +142,7 @@ KMJobManager* KMFactory::jobManager()
{
if (!m_jobmanager)
createJobManager();
- Q_CHECK_PTR(m_jobmanager);
+ TQ_CHECK_PTR(m_jobmanager);
return m_jobmanager;
}
@@ -150,7 +150,7 @@ KMUiManager* KMFactory::uiManager()
{
if (!m_uimanager)
createUiManager();
- Q_CHECK_PTR(m_uimanager);
+ TQ_CHECK_PTR(m_uimanager);
return m_uimanager;
}
@@ -158,7 +158,7 @@ KPrinterImpl* KMFactory::printerImplementation()
{
if (!m_implementation)
createPrinterImpl();
- Q_CHECK_PTR(m_implementation);
+ TQ_CHECK_PTR(m_implementation);
return m_implementation;
}
@@ -229,7 +229,7 @@ KConfig* KMFactory::printConfig(const TQString& group)
if (!m_printconfig)
{
m_printconfig = new KConfig("tdeprintrc");
- Q_CHECK_PTR(m_printconfig);
+ TQ_CHECK_PTR(m_printconfig);
}
if (!group.isEmpty())
m_printconfig->setGroup(group);