Update various qt function definitions and static methods for tqt3

pull/21/head
Timothy Pearson 13 years ago
parent 65f459228e
commit e150279476

@ -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

@ -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;

@ -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();

@ -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"));
}

Loading…
Cancel
Save