diff options
Diffstat (limited to 'src/kvirc/kvs/kvi_kvs_object.cpp')
-rw-r--r-- | src/kvirc/kvs/kvi_kvs_object.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/kvirc/kvs/kvi_kvs_object.cpp b/src/kvirc/kvs/kvi_kvs_object.cpp index 3bfca49..9b98621 100644 --- a/src/kvirc/kvs/kvi_kvs_object.cpp +++ b/src/kvirc/kvs/kvi_kvs_object.cpp @@ -390,7 +390,7 @@ so it inherits the "object" class functions and events and the sayhello function from "helloworld". In addition a setlanguage function is defined that stores in a variable the language name passed as a parameter (after checking its validity). ($0 evaluates to the first parameter passed) - If the language is unknown the setlanguage function will return 0 (false). + If the language is unknown the setlanguage function will return false. Now we want to be able to say "hello world" in italian and english. So we [b]override[/b] the inherited sayhello function. "To override" means "to reimplement" : if you call %object->$sayhello() and %object @@ -554,7 +554,7 @@ For example, you can find out if the widget accepts drops by calling [classfnc]$property(acceptDrops)[classfnc].[br] This function will be mainly useful in the [class]wrapper[/class] class. !fn: $setProperty(<TQt property>,<property value>) - Sets a qt property for this widget.[br] + Sets a tqt property for this widget.[br] This is for advanced scripting, and can control really many features of the TQt widgets.[br] For example, the [class]multilineedit[/class] widgets can be set to the "password" echo mode only by using this function call:[br] @@ -694,7 +694,7 @@ KviKvsObject::~KviKvsObject() if(m_pObject) { - disconnect(m_pObject,TQT_SIGNAL(destroyed()),this,TQT_SLOT(objectDestroyed())); + disconnect(m_pObject,TQ_SIGNAL(destroyed()),this,TQ_SLOT(objectDestroyed())); if(m_bObjectOwner)delete m_pObject; } @@ -730,7 +730,7 @@ void KviKvsObject::registerChild(KviKvsObject *pChild) m_pChildList->append(pChild); } -// SIGNAL/TQT_SLOT stuff +// TQ_SIGNAL/TQ_SLOT stuff bool KviKvsObject::connectSignal(const TQString &sigName,KviKvsObject * pTarget,const TQString &slotName) { @@ -1517,7 +1517,7 @@ bool KviKvsObject::die() { if(m_bInDelayedDeath)return false; m_bInDelayedDeath = true; - TQTimer::singleShot(0,this,TQT_SLOT(delayedDie())); + TQTimer::singleShot(0,this,TQ_SLOT(delayedDie())); return true; } @@ -1540,7 +1540,7 @@ void KviKvsObject::setObject(TQObject * o,bool bIsOwned) m_bObjectOwner = bIsOwned; m_pObject = o; o->installEventFilter(this); - connect(m_pObject,TQT_SIGNAL(destroyed()),this,TQT_SLOT(objectDestroyed())); + connect(m_pObject,TQ_SIGNAL(destroyed()),this,TQ_SLOT(objectDestroyed())); } void KviKvsObject::objectDestroyed() |