summaryrefslogtreecommitdiffstats
path: root/tdeprint
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
parent00894908e7b9359d8432a615380bf3db1d4745a0 (diff)
downloadtdelibs-fc3c9d3c5ff6ed64cdaeaf2e9c050aa3037fe335.tar.gz
tdelibs-fc3c9d3c5ff6ed64cdaeaf2e9c050aa3037fe335.zip
Update various qt function definitions and static methods for tqt3
Diffstat (limited to 'tdeprint')
-rw-r--r--tdeprint/kmfactory.cpp12
-rw-r--r--tdeprint/kmmanager.cpp4
-rw-r--r--tdeprint/kxmlcommand.cpp2
-rw-r--r--tdeprint/management/kmdriverdb.cpp2
-rw-r--r--tdeprint/management/kmtimer.cpp2
5 files changed, 11 insertions, 11 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);
diff --git a/tdeprint/kmmanager.cpp b/tdeprint/kmmanager.cpp
index 3316244de..c0c65bd02 100644
--- a/tdeprint/kmmanager.cpp
+++ b/tdeprint/kmmanager.cpp
@@ -47,9 +47,9 @@ KMManager::KMManager(TQObject *parent, const char *name)
m_printerfilter = new PrinterFilter(this);
m_specialmgr = new KMSpecialManager(this);
- Q_CHECK_PTR(m_specialmgr);
+ TQ_CHECK_PTR(m_specialmgr);
m_virtualmgr = new KMVirtualManager(this);
- Q_CHECK_PTR(m_virtualmgr);
+ TQ_CHECK_PTR(m_virtualmgr);
// set default to true to not disturb code that
// hasn't been adapted yet. Otherwise, should be false
diff --git a/tdeprint/kxmlcommand.cpp b/tdeprint/kxmlcommand.cpp
index 81dc5d3d5..2091fea08 100644
--- a/tdeprint/kxmlcommand.cpp
+++ b/tdeprint/kxmlcommand.cpp
@@ -555,7 +555,7 @@ KXmlCommandManager* KXmlCommandManager::self()
if (!m_self)
{
m_self = new KXmlCommandManager;
- Q_CHECK_PTR(m_self);
+ TQ_CHECK_PTR(m_self);
}
return m_self;
}
diff --git a/tdeprint/management/kmdriverdb.cpp b/tdeprint/management/kmdriverdb.cpp
index 67bd25966..a7d14fe92 100644
--- a/tdeprint/management/kmdriverdb.cpp
+++ b/tdeprint/management/kmdriverdb.cpp
@@ -38,7 +38,7 @@ KMDriverDB* KMDriverDB::self()
if (!m_self)
{
m_self = new KMDriverDB();
- Q_CHECK_PTR(m_self);
+ TQ_CHECK_PTR(m_self);
}
return m_self;
}
diff --git a/tdeprint/management/kmtimer.cpp b/tdeprint/management/kmtimer.cpp
index 1525dd875..4a7f611d8 100644
--- a/tdeprint/management/kmtimer.cpp
+++ b/tdeprint/management/kmtimer.cpp
@@ -29,7 +29,7 @@ KMTimer* KMTimer::self()
if (!m_self)
{
m_self = new KMTimer(KMFactory::self(), "InternalTimer");
- Q_CHECK_PTR(m_self);
+ TQ_CHECK_PTR(m_self);
}
return m_self;
}