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 # or name=definition (no spaces). If the definition and the = are
# omitted =1 is assumed. # omitted =1 is assumed.
PREDEFINED = QT_VERSION=320 \ PREDEFINED = TQT_VERSION=320 \
__cplusplus \ __cplusplus \
Q_WS_X11 Q_WS_X11

@ -82,7 +82,7 @@ Modem::Modem( KandyPrefs *kprefs, TQObject *parent, const char *name ) :
prefs = kprefs; prefs = kprefs;
timer = new TQTimer( this, "modemtimer" ); timer = new TQTimer( this, "modemtimer" );
Q_CHECK_PTR( timer ); TQ_CHECK_PTR( timer );
connect( timer, TQT_SIGNAL( timeout() ), TQT_SLOT( timerDone() ) ); connect( timer, TQT_SIGNAL( timeout() ), TQT_SLOT( timerDone() ) );
init(); init();
@ -228,7 +228,7 @@ bool Modem::open()
sn = new TQSocketNotifier( fd, TQSocketNotifier::Read, this, sn = new TQSocketNotifier( fd, TQSocketNotifier::Read, this,
"modemsocketnotifier" ); "modemsocketnotifier" );
Q_CHECK_PTR( sn ); TQ_CHECK_PTR( sn );
connect( sn, TQT_SIGNAL( activated( int ) ), TQT_SLOT( readChar( int ) ) ); connect( sn, TQT_SIGNAL( activated( int ) ), TQT_SLOT( readChar( int ) ) );
mOpen = true; mOpen = true;

@ -34,7 +34,7 @@ KMobileItem::KMobileItem(TQIconView *parent, KConfig *_config, KService::Ptr ser
{ {
config = _config; config = _config;
Q_CHECK_PTR(service); TQ_CHECK_PTR(service);
if (service) { if (service) {
setText(service->name()); setText(service->name());
m_deviceDesktopFile = service->desktopEntryName(); m_deviceDesktopFile = service->desktopEntryName();

@ -890,7 +890,7 @@ void KScoringManager::createInternalFromXML(TQDomNode n)
addRuleInternal(cR); addRuleInternal(cR);
} }
else if (s == "Group") { else if (s == "Group") {
Q_CHECK_PTR(cR); TQ_CHECK_PTR(cR);
cR->addGroup( e.attribute("name") ); cR->addGroup( e.attribute("name") );
} }
else if (s == "Expression") { else if (s == "Expression") {
@ -900,7 +900,7 @@ void KScoringManager::createInternalFromXML(TQDomNode n)
e.attribute("neg"))); e.attribute("neg")));
} }
else if (s == "Action") { else if (s == "Action") {
Q_CHECK_PTR(cR); TQ_CHECK_PTR(cR);
cR->addAction(ActionBase::getTypeForName(e.attribute("type")), cR->addAction(ActionBase::getTypeForName(e.attribute("type")),
e.attribute("value")); e.attribute("value"));
} }

Loading…
Cancel
Save