From e1502794762192b7275d19eaf99073e6e05ada0b Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Tue, 14 Feb 2012 21:19:51 -0600 Subject: Update various qt function definitions and static methods for tqt3 --- doc/api/Doxyfile.pim | 2 +- kandy/src/modem.cpp | 4 ++-- kmobile/kmobileitem.cpp | 2 +- libtdepim/kscoring.cpp | 4 ++-- 4 files changed, 6 insertions(+), 6 deletions(-) diff --git a/doc/api/Doxyfile.pim b/doc/api/Doxyfile.pim index 96e93c7d..897356aa 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 a7d24695..f77a3365 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 d895a366..025de194 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 94e8c155..fc156436 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")); } -- cgit v1.2.3