summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2012-02-14 21:19:51 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2012-02-14 21:19:51 -0600
commite1502794762192b7275d19eaf99073e6e05ada0b (patch)
tree3faa50875697deee6380ee7ffda7dedb6d7fe2da
parent65f459228e774ea4babeca0c9704c3062c8ce4a4 (diff)
downloadtdepim-e1502794762192b7275d19eaf99073e6e05ada0b.tar.gz
tdepim-e1502794762192b7275d19eaf99073e6e05ada0b.zip
Update various qt function definitions and static methods for tqt3
-rw-r--r--doc/api/Doxyfile.pim2
-rw-r--r--kandy/src/modem.cpp4
-rw-r--r--kmobile/kmobileitem.cpp2
-rw-r--r--libtdepim/kscoring.cpp4
4 files changed, 6 insertions, 6 deletions
diff --git a/doc/api/Doxyfile.pim b/doc/api/Doxyfile.pim
index 96e93c7d7..897356aa6 100644
--- a/doc/api/Doxyfile.pim
+++ b/doc/api/Doxyfile.pim
@@ -928,7 +928,7 @@ INCLUDE_FILE_PATTERNS =
# or name=definition (no spaces). If the definition and the = are
# omitted =1 is assumed.
-PREDEFINED = QT_VERSION=320 \
+PREDEFINED = TQT_VERSION=320 \
__cplusplus \
Q_WS_X11
diff --git a/kandy/src/modem.cpp b/kandy/src/modem.cpp
index a7d246950..f77a3365c 100644
--- a/kandy/src/modem.cpp
+++ b/kandy/src/modem.cpp
@@ -82,7 +82,7 @@ Modem::Modem( KandyPrefs *kprefs, TQObject *parent, const char *name ) :
prefs = kprefs;
timer = new TQTimer( this, "modemtimer" );
- Q_CHECK_PTR( timer );
+ TQ_CHECK_PTR( timer );
connect( timer, TQT_SIGNAL( timeout() ), TQT_SLOT( timerDone() ) );
init();
@@ -228,7 +228,7 @@ bool Modem::open()
sn = new TQSocketNotifier( fd, TQSocketNotifier::Read, this,
"modemsocketnotifier" );
- Q_CHECK_PTR( sn );
+ TQ_CHECK_PTR( sn );
connect( sn, TQT_SIGNAL( activated( int ) ), TQT_SLOT( readChar( int ) ) );
mOpen = true;
diff --git a/kmobile/kmobileitem.cpp b/kmobile/kmobileitem.cpp
index d895a3666..025de1946 100644
--- a/kmobile/kmobileitem.cpp
+++ b/kmobile/kmobileitem.cpp
@@ -34,7 +34,7 @@ KMobileItem::KMobileItem(TQIconView *parent, KConfig *_config, KService::Ptr ser
{
config = _config;
- Q_CHECK_PTR(service);
+ TQ_CHECK_PTR(service);
if (service) {
setText(service->name());
m_deviceDesktopFile = service->desktopEntryName();
diff --git a/libtdepim/kscoring.cpp b/libtdepim/kscoring.cpp
index 94e8c155e..fc156436f 100644
--- a/libtdepim/kscoring.cpp
+++ b/libtdepim/kscoring.cpp
@@ -890,7 +890,7 @@ void KScoringManager::createInternalFromXML(TQDomNode n)
addRuleInternal(cR);
}
else if (s == "Group") {
- Q_CHECK_PTR(cR);
+ TQ_CHECK_PTR(cR);
cR->addGroup( e.attribute("name") );
}
else if (s == "Expression") {
@@ -900,7 +900,7 @@ void KScoringManager::createInternalFromXML(TQDomNode n)
e.attribute("neg")));
}
else if (s == "Action") {
- Q_CHECK_PTR(cR);
+ TQ_CHECK_PTR(cR);
cR->addAction(ActionBase::getTypeForName(e.attribute("type")),
e.attribute("value"));
}